pico-imx6ul, pico-imx7d: Use eMMC user partition by default
PATCH 1/2 pico-imx6ul, pico-imx7d: Use eMMC user partition by default
After discussing with TechNexion about how its default setting, it is better to install on the eMMC user partition by default, when using DFU, so it works out of box for majority of users.
Signed-off-by Otavio Salvador <[email protected]>
---
include/configs/pico-imx6ul.h | 4 ++-- include/configs/pico-imx7d.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
include/configs/pico-imx6ul.h +2 -2
@@ -56,8 +56,8 @@#define CONFIG_DFU_ENV_SETTINGS \ "dfu_alt_info=" \ - "spl raw 0x2 0x400 mmcpart 1;" \ - "u-boot raw 0x8a 0x400 mmcpart 1;" \ + "spl raw 0x2 0x400;" \ + "u-boot raw 0x8a 0x400;" \ "/boot/zImage ext4 0 1;" \ "/boot/imx6ul-pico-hobbit.dtb ext4 0 1;" \ "/boot/imx6ul-pico-pi.dtb ext4 0 1;" \
include/configs/pico-imx7d.h +2 -2
@@ -45,8 +45,8 @@#define CONFIG_DFU_ENV_SETTINGS \ "dfu_alt_info=" \ - "spl raw 0x2 0x400 mmcpart 1;" \ - "u-boot raw 0x8a 0x400 mmcpart 1;" \ + "spl raw 0x2 0x400;" \ + "u-boot raw 0x8a 0x400;" \ "/boot/zImage ext4 0 1;" \ "/boot/imx7d-pico-hobbit.dtb ext4 0 1;" \ "/boot/imx7d-pico-pi.dtb ext4 0 1;" \
Signature · 1 line
2.19.0
PATCH 2/2 pico-imx6ul, pico-imx7d: Enable USB and PXE boot support
Signed-off-by Otavio Salvador <[email protected]>
---
include/configs/pico-imx6ul.h | 2 ++ include/configs/pico-imx7d.h | 2 ++ 2 files changed, 4 insertions(+)
include/configs/pico-imx6ul.h +2 -0
@@ -103,6 +103,8 @@#define BOOT_TARGET_DEVICES (func) \ func(MMC, mmc, 0) \ + func(USB, usb, 0) \ + func(PXE, pxe, na) \ func(DHCP, dhcp, na)#include <config_distro_bootcmd.h>
include/configs/pico-imx7d.h +2 -0
@@ -92,6 +92,8 @@#define BOOT_TARGET_DEVICES (func) \ func(MMC, mmc, 0) \ + func(USB, usb, 0) \ + func(PXE, pxe, na) \ func(DHCP, dhcp, na)#include <config_distro_bootcmd.h>
Signature · 1 line
2.19.0
Fabio Estevam
reviewerPATCH 2/2 pico-imx6ul, pico-imx7d: Enable USB and PXE boot support
Quoted 1 line · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>
Please provide a commit log stating the motivation for doing this.
Fabio Estevam
reviewerPATCH 1/2 pico-imx6ul, pico-imx7d: Use eMMC user partition by default
In reply to Otavio SalvadorQuoted 5 lines · Otavio Salvador
After discussing with TechNexion about how its default setting, it is better to install on the eMMC user partition by default, when using DFU, so it works out of box for majority of users.
Signed-off-by Otavio Salvador <[email protected]>
Reviewed-by Fabio Estevam <[email protected]>