[PATCH] Enable Fastboot(UUU) for O4-iMX6ULL-NANO boards

Oleh Kravchenko oleg at kaa.org.ua
Sun Dec 19 22:44:51 CET 2021


Make O4-iMX6ULL-NANO-based board compatible with Yocto layer meta-out4 and
fix device flashing by UUU (aka MFG Tools).

Signed-off-by: Oleh Kravchenko <oleg at kaa.org.ua>
---
 arch/arm/dts/o4-imx-nano.dts          | 4 ++--
 configs/ev-imx280-nano-x-mb_defconfig | 5 +++++
 configs/o4-imx6ull-nano_defconfig     | 5 +++++
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/o4-imx-nano.dts b/arch/arm/dts/o4-imx-nano.dts
index 54d32f9dd4..8cc3d46997 100644
--- a/arch/arm/dts/o4-imx-nano.dts
+++ b/arch/arm/dts/o4-imx-nano.dts
@@ -29,7 +29,7 @@
 			gpios = <&pcf8574a 0 GPIO_ACTIVE_LOW>;
 		};
 
-		led1{
+		led1 {
 			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&pcf8574a 1 GPIO_ACTIVE_LOW>;
 		};
@@ -44,7 +44,7 @@
 			gpios = <&pcf8574a 3 GPIO_ACTIVE_LOW>;
 		};
 
-		led4{
+		led4 {
 			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&pcf8574a 4 GPIO_ACTIVE_LOW>;
 		};
diff --git a/configs/ev-imx280-nano-x-mb_defconfig b/configs/ev-imx280-nano-x-mb_defconfig
index 10f2ec9333..4188286825 100644
--- a/configs/ev-imx280-nano-x-mb_defconfig
+++ b/configs/ev-imx280-nano-x-mb_defconfig
@@ -49,3 +49,8 @@ CONFIG_USB=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
 CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_FASTBOOT_MMC_BOOT_SUPPORT=y
+CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
+CONFIG_FASTBOOT_UUU_SUPPORT=y
+CONFIG_USB_GADGET_PRODUCT_NUM=0x0001
+CONFIG_USB_GADGET_VENDOR_NUM=0x3016
diff --git a/configs/o4-imx6ull-nano_defconfig b/configs/o4-imx6ull-nano_defconfig
index 384e6826a7..e8071cb791 100644
--- a/configs/o4-imx6ull-nano_defconfig
+++ b/configs/o4-imx6ull-nano_defconfig
@@ -57,3 +57,8 @@ CONFIG_USB=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
 CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_FASTBOOT_MMC_BOOT_SUPPORT=y
+CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
+CONFIG_FASTBOOT_UUU_SUPPORT=y
+CONFIG_USB_GADGET_PRODUCT_NUM=0x0001
+CONFIG_USB_GADGET_VENDOR_NUM=0x3016
-- 
2.32.0



More information about the U-Boot mailing list