TonidoPlug2

Installation, kernels, drivers, and using these GlobalScale-based devices.

Re: TonidoPlug2

Postby aghitza » Tue Apr 24, 2012 11:06 pm

I followed the steps on the install page. Everything was fine except for the following:

Code: Select all
root@TonidoPlug2:/tmp# ./install_envtools.sh
--2012-04-24 19:39:18--  http://archlinuxarm.org/os/tp2/fw_printenv
Resolving archlinuxarm.org... 206.217.130.189
Connecting to archlinuxarm.org|206.217.130.189|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 668497 (653K) [text/plain]
Saving to: “fw_printenv”

100%[=====================================================>] 668,497      166K/s   in 3.9s   

2012-04-24 19:39:23 (166 KB/s) - “fw_printenv” saved [668497/668497]

--2012-04-24 19:39:23--  http://archlinuxarm.org/os/tp2/fw_env.config
Resolving archlinuxarm.org... 206.217.130.189
Connecting to archlinuxarm.org|206.217.130.189|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 329 [text/plain]
Saving to: “/etc/fw_env.config”

100%[=====================================================>] 329         --.-K/s   in 0s     

2012-04-24 19:39:23 (8.83 MB/s) - “/etc/fw_env.config” saved [329/329]

mount: / is busy


I didn't notice the error message at the time (I was half asleep) and continued with fw_setenv, etc. After reboot the led stays red and I can't ssh in (whether I boot with the USB drive with Arch connected, or not). So I seem to have bricked it. Is there a way out?
aghitza
 
Posts: 1
Joined: Tue Apr 24, 2012 10:54 pm

Re: TonidoPlug2

Postby kmihelich » Tue Apr 24, 2012 11:12 pm

This is actually an area where we probably need to change another thing upstream Arch does. Firmware files are provided in the linux-firmware package, but that doesn't have everything that should be there, since it's just a kind of generic package that generically "works" for x86 targets. We really should be packaging up firmware with each individual kernel instead of wiping it out of the final packages.

Anyway, here's the firmware files. Put the sd8786_uapsta.bin to /lib/firmware/mrvl. You may or may not need the helper_sd.bin, which would go in just /lib/firmware.
Last edited by xenoxaos on Thu Apr 26, 2012 11:01 pm, edited 1 time in total.
Reason: Fixed link
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 875
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinux-arm

Re: TonidoPlug2

Postby kmihelich » Tue Apr 24, 2012 11:14 pm

aghitza, your problem isn't the envtools stuff, it's the part about creating the drive for the root filesystem. It's obviously not booting whatever you created. You're stuck with a red light because it's sitting in U-Boot, unable to boot anything.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 875
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinux-arm

Re: TonidoPlug2

Postby WarheadsSE » Tue Apr 24, 2012 11:15 pm

Just the sd8786 is needed, as far as all the code I have read reads.
OXNAS pwner

Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 3533
Joined: Mon Oct 18, 2010 2:12 pm

Re: TonidoPlug2

Postby devr » Tue Apr 24, 2012 11:34 pm

nada... I did the helper file to be on the safe side..

Code: Select all
[root@slim ~]# rmmod mwifiex_sdio mwifiex cfg80211
[root@slim ~]# lsmod
Module                  Size  Used by
ipv6                  254083  30
rmd160                  7186  0
sha1_generic            1661  8
hmac                    2387  0
blowfish                8374  4
rfkill                 14388  0
mv_cesa                 9021  8
cryptodev              30515  6

[root@slim ~]# wget http://archlinuxarm.org/builder/firmware/sd8786_uapsta.bin -O /lib/firmware/mrvl/sd8786_uapsta.bin
2012-04-24 19:32:12 (320 KB/s) - `/lib/firmware/mrvl/sd8786_uapsta.bin' saved [227384/227384]

[root@slim ~]# wget http://archlinuxarm.org/builder/firmware/helper_sd.bin -O /lib/firmware/helper_sd.bin
2012-04-24 19:32:26 (41.4 MB/s) - `/lib/firmware/helper_sd.bin' saved [2516/2516]

[root@slim ~]# ls -l /lib/firmware/mrvl/sd8786_uapsta.bin /lib/firmware/helper_sd.bin
-rw-r--r-- 1 root root   2516 Apr 24 19:10 /lib/firmware/helper_sd.bin
-rw-r--r-- 1 root root 227384 Apr 24 19:10 /lib/firmware/mrvl/sd8786_uapsta.bin

[root@slim ~]# modprobe mwifiex_sdio

[root@slim ~]# dmesg
[ 4133.595632] cfg80211: Calling CRDA to update world regulatory domain
[ 4133.621278] mwifiex_sdio mmc0:0001:1: request_firmware() returned error code 0xfffffffe
[ 4133.631584] mwifiex: mwifiex_add_card: firmware init failed
[ 4133.637364] mwifiex_sdio: mwifiex_sdio_probe: add card failed
[ 4133.644374] mwifiex_sdio: probe of mmc0:0001:1 failed with error -1

[root@slim ~]# lsmod
Module                  Size  Used by
mwifiex_sdio           11313  0
mwifiex               105704  1 mwifiex_sdio
cfg80211              142596  1 mwifiex
ipv6                  254083  30
rmd160                  7186  0
sha1_generic            1661  8
hmac                    2387  0
blowfish                8374  4
rfkill                 14388  1 cfg80211
mv_cesa                 9021  8
cryptodev              30515  6


EDIT: Fixed above, 's/sd8787/sd8786/g'
Last edited by devr on Tue Apr 24, 2012 11:44 pm, edited 1 time in total.
devr
 
Posts: 77
Joined: Wed May 11, 2011 12:22 am

Re: TonidoPlug2

Postby kmihelich » Tue Apr 24, 2012 11:37 pm

No no no.. leave it named sd8786_uapsta.bin :P
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 875
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinux-arm

Re: TonidoPlug2

Postby devr » Tue Apr 24, 2012 11:42 pm

Doh... it has been a long day... Thank you

Code: Select all
[  350.773277] cfg80211: Calling CRDA to update world regulatory domain
[  351.273392] mwifiex_sdio mmc0:0001:1: WLAN FW is active
devr
 
Posts: 77
Joined: Wed May 11, 2011 12:22 am

Previous

Return to Sheeva/Guru/Dream/TonidoPlug

Who is online

Users browsing this forum: No registered users and 0 guests