Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12610 Discussions

zd1211b can not work on uClinux-dist-20060803

Altera_Forum
Honored Contributor II
1,804 Views

Hi, hippo 

I following your "WiFi" steps to try "GW-US54GZL" Wireless LAN USB Adapter on DE2 , bit it can not work. 

display following message: 

 

/>modprobe zd1211b 

 

ZD1211B - version 2.15.0.0 

vendor_id = 0053 

product_id = 5301 

USB 1.1 Host 

Release Ver = 4810 

EEPROM Ver =4810 

Finsih download Firmware. Ready to reboot 

PA type : 0 

AiroHa AL2230S_RF 

AllowedChannel = 000107ff 

Region :16 

usbcore: registered new driver zd1211b 

 

/>iconfig eth0 up 

/>iwconfig 

 

lo no wireless extensions. 

Warning: Driver for device eth0 has been compiled with version 20 

of Wireless Extension, while this program is using version 17. 

Some thing may be broken... 

 

eth0 ESSID:off/any Nickname:"" 

NWID:0 Channel:0 Access Point: 23:00:31:00:00:00 

Bit Rate:2.35631Mb/s Tx-Power=2356312 dBm Sensitivity:0/0 

Retry:on RTS thr= 2356312 B Fragment thr=2356312 B 

Encryption key:0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000 

Power Management on 

 

eth1 no wireless extensions. 

 

I used NoteBook testing my Lab's wireless LAN it is ok ,but on target board can not receive Access Point. maybe is driver version problem? 

 

Please help me!
0 Kudos
26 Replies
Altera_Forum
Honored Contributor II
622 Views

previous post removed. 

 

Warning: Driver for device eth0 has been compiled with version 20 

of Wireless Extension, while this program is using version 17. 

 

The warning does not matter.
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

You have to do some wireless tools, 

 

iwlist eth0 scanning # find available APs 

iwconfig eth0 ap auto essid "Your SSID" # connect to an AP 

 

If your AP is protected, you need to add key to iwconfig, see `man iwconfig`
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

Hi ,hippo ^^ 

I have wireless tools. 

I used iwlist eth0 scanning, but it can not found available APs. 

What's problem?I don't know.
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

 

--- Quote Start ---  

originally posted by faye@Nov 2 2006, 02:49 PM 

hi ,hippo ^^ 

i have wireless tools. 

i used iwlist eth0 scanning, but it can not found available aps. 

what's problem?i don't know. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19091) 

--- quote end ---  

 

--- Quote End ---  

 

 

Please try the driver on your Linux PC or notebook. 

I mean, without nios2 patch.
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

There are isp1362-hcd driver update in the CVS of blackfin uclinux. 

I will check if I can merge the update. But it will take some time.
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

I used DE2 Board , it size of SDRAM is 8MB ,download image at address 0x00500000, but it 3MB space can used. 

I added zd1211b.o to romfs , than make it, the IMAGE is 3.2MB. 

It is exceed free memory, display out of data. ~"~ 

How slove this problem. 

Please help me. @@
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

 

--- Quote Start ---  

originally posted by faye@Nov 2 2006, 08:42 PM 

i used de2 board ,  it size of sdram is 8mb ,download image at address 0x00500000, but it 3mb space can used. 

i added zd1211b.o to romfs , than make it, the image is 3.2mb. 

it is exceed free memory, display out of data. ~"~ 

how slove this problem. 

please help me. @@ 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19101) 

--- quote end ---  

 

--- Quote End ---  

 

Please run "make" and "make linux image" . 

The "make" will strip the modules, so the compressed image should be around 1.5M .
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

 

--- Quote Start ---  

originally posted by hippo+nov 2 2006, 10:22 am--><div class='quotetop'>quote (hippo @ nov 2 2006, 10:22 am)</div> 

--- quote start ---  

<!--quotebegin-faye@Nov 2 2006, 08:42 PM 

i used de2 board ,  it size of sdram is 8mb ,download image at address 0x00500000, but it 3mb space can used. 

i added zd1211b.o to romfs , than make it, the image is 3.2mb. 

it is exceed free memory, display out of data. ~"~ 

how slove this problem. 

please help me. @@ 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19101) 

--- quote end ---  

 

--- Quote End ---  

 

Please run "make" and "make linux image" . 

