[uClinux-dev] snapgear 3.2.0/2.6.x/ixdp425 - does it work?

Doug Kehn rdkehn at yahoo.com
Fri Aug 5 07:39:59 EDT 2005


Hi David, A.R.,

--- David McCullough wrote:

> 
> Jivin A. R. lays it down ...
> > Hi all,
> > 
> > When I build a 2.6.x kernel + Glibc - I get two
> > issues:
> > 
> > 1. A Build error in mtd_abi.h because of __user
> stuff.
> > 

A better way to fix this is to wrap the __user stuff
with #ifdef __KERNEL__.  This header is used in both
kernel and user space.  This is/was supposed to be
fixed starting with 2.6.10.

> > 2. When I removed the __user stuff, and got it to
> > compile - all I get at boottime is some garbled
> text.
> > I even applied the -mbig-endian patch, but it
> didnt
> > help.
> > 

You might try patching coyote-setup.c.

---
uClinux-dist/linux-2.6.x/arch/arm/mach-ixp4xx/coyote-setup.c.orig
2005-05-09 12:01:54.000000000 -0400
+++
uClinux-dist/linux-2.6.x/arch/arm/mach-ixp4xx/coyote-setup.c
2005-05-09 12:02:09.000000000 -0400
@@ -40,7 +40,7 @@
 	.iotype		= UPIO_MEM,	
 	.regshift	= 2,
 	.uartclk	= IXP4XX_UART_XTAL,
-	.line		= 0,
+	.line		= 1,
 	.type		= PORT_XSCALE,
 	.fifosize	= 32
 };

I observed this problem with uClinux-20041215 and this
solved it.  BTW, I submitted this patch and it was
included in uClinux-dist-test-20050614.

> > Does snapgear3.2.0/2.6.x + Glibc really work on
> > IXDP425? (2.4.x has no issues at all).
>

Additional information can be found at:
http://ixp4xx-osdg.sourceforge.net/linux-2.6.html
 
> We tend to use uClibc for everything,  and as such,
> I don't think anyone here has even tried glibc on
> 2.6 :-)
> 

Regards,
...doug

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the uClinux-dev mailing list