foonas:Kuropro

From foonas

Jump to: navigation, search

Contents

kuropro - Revolution Kurobox Pro

Installation

foonas

Currently you are required to have a working serial connection to your Kurobox Pro to install foonas, also we assume you still have the manufacturers distribution in NAND flash for installing foonas.

Obtaining foonas

You may either download foonas for the Kurobox Pro from here, or compile one yourself using our openembedded based toolchain. Building from our svn is not supported for users but to do this install our toolchain and then:

$ cd /stuff/build
$ bitbake bootstrap-image

Installing foonas

Ensuring your Kurobox Pro is off connect it to your workstation via serial, open minicom and configure it to access the relevant serial port with 115200 8N1. Turn the Kurobox Pro on and interrupt uboot by pressing any key at the prompts. You may stop the beeping by pressing the power button again.

Enter the following at the prompt to boot into the flash based distro:

Marvell>> setenv default_kernel_addr 0x00100000 
Marvell>> setenv bootargs_base console=ttyS0,115200 
Marvell>> setenv bootargs_root root=/dev/mtdblock2 rw 
Marvell>> setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver) 
Marvell>> setenv uImage_block 0 
Marvell>> setenv uImage_offset 0x00020000 
Marvell>> setenv bootcmd 'nboot $(default_kernel_addr) $(uImage_block) $(uImage_offset); bootm $(default_kernel_addr)'
Marvell>> boot

Now login over serial or telnet with the following username and password and partition & format sda1 as ext3, sda2 as swap, and sda3 as your data partition:

Username: root
Password: kuroadmin

Assuming that you have set up your partitions and swap as above, copy the archive downloaded above to the root of where sda1 is mounted and extract:

$ tar xzvpf foonas-bootstrap-image*tar.gz

The final step is to modify your uboot environment to boot into foonas. Reboot the machine and interrupt uboot over serial again and type the following to configure your Kurobox Pro to boot into foonas from the hard disk:

Marvell>> setenv bootcmd 'ide reset;ext2load ide 0:1 0x00100000 /boot/uImage;setenv bootargs console=ttyS0,115200 root=/dev/sda1 rw; bootm 0x00100000'
Marvell>> saveenv
Marvell>> boot

Congratulations, you have now installed foonas on your Kurobox Pro.

Boot and login

Wait for about 1-2 minutes. The initial boot requires a bit more time for ssh and http services to be brought up. Subsequent boots will be much faster.

On any dhcp enabled network, you should be able to connect to your Kurobox Pro via web-browser at http://<ip address of your kuro pro> or http://kuropro.local . Login with these:

username = root
password = hydr0g3n

Using ssh and the same password as above, you can also access your foonas-equipped Kurobox Pro this way:

ssh root@<ip address of your kuro pro>
Personal tools