cancel
Showing results for 
Search instead for 
Did you mean: 

cross-compile with uclinux

jorge2399
Associate II
Posted on July 18, 2006 at 10:41

cross-compile with uclinux

6 REPLIES 6
jorge2399
Associate II
Posted on July 12, 2006 at 12:15

Hello !

I have some problem to build an image of uclinux OS on STR71x

I followed application note and i succeeded in doing a romfs.

But when i try to do ''make image'', i have mistakes on the serial_str710.c file witch contain errors and warning.

Moreover it doesns't want LDFLAGS= -Wl, -elf2flt. it says it don't those options for arm-elf ????:-o

So, should it possible to have an example of differents options you choose during the ''make menuconfig'' with your example ''zimage.bin'' ? (maybe could be an error of options of kernel)

Thanx for all, ;)

Rgds,

sjo
Associate II
Posted on July 12, 2006 at 19:41

A standard gcc toolchain cannot be used, you must have one built for uclinux (uClibc based).

Visit www.uclinux.org to download a suitable toolchain.

Regards

sjo

jorge2399
Associate II
Posted on July 13, 2006 at 05:51

hi,

I have a gcc toolchain based for STR71x.

So, should work on ?!

Rgds,

[ This message was edited by: jorge50 on 13-07-2006 09:22 ]

jorge2399
Associate II
Posted on July 13, 2006 at 06:39

That's what i use.

I use this toolchain, preconised by ST for str7

But i would like to have some help on the configuration of kernel (make menuconfig)

What configuration and module did you compile with the kernel zimage.bin in example (list of options choosen)??

Thanks in advance,

Rgds,

jorge2399
Associate II
Posted on July 13, 2006 at 10:07

hello zouh and thanks,

I already made ''make clean'' a lot of time ( and ''make mrproper'' too !!!)

And rebuild entirely project but doesn't resolve it.

I followed the AN but it's not enough documented (nothing about options to choose on menuconfig for a sample application kernel !!).

(as part, the building works well for an others toolchain and target, it' dependant of str7 ) .

Thanks ,

Rgds,

jorge2399
Associate II
Posted on July 18, 2006 at 10:41

Hello everybody !

Well, i have two interrogations :

- about the menuconfig :

When customize the kernel,in ''System Type''o option and ''Arm system type'', there's not STR7 possibility ( even with the str7 patch )?

Is this normal ?

- Is there any application note or document about kernel options to choose in order to create its proper kernel of ucLinux on str7x?

For example, the options of the zimage.bin given by ST ?

Thanks very much :p !

Rgds,