[mini2440] u-boot won't load kernel from nand

bazi 2010-01-24 12:56:38 Link
Since about 10 hours i'm trying to get u-boot working on my new mini2440
(128M) board.

First i tried to compile the sources from the czech repo (or.cz), but this
failed, u-boot told me something about a wrong image format.

Now i'm trying to get the precompiled u-boot for the 128M board from
friendlyarm working. (
http://www.friendlyarm.net/dl.php?file=u-boot-128M.zip )

On my sd-card there is my kernel image (zImage) and the root_qtopia_128M
root image.

I issue the following commands:

vivi:
  load ram 0x31000000 242332 u
  go 0x31000000
u-boot:
  nand scrub
  nand create
  nand write 0x31000000 u-boot
  <switch the nand/nor switch back to nand>
  reset

  dynenv set 40000
  nand erase kernel
  mmcinit
  fatload mmc 0:1 0x31000000 uImage
  nand write 0x31000000 kernel
  setenv bootcmd nboot.e kernel \; bootm
  saveenv

until this point everything went fine. Now i do a reset and this happens:

** unknown image type
Wrong image format for bootm command
ERROR: can't get kernel image


I've googled a lot and tried a lot, but i can't get rid of this error, i
hope anyone of you can help me :)

Vikas 2010-01-24 17:12:02 Link
With u-boot I was also not getting anything working.  So finally I put
vboot.bin, zImage_T35.bin (kernel) and root_qtopia128MB.img from DVD I
received with the board.

I would prefer trying all these things from memory instead of keep writing
in NAND.  Will write and give you a nice doc if I will get any sucess with
u-boot and kernel loading.

davef 2010-01-24 20:17:15 Link
Are you aware of the issue with using buserror's u-boot without a
modification first?  Search his blog for the procedure.

And previous u-boot threads on this site.

davef 2010-01-25 00:22:12 Link
https://www.blogger.com/comment.g?blogID=11320970&postID=80528849157...

redo 2012-01-15 01:46:43 Link
i am also get those problem
my problems is similar with yours, i try to follows the instruction, but
everything just did not work out....
is there any solution, please?

mini2440, trying to install GPE

regard,

Reply

Name
eMail (not visible)
Subject (no text only in upper case; no HELP, URGENT...)
Text
HTML tags are not supported and links are generated automatically if they start with http or ftp.
Please submit long source code or log files as attachment (only registered users).
Please enter the number 7579