mpc52xx, charon: change mtd default partitions
PATCH 2/2 mpc52xx, charon: change mtd default partitions
new default partittions on nor flash:
640k (firmware) 1408k (kernel) 2m (initrd) 4m (small-fs)
24320k (big-fs)
256k (dts)
Signed-off-by Heiko Schocher <[email protected]>
--- include/configs/TQM5200.h | 14 +++++++++++++- include/configs/charon.h | 1 + 2 files changed, 14 insertions(+), 1 deletions(-)
include/configs/TQM5200.h +13 -1
@@ -273,6 +273,11 @@"fdt_addr=FC100000\0" \"kernel_addr=FC140000\0" \ "ramdisk_addr=FC600000\0" +#elif defined(CONFIG_CHARON ) +#define ENV_FLASH_LAYOUT \ + "fdt_addr=FDFC0000\0" \ + "kernel_addr=FC0A0000\0" \ + "ramdisk_addr=FC200000\0"#else /* !CONFIG_TQM5200_B */ #define ENV_FLASH_LAYOUT \ "fdt_addr=FC0A0000\0" \
@@ -426,7 +431,7 @@#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ #define MTDIDS_DEFAULT "nor0=fc000000.flash" -#if defined(CONFIG_CHARON ) || defined(CONFIG_STK52XX ) +#if defined(CONFIG_STK52XX )# if defined(CONFIG_TQM5200_B )# if defined(CONFIG_SYS_LOWBOOT )# define MTDPARTS_DEFAULT "mtdparts=fc000000.flash:1m(firmware)," \
@@ -458,6 +463,13 @@"1792k(kernel)," \"5632k(rootfs)," \ "24m(home)" +#elif defined (CONFIG_CHARON ) +# define MTDPARTS_DEFAULT "mtdparts=fc000000.flash:640k(firmware),"\ + "1408k(kernel)," \ + "2m(initrd)," \ + "4m(small-fs)," \ + "24320k(big-fs)," \ + "256k(dts)"#elif defined (CONFIG_FO300 )# define MTDPARTS_DEFAULT "mtdparts=fc000000.flash:640k(firmware),"\ "1408k(kernel)," \
include/configs/charon.h +1 -0
@@ -47,6 +47,7 @@"bootfile=/tftpboot/charon/uImage\0" \"fdt_file=/tftpboot/charon/charon.dtb\0" \"u-boot=/tftpboot/charon/u-boot.bin\0" \ +"mtdparts=" MTDPARTS_DEFAULT "\0" \"addmtd=setenv bootargs ${bootargs} ${mtdparts}\0"
Signature · 1 line
1.7.2.3
PATCH 2/2 mpc52xx, charon: change mtd default partitions
Dear Heiko Schocher,
Quoted 6 lines · In message <[email protected]> you wrote:
new default partittions on nor flash:
640k (firmware) 1408k (kernel) 2m (initrd) 4m (small-fs)
Quoted 8 lines
24320k (big-fs)
256k (dts)Signed-off-by Heiko Schocher <[email protected]>--- include/configs/TQM5200.h | 14 +++++++++++++- include/configs/charon.h | 1 + 2 files changed, 14 insertions(+), 1 deletions(-)
Aplied to "next", thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The moral of the story is: "Don't stop to tighten your shoe laces
during the Olympics 100m finals".
- Kevin Jones in <[email protected]>