Booting aborted after configuring kernel and zImage-transfer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Booting aborted after configuring kernel and zImage-transfer

540 Views
rolande
Contributor I

Hello,

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:

barebox@i.mx6q: erase /dev/nand0.kernel.bb

barebox@i.mx6q: 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

barebox@i.mx6q: 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.

Labels (4)
0 Kudos
1 Reply

424 Views
jimmychan
NXP TechSupport
NXP TechSupport

I think the command you used is not correct.

Here is the example:

https://community.nxp.com/message/1023073?commentID=1023073#comment-1023073 

0 Kudos