Dr. H. Nikolaus Schaller | 1 Jun 2011 21:44
Favicon

Fwd: JZ47XX kernel development mailinglist and IRC channel

May be of interest for you:

And, let's hope they also take care of the JZ4730 in most recent kernels.

Anfang der weitergeleiteten E-Mail:

> Von: Lars-Peter Clausen <lars@...>
> Datum: 1. Juni 2011 21:07:46 MESZ
> An: Ignacio García Pérez <iggarpe@...>, Peter Zotov
<whitequark <at> whitequark.org>, Maarten ter Huurne
<maarten@...>, Paul Cercueil
<paul@...>, Yauhen Kharuzhy
<jekhor@...>, Alexander Kerner <lunohod@...>
> Kopie: jz47xx-kernel@..., "English Qi Hardware
mailing list - support, developers, use cases and fun" <discussion@...ardware.com>
> Betreff: JZ47XX kernel development mailinglist and IRC channel
> Antwort an: "English Qi Hardware mailing list - support, developers, use cases and fun" <discussion@...>
> 
> Hi
> 
> Since there is a growing number of users and developers working on the jz47xx
> kernels, I thought it might be a good idea to setup a mailinglist[1] where we
> can discuss and coordinate the development. So not all information is lost in
> private conversation and people know what areas others are working on to avoid
> to much duplication.
> 
> We have also an IRC channel: #ingenic on irc.freenode.net
> 
> I'll try to write a roadmap on how I'd like to see the jz47xx kernel
> development to continue in the next days.
(Continue reading)

Ruben Viets | 12 Jun 2011 22:29
Picon
Favicon

kernel 2.6.31.3 minibook update

Hi,
 
Updated my latest settings from kernel 2.6.31.3. It's running stable enough on my trendtac with 3mx 2.6 OS, lenny installed on NAND.
http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/uImage2.6.31.3RV111
 
Next thing to try is get mipsandroid working.
 
My trendtac becomes 'old', wireless usb stick broke, no battery life, increasing bad nand blocks, hopefully it will survive new updates.
 
Grt Ruben.
<div>
Hi,<br>
&nbsp;<br>
Updated my latest settings from kernel 2.6.31.3. It's running stable enough on my trendtac with 3mx 2.6 OS, lenny installed on NAND.<br><a href="http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/uImage2.6.31.3RV111">http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/uImage2.6.31.3RV111</a><br>
&nbsp;<br>
Next thing to try is get mipsandroid working.<br>
&nbsp;<br>
My trendtac becomes 'old', wireless usb stick broke, no battery life, increasing bad nand&nbsp;blocks, hopefully it will survive new updates.<br>
&nbsp;<br>
Grt Ruben.<br>
</div>
Peter Van Akelyen | 12 Jun 2011 23:34
Picon
Favicon

Re: kernel 2.6.31.3 minibook update

Impressive yours is still running (my screen whites out a few seconds after power on).

When trying to use OpenVPN on my LLL it complained about a kernel option for the tunnel device that was not enabled during kernel compilation. Do you if it's possible to use OpenVPN with the 2.6.32.3 kernel?

Mipsandroid would be very cool (although processing power is very limited), keep us posted!

Kind regards,
Peter Van Akelyen

From: r_viets-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
To: mipsbook-devel <at> lists.linuxtogo.org
Date: Sun, 12 Jun 2011 20:29:02 +0000
Subject: [Mipsbook-devel] kernel 2.6.31.3 minibook update

.ExternalClass .ecxhmmessage P {padding:0px;} .ExternalClass body.ecxhmmessage {font-size:10pt;font-family:Tahoma;} Hi,
 
Updated my latest settings from kernel 2.6.31.3. It's running stable enough on my trendtac with 3mx 2.6 OS, lenny installed on NAND.
http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/uImage2.6.31.3RV111
 
Next thing to try is get mipsandroid working.
 
My trendtac becomes 'old', wireless usb stick broke, no battery life, increasing bad nand blocks, hopefully it will survive new updates.
 
Grt Ruben.

