• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Dreamplug: WiFi AP problems  (Read 3678 times)
jkyro
Newbie
*

Karma: 0
Posts: 7


View Profile
« on: January 06, 2012, 11:55:52 AM »

Hello!

I have a Dreamplug (serial 1113-*). I'm running Debian Wheezy with 3.0.9 kernel. The wireless AP isn't working. Symptoms are that when executing

uaputl sys_cfg_ssid <ssid>
uaputl sys_cfg_radio_ctl 0
uaputl bss_start

to bring up the AP the WiFi light blinks briefly and dmesg says:

ADDRCONF(NETDEV_UP): uap0: link is not ready
HOST_CMD_APCMD_POWER_MODE fail=2
Logged

spinifex
Full Member
***

Karma: 8
Posts: 167



View Profile WWW
« Reply #1 on: January 06, 2012, 06:27:50 PM »

more details required

# lsmod
# cat '/sys/devices/platform/mvsdio/mmc_host/mmc0/mmc0:0001/mmc0:0001:1/device'
or
# cat '/sys/devices/platform/mvsdio/mmc_host/mmc0/mmc0:0001/device'
Logged

jkyro
Newbie
*

Karma: 0
Posts: 7


View Profile
« Reply #2 on: January 07, 2012, 05:33:25 AM »

root@dreamplug:~# cat /sys/devices/platform/mvsdio/mmc_host/mmc0/mmc0\:0001/mmc0\:0001\:1/device
0x9104
root@dreamplug:~#
Logged

jkyro
Newbie
*

Karma: 0
Posts: 7


View Profile
« Reply #3 on: January 07, 2012, 08:48:43 AM »

OK, I must be doing something wrong when building the kernel or with the debian rootfs.

I downloaded the dream-3.0.9-uImage from http://sheeva.with-linux.com/sheeva/3/3.0/3.0.9/ and it works with the stock ubuntu rootfs. I cannot boot my rootfs with that kernel image because it doesn't have sata support built in and my uboot doesn't support HD (for loading the kernel), that's why I have build my own kernel in the first place. As said in the first post, I have copied the firmware files from the ubuntu rootfs to the debian one.

What I did to compile the kernel:
  * Download kernel sources and patches from http://sheeva.with-linux.com/sheeva/3/3.0/3.0.9/source/
  * Applied all the patches
  * Copied dream-3.0.9.config to the kernel build directory as .config
  * change line SATA_MV=m to SATA_MV=y
  * cross-compile kernel and modules

Logged

jkyro
Newbie
*

Karma: 0
Posts: 7


View Profile
« Reply #4 on: January 07, 2012, 12:02:39 PM »

Ok, further updates:

The kernel itself works fine, I'm able to use the self-compiled kernel with the Ubuntu rootfs so there must be something missing from the debian system. What could be missing? The only thing I can think of is the firmware. Need to double check.
Logged

jkyro
Newbie
*

Karma: 0
Posts: 7


View Profile
« Reply #5 on: January 07, 2012, 12:19:24 PM »

Monologue continues Smiley

after boot, dmesg contains:

uap_probe: vendor=0x02DF device=0x9104 class=0 function=1
sbi_interrupt: sbi_interrupt(df960800) card or priv is NULL, card=de440000
UAP FW is active

Any new info there?
Logged

spinifex
Full Member
***

Karma: 8
Posts: 167



View Profile WWW
« Reply #6 on: January 07, 2012, 04:49:06 PM »

Quote
UAP FW is active

Means the firmware is loaded OK.

The ONLY firmware that I have any success with on Debian is the firmware provided by Globalscale on the delivered system.

You can get a copy at http://www.spinifex.net/plugs/downloads/dreamplug/marvell_wifi_firmware.tar.xz
Logged

jkyro
Newbie
*

Karma: 0
Posts: 7


View Profile
« Reply #7 on: January 08, 2012, 12:40:04 PM »


Thanks! Tried that one, still does not work Sad

I've now checked that the uap8xxx.ko and the firmware files are identical in both installations, still the result is the same. Ubuntu works, Debian does not using the same kernel. What other factors could there be?
Logged

Pages: [1]
Print
Jump to: