I did run into a bit of a problem after restoring u-boot and the root filesystem with the JTAG ICE. It appears that the version the board shipped with was setup to boot the linux kernel off of /dev/mtdblock1 at /uImage but the latest build, 2.3.0, had the kernel located at /boot/uImage. I was constantly getting the following error from u-boot:

Wrong Image Format for bootm command
ERROR: can’t get kernel image!
UBoot>

After a bit of Googling, I found a blog on the subject which suggested the following:

Booting By Internal Flash

To boot the kernel and root file system off of the internal flash (/dev/mtd1), get into u-boot and enter this:

Uboot> askenv bootcmd
Please enter ‘bootcmd’: fsload /boot/uImage; bootm
Uboot> askenv bootargs
Please enter ‘bootargs’: console=ttyS0 root=/dev/mtdblock1 rootfstype=jffs2
Uboot> saveenv
Uboot> bootm

Booting By SD Card

To boot the kernel and root file system off of SD card (/dev/mmcblk0p1), get into u-boot and enter this:

Uboot> askenv bootcmd
Please enter ‘bootcmd’: mmcinit; ext2load mmc 0:1 0×103000000 /boot/uImage; bootm 0×103000000
Uboot> askenv bootargs
Please enter ‘bootargs’: console=ttyS0 root=/dev/mmcblk0p1 rootwait
Uboot> saveenv
Uboot> bootm

You can test to see if u-boot can read the card by issueing the command ext2ls mmc 0:1. It should list all of the files on the card.

I did notice while I was looking around that if you have problems on the NGW100 board with the above SD u-boot settings, that it is recommended to try setting rootwait to rootwait=1. Hope that will help someone else.

del.icio.us:NGW100 Error: UBoot Can't Get Kernel Image! digg:NGW100 Error: UBoot Can't Get Kernel Image! spurl:NGW100 Error: UBoot Can't Get Kernel Image! wists:NGW100 Error: UBoot Can't Get Kernel Image! simpy:NGW100 Error: UBoot Can't Get Kernel Image! newsvine:NGW100 Error: UBoot Can't Get Kernel Image! blinklist:NGW100 Error: UBoot Can't Get Kernel Image! furl:NGW100 Error: UBoot Can't Get Kernel Image! reddit:NGW100 Error: UBoot Can't Get Kernel Image! fark:NGW100 Error: UBoot Can't Get Kernel Image! blogmarks:NGW100 Error: UBoot Can't Get Kernel Image! Y!:NGW100 Error: UBoot Can't Get Kernel Image! smarking:NGW100 Error: UBoot Can't Get Kernel Image! magnolia:NGW100 Error: UBoot Can't Get Kernel Image! segnalo:NGW100 Error: UBoot Can't Get Kernel Image!

2 Responses to “NGW100 Error: UBoot Can’t Get Kernel Image!”

  1. [...] Note: The first time I tried to boot the root filesystem, I got some unexpected errors. For more information check here. [...]

  2. [...] Note: The first time I tried to boot the root filesystem, I got some unexpected errors. For more information check here. [...]

Trackback URI | Comments RSS

Leave a Reply

CommentLuv badge
TekCrack uses CommentLuv Premium, which allows you to use your real name and then @Your Keywords (max of 3 keywords). You will need 3 previously approved comments for this to work. Click on the link above to get your own CL Premium Plugin - the best way to build back links and visitors to your website.

Stop Censorship