Skip to contentSkip to conversation

beaglebone-yocto: Remove the redundant kernel-devicetree

PATCH In review Kevin Hao 2 participants 3 messages Jan 2, 2024

lore
Share & tools
lore

Kevin Hao

author
#0 lore raw

PATCH 1/2 beaglebone-yocto: Remove the redundant kernel-devicetree

The kernel-devicetree is set in both MACHINE_ESSENTIAL_EXTRA_RDEPENDS and MACHINE_EXTRA_RRECOMMENDS. Since it is an essential package for boot, drop the one in MACHINE_EXTRA_RRECOMMENDS.

[YOCTO #15229]

---
 meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +1 -1
index 9f389711b3b4..0c1741235368 100644
@@ -4,7 +4,7 @@
 
 PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
 
-MACHINE_EXTRA_RRECOMMENDS = "kernel-modules kernel-devicetree"
+MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
 
 EXTRA_IMAGEDEPENDS += "virtual/bootloader"
 
Signature · 1 line
2.39.2
author
#1 lore raw

PATCH 2/2 beaglebone-yocto: Remove the obsolete variables for uImage

Now we only support the zImage kernel type for this machine, so remove the obsolete variables for uImage kernel type.

[YOCTO #15232]

---
 meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 3 ---
 1 file changed, 3 deletions(-)
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +0 -3
index 0c1741235368..06a49f45f76a 100644
@@ -24,15 +24,12 @@ PREFERRED_VERSION_linux-yocto ?= "6.1%"
 
 KERNEL_IMAGETYPE = "zImage"
 KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
-KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 
 PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
 
 SPL_BINARY = "MLO"
 UBOOT_SUFFIX = "img"
 UBOOT_MACHINE = "am335x_evm_defconfig"
-UBOOT_ENTRYPOINT = "0x80008000"
-UBOOT_LOADADDRESS = "0x80008000"
 
 MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
 
Signature · 1 line
2.39.2
#2 lore raw
In reply to Kevin Hao

Please follow https://docs.yoctoproject.org/dev/contributor-guide/submit-changes.html#fixing-your-from-identity

Quoted 37 lines · Kevin Hao via lists.yoctoproject.org

The kernel-devicetree is set in both MACHINE_ESSENTIAL_EXTRA_RDEPENDS and MACHINE_EXTRA_RRECOMMENDS. Since it is an essential package for boot, drop the one in MACHINE_EXTRA_RRECOMMENDS.

[YOCTO #15229]

---
 meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +1 -1
index 9f389711b3b4..0c1741235368 100644
@@ -4,7 +4,7 @@
 
 PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
 
-MACHINE_EXTRA_RRECOMMENDS = "kernel-modules kernel-devicetree"
+MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
 
 EXTRA_IMAGEDEPENDS += "virtual/bootloader"
 
Signature · 11 lines
2.39.2



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13239): https://lists.yoctoproject.org/g/poky/message/13239
Mute This Topic: https://lists.yoctoproject.org/mt/103479682/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com