pico-imx6ul: Improve default DFU settings
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 4 Sep 2018 13:23:16 +0000 (10:23 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 14 Sep 2018 13:04:24 +0000 (15:04 +0200)
This rework the DFU settings so it supports the SPL and U-Boot image,
as well as the single partition layout we are using by default.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
include/configs/pico-imx6ul.h

index 9905b1eebb512ed0e0f9c565ec9bd1324a2ae1ba..535f0b26dffdfd1229da2727f2f3c24423786226 100644 (file)
 #define DFU_DEFAULT_POLL_TIMEOUT 300
 
 #define CONFIG_DFU_ENV_SETTINGS \
-       "dfu_alt_info=uboot raw 0x2 0x400 mmcpart 1;" \
-               "boot part 0 1;" \
-               "/zImage ext4 0 1;" \
-               "/imx6ul-pico-hobbit.dtb ext4 0 1;" \
-               "rootfs part 0 2\0" \
+       "dfu_alt_info=" \
+               "spl raw 0x2 0x400 mmcpart 1;" \
+               "u-boot raw 0x8a 0x400 mmcpart 1;" \
+               "/boot/zImage ext4 0 1;" \
+               "/boot/imx6ul-pico-hobbit.dtb ext4 0 1;" \
+               "rootfs part 0 1\0" \
 
 #define BOOTMENU_ENV \
        "bootmenu_0=Boot using PICO-Hobbit baseboard=" \