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)

  • 7) make oldconfig

  • 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 attachments
I Attachment Action Size Date Who Comment
elsepatch kernel26minibooksvnversion33.patch manage 501.8 K 23 Feb 2010 - 22:21 RubenViets patch from diff between jz-20080530 and svn version33
elsepatch linux-2.6.24.3-jz-20080530.patch manage 5558.9 K 23 Feb 2010 - 22:19 RubenViets linux-2.6.24.3-jz-20080530 patch
elsepatch linux-2.6.24.3-jz-20090506.patch manage 9171.2 K 31 May 2009 - 23:26 RubenViets ingenic latest kernel 2.6.24.3 patch
else2_RV uImage_kernel26_gcc4.1.2_RV manage 1840.8 K 23 Feb 2010 - 22:38 RubenViets kernel 2.6 rename to uImage for use
Topic revision: r3 - 23 Feb 2010 - 22:38:36 - RubenViets
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback