mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-26 01:59:44 +02:00
qi-gta03-smdk6410-sdcard-rootfs.patch
Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
parent
decf58f043
commit
776fdbd42c
@ -40,6 +40,13 @@ unsigned long s3c6410_mmc_bread(int dev_num, unsigned long blknr, unsigned long
|
|||||||
/*
|
/*
|
||||||
* our API for bootloader on this machine
|
* 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 = {
|
const struct board_api board_api_gta03 = {
|
||||||
.name = "GTA03",
|
.name = "GTA03",
|
||||||
.linux_machine_id = 1866,
|
.linux_machine_id = 1866,
|
||||||
@ -57,10 +64,9 @@ const struct board_api board_api_gta03 = {
|
|||||||
.filesystem = FS_EXT2,
|
.filesystem = FS_EXT2,
|
||||||
.partition_index = 2,
|
.partition_index = 2,
|
||||||
.filepath = "boot/uImage.bin",
|
.filepath = "boot/uImage.bin",
|
||||||
.initramfs_filepath = "boot/initramfs.gz",
|
|
||||||
.commandline = "console=ttySAC3,115200 " \
|
.commandline = "console=ttySAC3,115200 " \
|
||||||
"loglevel=8 init=/bin/sh " \
|
"loglevel=8 init=/bin/sh " \
|
||||||
"root=/dev/ram ramdisk_size=6000000"
|
"root=/dev/mmcblk0p2 rootfstype=ext3"
|
||||||
},
|
},
|
||||||
[1] = {
|
[1] = {
|
||||||
.name = "SD Card backup rootfs",
|
.name = "SD Card backup rootfs",
|
||||||
@ -68,9 +74,10 @@ const struct board_api board_api_gta03 = {
|
|||||||
.filesystem = FS_EXT2,
|
.filesystem = FS_EXT2,
|
||||||
.partition_index = 3,
|
.partition_index = 3,
|
||||||
.filepath = "boot/uImage.bin",
|
.filepath = "boot/uImage.bin",
|
||||||
.initramfs_filepath = "boot/initramfs.gz",
|
|
||||||
.commandline = "console=ttySAC3,115200 " \
|
.commandline = "console=ttySAC3,115200 " \
|
||||||
"loglevel=8 init=/bin/sh "
|
"loglevel=8 init=/bin/sh " \
|
||||||
}, },
|
"root=/dev/mmcblk0p3 rootfstype=ext3"
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -52,10 +52,9 @@ const struct board_api board_api_smdk6410 = {
|
|||||||
.filesystem = FS_EXT2,
|
.filesystem = FS_EXT2,
|
||||||
.partition_index = 2,
|
.partition_index = 2,
|
||||||
.filepath = "boot/uImage.bin",
|
.filepath = "boot/uImage.bin",
|
||||||
.initramfs_filepath = "boot/initramfs.gz",
|
|
||||||
.commandline = "console=ttySAC0,115200 " \
|
.commandline = "console=ttySAC0,115200 " \
|
||||||
"loglevel=8 init=/bin/sh " \
|
"loglevel=8 init=/bin/sh " \
|
||||||
" root=/dev/ram ramdisk_size=6000000"
|
"root=/dev/mmcblk0p2 rootfstype=ext3"
|
||||||
},
|
},
|
||||||
[1] = {
|
[1] = {
|
||||||
.name = "SD Card backup rootfs",
|
.name = "SD Card backup rootfs",
|
||||||
@ -63,9 +62,9 @@ const struct board_api board_api_smdk6410 = {
|
|||||||
.filesystem = FS_EXT2,
|
.filesystem = FS_EXT2,
|
||||||
.partition_index = 3,
|
.partition_index = 3,
|
||||||
.filepath = "boot/uImage.bin",
|
.filepath = "boot/uImage.bin",
|
||||||
.initramfs_filepath = "boot/initramfs.gz",
|
|
||||||
.commandline = "console=ttySAC0,115200 " \
|
.commandline = "console=ttySAC0,115200 " \
|
||||||
"loglevel=8 init=/bin/sh "
|
"loglevel=8 init=/bin/sh " \
|
||||||
|
"root=/dev/mmcblk0p3 rootfstype=ext3"
|
||||||
}, },
|
}, },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user