Why U-Boot (DENX) stays in boot loop and gives "Program Check Exception"?
<p>I have a MPC5200 v2.2, Core v1.4 on a phyCORE-MPC5200-tiny Board. DRAM 64 MB, FLASH 16 MB. RTOS VxWorks 6.9.</p>

<p>I have problems when booting the embedded system and it stays in boot loop, when U-Boot/uboot (DENX) tries so load image, saying: "Program Check Exception".</p>

<p>For debugging during development I use an TFTP server to load vxWorks binary directly into the RAM (U-Boot command: 'tftpboot 0x100000 vxWorks.bin'). In this case everything works fine.
For release the pure *.bin VxWorks file (size of 8,07 MB (8.462.808 bytes)) gets compressed and packed into a U-Boot compatible image file (with bootloader specific header information) and a resulting size of 5,25 MB (5.509.763 bytes). The image file is put onto flash, from where it is uncompressed and loaded into RAM (U-Boot command: 'bootm 0xff800000'). After then the above mentioned exception is thrown, resulting in rebooting loop (See screenshot below).</p>

<p>I've already investigated that if the prepared image has a size beneath 5 MB, U-Boot loads it without errors. Maybe also the uncompressed file size could be a problem?! (at 8MB?)</p>

<p><a href="https://i.stack.imgur.com/5hJmo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5hJmo.png" alt="enter image description here"></a></p>

<p>Do you have any idea, how this problem can be solved?</p>