1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-23 10:38:28 +02:00

qi-commandline-remove-all-sd-rootfstype.patch

Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
Andy Green 2008-11-28 10:16:44 +00:00 committed by Andy Green
parent 1b810a4dc6
commit f6ee0972f9
4 changed files with 28 additions and 13 deletions

View File

@ -240,7 +240,6 @@ const struct board_api board_api_gta01 = {
"0x00200000(kernel)," \ "0x00200000(kernel)," \
"0x000a0000(splash)," \ "0x000a0000(splash)," \
"0x03d1c000(rootfs) " \ "0x03d1c000(rootfs) " \
"rootfstype=ext3 " \
"root=/dev/mmcblk0p2 " \ "root=/dev/mmcblk0p2 " \
"console=ttySAC0,115200 " \ "console=ttySAC0,115200 " \
"loglevel=4 " \ "loglevel=4 " \
@ -261,7 +260,6 @@ const struct board_api board_api_gta01 = {
"0x00200000(kernel)," \ "0x00200000(kernel)," \
"0x000a0000(splash)," \ "0x000a0000(splash)," \
"0x03d1c000(rootfs) " \ "0x03d1c000(rootfs) " \
"rootfstype=ext3 " \
"root=/dev/mmcblk0p2 " \ "root=/dev/mmcblk0p2 " \
"console=ttySAC0,115200 " \ "console=ttySAC0,115200 " \
"loglevel=4 " \ "loglevel=4 " \
@ -269,6 +267,26 @@ const struct board_api board_api_gta01 = {
"ro" "ro"
}, },
[2] = { [2] = {
.name = "SD Card EXT2 Kernel p3",
.block_init = sd_card_init_gta01,
.block_read = sd_card_block_read_gta01,
.partition_index = 3,
.filesystem = FS_EXT2,
.filepath = "boot/uImage-GTA01.bin",
.commandline = "mtdparts=" \
"neo1973-nand:" \
"0x00040000(qi)," \
"0x00004000(u-boot_env)," \
"0x00200000(kernel)," \
"0x000a0000(splash)," \
"0x03d1c000(rootfs) " \
"root=/dev/mmcblk0p2 " \
"console=ttySAC0,115200 " \
"loglevel=4 " \
"init=/sbin/init "\
"ro"
},
[3] = {
.name = "NAND Kernel", .name = "NAND Kernel",
.block_read = nand_read_ll, .block_read = nand_read_ll,
.offset_blocks512_if_no_partition = 0x44000 / 512, .offset_blocks512_if_no_partition = 0x44000 / 512,

View File

@ -400,10 +400,9 @@ const struct board_api board_api_gta02 = {
"0x000a0000(extra)," \ "0x000a0000(extra)," \
"0x00040000(identity)," \ "0x00040000(identity)," \
"0x0f6a0000(backuprootfs) " \ "0x0f6a0000(backuprootfs) " \
"rootfstype=ext3 " \
"root=/dev/mmcblk0p1 " \ "root=/dev/mmcblk0p1 " \
"console=ttySAC2,115200 " \ "console=ttySAC2,115200 " \
"loglevel=4 " \ "loglevel=8 console=tty0 " \
"init=/sbin/init "\ "init=/sbin/init "\
"ro" "ro"
}, },
@ -422,10 +421,9 @@ const struct board_api board_api_gta02 = {
"0x000a0000(extra)," \ "0x000a0000(extra)," \
"0x00040000(identity)," \ "0x00040000(identity)," \
"0x0f6a0000(backuprootfs) " \ "0x0f6a0000(backuprootfs) " \
"rootfstype=ext3 " \
"root=/dev/mmcblk0p2 " \ "root=/dev/mmcblk0p2 " \
"console=ttySAC2,115200 " \ "console=ttySAC2,115200 " \
"loglevel=4 " \ "loglevel=8 console=tty0 " \
"init=/sbin/init "\ "init=/sbin/init "\
"ro" "ro"
}, },
@ -444,10 +442,9 @@ const struct board_api board_api_gta02 = {
"0x000a0000(extra)," \ "0x000a0000(extra)," \
"0x00040000(identity)," \ "0x00040000(identity)," \
"0x0f6a0000(backuprootfs) " \ "0x0f6a0000(backuprootfs) " \
"rootfstype=ext3 " \
"root=/dev/mmcblk0p3 " \ "root=/dev/mmcblk0p3 " \
"console=ttySAC2,115200 " \ "console=ttySAC2,115200 " \
"loglevel=4 " \ "loglevel=8 console=tty0 " \
"init=/sbin/init "\ "init=/sbin/init "\
"ro" "ro"
}, },
@ -467,7 +464,7 @@ const struct board_api board_api_gta02 = {
"rootfstype=jffs2 " \ "rootfstype=jffs2 " \
"root=/dev/mtdblock6 " \ "root=/dev/mtdblock6 " \
"console=ttySAC2,115200 " \ "console=ttySAC2,115200 " \
"loglevel=8 " \ "loglevel=8 console=tty0 " \
"init=/sbin/init "\ "init=/sbin/init "\
"ro" "ro"
}, },

View File

@ -66,7 +66,7 @@ const struct board_api board_api_gta03 = {
.filepath = "boot/uImage-GTA03.bin", .filepath = "boot/uImage-GTA03.bin",
.commandline = "console=ttySAC3,115200 " \ .commandline = "console=ttySAC3,115200 " \
"loglevel=8 init=/bin/sh " \ "loglevel=8 init=/bin/sh " \
"root=/dev/mmcblk0p2 rootfstype=ext3" "root=/dev/mmcblk0p2"
}, },
[1] = { [1] = {
.name = "SD Card backup rootfs", .name = "SD Card backup rootfs",
@ -76,7 +76,7 @@ const struct board_api board_api_gta03 = {
.filepath = "boot/uImage-GTA03.bin", .filepath = "boot/uImage-GTA03.bin",
.commandline = "console=ttySAC3,115200 " \ .commandline = "console=ttySAC3,115200 " \
"loglevel=8 init=/bin/sh " \ "loglevel=8 init=/bin/sh " \
"root=/dev/mmcblk0p3 rootfstype=ext3" "root=/dev/mmcblk0p3"
}, },
}, },
}; };

View File

@ -54,7 +54,7 @@ const struct board_api board_api_smdk6410 = {
.filepath = "boot/uImage.bin", .filepath = "boot/uImage.bin",
.commandline = "console=ttySAC0,115200 " \ .commandline = "console=ttySAC0,115200 " \
"loglevel=3 init=/bin/sh " \ "loglevel=3 init=/bin/sh " \
"root=/dev/mmcblk0p2 rootfstype=ext3" "root=/dev/mmcblk0p2"
}, },
[1] = { [1] = {
.name = "SD Card backup rootfs", .name = "SD Card backup rootfs",
@ -64,7 +64,7 @@ const struct board_api board_api_smdk6410 = {
.filepath = "boot/uImage.bin", .filepath = "boot/uImage.bin",
.commandline = "console=ttySAC0,115200 " \ .commandline = "console=ttySAC0,115200 " \
"loglevel=8 init=/bin/sh " \ "loglevel=8 init=/bin/sh " \
"root=/dev/mmcblk0p3 rootfstype=ext3" "root=/dev/mmcblk0p3"
}, }, }, },
}; };