override syntax fixup
PATCH v2 1/1 override syntax fixup
The _virtual notation is not an override. These syntax "fixes" need to be reverted.
In the case of the kernel override, when it was added, the rock-pi-e needed the latest kernel (linux-yocto-dev) but now the default linux-yocto kernel will suffice. So this mistake actually switched the rock-pi-e from linux-yocto-dev back to linux-yocto inadvertently but at a time when linux-yocto-dev was no longer required.
In the case of the bootloader overrides, u-boot was always the default, so these overrides were always redundant.
Therefore, in the end, simply removing these overrides is the best way forward (considering these aren't doing anything, and the builds are working fine regardless).
--- conf/machine/include/rk3288.inc | 1 - conf/machine/include/rk3328.inc | 2 -- conf/machine/include/rk3399.inc | 2 -- conf/machine/include/rockchip-defaults.inc | 1 - conf/machine/rock-pi-e.conf | 2 -- 5 files changed, 8 deletions(-)
conf/machine/include/rk3288.inc +0 -1
@@ -12,5 +12,4 @@ SERIAL_CONSOLES = "115200;ttyS2" KBUILD_DEFCONFIG ?= "multi_v7_defconfig" KERNEL_IMAGETYPE = "zImage" -PREFERRED_PROVIDER:virtual/bootloader ?= "u-boot" UBOOT_SUFFIX ?= "bin"
conf/machine/include/rk3328.inc +0 -2
@@ -19,5 +19,3 @@ TFA_BUILD_TARGET = "bl31" UBOOT_SUFFIX ?= "itb" UBOOT_ENTRYPOINT ?= "0x06000000" - -PREFERRED_PROVIDER:virtual/bootloader ?= "u-boot"
conf/machine/include/rk3399.inc +0 -2
@@ -19,5 +19,3 @@ TFA_BUILD_TARGET = "bl31" UBOOT_SUFFIX ?= "itb" UBOOT_ENTRYPOINT ?= "0x06000000" - -PREFERRED_PROVIDER:virtual/bootloader ?= "u-boot"
conf/machine/include/rockchip-defaults.inc +0 -1
@@ -5,7 +5,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" KCONFIG_MODE ?= "alldefconfig" # xserver -PREFERRED_PROVIDER:virtual/xserver = "xserver-xorg" XSERVER = " \ xserver-xorg \ xserver-xorg-utils \
conf/machine/rock-pi-e.conf +0 -2
@@ -7,9 +7,7 @@ require conf/machine/include/rk3328.inc MACHINEOVERRIDES =. "rock-pi-e:" -PREFERRED_PROVIDER:virtual/kernel = "linux-yocto-dev" KERNEL_DEVICETREE = "rockchip/rk3328-rock-pi-e.dtb" MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" -PREFERRED_PROVIDER:virtual/bootloader = "u-boot" UBOOT_MACHINE = "rock-pi-e-rk3328_defconfig"
Signature · 1 line
2.34.1.75.gabe6bb3905
Quoted 2 lines · Trevor Woerner
The
_virtualnotation is not an override. These syntax "fixes" need to be reverted.
Looks good
Quoted 101 lines
In the case of the kernel override, when it was added, the rock-pi-e needed the latest kernel (linux-yocto-dev) but now the default linux-yocto kernel will suffice. So this mistake actually switched the rock-pi-e from linux-yocto-dev back to linux-yocto inadvertently but at a time when linux-yocto-dev was no longer required.
In the case of the bootloader overrides, u-boot was always the default, so these overrides were always redundant.
Therefore, in the end, simply removing these overrides is the best way forward (considering these aren't doing anything, and the builds are working
fine regardless).Signed-off-by Trevor Woerner <[email protected]>--- conf/machine/include/rk3288.inc | 1 - conf/machine/include/rk3328.inc | 2 -- conf/machine/include/rk3399.inc | 2 -- conf/machine/include/rockchip-defaults.inc | 1 - conf/machine/rock-pi-e.conf | 2 -- 5 files changed, 8 deletions(-)conf/machine/include/rk3288.inc +0
-1@@ -12,5 +12,4 @@ SERIAL_CONSOLES = "115200;ttyS2" KBUILD_DEFCONFIG ?= "multi_v7_defconfig" KERNEL_IMAGETYPE = "zImage" -PREFERRED_PROVIDER:virtual/bootloader ?= "u-boot" UBOOT_SUFFIX ?= "bin"conf/machine/include/rk3328.inc +0
-2@@ -19,5 +19,3 @@ TFA_BUILD_TARGET = "bl31" UBOOT_SUFFIX ?= "itb" UBOOT_ENTRYPOINT ?= "0x06000000" - -PREFERRED_PROVIDER:virtual/bootloader ?= "u-boot"conf/machine/include/rk3399.inc +0
-2@@ -19,5 +19,3 @@ TFA_BUILD_TARGET = "bl31" UBOOT_SUFFIX ?= "itb" UBOOT_ENTRYPOINT ?= "0x06000000" - -PREFERRED_PROVIDER:virtual/bootloader ?= "u-boot"conf/machine/include/rockchip-defaults.inc +0
-1@@ -5,7 +5,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" KCONFIG_MODE ?= "alldefconfig" # xserver -PREFERRED_PROVIDER:virtual/xserver = "xserver-xorg" XSERVER = " \ xserver-xorg \ xserver-xorg-utils \conf/machine/rock-pi-e.conf +0
-3@@ -7,9 +7,7 @@ require conf/machine/include/rk3328.inc MACHINEOVERRIDES =. "rock-pi-e:" -PREFERRED_PROVIDER:virtual/kernel = "linux-yocto-dev" KERNEL_DEVICETREE = "rockchip/rk3328-rock-pi-e.dtb" MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" -PREFERRED_PROVIDER:virtual/bootloader = "u-boot" UBOOT_MACHINE = "rock-pi-e-rk3328_defconfig" --2.34.1.75.gabe6bb3905
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#55550):
https://lists.yoctoproject.org/g/yocto/message/55550
Mute This Topic: https://lists.yoctoproject.org/mt/87658206/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Trevor Woerner
AppliedQuoted 16 lines · Trevor Woerner
The
_virtualnotation is not an override. These syntax "fixes" need to be reverted.In the case of the kernel override, when it was added, the rock-pi-e needed the latest kernel (linux-yocto-dev) but now the default linux-yocto kernel will suffice. So this mistake actually switched the rock-pi-e from linux-yocto-dev back to linux-yocto inadvertently but at a time when linux-yocto-dev was no longer required.
In the case of the bootloader overrides, u-boot was always the default, so these overrides were always redundant.
Therefore, in the end, simply removing these overrides is the best way forward (considering these aren't doing anything, and the builds are working fine regardless).
Quoted 8 lines
Signed-off-by Trevor Woerner <[email protected]>--- conf/machine/include/rk3288.inc | 1 - conf/machine/include/rk3328.inc | 2 -- conf/machine/include/rk3399.inc | 2 -- conf/machine/include/rockchip-defaults.inc | 1 - conf/machine/rock-pi-e.conf | 2 -- 5 files changed, 8 deletions(-)
Applied to meta-rockchip, master.