Re: Help getting started building & testing on the X50v...

From: JeDi <jeroen.dierckx_at_gmail.com>
Date: Mon, 9 Jan 2006 14:50:25 +0100

I'm actually creating a "working" setup right now, with an image that
you can put on a regular fat32 sd card. It's got framebuffer output
(don't forget to enable mirror mode in the settings first) and a
graphical OPIE running. The big problem is that the touchscreen
coordinates aren't correct, even I run the calibration program first.

I hope Fisherss can reply to this problem soon, cause he is the one
that wrote the touchscreen driver (and everything else actually) :-)

I'll report in half an hour, when I've tested and uploaded everything.

Greetz,
JeDi

On 1/9/06, Michael Cutler <m_at_cotdp.com> wrote:
> 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, <giuseppe_zompatori_at_yahoo.it>")
> 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, <giuseppe_zompatori_at_yahoo.it> */
> .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 <jeroen.dierckx_at_gmail.com>:
>
> > Have a look here: http://www.handhelds.org/moin/moin.cgi/PrebuiltToolchains
> >
> > Good luck!
> >
> > Greetz,
> > JeDi
> >
>
>
>
>
> --
> _______________________________________________
> Aximx50-port mailing list
> Aximx50-port_at_handhelds.org
> https://www.handhelds.org/mailman/listinfo/aximx50-port
>
Received on Mon Jan 09 2006 - 08:58:08 EST

This archive was generated by hypermail 2.2.0 : Mon Jan 09 2006 - 08:58:13 EST