patches 2.6 kernel for ingenic jz4730
Update based on miniport of kernel work from linuxtogo.org (svn version 33). This is a partly working kernel 2.6.24.3.
below issues:
- - Issue with sound, the driver i2s jzsoc can be loaded if you add it in sound section with make xconfig,
I modified the /sound/oss/ak4642en.c
GPIO items to be the same as the skytone one.
The jz_i2s.c jz_audio_write function crashes and causes kernel to hang.
- - Issue with shutdown. powerdown will cause the system to restart (and not powerdown)
- - Issue with touchpad buttons. Touchpad buttons do not work.
- - Some problem with rtc (doesn't read/resets the hardware clock, may have to do with wrong /dev/rtc, cause the time and date to be wrong)
If you want to try for debug purposes herewith the steps I made to make this preliminary kernel 2.6 patch to work on trendtac epc700.
- 1) Extract linux-2.6.24.3.tar.bz2 with: tar xvjf
- 2) cd linux-2.6.24.3 dir
- 3) patch skytone 20080530 with: patch -p1 < ../linux-2.6.24.3-jz-20080530.patch
- 4) patch minibookversion33 patch with: patch -p1 < ../kernel26minibooksvnversion33.patch
- 5)
edit /init/do_mounts.c
if (saved_root_name[0]) {
// root_device_name = saved_root_name; // << commented this part out
root_device_name = "/dev/mmcblk0p2"; // << and added this one, to load from my second SD ext3 partition.
- 6) copy CONFIG_RV5 to .config or make xconfig (and add/remove the kernel modules you want to load or not to your kernel)
- 8) make uImage (this creates a uImage file in arch/mips/boot dir)
- 9) Copy uImage to SD card FAT32 (partition 1) and your linux distro to ext3 (partition2)
You can startup from SD by pressing left fn , shift , crtl + press any key to boot from sd partition 2
Topic revision: r3 - 23 Feb 2010 - 22:38:36 -
RubenViets