summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHan Xu <han.xu@nxp.com>2017-11-09 17:02:20 -0600
committerHan Xu <han.xu@nxp.com>2017-11-09 19:49:24 -0600
commitd09f5db72fa4335bd85a2bff0b889a6b24f8a295 (patch)
treec5eda095624be31ceabfe972df53ec59cbf4ca84
parentc8e6eb2179512ee87c8faa08bbe826ead40ab702 (diff)
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 <han.xu@nxp.com> (cherry picked from commit 96cf020bd90c5ac32b7fa67c23f88dcd09634a40)
-rw-r--r--include/configs/imx8qxp_arm2.h6
1 files 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 \