_______________________________________________ Mipsbook-devel mailing list Mipsbook-devel-CQP9ExgZy9rrZ44/DZwexQ@public.gmane.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel
<div>
Impressive yours is still running (my screen whites out a few seconds after power on).<div><br></div>
<div>When trying to use OpenVPN on my LLL it complained about a kernel option for the tunnel device that was not enabled during kernel compilation. Do you if it's possible to use OpenVPN with the 2.6.32.3 kernel?</div>
<div><br></div>
<div>Mipsandroid would be very cool (although processing power is very limited), keep us posted!</div>
<div><br></div>
<div>Kind regards,</div>
<div>Peter Van Akelyen</div>
<div><br></div>
<div>From: r_viets@...<br>To: mipsbook-devel <at> lists.linuxtogo.org<br>Date: Sun, 12 Jun 2011 20:29:02 +0000<br>Subject: [Mipsbook-devel] kernel 2.6.31.3 minibook update<br><br>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

Hi,<br>
&nbsp;<br>
Updated my latest settings from kernel 2.6.31.3. It's running stable enough on my trendtac with 3mx 2.6 OS, lenny installed on NAND.<br><a href="http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/uImage2.6.31.3RV111" target="_blank">http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/uImage2.6.31.3RV111</a><br>
&nbsp;<br>
Next thing to try is get mipsandroid working.<br>
&nbsp;<br>
My trendtac becomes 'old', wireless usb stick broke, no battery life, increasing bad nand&nbsp;blocks, hopefully it will survive new updates.<br>
&nbsp;<br>
Grt Ruben.<br><br>_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@...
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel</div> 		 	   		  </div>
Ruben Viets | 13 Jun 2011 22:23
Picon
Favicon

Re: kernel 2.6.31.3 minibook update

Hi,

openvpn need to have universal tun/tap device driver support to be enabled (drivers/net/tun.ko).
This can be done for the ingenic kernels, at this moment this is disabled in my configs.
Can be added as modules or added to the kernel uImage.
If you know how to compile the ingenic kernel 2.6.24.3 or 2.6.31.3, you could add / compile the wanted drivers yourself. ;-)
I have added additional support for some drivers for both kernels.
https://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/tun26243.ko
https://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling
 
BTW, my minibook had white screens too, but I could alway's recover them without jtag so far.
When I copied my first kernel 2.6.24.3 uImage to /dev/mtdblock1 (using bootloader left shift+fn+ctrl+F1) this caused a corrupt /dev/mtdblock1 and white screen during boot, 
maybe because of wrong automount vfat of the new kernel or a bootloader difference of kernel 2.4.20 and 2.6.24.3.
I restored the /dev/mtdblock1 uImage by item 1) below. Item 2) I used to install 3mx 2.6.24.3 os on nand
 
Some approaches to fix what's broken:
1) If your minibook is only able to startup from sd card, you could be lucky to fix the nand boot without the need of jtag.
(if it is not related to bootloader /dev/mtd0, or bad nand blocks mtd0/1)
I fixed it with an orginal trendtac 2.4.20 kernel and minifs (press left shift+fn+F1 to copy the uImage to /dev/mtdblock1 and left shift fn + right shift to copy minifs recovery to /dev/mtdblock3). Afterwards recover from usb stick or sd card with F3 pressed to an previous distro 3mx or trendtac one.
 
2) Boot from a working SD card. flash_erase all /dev/mtd1 (uImage) /dev/mtd4 (nand1) , /dev/mtd5 (nand2).
mount -t vfat /dev/mmcblk0p1 /mnt/sd
mount -t ext3 /dev/mmcblk0p2 /mnt/sd2
mount /dev/sda /mnt/usb1
mount /dev/mtdblock4 /mnt/nand
mount /dev/mtdblock5 /mnt/nand2
cat /mnt/sd/uImage2.6.2x.xRVxxx > /dev/mtdblock1
cd /mnt/nand
tar xvjf /mnt/sd/anydistro.tar.bz2
 
