Author Topic: Another Wlan-card (twinmos This Time)  (Read 3300 times)

kybKenny

  • Newbie
  • *
  • Posts: 7
    • View Profile
Another Wlan-card (twinmos This Time)
« on: July 03, 2005, 04:48:00 pm »
Hi,

I recently bought a SL5500 plus a TwinMos B220 Wlan card, which is also referred to as a Senao SL-2511 CF.

My problem now is, that Twinmos provide a custom Linux driver for their card (it's a slightly modified wlan_ng ver.0.20, as i found out), which is good of course, but i cannot compile it for the Z.

I set up (more or less successfully) a Scratchbox cross-compiling environment (Link to Scratchbox-Homepage) but i can't build the module.

I managed to get the Source of the 2.4.18-rmk7-pxa3-embedix kernel using the links for the cl780 provided on the bottom of here, but 'make oldconfig' using the default .config for the sl5500 runs into some loop at


Code: [Select]
* USB Device Bus Interface Support
......*
  Intel StrongArm SA-1110 (Assabet, Ipaq) support (CONFIG_USBD_SA1100_BUS) [M/n/?]
    USB traffic keeps device awake (CONFIG_USBD_TRAFFIC_KEEPAWAKE) [N/y/?]
    USBD Stall watchdog timeout (seconds, 0 for none) (CONFIG_USBD_STALL_TIMEOUT) [0]

  Sorry, no help available for this option yet.

    USBD Stall watchdog timeout (seconds, 0 for none) (CONFIG_USBD_STALL_TIMEOUT) [0]

  Sorry, no help available for this option yet.

    USBD Stall watchdog timeout (seconds, 0 for none) (CONFIG_USBD_STALL_TIMEOUT) [0].... etcetera

anyway, i'm running a bit headless through the yard here, anyone got some how-to (step-by-step in chronological order would be nice :-)) ) ?

Sadly waiting

Kenny
Z:
SL-5500
OZ 3.5.3 OPIE
256MB HAMA SD-Card
TwinMos B220 i802.11b Wlan-Card (not-working yet :-( )
SanDisk Connect Plus Wlan+128MB CF (at least the Wlan seems to work :-))
Desktop:
Debian Sid / KDE 3.4 on AMD64-3000
Scratchbox 1.0

kybKenny

  • Newbie
  • *
  • Posts: 7
    • View Profile
Another Wlan-card (twinmos This Time)
« Reply #1 on: July 04, 2005, 11:17:06 am »
more details from my crosscompiling adventures...

1st. I reckon i need to compile a image of my Z-kernel
       so, i got linux-c750-20030620-rom1_10.tar.bz2 from above mentioned site and copied the sl5500 config to .config.

make oldconfig doesn't work, as stated above, but the .config should be ready nevertheless.

now: 'make dep' runs fine, as does 'make clean', but 'make zImage' keeps whining about a missing autoconf.h (understandable, because there is none [is it created by a completed make config ??])

now what am i to do?

unfortunately, i seem to have to build a kernel to build a module for it (the driver i'm talking about is to be found
here), am i right with this?

do i want to compile on the Z? (there's no gcc on it, and the kernelsource problem still applies)

Cya
K
Z:
SL-5500
OZ 3.5.3 OPIE
256MB HAMA SD-Card
TwinMos B220 i802.11b Wlan-Card (not-working yet :-( )
SanDisk Connect Plus Wlan+128MB CF (at least the Wlan seems to work :-))
Desktop:
Debian Sid / KDE 3.4 on AMD64-3000
Scratchbox 1.0

kybKenny

  • Newbie
  • *
  • Posts: 7
    • View Profile
Another Wlan-card (twinmos This Time)
« Reply #2 on: July 04, 2005, 11:24:29 am »
this is the output of dmesg on the Z with the wlan-ng-modules from the feed

Code: [Select]
prism2cs_init: prism2_cs.o: 0.2.1-pre22 Loaded
prism2cs_init: dev_info is: prism2_cs
prism2_cs: index 0x01: Vcc 3.3, irq 35, io 0xc4860000-0xc486003f
hfa384x_docmd_wait: hfa384x_cmd timeout(2), reg=0x0.
prism2mgmt_readpda: hfa384x_drvr_readpda() failed, result=-110
hfa384x_docmd_wait: hfa384x_cmd timeout(1), reg=0x8000.
hfa384x_cmd_access: Call to hfa384x_docmd_wait failed (-110 0)
hfa384x_drvr_ramdl_enable: Genesis mode failed
hfa384x_docmd_wait: hfa384x_cmd timeout(1), reg=0x8000.
hfa384x_cmd_access: Call to hfa384x_docmd_wait failed (-110 49339)
hfa384x_drvr_ramdl_enable: Genesis mode failed
prism2mgmt_readpda: hfa384x_drvr_readpda() failed, result=-61
prism2mgmt_scan: HostScan not supported with current firmware (<1.3.2).
prism2_cs.o: 0.2.1-pre22 Unloaded


prism2dl -s -g wlan0 gives:
Code: [Select]
dl: No such device
load_cardpda failed, exiting.

and when i try to use the networkapplet in Preferences and hit "rescan neighborhood", the applet crashes with a SIGSEGV and dmesg shows:

Code: [Select]
sa1100_pcmcia_init(0)
prism2cs_init: prism2_cs.o: 0.2.1-pre22 Loaded
prism2cs_init: dev_info is: prism2_cs
prism2_cs: index 0x01: Vcc 3.3, irq 35, io 0xc4860000-0xc486003f
hfa384x_docmd_wait: hfa384x_cmd timeout(2), reg=0x0.
prism2mgmt_readpda: hfa384x_drvr_readpda() failed, result=-110
hfa384x_docmd_wait: hfa384x_cmd timeout(1), reg=0x8000.
hfa384x_cmd_access: Call to hfa384x_docmd_wait failed (-110 0)
hfa384x_drvr_ramdl_enable: Genesis mode failed
hfa384x_docmd_wait: hfa384x_cmd timeout(1), reg=0x8000.
hfa384x_cmd_access: Call to hfa384x_docmd_wait failed (-110 49404)
hfa384x_drvr_ramdl_enable: Genesis mode failed
prism2mgmt_readpda: hfa384x_drvr_readpda() failed, result=-61
prism2mgmt_scan: HostScan not supported with current firmware (<1.3.2).
hfa384x_docmd_wait: hfa384x_cmd timeout(1), reg=0x8000.
hfa384x_cmd_access: Call to hfa384x_docmd_wait failed (-110 49180)
-------------- i think this is where i push "rescan neighborhood" ----
device wlan0 entered promiscuous mode
Alignment trap: quicklauncher (2072) PC=0x405ad968 Instr=0x15b63008 Address=0x0005e87f Code 0x00
Alignment trap: quicklauncher (2072) PC=0x40309b58 Instr=0xe590c010 Address=0x0005e88f Code 0x00
Alignment trap: quicklauncher (2072) PC=0x40309b5c Instr=0xe5804004 Address=0x0005e883 Code 0xffffffff
Alignment trap: quicklauncher (2072) PC=0x40309b6c Instr=0xe580c010 Address=0x0005e88f Code 0xffffffff
Alignment trap: quicklauncher (2072) PC=0x40309b78 Instr=0xe5803000 Address=0x0005e87f Code 0xffffffff
Alignment trap: quicklauncher (2072) PC=0x40309b88 Instr=0xe5803008 Address=0x0005e887 Code 0xffffffff
Alignment trap: quicklauncher (2072) PC=0x40309b90 Instr=0xe580100c Address=0x0005e88b Code 0xffffffff

that was the reason for trying to compile the driver anyway,

if someone could explain this to me, i'd be making jumps in the air :-))

Greets
K
« Last Edit: July 04, 2005, 07:24:50 pm by kybKenny »
Z:
SL-5500
OZ 3.5.3 OPIE
256MB HAMA SD-Card
TwinMos B220 i802.11b Wlan-Card (not-working yet :-( )
SanDisk Connect Plus Wlan+128MB CF (at least the Wlan seems to work :-))
Desktop:
Debian Sid / KDE 3.4 on AMD64-3000
Scratchbox 1.0

kybKenny

  • Newbie
  • *
  • Posts: 7
    • View Profile
Another Wlan-card (twinmos This Time)
« Reply #3 on: July 06, 2005, 09:57:31 am »
I just entered contact with the support department of TwinMos, we'll see, if that works...
Z:
SL-5500
OZ 3.5.3 OPIE
256MB HAMA SD-Card
TwinMos B220 i802.11b Wlan-Card (not-working yet :-( )
SanDisk Connect Plus Wlan+128MB CF (at least the Wlan seems to work :-))
Desktop:
Debian Sid / KDE 3.4 on AMD64-3000
Scratchbox 1.0