Dockstar leds after february update

Ask questions about Arch Linux ARM. Please search before making a new topic.

Dockstar leds after february update

Postby pentolino » Fri Mar 04, 2011 7:44 pm

Hello and first of all thank you for Arch Linux ARM, it really rocks on my dockstar!
After upgrading to the february version I have three minor defects:
- the front led is always off and there is no way to turn it on
- in /sys/class/leds/ I only have status\:green\:health - both dockstar disappeared and there is no orange
- every time I upgrade the kernel dockstar mac address changes messing up with my dhcp (essentially changing dockstar ip)

Any help?

Thank you very much for any feedback provided.
Riccardo
pentolino
 
Posts: 16
Joined: Sun Feb 27, 2011 10:31 am

Re: Dockstar leds after february update

Postby kmihelich » Sat Mar 05, 2011 1:28 am

Make sure you have the latest uboot installed, just follow the first box of instructions here:
http://jeff.doozan.com/debian/uboot/

You can run that within Arch Linux ARM now, you don't have to be in the stock firmware. All new kernels configure LEDs by using the ARM architecture/implementation ID specified in uboot as the variable arcNumber. After running Jeff's script, you'll want to do this:
$this->bbcode_second_pass_code('', 'fw_setenv arcNumber 2998')
and then reboot. 2998 is the ID for the Dockstar, which will run the machine initialization code in the kernel, configuring the LEDs. I don't remember what the default states are, but you can configure them or set boot defaults in /etc/rc.local.

Uboot also controls the MAC address that is used, and it will attempt to set whatever is currently showing. This might solve that problem for you too.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Dockstar leds after february update

Postby pentolino » Sat Mar 05, 2011 9:08 am

Thanks kmihelich,
that did it; now I have both led files and they work fine.
I think it's time to update the wiki page, I will proceed :-)
pentolino
 
Posts: 16
Joined: Sun Feb 27, 2011 10:31 am

Re: Dockstar leds after february update

Postby replabrobin » Sat Mar 05, 2011 12:47 pm

I have a sheevaplug and I'm also seeing the problem with the leds. Should I apply the http://jeff.doozan.com/debian/uboot/ fix?
replabrobin
 
Posts: 108
Joined: Tue Nov 30, 2010 11:18 am

Re: Dockstar leds after february update

Postby replabrobin » Sat Mar 05, 2011 12:58 pm

Well I downloaded that script and it says don't use for sheevaplug

$this->bbcode_second_pass_quote('', ' ') echo "This script will replace the bootloader on /dev/mtd0."
echo ""
echo "This installer will only work on the following devices:"
echo " Seagate GoFlex Net"
echo " Seagate Dockstar"
echo " Pogoplug v1"
echo " Pogoplug Pink"
echo "Do not run this installer on any other device."


but sheevaplug is mentioned later on as a default, but I guess that might just be leftover code since it seems oriented to pogo/dock.
replabrobin
 
Posts: 108
Joined: Tue Nov 30, 2010 11:18 am

Re: Dockstar leds after february update

Postby kmihelich » Sat Mar 05, 2011 7:36 pm

The sheeva uses the default code that is used, 2097. Don't run that install script on your sheeva.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Dockstar leds after february update

Postby hojnikb » Sat Mar 05, 2011 11:19 pm

I've flashed the new uboot, so the leds will work with new Arch Linux ARM linux, but now with new uboot, i cant boot into old Arch Linux ARM anymore.Ive hooked up serial checked what is going on and it did detected usb and uncompressed the image, but while uncompressing everything stopped...

Anyone has an idea how to fix this ?
+°´°+,¸¸,+°´°~ +°´°+,¸¸,+°´°~I ♥ my DockStar :oops:~°´°+,¸¸,+°´°++°´°+,¸¸,+°´°~
Linux = Be root
Windows = reboot

+°´°+,¸¸,+°´°~DockStar, Marvell CPU @ 1.2Ghz, 128MB RAM, 4GB rootfs + 160GB°´°+,¸¸,+°´°+
hojnikb
 
Posts: 104
Joined: Thu Jul 08, 2010 11:57 am

Re: Dockstar leds after february update

Postby hojnikb » Sat Mar 05, 2011 11:20 pm

I dont wanna lose my Arch Linux ARM installation....
+°´°+,¸¸,+°´°~ +°´°+,¸¸,+°´°~I ♥ my DockStar :oops:~°´°+,¸¸,+°´°++°´°+,¸¸,+°´°~
Linux = Be root
Windows = reboot

+°´°+,¸¸,+°´°~DockStar, Marvell CPU @ 1.2Ghz, 128MB RAM, 4GB rootfs + 160GB°´°+,¸¸,+°´°+
hojnikb
 
Posts: 104
Joined: Thu Jul 08, 2010 11:57 am

Re: Dockstar leds after february update

Postby hojnikb » Sun Mar 06, 2011 9:37 am

$this->bbcode_second_pass_quote('hojnikb', 'I')'ve flashed the new uboot, so the leds will work with new Arch Linux ARM linux, but now with new uboot, i cant boot into old Arch Linux ARM anymore.Ive hooked up serial checked what is going on and it did detected usb and uncompressed the image, but while uncompressing everything stopped...

Anyone has an idea how to fix this ?

Nevermind, ive fixed it.
In my old installation i had 2.6.36 kernel which seem to hate the new uboot arcNumber.Anyway ive manually updated kernel and header and now it works !
+°´°+,¸¸,+°´°~ +°´°+,¸¸,+°´°~I ♥ my DockStar :oops:~°´°+,¸¸,+°´°++°´°+,¸¸,+°´°~
Linux = Be root
Windows = reboot

+°´°+,¸¸,+°´°~DockStar, Marvell CPU @ 1.2Ghz, 128MB RAM, 4GB rootfs + 160GB°´°+,¸¸,+°´°+
hojnikb
 
Posts: 104
Joined: Thu Jul 08, 2010 11:57 am

Re: Dockstar leds after february update

Postby kmihelich » Sun Mar 06, 2011 8:05 pm

Correct, the new arcNumber method is only applicable to .37 and beyond in the new repo.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 11 guests