Thanks for the info,
I have moved on a lot further since using pre-compiled toolchains (even
though its sorta
cheating) ;)
I grabbed the latest kernel26 code from handhelds.org CVS and followed
the instructions
from http://www.fisherss.com/ownkernel.html
First problem I encountered was:
CC arch/arm/mach-pxa/aximx30/aximx30.o
arch/arm/mach-pxa/aximx30/aximx30.c:288: warning: implicit declaration
of function
'MAINTAINER'
arch/arm/mach-pxa/aximx30/aximx30.c:289: error: initializer element is
not constant
arch/arm/mach-pxa/aximx30/aximx30.c:289: error: (near initialization for
'__mach_desc_X30.boot_params')
arch/arm/mach-pxa/aximx30/aximx30.c:289: error: syntax error before 'BOOT_MEM'
arch/arm/mach-pxa/aximx30/aximx30.c:289: error: syntax error before ')' token
Looking at a few other implementations containing the ?MACHINE_START?
macro I edited
aximx30.c
/*
MACHINE_START(X30, "Dell Axim X30")
MAINTAINER("Giuseppe Zompatori, <[EMAIL PROTECTED]>")
BOOT_MEM(0xa8000000, 0x40000000, io_p2v(0x40000000))
BOOT_PARAMS(0xa8000100)
MAPIO(x30_map_io)
INITIRQ(x30_init_irq)
.timer = &pxa_timer,
.init_machine = x30_init,
MACHINE_END
*/
MACHINE_START(X30, "Dell Axim X30")
/* Maintainer: Giuseppe Zompatori, <[EMAIL PROTECTED]> */
.phys_ram = 0xa8000000,
.phys_io = 0x40000000,
.io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc,
.boot_params = 0xa8000100,
.map_io = x30_map_io,
.init_irq = x30_init_irq,
.timer = &pxa_timer,
.init_machine = x30_init,
MACHINE_END
This fix gets around that problem and the kernel build gets further and
then fails again
with:
CC drivers/serial/pxa.o
drivers/serial/pxa.c:762: error: static declaration of
'serial_pxa_ports' follows
non-static declaration
drivers/serial/pxa.c:612: error: previous declaration of
'serial_pxa_ports' was here
drivers/serial/pxa.c:770: error: initializer element is not constant
drivers/serial/pxa.c:770: error: (near initialization for
'serial_pxa_ports[0].port.mapbase')
drivers/serial/pxa.c:784: error: initializer element is not constant
drivers/serial/pxa.c:784: error: (near initialization for
'serial_pxa_ports[1].port.mapbase')
drivers/serial/pxa.c:798: error: initializer element is not constant
drivers/serial/pxa.c:798: error: (near initialization for
'serial_pxa_ports[2].port.mapbase')
drivers/serial/pxa.c:812: error: initializer element is not constant
drivers/serial/pxa.c:812: error: (near initialization for
'serial_pxa_ports[3].port.mapbase')
drivers/serial/pxa.c:822: error: static declaration of 'serial_pxa_reg'
follows
non-static declaration
drivers/serial/pxa.c:613: error: previous declaration of
'serial_pxa_reg' was here
To 'hack' around this I edited 'aximx30_defconfig' setting the
following to 'n' instead
of 'y'.
CONFIG_SERIAL_PXA=n
CONFIG_SERIAL_PXA_CONSOLE=n
Now I have the kernel completing builds cleanly but so far haven't done
anything with it.
However I don't know if ?SERIAL_PXA? is required for the use of the
Axim serial port,
this is literally just a hack to get the thing compiling.
I don't have a serial cable for my Axim as yet so I can't see kernel
output. What is the
state of the x50v stuff? Is there any graphical output in working
builds yet? Does anyone
have a 'working' x50v setup (kernel, initrd, rootfs etc.) I can see /
test on my device?
Cheers,
Michael
Quoting JeDi <[EMAIL PROTECTED]>:
Have a look here: http://www.handhelds.org/moin/moin.cgi/PrebuiltToolchains
Good luck!
Greetz,
JeDi
--
_______________________________________________
Aximx50-port mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/aximx50-port