D3Plug Wireless and USB 3.0 issues

This forum is for supported devices using an ARMv7 Marvell SoC.

D3Plug Wireless and USB 3.0 issues

Postby denizen » Sun Oct 12, 2014 6:25 pm

I have a few of the plugs on hand. I'm currently trying to figure out why the USB 3.0 ports and wireless nic isn't starting up, despite the presence of the sd8787_uapsta.bin firmware file.

If anyone has some lead or a clue as to why it won't start up the assistance would be much appreciated.
----
I did some research and so far I've figured that the device is connected to the SDIO hub which, in turn, is detected by the kernel on boot time; but the SDIO hub is not being accessed properly. At this point I'm just guessing as to the actual problem. Following the conversation in this forum thread https://newit.co.uk/forum/index.php?topic=4238.0 on discussion about the sd8787 and mwifiex driver I got the following values for the devices mmc0 and mmc1.

$this->bbcode_second_pass_code('', '
[root@d3node00 ~]# cat /sys/kernel/debug/mmc1/ios
clock: 50000000 Hz
actual clock: 50000000 Hz
vdd: 20 (3.2 ~ 3.3 V)
bus mode: 2 (push-pull)
chip select: 0 (don't care)
power mode: 2 (on)
bus width: 2 (4 bits)
timing spec: 2 (sd high-speed)
[root@d3node00 ~]# cat /sys/kernel/debug/mmc0/ios
clock: 25000000 Hz
actual clock: 25000000 Hz
vdd: 20 (3.2 ~ 3.3 V)
bus mode: 2 (push-pull)
chip select: 0 (don't care)
power mode: 2 (on)
bus width: 2 (4 bits)
timing spec: 0 (legacy)
')

And with the dmesg output:
$this->bbcode_second_pass_code('', '
[ 18.424005] mmc0: new MMC card at address 0001
[ 18.430459] mmcblk0: mmc0:0001 M8G2FB 7.28 GiB
[ 18.430581] mmcblk0boot0: mmc0:0001 M8G2FB partition 1 2.00 MiB
[ 18.430711] mmcblk0boot1: mmc0:0001 M8G2FB partition 2 2.00 MiB
[ 18.432509] mmcblk0: p1
[ 18.433842] mmcblk0boot1: unknown partition table
[ 18.435046] mmcblk0boot0: unknown partition table
[ 18.500448] usb 1-1: new full-speed USB device number 2 using orion-ehci
[ 18.538564] mmc1: new high speed SDIO card at address 0001
')
Where mmc0 is the rootfs storage device, I'm guessing that mmc1 is the one that needs to be configured for the WiFi card. It could also function as the hub for the USB3 ports. I'm not really sure if I actually make sense at this point as its 2AM already.

(P.S. I decided to make a new post rather than hijack a thread. Sorry about that.)
Last edited by WarheadsSE on Mon Oct 13, 2014 2:00 pm, edited 1 time in total.
Reason: Code tags, done right.
denizen
 
Posts: 3
Joined: Sun Oct 12, 2014 4:01 pm

Re: D3Plug Wireless and USB 3.0 issues

Postby denizen » Tue Dec 09, 2014 5:29 pm

With newer versions of systemd not allowing modules to be loaded, I tried reverting up-to systemd-214-2.1-armv7h to no avail even with the modules loaded. Any version lower and it breaks the entire system.

I'm beginning to think that the provided firmware blob is not compatible with the kernel build 3.4.2-2-ARCH.
denizen
 
Posts: 3
Joined: Sun Oct 12, 2014 4:01 pm

Re: D3Plug Wireless and USB 3.0 issues

Postby pepedog » Tue Dec 09, 2014 5:59 pm

Is the package linux-firmware installed?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: D3Plug Wireless and USB 3.0 issues

Postby denizen » Thu Dec 11, 2014 1:43 am

The package is installed. All the firmware files related to Marvell's mwifiex module is present and loaded as described in the first post. I have no experience debugging systems like this. I've been mostly following threads from other devices for inspiration, specifically the TonidoPlug threads.

$this->bbcode_second_pass_code('', '[root@alarm ~] #pacman -S linux-firmware
warning: linux-firmware-20141009.0e5f637-1 is up to date -- reinstalling
...')

I've had to re-flash recently when I broke the system by installing an incompatible version of systemd.

$this->bbcode_second_pass_code('', '[root@alarm ~]# ls /lib/firmware/mrvl
pcie8897_uapsta.bin sd8688_helper.bin sd8797_uapsta.bin usb8797_uapsta.bin
sd8688.bin sd8787_uapsta.bin sd8897_uapsta.bin')

The firmware files are where they should be.

$this->bbcode_second_pass_code('', '[root@alarm ~]# lsmod
Module Size Used by
mwifiex_sdio 11335 0
mwifiex 94612 1 mwifiex_sdio
cfg80211 146864 1 mwifiex
rfkill 14203 1 cfg80211')

The module is loaded on start-up but no new device is found.
denizen
 
Posts: 3
Joined: Sun Oct 12, 2014 4:01 pm


Return to Marvell

Who is online

Users browsing this forum: No registered users and 4 guests