testing barebox on calao sbc35-a9260 board

Juergen Beisert jbe at pengutronix.de
Mon Jun 28 05:36:10 EDT 2010


Eric Bénard wrote:
> Hi Marek,
>
> Le 28/06/2010 11:08, Belisko Marek a écrit :
> > I disable autostart and download barebox image to 0x8000 with
> > tftp 0x8000 barebox.bin and then jut go 0x8000 ended with:
> > ## Starting application at 0x00008000 ...
>
> if I remember well, on AT91 SDRAM is at 0x20000000 so actually you don't
> seem to load it in SDRAM.
> For the binary to execute properly, you should load it at the right
> target address in SDRAM.

If barebox detects its current runtime address differs from the link address 
it copies itself to the link address first.

So writing it anywhere into sdram should work. But only, if also the link 
address is in the sdram area...

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |



More information about the barebox mailing list