Skip to contentSkip to conversation

ti33x: allow different virtual/bootloader

PATCH In review Vivien Didelot 3 participants 5 messages Mar 9, 2021 – Mar 10, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti33x: allow different virtual/bootloader

Boards like the beaglebone currently hardcode "u-boot" as a dependency for the image and the wic format, and this prevents one from choosing a different bootloader via:

PREFERRED_PROVIDER_virtual/bootloader = "non-u-boot-bootloader"

Depending on "virtual/bootloader" instead of "u-boot" fixes this.

---
 conf/machine/include/ti33x.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
conf/machine/include/ti33x.inc +2 -2
index abfd7ec7..b3c3b6d7 100644
@@ -51,7 +51,7 @@ UBOOT_SUFFIX = "img"
 # and u-boot.
 UBI_VOLNAME = "rootfs"
 
-EXTRA_IMAGEDEPENDS += "u-boot"
+EXTRA_IMAGEDEPENDS += "virtual/bootloader"
 
 # List common SoC features, may need to add touchscreen for specific machines
 MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu"
@@ -63,4 +63,4 @@ TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x"
 IMAGE_FSTYPES += "tar.xz wic.xz"
 WKS_FILE ?= "sdimage-2part.wks"
 IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
-do_image_wic[depends] += "u-boot:do_deploy"
+do_image_wic[depends] += "virtual/bootloader:do_deploy"
Signature · 1 line
2.30.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Vivien Didelot

Boards like the beaglebone currently hardcode "u-boot" as a dependency for the image and the wic format, and this prevents one from choosing a different bootloader via:

PREFERRED_PROVIDER_virtual/bootloader = "non-u-boot-bootloader"

Depending on "virtual/bootloader" instead of "u-boot" fixes this.

Could have added Suggested-by: here. Oh, well...

Quoted 26 lines
---
 conf/machine/include/ti33x.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
conf/machine/include/ti33x.inc +2 -2
index abfd7ec7..b3c3b6d7 100644
@@ -51,7 +51,7 @@ UBOOT_SUFFIX = "img"
 # and u-boot.
 UBI_VOLNAME = "rootfs"
 
-EXTRA_IMAGEDEPENDS += "u-boot"
+EXTRA_IMAGEDEPENDS += "virtual/bootloader"
 
 # List common SoC features, may need to add touchscreen for specific machines
 MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu"
@@ -63,4 +63,4 @@ TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x"
 IMAGE_FSTYPES += "tar.xz wic.xz"
 WKS_FILE ?= "sdimage-2part.wks"
 IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
-do_image_wic[depends] += "u-boot:do_deploy"
+do_image_wic[depends] += "virtual/bootloader:do_deploy"
Signature · 1 line
2.30.1
Signature · 4 lines
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964
#2 lore raw

Hi Denys,

Quoted 7 lines · On Tue, 09 Mar 2021 15:34:13 -0500 Denys Dmytriyenko <[email protected]> wrote:
Quoted 6 lines · Vivien Didelot

Boards like the beaglebone currently hardcode "u-boot" as a dependency for the image and the wic format, and this prevents one from choosing a different bootloader via:

PREFERRED_PROVIDER_virtual/bootloader = "non-u-boot-bootloader"

Quoted 7 lines
Quoted 3 lines

Depending on "virtual/bootloader" instead of "u-boot" fixes this.

Could have added Suggested-by: here. Oh, well...

Oops I messed up, can you please add your address as Suggested-by:, and set the author address to my Signed-off-by: address? Otherwise I can resend if that is simpler.

Thank you,
Vivien

#3 lore raw
Quoted 14 lines · Vivien Didelot

Hi Denys,

Quoted 11 lines · On Tue, 09 Mar 2021 15:34:13 -0500 Denys Dmytriyenko <[email protected]> wrote:
Quoted 9 lines · Vivien Didelot

Boards like the beaglebone currently hardcode "u-boot" as a dependency for the image and the wic format, and this prevents one from choosing a different bootloader via:

PREFERRED_PROVIDER_virtual/bootloader = "non-u-boot-bootloader"

Depending on "virtual/bootloader" instead of "u-boot" fixes this.

Quoted 7 lines
Quoted 3 lines

Could have added Suggested-by: here. Oh, well...

Oops I messed up, can you please add your address as Suggested-by:, and set the author address to my Signed-off-by: address? Otherwise I can resend if that is simpler.

Sorry, I won't be able to change anything in the patch. So you better off re-sending a v2, if you want.

Signature · 1 line
Denys
#4 lore raw
Quoted 17 lines · Denys Dmytriyenko
Quoted 16 lines · Vivien Didelot

Hi Denys,

Quoted 13 lines · On Tue, 09 Mar 2021 15:34:13 -0500 Denys Dmytriyenko <[email protected]> wrote:
Quoted 9 lines · Vivien Didelot

Boards like the beaglebone currently hardcode "u-boot" as a dependency for the image and the wic format, and this prevents one from choosing a different bootloader via:

PREFERRED_PROVIDER_virtual/bootloader = "non-u-boot-bootloader"

Depending on "virtual/bootloader" instead of "u-boot" fixes this.

Could have added Suggested-by: here. Oh, well...

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Oops I messed up, can you please add your address as Suggested-by:, and set the author address to my Signed-off-by: address? Otherwise I can resend if that is simpler.

Sorry, I won't be able to change anything in the patch. So you better off re-sending a v2, if you want.

Denys,Vivien,

Updated Suggested-by and pushed to dunfell-next.
https://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/commit/?h=dunfell-next&id=9ca1472eef933748b94855d45dc0ab0c14884486

Quoted 5 lines