Skip to contentSkip to conversation

yocto-bsp: add BBG dtb

PATCH In review Anders Darander 2 participants 6 messages May 31, 2016 – Jul 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 yocto-bsp: add BBG dtb

As 4.4 is the default kernel version, we can add the dtb for the beaglebon green to the list of dtb's to generate.

---
 meta-yocto-bsp/conf/machine/beaglebone.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-yocto-bsp/conf/machine/beaglebone.conf +1 -1
index ea50acc..ad14a47 100644
@@ -25,7 +25,7 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 PREFERRED_VERSION_linux-yocto ?= "4.4%"
 
 KERNEL_IMAGETYPE = "zImage"
-KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb"
+KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
 KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 
 SPL_BINARY = "MLO"
Signature · 1 line
2.8.1
#1 lore raw

Ping

Quoted 21 lines · Anders Darander

As 4.4 is the default kernel version, we can add the dtb for the beaglebon green to the list of dtb's to generate.

---
 meta-yocto-bsp/conf/machine/beaglebone.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-yocto-bsp/conf/machine/beaglebone.conf +1 -1
index ea50acc..ad14a47 100644
@@ -25,7 +25,7 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 PREFERRED_VERSION_linux-yocto ?= "4.4%"
 
 KERNEL_IMAGETYPE = "zImage"
-KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb"
+KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
 KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 
 SPL_BINARY = "MLO"
#3 lore raw
Quoted 7 lines · Burton, Ross
Quoted 3 lines · Anders Darander

As 4.4 is the default kernel version, we can add the dtb for the beaglebon green
to the list of dtb's to generate.

Default but not only: this breaks builds with the 4.1 kernel:

Ok, then I guess this one has to wait until we drop 4.1 (probably after 2.2 releases).

How does the autobuilder select the 4.1-kernel? I guess it wouldn't be possible to remove the BBG at the same time...

Thanks for the feedback!

Cheers,
Anders

Signature · 2 lines
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
#4 lore raw
Quoted 3 lines · Anders Darander

How does the autobuilder select the 4.1-kernel? I guess it wouldn't be possible to remove the BBG at the same time...

The AB just selected the poky-lsb distribution, which in turn sets PREFERRED_VERSION.

Ross

#5 lore raw
Quoted 8 lines · Burton, Ross
Quoted 2 lines · Anders Darander

How does the autobuilder select the 4.1-kernel? I guess it wouldn't be possible to remove the BBG at the same time...

The AB just selected the poky-lsb distribution, which in turn sets PREFERRED_VERSION.

Thanks, I had some trouble finding it prior to your directions.

I'll make a note to resubmit the patch later, when the 4.1 kernel has been removed.

Cheers,
Anders

Signature · 2 lines
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB