Install Debian on Iconnect
Requirements:
Storage device (USB stick e.g.)
Gigabit Ethernet Connection
First empty your disk and format it to ext2 or fat16. This is required for a proper boot of the installer.
Grab a copy of the following installer files, and place them on your usb disk.
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | ‘__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: RD-88F6281A LE
U-Boot 1.1.4 (Feb 2 2010 – 10:13:16) Marvell version: 3.4.25
Mapower version: iConnect 2.1 (512MB) (2010/02/02)
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0×00000000 size 256MB
DRAM Total size 256MB 16bit width
Addresses 8M – 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M – 7M): Done
NAND:512 MB
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled
Write allocate disabled
Module 0 is RGMII
Module 1 is TDM
USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net: egiga0 [PRIME], egiga1
Hit any key to stop autoboot: 0
Marvell>>Now you are in U-Boot, bootloader. First you have to start the usb, to get your disk connected.
Marvell>> usb start (Re)start USB… USB: scanning bus for devices… 3 USB Device(s) found Waiting for storage device(s) to settle before scanning… 1 Storage Device(s) found
Next, to load the files into memory. If you have formatted the usb disk with fat16 use the following command
fatload usb 0:1 0×01100000 /uInitrd fatload usb 0:1 0×00800000 /uImage
If you have formatted the usb disk with ext2 use this command instead
ext2load usb 0:1 0x01100000 /uInitrd ext2load usb 0:1 0x00800000 /uImage
Next you can start the installer with the following command
setenv bootargs console=ttyS0,115200n8 base-installer/initramfs-tools/driver-policy=most bootm 0x00800000 0x01100000
The installation begins and you can install it like normal. The installer will also offer a partition layout that is known to work. You can change it, but you must create a boot partition which is in ext2 format.
At the end, the installation fails with configure kernel.. This is normal behavior. Skip this in the install menu, and continue with the next. When it’s done, reboot, and detach the usb disk and connect it to a Linux pc.
Now you have to put the kernel and kernel modules onto it.
You can download them here:
Put the uImage on the first ext2 partition(/boot) , overwrite any existing. Copy the modules.tar.gz to the root of the ext3, and extract it. There should be a directory /lib/modules/2.6.37 right now
The installation on the Linux pc is done, now you can remove the disk and connect it back again to the iconnect, and boot into U-Boot.
Now we have to tell to boot from usb disk.
setenv bootargs_console 'console=ttyS0,115200 root=/dev/sda2 rootdelay=10' setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x00800000 /uImage' setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_usb;bootm 0x00800000' saveenv
Now you can unplug the power of the iconnect, and it should boot. When you login the first time you have to run depomod so the kernel modules are useful.
depmod -a