New IT forum
25 June 2022, 10:59:28 pm *
Welcome, %1$s. Please login or register.

: MiraBox now in stock.
 
Pages: [1]

Author Topic: Installing Debian on Open-rd Ultimate.  (Read 8400 times)

superpat

  • Moderator
  • Newbie
  • *****
  • Posts: 32
Installing Debian on Open-rd Ultimate.
« on: 15 July 2010, 02:48:15 pm »

Hi,

The "howto" email below from Martin Michlmayr worked OK for me!

You will also need to follow:-

http://www.cyrius.com/debian/kirkwood/openrd/install.html

This gives uboot env commands for other media installations.

An Ultimate uboot.bin can be found:-

http://code.google.com/p/openrd/downloads/detail?name=uboot.bin.openrd-ultimate-prebuilt&can=2&q=


I have added extra comments to try to make it clearer.

Before trying this you need to have set up a TFTP server and serial console on your host machine, instructions can be found in Plugcomputer wiki

I do not know whether the wget locations are still valid.

When entering uboot command strings Enter them as one long line. Do NOT add hard CR in the middle!


ONE FINAL "GOTCHA"  FOR A PERIOD OF TIME RECENTLY THE CURRENT DEBIAN INSTALLER WAS SCREWED UP AND WOULD NOT INSTALL PROPERLY. The fault showed as not being able to format the target media to install the RFS on.  I do not know whether this has now been fixed. You will have to check onthe Debian bugzilla.


cheers

Patrick



Quote
Hi Patrick,

Can you try this:

I added OpenRD-Ultimate support to the Debian kernel but the new version
hasn't been uploaded to the archiev yet.  I put a temporary kernel on
the web so people can install Debian on their OpenRD-Ultimate now.
Instructions are below:


First of all, set the machine ID:

setenv mainlineLinux yes
setenv arcNumber 2884
saveenv
reset

Download the installer files and store them on your TFTP server:
wget http://merkel.debian.org/~tbm/tmp/kernel/uImage-kirkwood_2.6.32-16
wget http://people.debian.org/~joeyh/d-i/armel/images/daily/kirkwood/netboot/marvell/openrd/uInitrd

Load them from the TFTP server and start the installer:

setenv serverip 192.168.1.2
setenv ipaddr 192.168.1.147
tftpboot 0x01100000 uInitrd
tftpboot 0x00800000 uImage-kirkwood_2.6.32-16
setenv bootargs console=ttyS0,115200 base-installer/initramfs-tools/driver-policy=most apt-setup/local0/repository="http://people.debian.org/~tbm/orion lenny main" apt-setup/local0/key=http://people.debian.org/~tbm/orion/68FD549F
bootm 0x00800000 0x01100000

After the installation, use the kernel from TFTP and the ramdisk from the        ****  This is important ****
installed system to boot (this assumes that you're booting from SATA
disk; adjust the comments if this is not the case):

setenv serverip 192.168.1.2
setenv ipaddr 192.168.1.147
tftpboot 0x00800000 uImage-kirkwood_2.6.32-16
ide reset
ext2load ide 0:1 0x01100000 /uInitrd
setenv bootargs console=ttyS0,115200
bootm 0x00800000 0x01100000'

Then install the new kernel that supports the OpenRD-Ultimate:

wget http://merkel.debian.org/~tbm/tmp/kernel/linux-base_2.6.32-16_all.deb
wget http://merkel.debian.org/~tbm/tmp/kernel/linux-image-2.6.32-5-kirkwood_2.6.32-16_armel.deb
dpkg -i linux-base_2.6.32-16_all.deb
dpkg -i linux-image-2.6.32-5-kirkwood_2.6.32-16_armel.deb
flash-kernel
reboot

And now configure your machine to boot from disk:

setenv bootargs_console console=ttyS0,115200
setenv bootcmd_sata 'ide reset; ext2load ide 0:1 0x01100000 /uInitrd; ext2load ide 0:1 0x00800000 /uImage'
setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_sata; bootm 0x00800000 0x01100000'
saveenv
run bootcmd

-- Martin Michlmayr http://www.cyrius.com/
« Last Edit: 15 July 2010, 02:50:40 pm by superpat »
Logged

Franxoois

  • Newbie
  • *
  • Posts: 2
Re: Installing Debian on Open-rd Ultimate.
« Reply #1 on: 16 July 2010, 02:02:16 pm »

Allright, thank you very much. I just finish an install of this debian on a 2Go usb key

If someone is interested, I had to change most of the "ide" and "sata" by usb

My bootcmd looks like

