[PATCH 1/2] Use quiet in default boot cmd

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Sun Sep 19 16:14:39 UTC 2010


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

Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti at 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


--------------030400040607080706010500
Content-Type: text/x-patch;
 name="0002-Use-rootwait-instead-of-rootdelay-5.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0002-Use-rootwait-instead-of-rootdelay-5.patch"



More information about the pkg-fso-maint mailing list