diff mbox series

[U-Boot,4/6] pico-imx6ul: Define partition layout in the environment

Message ID 20171114180720.3817-4-otavio@ossystems.com.br
State Changes Requested
Delegated to: Stefano Babic
Headers show
Series [U-Boot,1/6] pico-imx6ul: Move dfu_alt_info to CONFIG_DFU_ENV_SETTINGS variable | expand

Commit Message

Otavio Salvador Nov. 14, 2017, 6:07 p.m. UTC
From: Fabio Berton <fabio.berton@ossystems.com.br>

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>
---

 include/configs/pico-imx6ul.h | 3 +++
 1 file changed, 3 insertions(+)

Comments

Fabio Estevam Nov. 14, 2017, 10:02 p.m. UTC | #1
On Tue, Nov 14, 2017 at 4:07 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> From: Fabio Berton <fabio.berton@ossystems.com.br>
>
> 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>
> ---
>
>  include/configs/pico-imx6ul.h | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/include/configs/pico-imx6ul.h b/include/configs/pico-imx6ul.h
> index 6a19861da7..43ef3ef6d0 100644
> --- a/include/configs/pico-imx6ul.h
> +++ b/include/configs/pico-imx6ul.h
> @@ -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" \

Please make this 16MiB instead.
diff mbox series

Patch

diff --git a/include/configs/pico-imx6ul.h b/include/configs/pico-imx6ul.h
index 6a19861da7..43ef3ef6d0 100644
--- a/include/configs/pico-imx6ul.h
+++ b/include/configs/pico-imx6ul.h
@@ -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" \