From d09f5db72fa4335bd85a2bff0b889a6b24f8a295 Mon Sep 17 00:00:00 2001 From: Han Xu Date: Thu, 9 Nov 2017 17:02:20 -0600 Subject: MLK-16793: imx8qxp: config: fix the nand partition size and env offset considering the boot binary/kernel size becomes larger, increase the boot and kernel partition size and accordingly change the offset when reading data. Also changed the extra Android misc partition size to 8M which is block size aligned. Signed-off-by: Han Xu (cherry picked from commit 96cf020bd90c5ac32b7fa67c23f88dcd09634a40) --- include/configs/imx8qxp_arm2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/imx8qxp_arm2.h b/include/configs/imx8qxp_arm2.h index 4fcf4d2da8..54c03cc984 100644 --- a/include/configs/imx8qxp_arm2.h +++ b/include/configs/imx8qxp_arm2.h @@ -94,7 +94,7 @@ "m4boot_0=run loadm4image_0; dcache flush; bootaux ${loadaddr} 0\0" \ #ifdef CONFIG_NAND_BOOT -#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(boot),16m(kernel),16m(dtb),1m(misc),-(rootfs) " +#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:128m(boot),32m(kernel),16m(dtb),8m(misc),-(rootfs) " #else #define MFG_NAND_PARTITION "" #endif @@ -173,8 +173,8 @@ #ifdef CONFIG_NAND_BOOT #define CONFIG_BOOTCOMMAND \ - "nand read ${loadaddr} 0x4000000 0x800000;"\ - "nand read ${fdt_addr} 0x5000000 0x100000;"\ + "nand read ${loadaddr} 0x8000000 0x1400000;"\ + "nand read ${fdt_addr} 0xA000000 0x100000;"\ "booti ${loadaddr} - ${fdt_addr}" #else #define CONFIG_BOOTCOMMAND \ -- cgit v1.2.3