pico-imx6ul: Define partition layout in the environment
authorFabio Berton <fabio.berton@ossystems.com.br>
Thu, 16 Nov 2017 11:59:47 +0000 (09:59 -0200)
committerStefano Babic <sbabic@denx.de>
Mon, 20 Nov 2017 08:54:09 +0000 (09:54 +0100)
Create layout with a boot 16MiB partition and rootfs with remain
space.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
include/configs/pico-imx6ul.h

index 6a19861da7dc8c7cd04204541696a69d5c3838b7..1ea79b9c18e24cd5932edeb472218d668052f5ac 100644 (file)
@@ -68,6 +68,9 @@
        "mmcautodetect=yes\0" \
        CONFIG_DFU_ENV_SETTINGS \
        "finduuid=part uuid mmc 0:2 uuid\0" \
+       "partitions=" \
+               "uuid_disk=${uuid_gpt_disk};" \
+               "name=boot,size=16MiB;name=rootfs,size=0,uuid=${uuid_gpt_rootfs}\0" \
        "mmcargs=setenv bootargs console=${console},${baudrate} " \
                "root=PARTUUID=${uuid} rootwait rw\0" \
        "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \