[U-Boot] [PATCH] ls1046aqds: update the defaule mtdparts

York Sun york.sun at nxp.com
Mon Aug 7 22:30:47 UTC 2017


On 07/12/2017 04:44 AM, xiaowei.bao wrote:
> From: Bao Xiaowei <xiaowei.bao at 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


More information about the U-Boot mailing list