[En-Nut-Discussion] Olimex SAM9-L9260 board

John E neurofog at gmail.com
Mon Mar 16 01:12:08 CET 2009


Hi Everyone,

I have this same board SAM9-L9260. I was loading/reload the external flash,
but determined I needed the JTAG adaptor and software to reload the
bootloader.

If theres a way to make Nut/OS bootable from U-Boot, Thats something I
should work on.
I still dont have it booting Nut/OS yet.

Thanks,
John

On Sun, Mar 15, 2009 at 11:38 AM, Ole Reinhardt <
ole.reinhardt at embedded-it.de> wrote:

> Hi Ernst,
>
> > > I recently purchased an Olimex SAM9-L9260 board. I comes preloaded with
> > > embedded Linux, but I want to run Nut/OS on it.
> > > When powering on, the board activates its AT91Bootstrap which in turn
> starts
> > > U-Boot:
> >
> > I don't think u-boot can load elf files directly, or Nut/OS binaries.
> > You could check u-boot documentation to see how to make your binary
> > compatible with u-boot. I guess it will need to link to some lib from
> > u-boot and use the u-boot's mkimage tool.
>
> U-Boot _can_ load binary files as well as elf files. At least my u-boot
> port for ethernut5 can do so.
>
> Even if I own an SAM9-l9260 board, I did not yet tried NutOS on it very
> extensive.
>
> On the ethernut5 I just use
>
> tftpboot 0x20000000 /tftpboot/enut.bin
> go 0x20000000
>
> For the ethernut5 u-boot I've implemented this as as small u-boot script
> which can be automaticaly run on a boot.
>
> You basicaly did the same. So I'd first check, if you use the correct
> UART for debug output (DEV_UARTx, DEV_DEBUG?).
>
> Have you just checked with
>
> arm-elf-objdump -h enut.elf
>
> if the code was correctly linked to 0x20000000 as base address?
>
> Do you have the possebility to use OpenOCD / JTAG? You can set a
> breakpoint at 0x20000000 and step into your code.
>
> If you don't get it running, drop me a mail and I'll try it on my own
> Olimex board.
>
> Bye,
>
> Ole
>
> --
>  _____________________________________________________________
> |                                                             |
> | Embedded-IT          Hard- und Softwarelösungen             |
> |                                                             |
> | Ole Reinhardt        Tel. / Fax:        +49 (0)271  7420433 |
> | Luisenstraße 29      Mobil:             +49 (0)177  7420433 |
> | 57076 Siegen         eMail:    ole.reinhardt at embedded-it.de |
> | Germany              Web:         http://www.embedded-it.de |
> |                      UstID / VAT:       DE198944716         |
> |_____________________________________________________________|
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>



More information about the En-Nut-Discussion mailing list