The "make" will strip the modules, so the compressed image should be around 1.5M . 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19105)</div> 

[/b] 

--- Quote End ---  

 

 

hi, hippo 

 

I compile zd1211b modules and copy to romfs , than "make" and "make linux image"  

the size of zImage is 2.64MB, I download to DE2, but is display out of memory. 

Is this DE2 memory space to few?
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

PS: I only copy zd1211b.o to romfs.

0 Kudos
Altera_Forum
Honored Contributor II
622 Views

 

--- Quote Start ---  

originally posted by faye@Nov 3 2006, 10:38 AM 

ps: i only copy zd1211b.o to romfs. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19120) 

--- quote end ---  

 

--- Quote End ---  

 

Something wrong in your romfs. 

 

cd ~/uClinux-dist 

rm -rf romfs 

make romfs 

make 

cd ~/zd1211 

make # compile modules and copy to romfs, the make file do the copy, don&#39;t copy it by hand 

cd ~/uClinux-dist 

make # depmod and strip the modules (ie, remove debug symbols and reduce the size) 

make linux image # to update initramfs
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

thank you !!! 

I try again.
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

 

--- Quote Start ---  

originally posted by faye@Nov 2 2006, 01:12 AM 

hi, hippo 

i following your "wifi" steps to try "gw-us54gzl" wireless lan usb adapter on de2 , bit it can not work. 

display following message: 

 

/>modprobe zd1211b 

 

zd1211b - version 2.15.0.0 

vendor_id = 0053 

product_id = 5301 

usb 1.1 host 

release ver = 4810 

eeprom ver =4810 

finsih download firmware. ready to reboot 

pa type : 0 

airoha al2230s_rf 

allowedchannel = 000107ff 

region :16 

usbcore: registered new driver zd1211b 

 

/>iconfig eth0 up 

/>iwconfig 

 

lo            no wireless extensions. 

warning: driver for device eth0 has been compiled with version 20 

of wireless extension, while this program is using version 17. 

some thing may be broken... 

 

eth0          essid:off/any nickname:"" 

                nwid:0  channel:0  access  point: 23:00:31:00:00:00 

                bit rate:2.35631mb/s    tx-power=2356312 dbm sensitivity:0/0 

                retry:on    rts  thr= 2356312 b fragment thr=2356312 b 

                encryption key:0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000 

                power management on 

 

eth1          no wireless extensions. 

 

i used notebook testing my lab&#39;s wireless lan ap it is ok ,but on target board can not receive access point.  

 

i used iwlist command but it can not found any aps. 

 

is it zd1211b drivers problem or my ap&#39;s problem? 

 

please help me! 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19086) 

--- quote end ---  

 

--- Quote End ---  

0 Kudos
Altera_Forum
Honored Contributor II
622 Views

My friend used notbook to try out Lab&#39;s AP, it is ok. 

so,it is zd1211 drivers have problem.@@
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

 

--- Quote Start ---  

originally posted by faye@Nov 3 2006, 12:04 PM 

my friend used notbook to try out lab&#39;s ap, it is ok. 

so,it is zd1211 drivers have problem.@@ 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19126) 

--- quote end ---  

 

--- Quote End ---  

 

We returned to the origin. 

Did you use a Linux PC to try out the driver? 

You need to compile and install the modules to your Linux PC, with make. 

And try out the usb wifi card on your LInux PC.
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

 

--- Quote Start ---  

originally posted by hippo+nov 3 2006, 12:09 am--><div class='quotetop'>quote (hippo @ nov 3 2006, 12:09 am)</div> 

--- quote start ---  

<!--quotebegin-faye@Nov 3 2006, 12:04 PM 

my friend used notbook to try out lab&#39;s ap, it is ok. 

so,it is zd1211 drivers have problem.@@ 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19126) 

--- quote end ---  

 

--- Quote End ---  

 

We returned to the origin. 

Did you use a Linux PC to try out the driver? 

You need to compile and install the modules to your Linux PC, with make. 

And try out the usb wifi card on your LInux PC. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19127)</div> 

[/b] 

--- Quote End ---  

 

 

hi,hippo 

 

I have been used Linux PC and Window PC to try out "GW-US54GZL" driver, it is ok, but I try out on DE2 target board it is not work. 

