booting from SD partition directly

From: <piotrcze_at_poczta.onet.pl>
Date: Sun, 08 Jul 2007 13:54:45 +0200

Hi,

  currently we have two images: initrd and rootfs (opie).

In fact we don't need any of them. If I put my rootfs on partition 2 on
SD, I can mount this partition from initrd and go on.

But if I tried to put "root=254:2" instead of "root=/dev/ram0", I failed
to boot.

The solution for this is adding "rootdelay=1" to kernel parameters. In
this way it is possible to omit initrd. initramfs support in kernel is
no more needed, and booting process is slighty shorter.

Below is my current default.txt:

set KERNEL "zImage"
set mtype "617"
set RAMADDR 0xaa000000
set CMDLINE "mem=96M rootdelay=1 root=254:2 rw console=ttyS0,115200n8
console=tty0"
boot
                                                                                                                                                   
Regards,
Piotr Czechowicz.
Received on Sun Jul 08 2007 - 07:55:06 EDT

This archive was generated by hypermail 2.2.0 : Sun Jul 08 2007 - 07:55:21 EDT