3) If your minibook is 'dead' serial null modem not working, nothing on terminal connected, no uboot start...
You need ftdi jtag driver soldered to the minibook, http://projects.goldelico.com/p/letux-400-jtag/
check below software. To restore /dev/mtd0. You need to have a copy from an original working one. cat /dev/mtd0 > mtd0.dat
http://linuxlaptopforum.ark2webdesign.co.uk/index.php/topic,959.0.html
I have not tried this out, as my minibook survived all kernel updates untill now, but this looks as a possible way to unbrick the minibook.

For kernel 2.6.31.3. Testing is done very limited. ethernet only checked wired, ethernet is very slow and cause a kernel crash at ifdown eth0...., the 'fix' is nok.  
Second issue is startup from F2 (sd) is not supported, because different order of loading modules needed for sound dma workaround.
For testing mipsandroid this isn't a big issue as this needs nand to mount system and data.
 
For lenny/os/testing better stick to the previous kernel 2.6.24.3, untill there is a newer stable kernel for jz4730.
Maybe the jz47xx kernel updates from qi-hardware will support the jz4730 as mentioned in previous post from Nikolaus. Hopefully.
 
Grt Ruben. 


From: peter_van_akelyen-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
To: mipsbook-devel-CQP9ExgZy9rrZ44/DZwexQ@public.gmane.org
Date: Sun, 12 Jun 2011 23:34:23 +0200
Subject: Re: [Mipsbook-devel] kernel 2.6.31.3 minibook update

.ExternalClass .ecxhmmessage P {padding:0px;} .ExternalClass body.ecxhmmessage {font-size:10pt;font-family:Tahoma;} Impressive yours is still running (my screen whites out a few seconds after power on).

When trying to use OpenVPN on my LLL it complained about a kernel option for the tunnel device that was not enabled during kernel compilation. Do you if it's possible to use OpenVPN with the 2.6.32.3 kernel?

Mipsandroid would be very cool (although processing power is very limited), keep us posted!

Kind regards,
Peter Van Akelyen

From: r_viets-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
To: mipsbook-devel-cunTk1MwBs/k6gDgw6ADrEB+6BGkLq7r@public.gmane.org
Date: Sun, 12 Jun 2011 20:29:02 +0000
Subject: [Mipsbook-devel] kernel 2.6.31.3 minibook update

.ExternalClass .ecxhmmessage P {padding:0px;} .ExternalClass body.ecxhmmessage {font-size:10pt;font-family:Tahoma;} Hi,
 
Updated my latest settings from kernel 2.6.31.3. It's running stable enough on my trendtac with 3mx 2.6 OS, lenny installed on NAND.
http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/uImage2.6.31.3RV111
 
Next thing to try is get mipsandroid working.
 
My trendtac becomes 'old', wireless usb stick broke, no battery life, increasing bad nand blocks, hopefully it will survive new updates.
 
Grt Ruben.

_______________________________________________ Mipsbook-devel mailing list Mipsbook-devel-CQP9ExgZy9rrZ44/DZwexQ@public.gmane.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel

