Skip to contentSkip to conversation

Loading U-Boot SREC file

U-Boot-Users Devraj Mukherjee 3 participants 3 messages Oct 26, 2004 – Oct 31, 2004

lore
Share & tools
lore
#0 lore raw

Hi everyone,

Thanks to everyone who responded to my email. I managed to get a version of UBoot compiled for our target board and have ended up with an SREC file.

The boot loader that already exists on the board allows me to load the SREC file via TFTP, and I have succeeded doing that. I am still unsure if we should go ahead burn the image and restart the board to see UBoot come up.

If there is anyone out there using a LH7A400 based board then please let me know if I should look out for anything else. Any other suggestions are very welcome.

Regards,
Devraj

Signature · 5 lines
----------------------------------------------------------------------
Devraj Mukherjee, Eternity Technologies Pty. Ltd. Australia
Host: Debian (Sarge) 3.1 Kernel 2.4.27-1-686 / GCC version 3.3.5
Target: LPD7A400 (ARM9) LogicPD eval. board / ARM GCC 3.3 GlibC 2.3.2
----------------------------------------------------------------------
#1 lore raw

Hi Devraj,

Quoted 8 lines

Thanks to everyone who responded to my email. I managed to get a version of UBoot compiled for our target board and have ended up with an SREC file.

The boot loader that already exists on the board allows me to load the SREC file via TFTP, and I have succeeded doing that. I am still unsure if we should go ahead burn the image and restart the board to see UBoot come up.

I am not familiar with your platform but the SREC file is definitely not for tftp download. You will end up with the SREC file in memory - uninterpreted. If you use tftp, then use the bin file - the srec format is for serial download only.

Cheers
Detlev

Signature · 1 line
In the topologic hell the beer is packed in Klein's bottles.
#2 lore raw
Quoted 10 lines · In message <[email protected]> you wrote:
Quoted 5 lines

The boot loader that already exists on the board allows me to load the SREC file via TFTP, and I have succeeded doing that. I am still unsure if we should go ahead burn the image and restart the board to see UBoot come up.

I am not familiar with your platform but the SREC file is definitely not for tftp download. You will end up with the SREC file in memory - uninterpreted. If you use tftp, then use the bin file - the srec format is for serial download only.

This is not quite correct. There are so-called boot loaders (like YAMON, to name one) that are stupid enough to accept ONLY S-record files over TFTP. [If you feed them a binary image this may produce some funny console error messages and/or completely hang the system.]

[Don't try it out on "charon", please ;-) ]

Best regards,

Wolfgang Denk

Signature · 4 lines
See us @ Embedded/Electronica Munich, Nov 09 - 12, Hall A.6 Booth 513
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Some programming languages manage to  absorb  change,  but  withstand
progress.          -- Epigrams in Programming, ACM SIGPLAN Sept. 1982