Ok, summarized email traffic about steps to do kernel building mods for 
wireless.

Herewith possible debug steps + kernel compilation (if needed) to get support 
from wireless usb sticks working:

0)
I have posted all kernelmods you need to cross compile the kernel package from 
ingenic's 2.6.24.3 to get an working uImage_2.6.24.3RV10 on epc700.
http://projects.kwaak.net/twiki/bin/view/Epc700/KernelPort26Compiling
The quick backlight mods should be added manually. Be aware this is quick and 
'dirty' work.

1)
To get the zd1211 wireless work correctly. You need to have the correct 
firmware and wpa supplicant in the right place. /lib/firmware/zd1211
 
2)
The zd1211 is loaded in my kernel, and should be ok. You may check you're 
loading the correct hardware and firmware on your distro. 

3)
On your minibook check the kernel messages and look for wireless support 
messages.
# dmesg | grep Zydas  ,  this will show the kernel messages and only show lines 
including Zydas, you can put any line here or 
# dmesg > kernelmessages.txt , this puts all kernel messages to txt file.
 
4)
If you correctly installed udev and usbutils you can do a lsusb to check if the 
correct ingredients for succes are there.
 
5)
If you run ifup eth1 (if it is configured in you're distro), otherwise use 
ifconfig eth1 up (configured in etc/network/interfaces) and iwconfig   
You can do a dmesg again, this will show the wireless kernel messages at the 
end. 
If it is ok, you should see the correct firmware loaded and mac addres attached 
(this depend on correct web or wpa) 
It could be possible wpa security jams due to wrong key or wpa applicant 
incompatibility. You could try web first (need to reconfigure you're router)
For wpa you need to apply the correct key and setting.  Check 
http://www.mail-archive.com/mipsbook-devel@linuxtogo.org/msg00259.html

6)
If the loading from kernel is wrong, you will need to start and try building 
the kernel you're self and change small things at the time, then below vmware 
image becomes handy.
this will take some time to download (44 pieces to go), sorry upload limit. 
http://ge.tt/4Z3RJjd
The kubuntu installed is version 10.04 
user: sjakie
password: sjakie (same as sudo password)
 
7)
zd1211 should work, you don't need to compile anything it is included in the 
kernel. The firmware is loaded from /lib/firmware/zd1211 (which can be used 
from mips_debian_lenny)
On my trendtac epc700 with external usb connected this works, for both WEB and 
WPA.
It could be the kernel firmware loading of internal usb is nok for some 
minibooks, I am not sure.
You need to have the udev and firmware source from lenny (this is for correct 
usb recognition and loading the firmware to the kernel user space)
Next to that make sure /etc/resolv.conf is pointing to a correct ip from you're 
router (if this is not automatically set correctly, force it manually to your 
own IP)

8) 
You may try out other distro's to see if it can work with those, to be sure it 
is a kernel issue and not a udev/firmware loading issue.
- For lenny you need to add udev and zd1211 firmware drivers. These are 
included in my old lenny tar. /lib/firmware/zd1211  /lib/udev
- My old lenny tar. (In the rootfs you need to add mknod /dev/mmcblk0p1 brw 179 
1 and /dev/mmcblk0p2 brw 179 2 for SD card access)
I use gparted to create correct partitions on sd card. format partition 1 to be 
FAT16 (here copy uImage) , Partions 2 ext3 (here tar xvjf the lenny image) 
http://www.divshare.com/download/12366817-b49
user: root , password: root
 
9)
Matt also put info at the 3MX forum, he produced a very nice fast standalone 
distro anOS for 2.6.24.3 kernel, with a working zd1211 (at least for web)
Very NICE. check this 
http://linuxlaptopforum.ark2webdesign.co.uk/index.php?PHPSESSID=95f92fd506d57a0297c6d8cb0292121a&topic=962.0

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Herewith some info to get a jump start on kernel compiling.
10)
Easiest (for me) is to have ubuntu >hardy + debian lenny / testing / sid 
support. 
You need mipsel-linux-gnu-gcc (version 4.3.1 - 4.3.3 works for me, others give 
some compiling issues, it took some time to get a working one)
I have uploaded my vmware image (5GB) , this can be used with vvmware player 
3.1 to emulate kubuntu and crosscompile the linux-2.6.24.3 image 
(with a clone copy of my settings). Link in Item 6)

11)
# make xconfig, you will get a qt3 gui, where you can search and enable the 
needed kernel adds.
# make uImage , makes the kernel and is stored at arch/mips/boot 
# make modules, makes the modules 
# make modules_install, will copy modules to /lib/modules/kernel/version/
 
12)
If you are lucky you're wireless usb stick is available from the ingenic 
wireless lan sources.
 
13)
If you are less lucky (read: challenge) you need to rewrite and compile the 
kernel sources from the wireless stick you're self. You probably do. 
If anyone take the time to do this, I am interested to have my sitecom WL-349 
(= rtl8192su)  added to the list ;-)
You can do this by make a cross link (ln) pointing to the 
/lib/modules/kernel/src or whatever you're drivers want the kernel sources from 
to --> /linux-2.6.24.3/
And modify the sources if the complilation complaints, and it will.

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

Reply via email to