_______________________________________________ Mipsbook-devel mailing list Mipsbook-devel <at> linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel
<div>
Hi,<br><br>openvpn need to have universal tun/tap device driver support to be enabled (drivers/net/tun.ko). <br>
This can be done for the ingenic kernels, at this moment this is disabled in my configs. <br>Can be added as modules or added to&nbsp;the kernel uImage. <br>
If you know how to compile the ingenic kernel&nbsp;2.6.24.3 or 2.6.31.3, you could add / compile&nbsp;the wanted drivers&nbsp;yourself. ;-)<br>
I have added additional support for some&nbsp;drivers for both kernels.<br><a href="https://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/tun26243.ko">https://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/tun26243.ko</a><br><a href="https://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling">https://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling</a><br>
&nbsp;<br>BTW, my minibook had&nbsp;white screens too, but I could alway's recover&nbsp;them without jtag so far. <br>
When I copied my first kernel 2.6.24.3 uImage&nbsp;to /dev/mtdblock1 (using bootloader&nbsp;left shift+fn+ctrl+F1)&nbsp;this caused a&nbsp;corrupt /dev/mtdblock1 and white screen during boot,&nbsp;<br>maybe because of wrong&nbsp;automount vfat of the new kernel or&nbsp;a bootloader&nbsp;difference of kernel 2.4.20 and 2.6.24.3.<br>
I restored the /dev/mtdblock1 uImage&nbsp;by item 1) below. Item 2) I used to install 3mx 2.6.24.3 os on nand <br>
&nbsp;<br>
Some approaches to fix what's broken:<br>1) If your minibook is only able to startup from&nbsp;sd&nbsp;card, you could be lucky&nbsp;to fix the nand&nbsp;boot without the need of jtag. <br>
(if it is not related to bootloader /dev/mtd0, or bad nand blocks mtd0/1)<br>I&nbsp;fixed it with&nbsp;an orginal trendtac 2.4.20 kernel and minifs (press left shift+fn+F1 to copy the uImage to /dev/mtdblock1 and left shift fn + right shift to copy minifs recovery to /dev/mtdblock3). Afterwards recover from usb stick or sd card with F3 pressed&nbsp;to an previous distro 3mx or trendtac one.<br>&nbsp;<br>
2) Boot from a working SD card. flash_erase all /dev/mtd1 (uImage)&nbsp;/dev/mtd4 (nand1)&nbsp;, /dev/mtd5 (nand2). <br>mount -t vfat /dev/mmcblk0p1 /mnt/sd<br>mount -t ext3 /dev/mmcblk0p2 /mnt/sd2<br>
mount /dev/sda /mnt/usb1<br>mount /dev/mtdblock4 /mnt/nand<br>mount /dev/mtdblock5 /mnt/nand2<br>cat /mnt/sd/uImage2.6.2x.xRVxxx &gt; /dev/mtdblock1<br>cd /mnt/nand<br>tar xvjf /mnt/sd/anydistro.tar.bz2<br>&nbsp;<br>3) If your minibook is 'dead' serial null modem&nbsp;not working, nothing on terminal connected, no uboot start...<br>You need ftdi jtag driver&nbsp;soldered to the minibook, <a href="http://projects.goldelico.com/p/letux-400-jtag/">http://projects.goldelico.com/p/letux-400-jtag/</a><br>check below software. To restore /dev/mtd0.&nbsp;You need to have a copy from&nbsp;an original working one. cat /dev/mtd0 &gt; mtd0.dat<br><a href="http://linuxlaptopforum.ark2webdesign.co.uk/index.php/topic,959.0.html">http://linuxlaptopforum.ark2webdesign.co.uk/index.php/topic,959.0.html</a><br>I have&nbsp;not tried this out,&nbsp;as my minibook survived all kernel updates untill now, but this looks as a possible way to unbrick the minibook.<br><br>
For kernel 2.6.31.3. Testing is done very limited. ethernet only checked wired, ethernet is very slow and&nbsp;cause a kernel crash at ifdown eth0....,&nbsp;the 'fix' is nok.&nbsp;&nbsp;<br>
Second&nbsp;issue is startup from F2 (sd) is not supported, because different order of loading modules needed for sound dma workaround. <br>
For testing mipsandroid this isn't a big issue as&nbsp;this needs nand to mount system and data. <br>
&nbsp;<br>
For&nbsp;lenny/os/testing better stick to the previous kernel 2.6.24.3, untill there is a newer stable kernel for jz4730. <br>
Maybe the jz47xx kernel updates from qi-hardware will support the jz4730 as mentioned in previous post from Nikolaus. Hopefully.<br>
&nbsp;<br>
Grt Ruben.&nbsp;<br><br><br>
From: peter_van_akelyen@...<br>To: mipsbook-devel@...<br>Date: Sun, 12 Jun 2011 23:34:23 +0200<br>Subject: Re: [Mipsbook-devel] kernel 2.6.31.3 minibook update<br><br>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

