Hi York, This patch is for the ls1046aqds platform, In order to facilitate the test staff and customers to view the detailed partition information, so didn't define a larger partition to include all images, and the partition rule is discussed internally as the default partitioning standard for the layerscape platform.
thanks -----Original Message----- From: York Sun Sent: Tuesday, August 08, 2017 6:31 AM To: Xiaowei Bao <xiaowei....@nxp.com>; Mingkai Hu <mingkai...@nxp.com>; Sumit Garg <sumit.g...@nxp.com>; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] ls1046aqds: update the defaule mtdparts On 07/12/2017 04:44 AM, xiaowei.bao wrote: > From: Bao Xiaowei <xiaowei....@nxp.com> > > modify the include/configs/ls1046aqds.h file, according to the latest > partion rules, norflash nandflash dspiflash detailed partion as follows: > > mtd0: 00100000 00020000 "nor_bank0_rcw" > mtd1: 00200000 00020000 "nor_bank0_uboot" > mtd2: 00100000 00020000 "nor_bank0_uboot_env" > mtd3: 00200000 00020000 "nor_bank0_ppa" > mtd4: 00300000 00020000 "nor_bank0_secure_boot" > mtd5: 00600000 00020000 "nor_bank0_dppa_qe" > mtd6: 00100000 00020000 "nor_bank0_dtb" > mtd7: 01000000 00020000 "nor_bank0_kernel" > mtd8: 02000000 00020000 "nor_bank0_rootfs" > mtd9: 00100000 00020000 "nor_bank4_rcw" > mtd10: 00200000 00020000 "nor_bank4_uboot" > mtd11: 00200000 00020000 "nor_bank4_uboot_env" > mtd12: 00100000 00020000 "nor_bank4_ppa" > mtd13: 00300000 00020000 "nor_bank4_secure_boot" > mtd14: 00600000 00020000 "nor_bank4_dppa_qe" > mtd15: 00100000 00020000 "nor_bank4_dtb" > mtd16: 01000000 00020000 "nor_bank4_kernel" > mtd17: 02000000 00020000 "nor_bank4_rootfs" > mtd18: 00100000 00040000 "nand_rcw" > mtd19: 00200000 00040000 "nand_uboot" > mtd20: 00100000 00040000 "nand_uboot_env" > mtd21: 00200000 00040000 "nand_ppa" > mtd22: 00300000 00040000 "nand_secure_boot" > mtd23: 00600000 00040000 "nand_dppa_qe" > mtd24: 00100000 00040000 "nand_dtb" > mtd25: 01000000 00040000 "nand_kernel" > mtd26: 02000000 00040000 "nand_rootfs" > mtd27: 1c000000 00040000 "nand_free" > mtd28: 01000000 00010000 "spi0_free" > mtd29: 00080000 00001000 "spi1_free" > mtd30: 00800000 00001000 "spi2_free" Do we really need to expose every image as individual partition? It is only useful if we need to access them under Linux. What's the chance to update U-Boot environmental variables under Linux? If you really to do so, you can probably be fine by defining a larger partition to include all images used for U-Boot. Agree? York _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot