qi: use rootwait instead of rootdelay=1
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 9 Jun 2010 22:41:41 +0000 (00:41 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Sun, 20 Jun 2010 12:29:50 +0000 (14:29 +0200)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/qi/files/0001-use-rootwait-instead-of-rootdelay.patch [new file with mode: 0644]
recipes/qi/qi_git.bb

diff --git a/recipes/qi/files/0001-use-rootwait-instead-of-rootdelay.patch b/recipes/qi/files/0001-use-rootwait-instead-of-rootdelay.patch
new file mode 100644 (file)
index 0000000..f1f1e64
--- /dev/null
@@ -0,0 +1,89 @@
+From 958064eb53b2636ad3c4194707ce789e0d95522b Mon Sep 17 00:00:00 2001
+From: Martin Jansa <Martin.Jansa@gmail.com>
+Date: Tue, 5 Jan 2010 12:43:46 +0100
+Subject: [PATCH] use rootwait instead of rootdelay
+
+---
+ src/cpu/s3c2410/gta01.c                 |    6 +++---
+ src/cpu/s3c2442/gta02.c                 |    6 +++---
+ src/cpu/s3c6410/om_3d7k-steppingstone.c |    2 +-
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/src/cpu/s3c2410/gta01.c b/src/cpu/s3c2410/gta01.c
+index 4686fa2..7ea74db 100644
+--- a/src/cpu/s3c2410/gta01.c
++++ b/src/cpu/s3c2410/gta01.c
+@@ -280,7 +280,7 @@ const struct board_api board_api_gta01 = {
+                       .partition_index = 1,
+                       .filesystem = FS_EXT2,
+                       .filepath = "boot/uImage-GTA01.bin",
+-                      .commandline_append = "root=/dev/mmcblk0p1 rootdelay=1 ",
++                      .commandline_append = "root=/dev/mmcblk0p1 rootwait ",
+               },
+               [1] = {
+                       .name = "SD Card EXT2 Kernel p2",
+@@ -289,7 +289,7 @@ const struct board_api board_api_gta01 = {
+                       .partition_index = 2,
+                       .filesystem = FS_EXT2,
+                       .filepath = "boot/uImage-GTA01.bin",
+-                      .commandline_append = "root=/dev/mmcblk0p2 rootdelay=1 ",
++                      .commandline_append = "root=/dev/mmcblk0p2 rootwait ",
+               },
+               [2] = {
+                       .name = "SD Card EXT2 Kernel p3",
+@@ -298,7 +298,7 @@ const struct board_api board_api_gta01 = {
+                       .partition_index = 3,
+                       .filesystem = FS_EXT2,
+                       .filepath = "boot/uImage-GTA01.bin",
+-                      .commandline_append = "root=/dev/mmcblk0p3 rootdelay=1 ",
++                      .commandline_append = "root=/dev/mmcblk0p3 rootwait ",
+               },
+               [3] = {
+                       .name = "NAND Kernel",
+diff --git a/src/cpu/s3c2442/gta02.c b/src/cpu/s3c2442/gta02.c
+index 13be2ac..32601f5 100644
+--- a/src/cpu/s3c2442/gta02.c
++++ b/src/cpu/s3c2442/gta02.c
+@@ -707,7 +707,7 @@ const struct board_api board_api_gta02 = {
+                       .partition_index = 1,
+                       .filesystem = FS_EXT2,
+                       .filepath = "boot/uImage-GTA02.bin",
+-                      .commandline_append = " root=/dev/mmcblk0p1 rootdelay=1 ",
++                      .commandline_append = " root=/dev/mmcblk0p1 rootwait ",
+               },
+               [1] = {
+                       .name = "SD Card EXT2 P2 Kernel",
+@@ -716,7 +716,7 @@ const struct board_api board_api_gta02 = {
+                       .partition_index = 2,
+                       .filesystem = FS_EXT2,
+                       .filepath = "boot/uImage-GTA02.bin",
+-                      .commandline_append = " root=/dev/mmcblk0p2 rootdelay=1 ",
++                      .commandline_append = " root=/dev/mmcblk0p2 rootwait ",
+               },
+               [2] = {
+                       .name = "SD Card EXT2 P3 Kernel",
+@@ -725,7 +725,7 @@ const struct board_api board_api_gta02 = {
+                       .partition_index = 3,
+                       .filesystem = FS_EXT2,
+                       .filepath = "boot/uImage-GTA02.bin",
+-                      .commandline_append = " root=/dev/mmcblk0p3 rootdelay=1 ",
++                      .commandline_append = " root=/dev/mmcblk0p3 rootwait ",
+               },
+               [3] = {
+                       .name = "NAND Kernel",
+diff --git a/src/cpu/s3c6410/om_3d7k-steppingstone.c b/src/cpu/s3c6410/om_3d7k-steppingstone.c
+index 71c57f9..1944e36 100644
+--- a/src/cpu/s3c6410/om_3d7k-steppingstone.c
++++ b/src/cpu/s3c6410/om_3d7k-steppingstone.c
+@@ -89,7 +89,7 @@ const struct board_api board_api_om_3d7k = {
+                            "console=ttySAC3,115200 "
+                            "init=/sbin/init "
+                            "loglevel=8 "
+-                           "rootdelay=1 no_console_suspend "
++                           "rootwait no_console_suspend "
+                            "ro ",
+       .commandline_board_debug =  " loglevel=8",
+       .kernel_source = {
+-- 
+1.7.1
+
index 6a19292..37733a8 100644 (file)
@@ -1,11 +1,12 @@
 require qi.inc
-PR = "r1"
+PR = "r2"
 PR_append = "+gitr${SRCPV}"
 
 SRCREV = "c38b062a609f1442e6a9e13005cfbdfd59a5ac0d"
 SRC_URI = "\
   git://git.openmoko.org/git/qi.git;protocol=git;branch=master \
   file://sanitize-makefile.patch \
+  file://0001-use-rootwait-instead-of-rootdelay.patch \
 "
 S = "${WORKDIR}/git"