There's no need to run 2.6 kernel on GP2X ..
I thought that the Magiceye's SDK took care of the hardware stuff like the drivers etc.?the only stuff they don't give is the driver for the proprietary hardware inside the GP2X and porting a new kernel won't help you with that..
There's at least one big reason to switch to kernel 2.6: getting "official" support for it, where official means the ARM Linux developers (Russell King et al). ARM Linux is not part of the mainline 2.4 kernel tree, while it is in 2.6.There's no need to run 2.6 kernel on GP2X ..
That's not true: what GPH provides is enough to rebuild the kernel. However we don't have the source for the *applications* that use some parts of the hardware.They provide enough to build a new kernel - the only stuff they don't give is the driver for the proprietary hardware inside the GP2X and porting a new kernel won't help you with that (you won't be able to use any of the media features etc. provided by it).
URL: http://www.denx.de/wiki/Know/Linux24vs26?s...4&up=0
Using the 2.6 kernel on embedded systems implicates the following disadvantages: * Slow to build: 2.6 takes 30...40% longer to compile * Big memory footprint in flash: the 2.6 compressed kernel image is 30...40% bigger * Big memory footprint in RAM: the 2.6 kernel needs 30...40% more RAM; the available RAM size for applications is 700kB smaller * Slow to boot: 2.6 takes 5...15% longer to boot into multi-user mode * Slow to run: context switches up to 96% slower, local communication latencies up to 80% slower, file system latencies up to 76% slower, local communication bandwidth less than 50% in some cases.There may be a few cases where the use of Linux kernel version 2.6 makes sense even for embedded systems (typically on "bigger" systems with more powerful processors), but if memory footprint or system performance are important you probably want to stick with a 2.4 kernel for now.-- WolfgangDenk - 24 Apr 2005
Since Linux Kernel 2.6 is bigger and slower than Linux Kernel 2.4. Is it possible to remove some unneccessary parts such as wireless support in Linux Kernel 2.6 make it even smaller.
Sorry I am very new to Linux Kernel.
Another question, for an embedded multimedia system, there are still some other OS such as:
uCos II and eCos. Is there anybody experience with these OS please share your opinion.
Almost last question is there any truly open source embedded development board which is popular and cheap as GP2X. I found one GP2X rival here http://www.embeddedarm.com/epc/ts7300-spec-h.htm
Thanks,
DC,
Hi,
I bought GP2X just for my embedded Linux study. I want to learn how to port Linux Kernel 2.6.x to GP2X hardware.
I wonder is there any existing project like this. I want to join and learn from members of this project.
Thanks,
DC,
As far as I'm aware reverse engineering is frowned upon, but not exactly classed as illegal.I bet it wouldn't be terribly hard to reverse engineer the SD driver (I've done hardware reverse engineering via BIOS disassembly on an x86 calculator), but that leaves the project open to potential legal issues.
Are you sure ?The problem with gp2x, is that source of some driver are not available (ie SD card reader!).
5476 Mar 16 2006 lib/modules/2.4.25/kernel/arch/arm/mach-mmsp2/mmsp2_usbh.o
354940 Mar 6 2006 lib/modules/2.4.25/kernel/drivers/char/dualcpu.o
6848 Mar 16 2006 lib/modules/2.4.25/kernel/drivers/input/evdev.o
7836 Mar 16 2006 lib/modules/2.4.25/kernel/drivers/input/input.o
8936 Mar 16 2006 lib/modules/2.4.25/kernel/drivers/input/joydev.o
4080 Mar 16 2006 lib/modules/2.4.25/kernel/drivers/input/keybdev.o
8884 Mar 16 2006 lib/modules/2.4.25/kernel/drivers/input/mousedev.o
97710 Apr 27 2006 lib/modules/2.4.25/kernel/drivers/scsi/scsi_mod.o
17681 Apr 27 2006 lib/modules/2.4.25/kernel/drivers/scsi/sd_mod.o
36377 Apr 21 2006 lib/modules/2.4.25/kernel/drivers/usb/gadget/g_ether.o
34543 Sep 19 09:06 lib/modules/2.4.25/kernel/drivers/usb/gadget/g_file_storage.o
34136 Sep 19 09:06 lib/modules/2.4.25/kernel/drivers/usb/gadget/net2272.o
33249 Feb 9 2006 lib/modules/2.4.25/kernel/drivers/usb/hid.o
2712 Mar 16 2006 lib/modules/2.4.25/kernel/drivers/usb/host/usb-ohci-mmsp2.o
25304 Mar 16 2006 lib/modules/2.4.25/kernel/drivers/usb/host/usb-ohci.o
36269 Apr 27 2006 lib/modules/2.4.25/kernel/drivers/usb/storage/usb-storage.o
102270 Apr 3 2006 lib/modules/2.4.25/kernel/drivers/usb/usbcore.o
5368 Jan 25 22:40 lib/modules/2.4.25/kernel/arch/arm/mach-mmsp2/mmsp2_usbh.o
354976 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/char/dualcpu.o
6848 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/input/evdev.o
7836 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/input/input.o
8936 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/input/joydev.o
4080 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/input/keybdev.o
8884 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/input/mousedev.o
97791 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/scsi/scsi_mod.o
17681 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/scsi/sd_mod.o
36377 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/usb/gadget/g_ether.o
34543 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/usb/gadget/g_file_storage.o
34136 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/usb/gadget/net2272.o
16944 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/usb/hid.o
2784 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/usb/host/usb-ohci-mmsp2.o
25304 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/usb/host/usb-ohci.o
36269 Jan 25 22:40 lib/modules/2.4.25/kernel/drivers/usb/storage/usb-storage.o
102166 Jan 25 23:26 lib/modules/2.4.25/kernel/drivers/usb/usbcore.o
I have done it and what I compile out of SVN matches (except for a few strings that are dates) after slightly patching some files.And which of those modules is the SD driver? I believe it's built into the kernel (not a module), so you'd have to compare a kernel you built with GPH's using the same settings and compiler.