We can load binary files by loading them in RAM (offset 0x3000000) first and 
then copying them to Flash with the cp.b command.

Now we are trying to load our executable (in S-record format) in Flash with the 
loads command (load S-record) using U-boot.

It is my understanding that S-record files specify the exact location of all 
data, so I assume that loads will write the content directly to Flash (without 
the need to load it in RAM first). Is this correct ?

I tried loading an S-record file of which the data is mapped to RAM and that 
seems to work,
But when the S-record file contains records that map a chunk to Flash, it gives 
the following error:

Unknown command 'S325F8045B0042414E434F4E464947555245445F5354CD' - try 'help'
=> S325F8045B20415445524154494F4E414C5F5354417E


FYI: 0xf8000000 is the start of our Flash.
Our U-boot is based on 2008.10 version.


Any files attached to this e-mail will have been checked with virus detection 
software prior to transmission but you should carry out your own virus check 
before opening any attachment. Safetran Systems Corp does not accept liability 
for any damage or loss which may be caused by software viruses. The contents of 
this e-mail and any attachments are the property of Safetran Systems Corp and 
are intended for the confidential use by the named recipient only. They may be 
legally privileged and should not be communicated to, or relied upon, by any 
other person without written consent. If you are not the addressee, please 
notify us immediately at the following address:  Safetran Systems Corporation, 
2400 Nelson Miller Parkway, Louisville, Kentucky 40223. Safetran Systems Corp 
is a subsidiary of  Invensys Plc.  Registered office: Portland House, 
Bressenden Place, London, SW1E 5BF. UK Registered in England and Wales No. 
1641421.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to