Impressive yours is still running (my screen whites out a few seconds after power on). <br><div><br></div>
<div>When trying to use OpenVPN on my LLL it complained about a kernel option for the tunnel device that was not enabled during kernel compilation. Do you if it's possible to use OpenVPN with the 2.6.32.3 kernel?</div>
<div><br></div>
<div>Mipsandroid would be very cool (although processing power is very limited), keep us posted!</div>
<div><br></div>
<div>Kind regards,</div>
<div>Peter Van Akelyen</div>
<div><br></div>
<div>

From: r_viets@...<br>To: mipsbook-devel@...<br>Date: Sun, 12 Jun 2011 20:29:02 +0000<br>Subject: [Mipsbook-devel] kernel 2.6.31.3 minibook update<br><br>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

Hi,<br>&nbsp;<br>Updated my latest settings from kernel 2.6.31.3. It's running stable enough on my trendtac with 3mx 2.6 OS, lenny installed on NAND.<br><a href="http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/uImage2.6.31.3RV111" target="_blank">http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/uImage2.6.31.3RV111</a><br>&nbsp;<br>Next thing to try is get mipsandroid working.<br>&nbsp;<br>My trendtac becomes 'old', wireless usb stick broke, no battery life, increasing bad nand&nbsp;blocks, hopefully it will survive new updates.<br>&nbsp;<br>Grt Ruben.<br><br>_______________________________________________ Mipsbook-devel mailing list Mipsbook-devel@... http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel</div>
<br>_______________________________________________ Mipsbook-devel mailing list Mipsbook-devel <at> linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel  		 	   		  </div>
Daniel Glöckner | 14 Jun 2011 08:08
Picon

Re: kernel 2.6.31.3 minibook update

Hi,

On Mon, Jun 13, 2011 at 08:23:09PM +0000, Ruben Viets wrote:
> For kernel 2.6.31.3. Testing is done very limited. ethernet only checked wired, ethernet is very slow and
cause a kernel crash at ifdown eth0...., the 'fix' is nok.  

are you referring to my March 27 patch?

  Daniel

Ruben Viets | 14 Jun 2011 10:13
Picon
Favicon

Re: kernel 2.6.31.3 minibook update

Hi,
 
I copied some part of your patch, which made ethernet work. I do not think it is related to your patch.
 
Probably related to previous quick 'fixes' made by me in patchminibookRV11.
 
Grt Ruben.
 
> Date: Tue, 14 Jun 2011 08:08:03 +0200
> From: daniel-gl <at> gmx.net
> To: r_viets-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
> CC: mipsbook-devel <at> linuxtogo.org
> Subject: Re: [Mipsbook-devel] kernel 2.6.31.3 minibook update
>
> Hi,
>
> On Mon, Jun 13, 2011 at 08:23:09PM +0000, Ruben Viets wrote:
> > For kernel 2.6.31.3. Testing is done very limited. ethernet only checked wired, ethernet is very slow and cause a kernel crash at ifdown eth0...., the 'fix' is nok.
>
> are you referring to my March 27 patch?
>
> Daniel
<div>
Hi,<br>
&nbsp;<br>
I copied some part of your patch, which made ethernet work. I do not think it is related to your patch.<br>
&nbsp;<br>
Probably related&nbsp;to previous quick 'fixes' made by me in patchminibookRV11.<br>
&nbsp;<br>
Grt Ruben.<br>&nbsp;<br>
&gt; Date: Tue, 14 Jun 2011 08:08:03 +0200<br>&gt; From: daniel-gl <at> gmx.net<br>&gt; To: r_viets@...<br>&gt; CC: mipsbook-devel <at> linuxtogo.org<br>&gt; Subject: Re: [Mipsbook-devel] kernel 2.6.31.3 minibook update<br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; On Mon, Jun 13, 2011 at 08:23:09PM +0000, Ruben Viets wrote:<br>&gt; &gt; For kernel 2.6.31.3. Testing is done very limited. ethernet only checked wired, ethernet is very slow and cause a kernel crash at ifdown eth0...., the 'fix' is nok. <br>&gt; <br>&gt; are you referring to my March 27 patch?<br>&gt; <br>&gt; Daniel<br>
</div>
Ruben Viets | 7 Nov 2011 21:19

Gmane