2012/1/16 Stefan Kristiansson <[email protected]>:
> On Sun, Jan 15, 2012 at 10:58:00PM +0100, Franck JULLIEN wrote:
>> Hi,
>>
>> I'm trying to build a BSP from libgloss. I'm using newlib-1.18.0-or32-1.0rc1.
>>
>> I did compile libgloss/or32 with my board definitions (and manually
>> replacing included config file in ctr0.s, _exit.c, uart.c and
>> write.c).
>> I get a libor32uart.a and libor32.a files.
>>
>> I created a folder
>> /opt/crosstool/or32/or32-elf-1.0rc1/or32-elf/lib/boards/de1 where I
>> put libboard.a copied from libor32uart.a created before.
>>
>
> libboard.a should only contain a handful of globals which
> defines clock speed, uart base address etc. Creating a libboard.a
> with those defines and putting it in the path you mentioned above,
> is the only needed change for an orpsoc based board.
> Take a look at unisrc/libgloss/or32/ml501.S for example.
>
> Stefan

Oops,

I was using newlib-1.18.0-or32-1.0rc1.tar.bz2 which I got in the
download section. In this archive, libgloss doesn't have any *.S
file......
I downloaded gnu-src from svn and now I can see *.S files.

I'll take a look tomorrow .
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to