Hi,
I succeeded in compiling a kernel from the latest handhelds.org cvs
(http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/). Don't be
too thrilled though, I couldn't try it yet because my pda is at work.
I modified the source as explained on Fisherss' website and in the
following two mails:
- http://www.fisherss.com/ownkernel.html
- http://www.handhelds.org/hypermail/aximx50-port/2/0260.html
- http://www.handhelds.org/hypermail/aximx50-port/2/0292.html
One part from Fisherss' site I'm not sure off: it sais to replace the
PHYS_OFFSET from 0xa0008000 to 0xa8008000, but the value in the file
sais 0xa0000000, so I changed it to 0xa8000000 because our aximx30.c
files sais .phys_ram = 0xa8000000 now somewhere at the bottom.
I think I discovered a wrong address in the patch of the second mail
too. Somewhere at the bottom of aximx30.c, it sais ".boot_params =
0xa0000100", and according to Fisherss' mail we should change that to
0xa8000100, so I did that.
I had to change a couple of things to get it to compile:
- I had to put "#include <linux/platform_device.h>" at the top of
aximx30_core.c and aximx30.c, otherwise the struct platform_device is
not known to the compiler.
- I disabled "HP iPAQ hx4700" in the kernel config (System Type/Intel
PXA2xx Implementations), otherwise the kernel wouldn't link (something
about an undefined reference to `mtd_concat_create'). But there wasn't
anything checked in the hx4700 section anyway, so I guess that won't
hurt much.
I also added the VGA 8x8 and 8x16 fonts for better display on our high
resolution screen and added the tux bootup logo.
I uploaded two unified diffs to http://lumumba.uhasselt.be/~jedi/x50v-linux/new/
- http://lumumba.uhasselt.be/~jedi/x50v-linux/new/diff-source (a diff
to the current cvs head kernel with the changes made to the source
code)
- http://lumumba.uhasselt.be/~jedi/x50v-linux/new/diff-config (a diff
with my .config and arch/arm/configs/aximx30_defconfig)
I'm not sure the patches are correct, I'm not very experienced in creating them.
I used the handhelds official 3.4.1 toolchain from
ftp://ftp.handhelds.org/projects/toolchain/arm-linux-gcc-3.4.1.tar.bz2
to build the kernel.
I also uploaded the kernel image and my .config:
- http://lumumba.uhasselt.be/~jedi/x50v-linux/new/zImage
- http://lumumba.uhasselt.be/~jedi/x50v-linux/new/config (renamed from
.config, so remember to rename it back)
Let's try this and see if it works!
Let us know if someone gets something usefull out of it...
Greetz,
JeDi
Received on Wed Apr 12 2006 - 20:32:10 EDT
This archive was generated by hypermail 2.2.0 : Wed Apr 12 2006 - 20:32:17 EDT