I used iwlist command to iwlist APs, but can not receive any APs. 

Is it wireless tools or patch file have problem? 

Please , help me. ~"~
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

TO_BE_DONE

0 Kudos
Altera_Forum
Honored Contributor II
622 Views

I updated the isp1362-hcd driver with bug fix from blackfin uclinux. 

It is ver 13. 

Please check it. Check with a usb thumb disk first, 

It may be helpful to enable debug messages for the zd1211 and isp1362 driver.
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

 

--- Quote Start ---  

originally posted by hippo+nov 6 2006, 03:09 am--><div class='quotetop'>quote (hippo @ nov 6 2006, 03:09 am)</div> 

--- quote start ---  

 

--- quote start ---  

originally posted by faye@nov 6 2006, 12:51 pm 

 

--- quote start ---  

originally posted by hippo@nov 3 2006, 12:09 am 

<!--quotebegin-faye@Nov 3 2006, 12:04 PM 

my friend used notbook to try out lab&#39;s ap, it is ok. 

so,it is zd1211 drivers have problem.@@ 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19126) 

--- quote end ---  

 

--- Quote End ---  

 

We returned to the origin. 

Did you use a Linux PC to try out the driver? 

You need to compile and install the modules to your Linux PC, with make. 

And try out the usb wifi card on your LInux PC. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19127)</div> 

[/b] 

--- Quote End ---  

 

 

hi,hippo 

 

I have been used Linux PC and Window PC to try out "GW-US54GZL" driver, it is ok, but I try out on DE2 target board it is not work. 

I used iwlist command to iwlist APs, but can not receive any APs. 

Is it wireless tools or patch file have problem? 

Please , help me. ~"~ 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19198)</div> 

[/b] 

--- Quote End ---  

 

 

I am using EHCI chips on PCI. It works without problem. 

Maybe it is isp1362 driver&#39;s problem. I will check in the bug fix from blackfin&#39;s update. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19200)</div> 

[/b] 

--- Quote End ---  

 

 

Thanks , I waiting for you.
0 Kudos
Altera_Forum
Honored Contributor II
622 Views

Thank you. You are a nice man.^^

0 Kudos
Altera_Forum
Honored Contributor II
554 Views

 

--- Quote Start ---  

originally posted by hippo@Nov 7 2006, 12:46 AM 

i updated the isp1362-hcd driver with bug fix from blackfin uclinux. 

it is ver 13. 

please check it. check with a usb thumb disk first, 

it may be helpful to enable debug messages for the zd1211 and isp1362 driver. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19235) 

--- quote end ---  

 

--- Quote End ---  

 

 

Hi , hippo  

I used ver 13 try out again, but when compile zd1211 modules have problem. 

display the following message: 

 

CC [M] /home/faye/zd1211/src/zddebug2.o 

CC [M] /home/faye/zd1211/src/zdlpmgt.o 

CC [M] /home/faye/zd1211/src/zdturbo_burst.o 

CC [M] /home/faye/zd1211/src/zdusb.o 

CC [M] /home/faye/zd1211/src/zdmisc.o 

CC [M] /home/faye/zd1211/src/zd1211.o 

/home/faye/zd1211/src/zd1211.c:1550:5: warning: "fVERIFY_FLASH" is not defined 

LD [M] /home/faye/zd1211/zd1211.o 

Building modules, stage 2. 

MODPOST 

/bin/sh: scripts/mod/modpost: No such file or directory 

make[4]: [__modpost] Error 127 (ignored) 

CC /home/faye/zd1211/zd1211.mod.o 

nios2-linux-uclibc-gcc: /home/faye/zd1211/zd1211.mod.c: No such file or director 

nios2-linux-uclibc-gcc: no input files 

make[4]: *** [/home/faye/zd1211/zd1211.mod.o] Error 1 

make[3]: *** [modules] Error 2 

make[3]: Leaving directory `/home/faye/uClinux-dist/linux-2.6.x&#39; 

make[2]: *** [all] Error 2 

make[2]: Leaving directory `/home/faye/zd1211&#39; 

make[1]: *** [both] Error 2 

make[1]: Leaving directory `/home/faye/zd1211&#39; 

make: *** [all] Error 2 

 

When I used ver 12 no have this problem. 

How can slove it.
0 Kudos
Reply