Hello,

attached a couple of patches that updates the u-boot configuration:

- use quiet as is used in the suggested http://paste.ubuntuusers.de/391456/ . Please note that the debian is using ext3 and the other one is using ext2 as fs so bringing the quiet to debian is more safer than using the wrong fs i think.

- use rootwait instead of rootdelay=5, saves 4 seconds on boot here. Already been proposed some times ago http://www.mail-archive.com/openmoko-ker...@lists.openmoko.org/msg09929.html and everyone else is already using it.

If these patches will be applied i'll take care to update the wiki.

thanks,
riccardo

>From 86d3ee39919c3cd91dadd29136c5eeec156853e8 Mon Sep 17 00:00:00 2001
From: Riccardo Magliocchetti <riccardo.magliocche...@gmail.com>
Date: Sun, 19 Sep 2010 18:14:39 +0200
Subject: [PATCH 1/2] Use quiet in default boot cmd

This applies most of the changes from Rorschach from
http://paste.ubuntuusers.de/391456/

Signed-off-by: Riccardo Magliocchetti <riccardo.magliocche...@gmail.com>
---
 configure-uboot.sh |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/configure-uboot.sh b/configure-uboot.sh
index 015acf2..835d6cc 100755
--- a/configure-uboot.sh
+++ b/configure-uboot.sh
@@ -35,40 +35,46 @@ cat > uboot_menu.in <<'__END__'
 bootcmd=
   setenv bootargs
     ${bootargs_base} ${mtdparts}
-    rootfstype=ext3 root=/dev/mmcblk0p2 rootdelay=5;
+    rootfstype=ext3 root=/dev/mmcblk0p2 quiet rootdelay=5;
   mmcinit;
   ext2load mmc 1 0x32000000 ${sd_image_name};
   bootm 0x32000000
 
 menu_1=
+  setenv bootargs
+    ${bootargs_base} ${mtdparts}
+    rootfstype=ext3 root=/dev/mmcblk0p2 rootdelay=5;
+  mmcinit;
+  ext2load mmc 1 0x32000000 ${sd_image_name};
+  bootm 0x32000000
+
+menu_2=
   Boot from Flash:
   setenv bootargs
     ${bootargs_base} ${mtdparts};
   nand read.e 0x32000000 kernel 0x200000;
   bootm 0x32000000
 
-menu_2=
+menu_3=
   Reboot:
   reset
 
-menu_3=
+menu_4=
   Power off:
   neo1973 power-off
 
-menu_4=
+menu_5=
   Set console to USB:
   setenv stdin usbtty;
   setenv stdout usbtty;
   setenv stderr usbtty
 
-menu_5=
+menu_6=
   Set console to serial:
   setenv stdin serial;
   setenv stdout serial;
   setenv stderr serial
 
-menu_6=
-
 menu_7=
 
 menu_8=
-- 
1.7.1


>From abba925370abb68319a1e96587c25c6cedf25db3 Mon Sep 17 00:00:00 2001
From: Riccardo Magliocchetti <riccardo.magliocche...@gmail.com>
Date: Sun, 19 Sep 2010 18:18:11 +0200
Subject: [PATCH 2/2] Use rootwait instead of rootdelay=5

It is more correct and save 4s on boot here.

Signed-off-by: Riccardo Magliocchetti <riccardo.magliocche...@gmail.com>
---
 configure-uboot.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure-uboot.sh b/configure-uboot.sh
index 835d6cc..1be0bf0 100755
--- a/configure-uboot.sh
+++ b/configure-uboot.sh
@@ -35,7 +35,7 @@ cat > uboot_menu.in <<'__END__'
 bootcmd=
   setenv bootargs
     ${bootargs_base} ${mtdparts}
-    rootfstype=ext3 root=/dev/mmcblk0p2 quiet rootdelay=5;
+    rootfstype=ext3 root=/dev/mmcblk0p2 quiet rootwait;
   mmcinit;
   ext2load mmc 1 0x32000000 ${sd_image_name};
   bootm 0x32000000
@@ -43,7 +43,7 @@ bootcmd=
 menu_1=
   setenv bootargs
     ${bootargs_base} ${mtdparts}
-    rootfstype=ext3 root=/dev/mmcblk0p2 rootdelay=5;
+    rootfstype=ext3 root=/dev/mmcblk0p2 rootwait;
   mmcinit;
   ext2load mmc 1 0x32000000 ${sd_image_name};
   bootm 0x32000000
-- 
1.7.1


_______________________________________________
pkg-fso-maint mailing list
pkg-fso-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-fso-maint

Reply via email to