From: Lucas Correia Villa Real <lucasvr@go...> - 2005-04-07 00:52:28
I've some news on the Linux 2.6 port (and yes, this is a copy+paste from my
gp32x post ;-)
The GP32 base port is almost complete for Linux 2.6. I've been working full
time on it for more than 1 month, and I've finished today the base support
So, this is what I've completed until now:
- clock, dma, irq, gpio, uart, sleep code, uncompress code, spi, i2s and i2c
for the s3c2400;
- gp32 machine support, based on the s3c2400 cpu.
This is what's missing:
- mmc controller, usb device, lcd driver, power management;
- proper modification of the gp32 linux bootloader.
The LCD driver is on the way; I have mine here, ported from 2.4, but there's a
guy involved with HP's H1940 port that's going to submit a new one, probably
with PM support as well. USB, MMC and PM aren't really necessary at the
moment, so they will need to wait.
Now, all we need to do is get it to boot. The bootloader used by the 2.4 is
really poor, since it only copies the zImage to a memory location and jumps
there. It lacks to pass information needed by the kernel, such as passing the
atag array, which is mandatory for new bootloaders. I've started to enhance
it, but I won't be able to finish it for the next 2 weeks.
Another thing is that maybe we'll need to move some pieces of asm code from
2.4's arch/arm/boot/compressed/head-gp32.S to C code, inside the init_machine
function at mach-gp32.c
The code was uploaded to http://cscience.org/~lucasvr/patches/linux/2.6.12-rc.
Some of these may not apply, since I've already merged some stuff to the -rc
tree. For those interested, I'm keeping a (b)log of my activities on the GP32
Linux port at http://www.livejournal.com/users/lucasvr.
I'll try go get in touch with the code for the next week, but I think it's
going to be a bit complicated, since I'll be changing $HOME to a new city
this sunday. Anyway, Linus is leaving BitKeeper usage
(http://lkml.org/lkml/2005/4/6/121), so the kernel is in freeze state. No
patches being merged for some time..
Well, that's it. Feel free to hack in the code. Just remember to send me an
email if you make something interesting, like getting it to boot ;-)
powered by /dev/dsp