Hi KJ,

Lin KJ wrote:
> I want to port the ARM uclinux on my board, including the 2.6 kernel and 
> userland program.
> However, i am not familiar with the current status of the ARM uclinux world.
> In the uclinux website, it mentions that the available toolchains for ARM 
> uClinux are "arm-linux" and "arm-elf" toolchain.
> Which one is common used for ARM uClinux-2.6 world?

I use the arm-linux toolchain for 2.6 uClinux development.


> I tried to download the Snapgear's arm-linux toolchain, and found the C lib 
> of the toolchain is glibc instead of uclibc.
> Is it suitable for uclinux world?

Yes. A build of uClinux-dist doesn't use the libc from the
toolchain. If you want to build c++ apps then that is
a different story.


> Will it make the userland program size too large?

No, glibc in the toolchain is not used to generate
user applications in uClinux-dist builds.


> Shouldn't the uclinux use the uclibc based toolchain?

Only if you need it to be able to build stand alone apps
outside of the uClinux-dist build framework.


> By the way, should i use the "linux-2.6.24-uc0.patch" from uclinux as my 
> kernel porting start point?
> Or use the "linux-2.6.14-hsc0.patch" from the uClinux/ARM2.6 
> project(http://opensrc.sec.samsung.com/)?
> In fact, the two projects confuse me.

Up to you :-)
2.6.14-hsc0 is old and won't port to newer kernels easily.
But many of the mmu-less targets had some working support.

2.6.24-uc0 is a modern kernel version, and large parts of it
merged into mainline linux 2.6.24. But some of the
non-mmu arm target CPU's code is not up to date for it.

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to