Page 1 of 1

easy way to install amahi on the guruplug

Posted: Fri Jan 14, 2011 3:35 am
by sandoz
is there by now an easier way to install amahi on the guruplug?
i cannot get the install to work on the wiki

Re: easy way to install amahi on the guruplug

Posted: Fri Jan 14, 2011 7:13 am
by ppmt
hi,

what is not working? do you have a stock guruplug or did you upddate the uboot?

I run amahi from a usb key and it was "fairly" easy to do. I thought the wiki had been updated to relect what is needed.

where do you block?

edit: did you see that link : http://wiki.amahi.org/index.php/Uboot_for_GuruPlug

Re: easy way to install amahi on the guruplug

Posted: Wed Feb 23, 2011 1:17 am
by sandoz
so, basically i need ''create-amahi-f12-plug-disk.sh'', edit it to the correct usb drive
that script writes the amahi image to the usb disk

then edit the uboot on the plug:
setenv mainlineLinux yes
setenv x_bootargs_root 'root=/dev/sdc1 rootdelay=10'
setenv x_bootcmd_kernel 'ext2load usb 1:1 0x6400000 /boot/uImage'
saveenv


and then it should run?

i don't have a linux pc here, what can i do?

Re: easy way to install amahi on the guruplug

Posted: Wed Feb 23, 2011 9:06 am
by ppmt
basically yes but you need to have an ubout that support booting from usb

I believe that the ubout that comes with the plug does not!

Re: easy way to install amahi on the guruplug

Posted: Wed Feb 23, 2011 2:08 pm
by sandoz
ok
how do i know if my guruplug in not able to boot from usb?

Re: easy way to install amahi on the guruplug

Posted: Wed Feb 23, 2011 2:10 pm
by sandoz
why should amahi run from a usb stick? Can't i use a microsd?

Re: easy way to install amahi on the guruplug

Posted: Thu Feb 24, 2011 7:55 am
by ppmt
yes you can boot it from a SD card as well except I can't make it work successfully but I am not exactly an expert either

I got it to boot from USB with obinou's help.

The latest uboot from (flipflip from Nov 2010) is capable of booting from SD card.

I might try to install Amahi on an SD card card actually. I was trying to install debian on one but have failed so far. May be Amahi will be easier :)

Re: easy way to install amahi on the guruplug

Posted: Thu Feb 24, 2011 7:48 pm
by ppmt
Youhou!

I manage to boot from the micro SD card and in the process understood a bit more how uboot works

I am sure this is something obinou explained me but I forgot about it...

I am going to update the wiki to document my finding :)

Re: easy way to install amahi on the guruplug

Posted: Fri Feb 25, 2011 1:06 am
by sandoz
where do i find that flipflip uboot?

pff: are these the instructions to upgrade uboot?
http://oinkzwurgl.org/guruplug_uboot :o

Re: easy way to install amahi on the guruplug

Posted: Fri Feb 25, 2011 8:34 am
by ppmt
yes that is it

In short

Download the file "guruplug-u-boot-flipflip-20101111.tar.gz" in the download section and extract somewhere

You need also to install a tftp server and the rarpd daemon on the machine connected to your plug. Create a file called /etc/ethers and copy the mac
address of your plug in it with the IP address you want to give to your plug (it has to be in the same network as your PC interface). for example

Code: Select all

00:12:34:56:78:90 192.168.1.100
then copy the file "u-boot.kwb" in /tftpboot and run

Code: Select all

rarp 0x6400000 u-boot.kwb
if that worked burn it to the nand

Code: Select all

nand erase 0x00000000 0x0100000 nand write 0x6400000 0x0000000 0x80000
cross your finger and reset the plug

Code: Select all

reset
if you interrupt the reset to go in the uboot prompt and type version you should now see that you have the "flipflip" latest uboot