[PATCH 6/6] Add initramfs to gta02 platform (initrd-GTA02.bin)
Timo Juhani Lindfors
timo.lindfors at iki.fi
Fri Nov 4 15:22:45 CET 2011
Tested with 2.3 MB initrd created using debian mkinitramfs.
---
src/cpu/s3c2442/gta02.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/cpu/s3c2442/gta02.c b/src/cpu/s3c2442/gta02.c
index d3ca634..935de8b 100644
--- a/src/cpu/s3c2442/gta02.c
+++ b/src/cpu/s3c2442/gta02.c
@@ -708,6 +708,7 @@ const struct board_api board_api_gta02 = {
.partition_index = 1,
.filesystem = FS_EXT2,
.filepath = "boot/uImage-GTA02.bin",
+ .initramfs_filepath = "boot/initrd-GTA02.bin",
.commandline_append = " root=/dev/mmcblk0p1 rootdelay=1 ",
},
[1] = {
@@ -717,6 +718,7 @@ const struct board_api board_api_gta02 = {
.partition_index = 1,
.filesystem = FS_EXT2,
.filepath = "boot/uImage-GTA02.bin.2",
+ .initramfs_filepath = "boot/initrd-GTA02.bin.2",
.commandline_append = " root=/dev/mmcblk0p1 rootdelay=1 ",
},
[2] = {
@@ -726,6 +728,7 @@ const struct board_api board_api_gta02 = {
.partition_index = 2,
.filesystem = FS_EXT2,
.filepath = "boot/uImage-GTA02.bin",
+ .initramfs_filepath = "boot/initrd-GTA02.bin",
.commandline_append = " root=/dev/mmcblk0p2 rootdelay=1 ",
},
[3] = {
@@ -735,6 +738,7 @@ const struct board_api board_api_gta02 = {
.partition_index = 3,
.filesystem = FS_EXT2,
.filepath = "boot/uImage-GTA02.bin",
+ .initramfs_filepath = "boot/initrd-GTA02.bin",
.commandline_append = " root=/dev/mmcblk0p3 rootdelay=1 ",
},
[KERNEL_SOURCE_NAND_INDEX] = {
--
1.7.2.5
More information about the openmoko-kernel
mailing list