@veye_xumm So I finally reflashed the Xavier NX and I noted the IP address. I also think I made the IP address static. After changing the /boot/Image folder and restarting the Xavier, SSH wasn't working and I tried to SSH to all IP addresses on the network, but they didn't work with one of them saying connection refused. I am guessing the Xavier wasn't in connection mode since it was in recovery mode or something which from what I read stops the peripherals from working, explaining why my display was not working as well.
I also plugged in to the uart interface of the Xavier to get some debug information about the crash. I have uploaded the file and I think it could be useful for solving the problem. Especially the last part (the part where it crashes).
Here is the file:
AfterChangingBootImageVeye.txt