diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-03-10 09:21:37 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-03-11 11:41:55 +0100 |
commit | 24a32f4da40480112c22804c312e011b749929cd (patch) | |
tree | 1cdd83247efcd63b8b84276f4d43ba883cde8eaa /recipes/qi/files | |
parent | e6b545ce0cac6443c28952d3d0fb5f8428c08b12 (diff) |
qi-ubi: add ubifs rootfs params also for gta01, move SRCREV to recipe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/qi/files')
-rw-r--r-- | recipes/qi/files/0002-gta02-add-kernel-params-to-boot-from-ubifs-ubi0-om-g.patch | 28 | ||||
-rw-r--r-- | recipes/qi/files/rootfstype.ubifs.patch | 45 |
2 files changed, 45 insertions, 28 deletions
diff --git a/recipes/qi/files/0002-gta02-add-kernel-params-to-boot-from-ubifs-ubi0-om-g.patch b/recipes/qi/files/0002-gta02-add-kernel-params-to-boot-from-ubifs-ubi0-om-g.patch deleted file mode 100644 index d2e7517a86..0000000000 --- a/recipes/qi/files/0002-gta02-add-kernel-params-to-boot-from-ubifs-ubi0-om-g.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 843dbaa59d56b7c042662f48ed68bd41960635dd Mon Sep 17 00:00:00 2001 -From: Martin Jansa <Martin.Jansa@gmail.com> -Date: Tue, 5 Jan 2010 12:44:25 +0100 -Subject: [PATCH 2/2] gta02: add kernel params to boot from ubifs ubi0:om-gta02-rootfs - ---- - src/cpu/s3c2442/gta02.c | 5 +++-- - 1 files changed, 3 insertions(+), 2 deletions(-) - -diff --git a/src/cpu/s3c2442/gta02.c b/src/cpu/s3c2442/gta02.c -index 0347f61..48ee245 100644 ---- a/src/cpu/s3c2442/gta02.c -+++ b/src/cpu/s3c2442/gta02.c -@@ -733,8 +733,9 @@ const struct board_api board_api_gta02 = { - /* NOTE offset below is replaced at runtime */ - .offset_blocks512_if_no_partition = 0x80000 / 512, - .filesystem = FS_RAW, -- .commandline_append = " rootfstype=jffs2 " -- "root=/dev/mtdblock6 ", -+ .commandline_append = " rootfstype=ubifs " \ -+ " ubi.mtd=6,2048 " \ -+ " root=ubi0:om-gta02-rootfs ", - }, - }, - }; --- -1.6.6 - diff --git a/recipes/qi/files/rootfstype.ubifs.patch b/recipes/qi/files/rootfstype.ubifs.patch new file mode 100644 index 0000000000..4775c16d73 --- /dev/null +++ b/recipes/qi/files/rootfstype.ubifs.patch @@ -0,0 +1,45 @@ +From 9313360da422929181bfb3339137caaa4400195f Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Tue, 5 Jan 2010 12:44:25 +0100 +Subject: [PATCH 1/2] gta02|gta01: add kernel params to boot from ubifs ubi0:rootfs + +--- + src/cpu/s3c2410/gta01.c | 5 +++-- + src/cpu/s3c2442/gta02.c | 5 +++-- + 2 files changed, 6 insertions(+), 4 deletions(-) + +diff --git a/src/cpu/s3c2410/gta01.c b/src/cpu/s3c2410/gta01.c +index 4686fa2..a2fce11 100644 +--- a/src/cpu/s3c2410/gta01.c ++++ b/src/cpu/s3c2410/gta01.c +@@ -305,8 +305,9 @@ const struct board_api board_api_gta01 = { + .block_read = nand_read_ll, + .offset_blocks512_if_no_partition = 0x44000 / 512, + .filesystem = FS_RAW, +- .commandline_append = "rootfstype=jffs2 " +- "root=/dev/mtdblock4 ", ++ .commandline_append = " rootfstype=ubifs " \ ++ " ubi.mtd=4,512 " \ ++ " root=ubi0:om-gta01-rootfs ", + }, + }, + }; +diff --git a/src/cpu/s3c2442/gta02.c b/src/cpu/s3c2442/gta02.c +index 0347f61..48ee245 100644 +--- a/src/cpu/s3c2442/gta02.c ++++ b/src/cpu/s3c2442/gta02.c +@@ -733,8 +733,9 @@ const struct board_api board_api_gta02 = { + /* NOTE offset below is replaced at runtime */ + .offset_blocks512_if_no_partition = 0x80000 / 512, + .filesystem = FS_RAW, +- .commandline_append = " rootfstype=jffs2 " +- "root=/dev/mtdblock6 ", ++ .commandline_append = " rootfstype=ubifs " \ ++ " ubi.mtd=6,2048 " \ ++ " root=ubi0:om-gta02-rootfs ", + }, + }, + }; +-- +1.7.0.2 + |