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_akel...@hotmail.com
To: mipsbook-devel@linuxtogo.org
Date: Sun, 12 Jun 2011 23:34:23 +0200
Subject: Re: [Mipsbook-devel] 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_vi...@hotmail.com
To: mipsbook-de...@lists.linuxtogo.org
Date: Sun, 12 Jun 2011 20:29:02 +0000
Subject: [Mipsbook-devel] 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.

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

Reply via email to