Skip to contentSkip to conversation

conf/machine: add pru-uio dtbs in KERNEL_DEVICETREE for am3/am4/am5/k2g

PATCH In review Hongmei Gou 3 participants 4 messages Sep 5, 2017 – Sep 26, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conf/machine: add pru-uio dtbs in KERNEL_DEVICETREE for am3/am4/am5/k2g

---
 conf/machine/am57xx-evm.conf   | 3 ++-
 conf/machine/include/ti33x.inc | 2 +-
 conf/machine/include/ti43x.inc | 2 +-
 conf/machine/k2g-evm.conf      | 3 ++-
 4 files changed, 6 insertions(+), 4 deletions(-)
conf/machine/am57xx-evm.conf +2 -1
index 3bc2d13..78f56e6 100644
@@ -14,7 +14,8 @@ KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb \
                     am57xx-evm.dtb am57xx-evm-cam-mt9t111.dtb am57xx-evm-cam-ov10635.dtb \
                     am57xx-evm-reva3.dtb am57xx-evm-reva3-cam-mt9t111.dtb am57xx-evm-reva3-cam-ov10635.dtb \
                     am571x-idk.dtb am571x-idk-lcd-osd101t2045.dtb am571x-idk-lcd-osd101t2587.dtb \
-                    am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-osd101t2587.dtb"
+                    am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-osd101t2587.dtb \
+                    ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"
 
 UBOOT_MACHINE = "am57xx_evm_config"
 
conf/machine/include/ti33x.inc +1 -1
index cadc7df..4014f79 100644
@@ -26,7 +26,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
 KERNEL_IMAGETYPE = "zImage"
 
-KERNEL_DEVICETREE = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb am335x-icev2.dtb"
+KERNEL_DEVICETREE = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb am335x-icev2.dtb ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am335x-icev2-pru-excl-uio.dtb', '', d)}"
 
 UBOOT_ARCH = "arm"
 UBOOT_MACHINE = "am335x_evm_config"
conf/machine/include/ti43x.inc +1 -1
index 2d563ee..243bc5a 100644
@@ -26,7 +26,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
 KERNEL_IMAGETYPE = "zImage"
 
-KERNEL_DEVICETREE = "am43x-epos-evm.dtb am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb"
+KERNEL_DEVICETREE = "am43x-epos-evm.dtb am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"
 
 UBOOT_ARCH = "arm"
 UBOOT_MACHINE = "am43xx_evm_config"
conf/machine/k2g-evm.conf +2 -1
index 3222868..da0234b 100644
@@ -6,7 +6,8 @@ require conf/machine/include/k2g.inc
 
 MACHINE_FEATURES += "alsa"
 
-KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-lcd.dtb keystone-k2g-ice.dtb"
+KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-lcd.dtb keystone-k2g-ice.dtb \
+                     ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'keystone-k2g-ice-pru-excl-uio.dtb', '', d)}"
 
 UBOOT_MACHINE = "k2g_evm_config"
 
Signature · 1 line
1.9.1
#1 lore raw

Ping...

Quoted 90 lines

-----Original Message-----
From: Gou, Hongmei
Sent: Tuesday, September 05, 2017 6:48 PM
To: [email protected]
Cc: Gou, Hongmei
Subject: [meta-ti] [PATCH] conf/machine: add pru-uio dtbs in KERNEL_DEVICETREE for am3/am4/am5/k2g

---
 conf/machine/am57xx-evm.conf   | 3 ++-
 conf/machine/include/ti33x.inc | 2 +-
 conf/machine/include/ti43x.inc | 2 +-
 conf/machine/k2g-evm.conf      | 3 ++-
 4 files changed, 6 insertions(+), 4 deletions(-)
conf/machine/am57xx- renamed from conf/machine/am57xx-evm.conf +0 -0

evm.conf index 3bc2d13..78f56e6 100644

conf/machine/am57xx-evm.conf +0 -1
@@ -14,7 +14,8 @@ KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb
 am57xx-beagle-x15-revb1.dtb \
                     am57xx-evm.dtb am57xx-evm-cam-mt9t111.dtb am57xx-evm-
 cam-ov10635.dtb \
                     am57xx-evm-reva3.dtb am57xx-evm-reva3-cam-mt9t111.dtb
 am57xx-evm-reva3-cam-ov10635.dtb \
                     am571x-idk.dtb am571x-idk-lcd-osd101t2045.dtb am571x-idk-lcd-
 osd101t2587.dtb \
-                    am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-

osd101t2587.dtb"
+ am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-
osd101t2587.dtb \
+ ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am572x-idk-
pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"

UBOOT_MACHINE = "am57xx_evm_config"

conf/machine/include/ti33x.inc +0 -1
index cadc7df..4014f79 100644
@@ -26,7 +26,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
 KERNEL_IMAGETYPE = "zImage"
 
-KERNEL_DEVICETREE = "am335x-evm.dtb am335x-evmsk.dtb am335x-

bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb am335x-icev2.dtb" +KERNEL_DEVICETREE = "am335x-evm.dtb am335x-evmsk.dtb am335x- bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb am335x-icev2.dtb ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am335x-icev2-pru-excl- uio.dtb', '', d)}"

UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am335x_evm_config"

conf/machine/include/ti43x.inc +0 -1
index 2d563ee..243bc5a 100644
@@ -26,7 +26,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
 KERNEL_IMAGETYPE = "zImage"
 
-KERNEL_DEVICETREE = "am43x-epos-evm.dtb am437x-gp-evm.dtb am437x-

gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb" +KERNEL_DEVICETREE = "am43x-epos-evm.dtb am437x-gp-evm.dtb am437x- gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl- uio.dtb', '', d)}"

UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am43xx_evm_config"

conf/machine/k2g-evm.conf index renamed from conf/machine/k2g-evm.conf +0 -0

3222868..da0234b 100644

conf/machine/k2g-evm.conf +0 -1
@@ -6,7 +6,8 @@ require conf/machine/include/k2g.inc
 
 MACHINE_FEATURES += "alsa"
 
-KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-lcd.dtb

keystone-k2g-ice.dtb"
+KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-lcd.dtb keystone-k2g-ice.dtb \
+ ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'keystone-
k2g-ice-pru-excl-uio.dtb', '', d)}"

UBOOT_MACHINE = "k2g_evm_config"

--
1.9.1

#2 lore raw

Same comment as with linux-ti-staging patch.

Quoted 98 lines · Hongmei

Ping...

Quoted 90 lines

-----Original Message-----
From: Gou, Hongmei
Sent: Tuesday, September 05, 2017 6:48 PM
To: [email protected]
Cc: Gou, Hongmei
Subject: [meta-ti] [PATCH] conf/machine: add pru-uio dtbs in KERNEL_DEVICETREE for am3/am4/am5/k2g

---
 conf/machine/am57xx-evm.conf   | 3 ++-
 conf/machine/include/ti33x.inc | 2 +-
 conf/machine/include/ti43x.inc | 2 +-
 conf/machine/k2g-evm.conf      | 3 ++-
 4 files changed, 6 insertions(+), 4 deletions(-)
conf/machine/am57xx- renamed from conf/machine/am57xx-evm.conf +0 -0

evm.conf index 3bc2d13..78f56e6 100644

conf/machine/am57xx-evm.conf +0 -1
@@ -14,7 +14,8 @@ KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb
 am57xx-beagle-x15-revb1.dtb \
                     am57xx-evm.dtb am57xx-evm-cam-mt9t111.dtb am57xx-evm-
 cam-ov10635.dtb \
                     am57xx-evm-reva3.dtb am57xx-evm-reva3-cam-mt9t111.dtb
 am57xx-evm-reva3-cam-ov10635.dtb \
                     am571x-idk.dtb am571x-idk-lcd-osd101t2045.dtb am571x-idk-lcd-
 osd101t2587.dtb \
-                    am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-

osd101t2587.dtb"
+ am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-
osd101t2587.dtb \
+ ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am572x-idk-
pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"

UBOOT_MACHINE = "am57xx_evm_config"

conf/machine/include/ti33x.inc +0 -1
index cadc7df..4014f79 100644
@@ -26,7 +26,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
 KERNEL_IMAGETYPE = "zImage"
 
-KERNEL_DEVICETREE = "am335x-evm.dtb am335x-evmsk.dtb am335x-

bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb am335x-icev2.dtb" +KERNEL_DEVICETREE = "am335x-evm.dtb am335x-evmsk.dtb am335x- bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb am335x-icev2.dtb ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am335x-icev2-pru-excl- uio.dtb', '', d)}"

UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am335x_evm_config"

conf/machine/include/ti43x.inc +0 -1
index 2d563ee..243bc5a 100644
@@ -26,7 +26,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
 KERNEL_IMAGETYPE = "zImage"
 
-KERNEL_DEVICETREE = "am43x-epos-evm.dtb am437x-gp-evm.dtb am437x-

gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb" +KERNEL_DEVICETREE = "am43x-epos-evm.dtb am437x-gp-evm.dtb am437x- gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl- uio.dtb', '', d)}"

UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am43xx_evm_config"

conf/machine/k2g-evm.conf index renamed from conf/machine/k2g-evm.conf +0 -0

3222868..da0234b 100644

conf/machine/k2g-evm.conf +0 -1
@@ -6,7 +6,8 @@ require conf/machine/include/k2g.inc
 
 MACHINE_FEATURES += "alsa"
 
-KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-lcd.dtb

keystone-k2g-ice.dtb"
+KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-lcd.dtb keystone-k2g-ice.dtb \
+ ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'keystone-
k2g-ice-pru-excl-uio.dtb', '', d)}"

UBOOT_MACHINE = "k2g_evm_config"

--
1.9.1

Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#3 lore raw

