pico-imx6ul, pico-imx7d: Use eMMC user partition by default
PATCH v2 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.
---
Changes in v2: None
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 v2 2/2 pico-imx6ul, pico-imx7d: Enable USB and PXE boot support
This allow the use of a USB storage or PXE network booting as fallback, allowing for example for manufacturing installation of eMMC storage in an easy way.
---
Changes in v2:
- improve commit log (fabio)
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 v2 2/2 pico-imx6ul, pico-imx7d: Enable USB and PXE boot support
include/configs/pico-imx7d.h line 95
Quoted 10 lines · Otavio Salvador
#include <
config_distro_bootcmd.h>include/configs/pico-imx7d.h +1
-0@@ -92,6 +92,8 @@#define BOOT_TARGET_DEVICES (func) \ func(MMC, mmc, 0) \ + func(USB, usb, 0) \
We still need to add USB host suport for this board, but this can be done in a separate patch: