I am using an Embedded Artist patch that works for me. You can find more
info in the Yahoo group for the lpc2400_uClinux here: 

http://tech.groups.yahoo.com/group/lpc2400_uClinux/

It seems that a lot of people have purchased the EA reference designs and
started with that. They are based on the LPC24xx series that has a arm7tdmi
in it. In the files section there is a patch for kernel 2.6.21. They have
also provided u-boot patches. Not very clean but it all seems to work. 

Regards,
Gary


-----Original Message-----
From: uclinux-dev-boun...@uclinux.org
[mailto:uclinux-dev-boun...@uclinux.org] On Behalf Of
ucli...@browserseal.com
Sent: Tuesday, November 17, 2009 4:19 PM
To: uclinux-dev@uclinux.org
Subject: [uClinux-dev] ARM compilation woes summary (and solution)

So, this is what it takes to compile the latest version 20090618 of
uClinux with ARM,

1. Change libc from glibc to uClibc (compilation with glibc will fail
during the patching phase)
2. Change uClibc configuration from CONFIG_ARM_OABI to CONFIG_ARM_EABI
(OABI will fail with '__NR_syscall' undeclared message)
3. In  uClibc/libpthread/linuxthreads.old/sysdeps/arm/pt-machine.h change
  extern long int testandset (int *spinlock);
  to
  static long int testandset (int *spinlock);
(otherwise the compilation will fail with multiple definition of
`testandset' error)
4. Do not use latest, i.e. 2009q3 Codesourcery gcc version, use  gcc
version 4.3.3 (Sourcery G++ Lite 2009q1-163) instead
5. In arm-2009q1/lib/gcc/arm-uclinuxeabi/4.3.3/include make a link to
./include-fixed/limits.h (otherwise the compilation will fail with
error: limits.h: No such file or directory)

I would say that it is an impressive list which means that currently
uClinux ARM support is pretty much broken ! :)

Should I make a patch, open a bug or something ?
_______________________________________________
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

_______________________________________________
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