1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-22 12:21:34 +02:00

qi-gta03-smdk6410-sdcard-rootfs.patch

Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
Andy Green 2008-11-28 10:16:42 +00:00 committed by Andy Green
parent decf58f043
commit 776fdbd42c
2 changed files with 15 additions and 9 deletions

View File

@ -40,6 +40,13 @@ unsigned long s3c6410_mmc_bread(int dev_num, unsigned long blknr, unsigned long
/*
* our API for bootloader on this machine
*/
/* for initrd:
* .initramfs_filepath = "boot/initramfs.gz",
* and
* "root=/dev/ram ramdisk_size=6000000"
*/
const struct board_api board_api_gta03 = {
.name = "GTA03",
.linux_machine_id = 1866,
@ -57,10 +64,9 @@ const struct board_api board_api_gta03 = {
.filesystem = FS_EXT2,
.partition_index = 2,
.filepath = "boot/uImage.bin",
.initramfs_filepath = "boot/initramfs.gz",
.commandline = "console=ttySAC3,115200 " \
"loglevel=8 init=/bin/sh " \
"root=/dev/ram ramdisk_size=6000000"
"root=/dev/mmcblk0p2 rootfstype=ext3"
},
[1] = {
.name = "SD Card backup rootfs",
@ -68,9 +74,10 @@ const struct board_api board_api_gta03 = {
.filesystem = FS_EXT2,
.partition_index = 3,
.filepath = "boot/uImage.bin",
.initramfs_filepath = "boot/initramfs.gz",
.commandline = "console=ttySAC3,115200 " \
"loglevel=8 init=/bin/sh "
}, },
"loglevel=8 init=/bin/sh " \
"root=/dev/mmcblk0p3 rootfstype=ext3"
},
},
};

View File

@ -52,10 +52,9 @@ const struct board_api board_api_smdk6410 = {
.filesystem = FS_EXT2,
.partition_index = 2,
.filepath = "boot/uImage.bin",
.initramfs_filepath = "boot/initramfs.gz",
.commandline = "console=ttySAC0,115200 " \
"loglevel=8 init=/bin/sh " \
" root=/dev/ram ramdisk_size=6000000"
"root=/dev/mmcblk0p2 rootfstype=ext3"
},
[1] = {
.name = "SD Card backup rootfs",
@ -63,9 +62,9 @@ const struct board_api board_api_smdk6410 = {
.filesystem = FS_EXT2,
.partition_index = 3,
.filepath = "boot/uImage.bin",
.initramfs_filepath = "boot/initramfs.gz",
.commandline = "console=ttySAC0,115200 " \
"loglevel=8 init=/bin/sh "
"loglevel=8 init=/bin/sh " \
"root=/dev/mmcblk0p3 rootfstype=ext3"
}, },
};