Skip to contentSkip to conversation

Enable Fastboot(UUU) for O4-iMX6ULL-NANO boards

PATCH RESEND Superseded Oleh Kravchenko 2 participants 5 messages Dec 19, 2021 – Dec 20, 2021

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 Enable Fastboot(UUU) for O4-iMX6ULL-NANO boards

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

---
 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(-)
arch/arm/dts/o4-imx-nano.dts +2 -2
index 54d32f9dd4..8cc3d46997 100644
@@ -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>;
 		};
configs/ev-imx280-nano-x-mb_defconfig +5 -0
index 10f2ec9333..4188286825 100644
@@ -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
configs/o4-imx6ull-nano_defconfig +5 -0
index 384e6826a7..e8071cb791 100644
@@ -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
Signature · 1 line
2.32.0
#1 lore raw
Quoted 24 lines · Oleh Kravchenko

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

---
 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(-)
arch/arm/dts/o4-imx-nano.dts +1 -1
index 54d32f9dd4..8cc3d46997 100644
@@ -29,7 +29,7 @@
 			gpios = <&pcf8574a 0 GPIO_ACTIVE_LOW>;
 		};
 
-		led1{
+		led1 {
 			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&pcf8574a 1 GPIO_ACTIVE_LOW>;
 		};

arch/arm/dts/o4-imx-nano.dts line 50

Quoted 8 lines
arch/arm/dts/o4-imx-nano.dts +1 -1
@@ -44,7 +44,7 @@
 			gpios = <&pcf8574a 3 GPIO_ACTIVE_LOW>;
 		};
 
-		led4{
+		led4 {
 			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&pcf8574a 4 GPIO_ACTIVE_LOW>;
 		};

These dt changes are just whitespace? Are they resyncing with the upstream dts as well? But, unrelated, changes, yes?

Signature · 1 line
Tom
#2 lore raw

Hello Tom,

20.12.21 15:50, Tom Rini пише:

Quoted 4 lines

These dt changes are just whitespace? Are they resyncing with the upstream dts as well? But, unrelated, changes, yes?

Yes, yes and yes :)

Signature · 2 lines
Best regards,
Oleh Kravchenko
#3 lore raw
Quoted 9 lines · Oleh Kravchenko

Hello Tom,

20.12.21 15:50, Tom Rini пише:

Quoted 4 lines

These dt changes are just whitespace? Are they resyncing with the upstream dts as well? But, unrelated, changes, yes?

Yes, yes and yes :)

OK, please v2 without them, thanks!

Signature · 1 line
Tom
#4 lore raw

20.12.21 15:57, Tom Rini пише:

Quoted 5 lines · Oleh Kravchenko
Quoted 4 lines

Hello Tom,

20.12.21 15:50, Tom Rini пише:

Quoted 1 line
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

These dt changes are just whitespace? Are they resyncing with the upstream dts as well? But, unrelated, changes, yes?

Yes, yes and yes :)

OK, please v2 without them, thanks!

I will do separate patch for this, ok?

Signature · 2 lines
Best regards,
Oleh Kravchenko