[GUIDE] Arch Linux ARM on a GuruPlug

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[GUIDE] Arch Linux ARM on a GuruPlug

Postby xxcn » Tue Jul 05, 2011 2:57 pm

Since the wiki is down, and I recently went through the process of installing ArchLinuxARM on a GuruPlug, here's the guide scavenged from G's cache:

$this->bbcode_second_pass_quote('', '
')Notes

If you can live with 1 ethernet port, we strongly suggest getting a SheevaPlug instead. It's much more stable, runs cooler, and is much more supported by everyone. Also, you'd save on buying the JTAG box (it's built-in on the SheevaPlug).
Wi-Fi should work in client mode - access-point mode has not been tested at all.
Prerequisites

GuruPlug
Linux computer with a TFTP server up and running
Serial cable (Nokia CA-42) or preferably, the GuruPlug JTAG box
Install U-Boot

The GuruPlug's U-Boot bootloader does not support booting from USB. Therefore, before you can run Arch Linux ARM install Linux, you'll need to update the bootloader.

You will need a computer with a TFTP server turned on on the same network as your GuruPlug.
Download a better U-Boot (with USB booting and ext filesystem booting enabled from Slackware) to your Linux box, NOT to your GuruPlug:
$this->bbcode_second_pass_code('', 'cd /tftpboot
wget http://Arch Linux ARM.com/os/guruplug/guruplug-u-boot.bin
chmod 777 guruplug-u-boot.bin')
Run the following after stopping the automatic U-Boot boot loading process (replacing the serverip to your Linux TFTP server and ipaddr to the GuruPlug's requested IP address):
$this->bbcode_second_pass_code('', 'Marvell>> setenv ipaddr 192.168.1.123
Marvell>> setenv serverip 192.168.1.106
Marvell>> tftpboot 0x0800000 guruplug-u-boot.bin
Marvell>> nand erase 0x0 0xa0000
Marvell>> nand write 0x0800000 0x0 0xa0000
Marvell>> reset')
You'll need to make sure you bootcmd contains a "usb start", that it ext2load's /boot/uImage from usb 0:1, and that there's a root=/dev/sda1 kernel parameter. You might want to add a rootdelay=5 in there too. As mentioned above, we have no idea what the variables of the Slackware U-Boot are or which ones work. Please update with more information.



My 2 cents:

1) If you aren't already using a u-boot which supports booting from USB devices and has ext2 support, the one located here is a good option:
http://oinkzwurgl.org/guruplug_uboot
The page has instructions on replacing the stock bootloader too.
2) My plug started resetting itself as soon as it attempts to start the kernel. This happened on a few occasions, with a few different uboots, kernels and boot methods. The thing which seems to fix it for me is to leave the plug disconnected from the power socket for 10-20 minutes. When powered back on, it worked flawlessly. Maybe it's just my brick, but worthy a try if you have the same problem.
xxcn
 
Posts: 3
Joined: Tue Jul 05, 2011 2:48 pm

Re: [GUIDE] Arch Linux ARM on a GuruPlug

Postby BnBorg » Mon Aug 08, 2011 12:36 am

I recommend getting a recent version of U-Boot. The Debian for ARM project, http://www.debian.org/ports/arm/, is actively working on the U-Boot hosted by DENX.

See: http://www.cyrius.com/debian/kirkwood/s ... grade.html for links to the testing versions.
BnBorg
 
Posts: 10
Joined: Mon Jul 18, 2011 7:26 pm

Re: [GUIDE] Arch Linux ARM on a GuruPlug

Postby jolann6973 » Sun Aug 12, 2012 7:02 pm

Hi guys,

Not sure this is the right place to post my question, but I don't find a real Guide (or tutorial) to install Archlinux right into the Nand of the guruplug. Where can I find the RFS like on globalschale website ?
Any link / advices to guide me would be appreciated.

Thanks by advance !
jolann6973
 
Posts: 1
Joined: Sun Aug 12, 2012 6:56 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 13 guests