Installing new imge

After installing a new image on the SD card and run the following code:
sudo apt-get update
sudo apt-get upgrade
it asked for a restart of the device since then it is frozen on a black screen showing these lines:

hello marwan.a.k.1997,

please share more details for reference,
which JetPack release you’re based-on.
what did you mean about installing a new image on the SD card, are you having customize rootfs?
you may also gather bootloader logs for more details.

The problem was occurring after installing new image to sd card and run the line :

sudo apt-get upgrade

After that it was asking for robot, not sure what happening next.
It was solved by installing new image to the sd card and ignoring stalling any software updates even from software notification or running the line mentioned above.