Code: [Select]
setenv bootargs_console console=ttyS0,115200
setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x01100000 /uInitrd; ext2load usb 0:1 0x00800000 /uImage'
setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_usb; bootm 0x00800000 0x01100000'

The first install was not successful, maybe because my usb key was not well formated. I had error message when I used "ext2load" command but the second .. or maybe third time was ok :D
Logged

guidol

  • Newbie
  • *
  • Posts: 21
  • He know where his Towel is :-)
Re: Installing Debian on Open-rd Ultimate.
« Reply #2 on: 24 October 2010, 05:33:58 pm »

I try to install debian Lenny to usb or mmc (sdhc), but for 99% I get stuck at the partitioner, because he did let me select/create a partiton and
did display only:
-----------------------------------
This is an overview of your currently configured partitions and mount   ?
  ? points. Select a partition to modify its settings (file system, mount   ?
  ? point, etc.), a free space to create partitions, or a device to         ?
  ? initialize its partition table.                                         ?
  ?                                                                         ?
  ?            Undo changes to partitions                                   ?
  ?            Finish partitioning and write changes to disk                ?
  ?                                                                         ?
  ?     <Go Back>
-----------------------------------

(also when run it from /bin/partman with a shell)

Once (only get this ONE TIME and I dont know why/how) did get past it, but after booting with
usb start
ext2load usb 0:1 0x01100000 /uInitrd
tftpboot 0x00800000 uImage
bootm 0x00800000 0x01100000

I did get stuck with the follwing problem (dont know why it will
search root at mmc (at this time I did install to usb):
-----------------------------------------------------------------------------Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... [   29.531956] mmc0: Timeout waiting for hardware interrupt.
[   29.537393] mmc0: hw_state=0xffffffff, intr_status=0xffffffff intr_en=0xffffffff
[   34.541957] mmc0: Timeout waiting for hardware interrupt.
[   34.547390] mmc0: hw_state=0xffffffff, intr_status=0xffffffff intr_en=0xffffffff
[   39.551956] mmc0: Timeout waiting for hardware interrupt.
[   39.557388] mmc0: hw_state=0xffffffff, intr_status=0xffffffff intr_en=0xffffffff
[   44.561956] mmc0: Timeout waiting for hardware interrupt.
[   44.567386] mmc0: hw_state=0xffffffff, intr_status=0xffffffff intr_en=0xffffffff
[   49.571955] mmc0: Timeout waiting for hardware interrupt.
[   49.577392] mmc0: hw_state=0xffffffff, intr_status=0xffffffff intr_en=0xffffffff
[   54.581957] mmc0: Timeout waiting for hardware interrupt.
[   54.587389] mmc0: hw_state=0xffffffff, intr_status=0xffffffff intr_en=0xffffffff
[   59.591957] mmc0: Timeout waiting for hardware interrupt.
[   59.597386] mmc0: hw_state=0xffffffff, intr_status=0xffffffff intr_en=0xffffffff
[   64.601954] mmc0: Timeout waiting for hardware interrupt.
[   64.607384] mmc0: hw_state=0xffffffff, intr_status=0xffffffff intr_en=0xffffffff
[   69.611956] mmc0: Timeout waiting for hardware interrupt.
[   69.617390] mmc0: hw_state=0xffffffff, intr_status=0xffffffff intr_en=0xffffffff
[   74.621954] mmc0: Timeout waiting for hardware interrupt.
[   74.627388] mmc0: hw_state=0xffffffff, intr_status=0xffffffff intr_en=0xffffffff
[   79.631956] mmc0: Timeout waiting for hardware interrupt.
[   79.637385] mmc0: hw_state=0xffffffff, intr_status=0xffffffff intr_en=0xffffffff


done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/fe191aca-dd72-4456-85f3-72aa7cc615cd does not exist. Dropping to a shell!


BusyBox v1.10.2 (Debian 1:1.10.2-2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs)
(initramfs)
-----------------------------------------------------------------------------

Which env-entry should I set to clear this issue and to which value should I set it?
The only entries with root are (but without mmc)
bootargs_root=root=/dev/nfs rw
rootpath=/mnt/ARM_FS/

For me the 2 problems: partitioner and the root-entry as mmc while boot lenny which is installed to
a USB-Stick.
The problem also persist while a Micro-SDHC Card is installed in the MicroSD Slot :-(


EDIT: The partitioner in debian Squeeze did work in the first place and did found the USB-Stick ans the SDHC...now I will try to install Squeeze
         The installation with debian squeeze did complete successful :-)




« Last Edit: 04 November 2010, 10:47:12 am by guidol »
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!