I am using an iMX6 target board with barebox as bootloader.
After configuring the kernel on the host via bitbake and transfering it to the target board with the commands:
firstname.lastname@example.org: erase /dev/nand0.kernel.bb
email@example.com: cp mnt/tftp/new_zImage /dev/nand0.kernel.bb
The console output doesn't throw any errors or whatsoever.
my target doesn't boot anymore. I thought the new zImage was anyhow broken and reloaded the original zImage with the same commands.
But my target still doesn't boot. At least I can stop the autoboot and use barebox. With the command
firstname.lastname@example.org: ls -ll /dev/
I have figured out that the memory-usage stays the same no matter whether I erase the nand0.kernel.bb or copy any zImages of different memorysize into it.
So maybe writing the Kernel zImage into the NAND-Flash of the target doesn't work? Because after issuing the "cp mnt/tftp/new_zImage /dev/nand0.kernel.bb" command the console is only busy for 2 sec.
Thanx in advance for your suggestions.