1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-22 13:41:32 +02:00

add-nand-fixed-partition-layout.patch

Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
Andy Green 2008-11-28 10:16:35 +00:00 committed by Andy Green
parent a026547862
commit 957929aeaf

View File

@ -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 " \