Skip to contentSkip to conversation

pico-imx6ul, pico-imx7d: Use eMMC user partition by default

PATCH Superseded Otavio Salvador 2 participants 4 messages Sep 22, 2018 – Sep 25, 2018 Arm i.MX and Layerscape

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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.

---

 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
index 3d93205535..0fea2d65dd 100644
@@ -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
index 0e770bf41f..614be99d93 100644
@@ -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
#1 lore raw

PATCH 2/2 pico-imx6ul, pico-imx7d: Enable USB and PXE boot support

---

 include/configs/pico-imx6ul.h | 2 ++
 include/configs/pico-imx7d.h  | 2 ++
 2 files changed, 4 insertions(+)
include/configs/pico-imx6ul.h +2 -0
index 0fea2d65dd..8082b74c9c 100644
@@ -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
index 614be99d93..2bc42a04a0 100644
@@ -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