1 Nov 2006 01:42
Re: tftpboot question
Wolfgang Denk <wd <at> denx.de>
2006-11-01 00:42:25 GMT
2006-11-01 00:42:25 GMT
In message <198592450610311513h50d4598awc0666aac00643c50 <at> mail.gmail.com> you wrote: > > I'm trying to use tftpboot to copy linux image into flash starting address > is 0xff300000, so I defined CFG_DIRECT_FLASH_TFTP. It looks data have been Why are you doing this? The recommended method is to load the image to RAM first, and then use "cp" to write it to flash. > written into flash since there is no any error. However, when I try to boot Did you use the "iminfo" command after writing the image tpo flash? What does it say? > linux, it returns gunzip error. If I download the same image using xmodem, > the kernel just boots fine. Do I need to do anything special for tftp direct > to flash? If I tftp image into ram(0x800000) then boot, it's just fine too. > > ### main_loop: bootcmd="bootm $loadaddr" > Hit any key to stop autoboot: 0 > ## Booting image at ff300000 ... > ## Current stack ends at 0x0F5D0BB8 => set upper limit to 0x00800000 > bd address = 0x0F5D0FB8 > memstart = 0x00000000 > memsize = 0x10000000 > flashstart = 0xFF000000 > flashsize = 0x01000000 > flashoffset = 0x00000000 > sramstart = 0x00000000 > sramsize = 0x00000000 > immr_base = 0xE0000000(Continue reading)
RSS Feed