diff mbox series

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

Message ID 20211219214720.19363-1-oleg@kaa.org.ua
State Superseded
Delegated to: Stefano Babic
Headers show
Series [RESEND] Enable Fastboot(UUU) for O4-iMX6ULL-NANO boards | expand

Commit Message

Oleh Kravchenko Dec. 19, 2021, 9:47 p.m. UTC
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@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(-)

Comments

Tom Rini Dec. 20, 2021, 1:50 p.m. UTC | #1
On Sun, Dec 19, 2021 at 11:47:21PM +0200, Oleh Kravchenko wrote:
> 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@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>;
>  		};

These dt changes are just whitespace?  Are they resyncing with the
upstream dts as well?  But, unrelated, changes, yes?
Oleh Kravchenko Dec. 20, 2021, 1:52 p.m. UTC | #2
Hello Tom,

20.12.21 15:50, Tom Rini пише:
> 
> These dt changes are just whitespace?  Are they resyncing with the
> upstream dts as well?  But, unrelated, changes, yes?
> 

Yes, yes and yes :)
Tom Rini Dec. 20, 2021, 1:57 p.m. UTC | #3
On Mon, Dec 20, 2021 at 03:52:21PM +0200, Oleh Kravchenko wrote:
> Hello Tom,
> 
> 20.12.21 15:50, Tom Rini пише:
> > 
> > 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!
Oleh Kravchenko Dec. 20, 2021, 1:58 p.m. UTC | #4
20.12.21 15:57, Tom Rini пише:
> On Mon, Dec 20, 2021 at 03:52:21PM +0200, Oleh Kravchenko wrote:
>> Hello Tom,
>>
>> 20.12.21 15:50, Tom Rini пише:
>>>
>>> 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?
diff mbox series

Patch

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