From 957929aeafae9962c7625b521f2670c3578d10db Mon Sep 17 00:00:00 2001 From: Andy Green Date: Fri, 28 Nov 2008 10:16:35 +0000 Subject: [PATCH] add-nand-fixed-partition-layout.patch Signed-off-by: Andy Green --- qiboot/include/device_configuration.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/qiboot/include/device_configuration.h b/qiboot/include/device_configuration.h index 69e247c..deb7072 100644 --- a/qiboot/include/device_configuration.h +++ b/qiboot/include/device_configuration.h @@ -1,8 +1,25 @@ /* define the easily changed settings for the device here */ -#define CFG_NAND_OFFSET_FOR_KERNEL_PARTITION 0x80000 #define CFG_LINUX_MACHINE_ID 1304 #define CFG_LINUX_ATAG_ADDRESS 0x30000100 +#define CFG_NAND_OFFSET_FOR_KERNEL_PARTITION 0x80000 +/* + * we follow GTA02 layout actually to make life easier allowing NOR DFU during + * our initial development on GTA02 + */ +#define CFG_LINUX_CMDLINE_BACKUP "mtdparts=neo1973-nand:" \ + "0x00040000(kboot)," \ + "0x00040000(cmdline)," \ + "0x00800000(backupkernel)," \ + "0x000a0000(extra)," \ + "0x00040000(identity)," \ + "0x0f6a0000(backuprootfs) " \ + "rootfstype=jffs2 " \ + "root=/dev/mtdblock5 " \ + "console=ttySAC2,115200 " \ + "loglevel=4 " \ + "init=/sbin/init ro" + #define CFG_LINUX_CMDLINE "rootfstype=ext2 " \ "root=/dev/mmcblk0p1 " \ "console=ttySAC2,115200 " \