mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-12-23 17:15:32 +02:00
qi-introduce-device-named-kernels.patch
This patch changes Qi to insist to fetch device-specific kernels from filesystems that have named kernels. The kernels looked for are now called GTA01: /boot/uImage-GTA01.bin GTA02: /boot/uImage-GTA02.bin GTA03: /boot/uImage-GTA03.bin This is part of the support for single rootfs that can be run on multiple devices with correct kernel and module handling by the bootloader. Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
parent
31fe321be5
commit
c6531168f6
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
../dfu-util/src/dfu-util -a 1 -d 0x1d50:0x5119 -D image/qi-*.udfu
|
../dfu-util/src/dfu-util -a 1 -d 0x1d50:0x5119 -D image/qi-s3c2442*.udfu
|
||||||
if [ $? -eq 1 ] ; then
|
if [ $? -eq 1 ] ; then
|
||||||
../dfu-util/src/dfu-util -a 1 -d 0x1d50:0x5120 -D image/qi-*.udfu
|
../dfu-util/src/dfu-util -a 1 -d 0x1d50:0x5120 -D image/qi-s3c2442*.udfu
|
||||||
../dfu-util/src/dfu-util -a 1 -d 0x1d50:0x5119 -D image/qi-*.udfu
|
../dfu-util/src/dfu-util -a 1 -d 0x1d50:0x5119 -D image/qi-s3c2442*.udfu
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -232,7 +232,7 @@ const struct board_api board_api_gta01 = {
|
|||||||
.block_read = sd_card_block_read_gta01,
|
.block_read = sd_card_block_read_gta01,
|
||||||
.partition_index = 1,
|
.partition_index = 1,
|
||||||
.filesystem = FS_EXT2,
|
.filesystem = FS_EXT2,
|
||||||
.filepath = "boot/uImage",
|
.filepath = "boot/uImage-GTA01.bin",
|
||||||
.commandline = "mtdparts=" \
|
.commandline = "mtdparts=" \
|
||||||
"neo1973-nand:" \
|
"neo1973-nand:" \
|
||||||
"0x00040000(qi)," \
|
"0x00040000(qi)," \
|
||||||
@ -253,7 +253,7 @@ const struct board_api board_api_gta01 = {
|
|||||||
.block_read = sd_card_block_read_gta01,
|
.block_read = sd_card_block_read_gta01,
|
||||||
.partition_index = 2,
|
.partition_index = 2,
|
||||||
.filesystem = FS_EXT2,
|
.filesystem = FS_EXT2,
|
||||||
.filepath = "boot/uImage",
|
.filepath = "boot/uImage-GTA01.bin",
|
||||||
.commandline = "mtdparts=" \
|
.commandline = "mtdparts=" \
|
||||||
"neo1973-nand:" \
|
"neo1973-nand:" \
|
||||||
"0x00040000(qi)," \
|
"0x00040000(qi)," \
|
||||||
|
@ -383,7 +383,7 @@ const struct board_api board_api_gta02 = {
|
|||||||
.block_read = sd_card_block_read_gta02,
|
.block_read = sd_card_block_read_gta02,
|
||||||
.partition_index = 1,
|
.partition_index = 1,
|
||||||
.filesystem = FS_EXT2,
|
.filesystem = FS_EXT2,
|
||||||
.filepath = "boot/uImage.bin",
|
.filepath = "boot/uImage-GTA02.bin",
|
||||||
.commandline = "mtdparts=physmap-flash:-(nor);" \
|
.commandline = "mtdparts=physmap-flash:-(nor);" \
|
||||||
"neo1973-nand:" \
|
"neo1973-nand:" \
|
||||||
"0x00040000(qi)," \
|
"0x00040000(qi)," \
|
||||||
@ -405,7 +405,7 @@ const struct board_api board_api_gta02 = {
|
|||||||
.block_read = sd_card_block_read_gta02,
|
.block_read = sd_card_block_read_gta02,
|
||||||
.partition_index = 2,
|
.partition_index = 2,
|
||||||
.filesystem = FS_EXT2,
|
.filesystem = FS_EXT2,
|
||||||
.filepath = "boot/uImage.bin",
|
.filepath = "boot/uImage-GTA02.bin",
|
||||||
.commandline = "mtdparts=physmap-flash:-(nor);" \
|
.commandline = "mtdparts=physmap-flash:-(nor);" \
|
||||||
"neo1973-nand:" \
|
"neo1973-nand:" \
|
||||||
"0x00040000(qi)," \
|
"0x00040000(qi)," \
|
||||||
|
@ -63,7 +63,7 @@ const struct board_api board_api_gta03 = {
|
|||||||
.block_read = sd_card_block_read_gta03,
|
.block_read = sd_card_block_read_gta03,
|
||||||
.filesystem = FS_EXT2,
|
.filesystem = FS_EXT2,
|
||||||
.partition_index = 2,
|
.partition_index = 2,
|
||||||
.filepath = "boot/uImage.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 rootfstype=ext3"
|
||||||
@ -73,7 +73,7 @@ const struct board_api board_api_gta03 = {
|
|||||||
.block_read = sd_card_block_read_gta03,
|
.block_read = sd_card_block_read_gta03,
|
||||||
.filesystem = FS_EXT2,
|
.filesystem = FS_EXT2,
|
||||||
.partition_index = 3,
|
.partition_index = 3,
|
||||||
.filepath = "boot/uImage.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 rootfstype=ext3"
|
||||||
|
Loading…
Reference in New Issue
Block a user