[U-Boot] nboot won't boot my uImage

2012-04-18 Thread Bishop, Mark
I can download my kernel uImage and flash it into NAND and then 'boot'
and it works.

bfin tftp 0x100 10.100.42.29:uImage.3
bfin nand erase 0x8 0x80
bfin nand write 0x100 0x8 0x80

Going to verify the image:
bfin nand read 0x200 0x8 $(filesize)
bfin iminfo 0x200

## Checking Image at 0200 ...
   Legacy image found
   Image Name:   bf548-0.2-3.0.8-ADI-2011R1-dirty
   Created:  2012-04-15  23:30:18 UTC
   Image Type:   Blackfin Linux Kernel Image (gzip compressed)
   Data Size:5218920 Bytes = 5 MiB
   Load Address: 1000
   Entry Point:  0026de3c
   Verifying Checksum ... OK
bfin

And then I can boot:
bfin boot
Loading from nand0, offset 0x80
** Unknown image type
## Booting kernel from Legacy Image at 0100 ...
   Image Name:   bf548-0.2-3.0.8-ADI-2011R1-dirty
..

And if I do a soft reset I can still boot, every time.
But when I cycle the power I get this:
.
Hit any key to stop autoboot:  0

Loading from nand0, offset 0x80
** Unknown image type
Wrong Image Format for bootm command
ERROR: can't get kernel image!
bfin

my boot command is: nandboot=nboot 0x200 0 0x80;run
nandargs;bootm

Any ideas?  This used to work :) without failure until I updated uboot
from an older version to something a bit more recent.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] nboot won't boot my uImage

2012-04-18 Thread Bishop, Mark


 -Original Message-
 From: u-boot-boun...@lists.denx.de [mailto:u-boot-
 boun...@lists.denx.de] On Behalf Of Bishop, Mark
 Sent: Wednesday, April 18, 2012 5:28 PM
 To: u-boot@lists.denx.de
 Subject: [U-Boot] nboot won't boot my uImage
 
 I can download my kernel uImage and flash it into NAND and then 'boot'
 and it works.
 

deleted a stupid email

*sigh*  Fat fingered an extra 0 in the address and the reason why it
boots at all is because the tftp download address and the bootm address
are the same.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot