easy way to install amahi on the guruplug

sandoz
Posts: 9
Joined: Fri Dec 17, 2010 10:46 am

easy way to install amahi on the guruplug

Postby sandoz » Fri Jan 14, 2011 3:35 am

is there by now an easier way to install amahi on the guruplug?
i cannot get the install to work on the wiki

ppmt
Posts: 35
Joined: Fri Aug 20, 2010 6:29 pm

Re: easy way to install amahi on the guruplug

Postby ppmt » Fri Jan 14, 2011 7:13 am

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

sandoz
Posts: 9
Joined: Fri Dec 17, 2010 10:46 am

Re: easy way to install amahi on the guruplug

Postby sandoz » Wed Feb 23, 2011 1:17 am

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?

ppmt
Posts: 35
Joined: Fri Aug 20, 2010 6:29 pm

Re: easy way to install amahi on the guruplug

Postby ppmt » Wed Feb 23, 2011 9:06 am

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!

sandoz
Posts: 9
Joined: Fri Dec 17, 2010 10:46 am

Re: easy way to install amahi on the guruplug

Postby sandoz » Wed Feb 23, 2011 2:08 pm

ok
how do i know if my guruplug in not able to boot from usb?

sandoz
Posts: 9
Joined: Fri Dec 17, 2010 10:46 am

Re: easy way to install amahi on the guruplug

Postby sandoz » Wed Feb 23, 2011 2:10 pm

why should amahi run from a usb stick? Can't i use a microsd?

ppmt
Posts: 35
Joined: Fri Aug 20, 2010 6:29 pm

Re: easy way to install amahi on the guruplug

Postby ppmt » Thu Feb 24, 2011 7:55 am

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 :)

ppmt
Posts: 35
Joined: Fri Aug 20, 2010 6:29 pm

Re: easy way to install amahi on the guruplug

Postby ppmt » Thu Feb 24, 2011 7:48 pm

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 :)

sandoz
Posts: 9
Joined: Fri Dec 17, 2010 10:46 am

Re: easy way to install amahi on the guruplug

Postby sandoz » Fri Feb 25, 2011 1:06 am

where do i find that flipflip uboot?

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

ppmt
Posts: 35
Joined: Fri Aug 20, 2010 6:29 pm

Re: easy way to install amahi on the guruplug

Postby ppmt » Fri Feb 25, 2011 8:34 am

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

Who is online

Users browsing this forum: No registered users and 11 guests