[ECOS] How to load redboot_ROM in to flash

Prabhat Shrivastav shrivastavp@myw.ltindia.com
Tue Aug 31 08:49:00 GMT 2004


Hi  All

Is anybody had used "load " command with 
xymodem on redboot .
I  had used like this 
RedBoot> load -r -b 0x8c080000 -m xmodem
but its not working.
Please suggest me to overcome with this problem.
I am stuck hear since my target dosen't have ethernet connectivity and 
my PCI card doesn't supporting the flash which we had used.

Thanx 
Prabhat Shrivastav
 








>>> "Prabhat Shrivastav" <shrivastavp@myw.ltindia.com> 08/29/04 03:23PM >>>
Dear Nick

Thanks for your direction.But  I had used load with -r  option,
RAM add :  0x8c080000
Below is the detail ,might give some clue.

RedBoot> dump -b 0x8c080000
8C080000: 00 04 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
8C080010: 00 00 44 00 00 00 00 00  00 00 00 00 00 00 00 00  |..D.............|
RedBoot> load -r -b 0x8c080000 -m xmodem
CCCCCCCCCCCCCCCCCCCCCRaw file loaded 0x8c080000-0x8c07ffff, assumed entry at 0x8
c080000
xyzModem - CRC mode, 0(SOH)/0(STX)/0(CAN) packets, 20 retries
RedBoot> dump -b 0x8c080000
8C080000: 00 04 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
8C080010: 00 00 44 00 00 00 00 00  00 00 00 00 00 00 00 00  |..D.............|

And if i used "ymodem" then this will gives time out.
Please guide me in order to solve this.

thanks
Regards
Prabhat Shrivatav


>>> Nick Garnett <nickg@ecoscentric.com> 08/27/04 10:59PM >>>
"Prabhat Shrivastav" <shrivastavp@myw.ltindia.com> writes:

> Thanx for the your valuable  guidance
> As my target does'nt have ethernet port now,
> so after getting the redboot prompt from redboot_RAM .
> I had used xymodem with serial port for downloading reboot_ROM.bin to ram
>  and then by using "fis create" command I tried to make a copy of 
> redboot_ROM.bin from RAM to flash.i am able to load into flash whatever
> is in RAM at selected location.  
> But I am unable to load .bin in to ram by xymodem.
> Please suggest me to overcome.

You need to use the -r option to load raw binaries. 

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos 
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss 



--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos 
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss 



--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list