Thanks Denys. Sorry I missed checking the morty-next-rel branch.

Quoted 121 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, September 26, 2017 1:02 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] conf/machine: add pru-uio dtbs in KERNEL_DEVICETREE for am3/am4/am5/k2g

Same comment as with linux-ti-staging patch.

Quoted 18 lines · Hongmei

Ping...

Quoted 16 lines

-----Original Message-----
From: Gou, Hongmei
Sent: Tuesday, September 05, 2017 6:48 PM
To: [email protected]
Cc: Gou, Hongmei
Subject: [meta-ti] [PATCH] conf/machine: add pru-uio dtbs in KERNEL_DEVICETREE for am3/am4/am5/k2g

---
 conf/machine/am57xx-evm.conf   | 3 ++-
 conf/machine/include/ti33x.inc | 2 +-
conf/machine/include/ti43x.inc | 2 +-
 conf/machine/k2g-evm.conf      | 3 ++-
 4 files changed, 6 insertions(+), 4 deletions(-)
Quoted 10 lines
Quoted 10 lines
conf/machine/am57xx- renamed from conf/machine/am57xx-evm.conf +0 -0

evm.conf index 3bc2d13..78f56e6 100644

conf/machine/am57xx-evm.conf +0 -0
@@ -14,7 +14,8 @@ KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb
 am57xx-beagle-x15-revb1.dtb \
                     am57xx-evm.dtb am57xx-evm-cam-mt9t111.dtb
 am57xx-evm- cam-ov10635.dtb \
                     am57xx-evm-reva3.dtb

am57xx-evm-reva3-cam-mt9t111.dtb am57xx-evm-reva3-cam-

ov10635.dtb \

Quoted 3 lines
Quoted 3 lines
                     am571x-idk.dtb am571x-idk-lcd-osd101t2045.dtb

am571x-idk-lcd- osd101t2587.dtb \
- am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-

lcd-

Quoted 16 lines
Quoted 16 lines

osd101t2587.dtb"
+ am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb
+ am572x-idk-lcd-
osd101t2587.dtb \
+ ${@base_conditional('ENABLE_TI_UIO_DEVICES',
+ '1', 'am572x-idk-
pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"

UBOOT_MACHINE = "am57xx_evm_config"

(quoted diff) +0 -0

b/conf/machine/include/ti33x.inc index cadc7df..4014f79 100644

conf/machine/include/ti33x.inc +0 -0
@@ -26,7 +26,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
Quoted 4 lines
Quoted 4 lines
conf/machine/include/ti33x.inc +0 -1
 KERNEL_IMAGETYPE = "zImage"
 
-KERNEL_DEVICETREE = "am335x-evm.dtb am335x-evmsk.dtb am335x-

bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb am335x-

icev2.dtb"

Quoted 2 lines
Quoted 2 lines

+KERNEL_DEVICETREE = "am335x-evm.dtb am335x-evmsk.dtb am335x- bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb am335x-

icev2.dtb

Quoted 11 lines
Quoted 11 lines

${@base_conditional('ENABLE_TI_UIO_DEVICES', '1',
'am335x-icev2-pru-excl- uio.dtb', '', d)}"

UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am335x_evm_config"

(quoted diff) +0 -0

b/conf/machine/include/ti43x.inc index 2d563ee..243bc5a 100644

conf/machine/include/ti43x.inc +0 -0
@@ -26,7 +26,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
Quoted 3 lines

conf/machine/include/ti43x.inc PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" · line 29

Quoted 3 lines
conf/machine/include/ti43x.inc +0 -1
 KERNEL_IMAGETYPE = "zImage"
 
-KERNEL_DEVICETREE = "am43x-epos-evm.dtb am437x-gp-evm.dtb

am437x-

Quoted 2 lines
Quoted 2 lines

gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb" +KERNEL_DEVICETREE = "am43x-epos-evm.dtb am437x-gp-evm.dtb

am437x-

Quoted 12 lines
Quoted 12 lines

gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl- uio.dtb', '', d)}"

UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am43xx_evm_config"

conf/machine/k2g-evm.conf +0 -0
index 3222868..da0234b 100644
@@ -6,7 +6,8 @@ require conf/machine/include/k2g.inc
 
Quoted 3 lines

conf/machine/k2g-evm.conf require conf/machine/include/k2g.inc

Quoted 3 lines
conf/machine/k2g-evm.conf +0 -1
 MACHINE_FEATURES += "alsa"
 
-KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-

lcd.dtb

Quoted 2 lines
Quoted 2 lines

keystone-k2g-ice.dtb"
+KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-

lcd.dtb

Quoted 15 lines
Quoted 9 lines

keystone-k2g-ice.dtb \
+ ${@base_conditional('ENABLE_TI_UIO_DEVICES',
+ '1', 'keystone-
k2g-ice-pru-excl-uio.dtb', '', d)}"

UBOOT_MACHINE = "k2g_evm_config"

--
1.9.1

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti