Initial u-boot support for raspberrypi5
cover Initial u-boot support for raspberrypi5
Enable u-boot for the raspberrypi5 via the meta-lts-mixins 'scarthgap/u-boot' branch.
This is initial support for raspberrypi5, not all features (usb, ethernet) are enabled in u-boot yet.
You may need to have a UART dongle plugged into the 'UART' port between 'HDMI0' and 'HDMI1' to get the kernel to boot. Your mileage may vary.
The following changes since commit d072cc8a48571a4af40a937f98e173b5c9468c4f:
rpi-base: Add hifiberry-dacplusadc overlay (2024-03-28 03:35:31 +0000)
are available in the Git repository at:
https://github.com/moto-timo/meta-raspberrypi scarthgap/raspberrypi5_u-boot
https://github.com/moto-timo/meta-raspberrypi/tree/scarthgap/raspberrypi5_u-boot
Tim Orling (3):
layer.conf: rpi5 recommends lts-u-boot-mixin
u-boot: re-enable rapsberrypi5
raspberrypi5.conf: Fix KERNEL_IMAGETYPE_UBOOT
conf/layer.conf | 3 +++ conf/machine/raspberrypi5.conf | 6 ++++++ recipes-bsp/u-boot/u-boot_%.bbappend | 3 --- 3 files changed, 9 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.2
PATCH 1/3 layer.conf: rpi5 recommends lts-u-boot-mixin
Add lts-u-boot-mixin to LAYERRECOMMENDS
https://git.yoctoproject.org/meta-lts-mixins 'scarthgap/u-boot' branch adds u-boot v2024.04 support which includes the initial support for raspberrypi5.
--- conf/layer.conf | 3 +++ 1 file changed, 3 insertions(+)
conf/layer.conf +3 -0
@@ -11,6 +11,9 @@ BBFILE_PRIORITY_raspberrypi = "9" LAYERSERIES_COMPAT_raspberrypi = "nanbield scarthgap" LAYERDEPENDS_raspberrypi = "core" +# Recommended for u-boot support for raspberrypi5 +# https://git.yoctoproject.org/meta-lts-mixins 'scarthgap/u-boot' branch +LAYERRECOMMENDS_raspberrypi = "lts-u-boot-mixin" # Additional license directories. LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
Signature · 1 line
2.43.2
PATCH 2/3 u-boot: re-enable rapsberrypi5
In reply to Tim OrlingWith meta-lts-mixins scarthgap/u-boot we can now support raspberrypi5
--- conf/machine/raspberrypi5.conf | 2 ++ recipes-bsp/u-boot/u-boot_%.bbappend | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-)
conf/machine/raspberrypi5.conf +2 -0
@@ -24,3 +24,5 @@ VC4DTBO ?= "vc4-kms-v3d" # "zImage" not supported on arm64 and ".gz" images not supported by bootloader yet KERNEL_IMAGETYPE_DIRECT ?= "Image" + +UBOOT_MACHINE = "rpi_arm64_config"
recipes-bsp/u-boot/u-boot_%.bbappend +0 -3
@@ -12,6 +12,3 @@ do_install:append:rpi () { install -d ${D}${sysconfdir} install -m 0644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config } - -# Temporary avoid Raspberry Pi 5 because U-Boot has not been ported yet -COMPATIBLE_MACHINE:raspberrypi5 = "(-)"
Signature · 1 line
2.43.2
PATCH 3/3 raspberrypi5.conf: Fix KERNEL_IMAGETYPE_UBOOT
In reply to Tim OrlingSimilar to raspberrypi4-64.conf, we need to set KERNEL_IMAGETYPE_UBOOT to "Image" and set KERNEL_BOOTCMD to "booti"
--- conf/machine/raspberrypi5.conf | 4 ++++ 1 file changed, 4 insertions(+)
conf/machine/raspberrypi5.conf +4 -0
@@ -22,7 +22,11 @@ SERIAL_CONSOLES ?= "115200;ttyAMA10" VC4DTBO ?= "vc4-kms-v3d" +# When u-boot is enabled we need to use the "Image" format and the "booti" +# command to load the kernel +KERNEL_IMAGETYPE_UBOOT ?= "Image" # "zImage" not supported on arm64 and ".gz" images not supported by bootloader yet KERNEL_IMAGETYPE_DIRECT ?= "Image" +KERNEL_BOOTCMD ?= "booti" UBOOT_MACHINE = "rpi_arm64_config"
Signature · 1 line
2.43.2
I think it would be better if you opened a github PR so it can run through CI
Quoted 41 lines · Tim Orling
Enable u-boot for the raspberrypi5 via the meta-lts-mixins 'scarthgap/u-boot' branch.
This is initial support for raspberrypi5, not all features (usb, ethernet) are enabled in u-boot yet.
You may need to have a UART dongle plugged into the 'UART' port between 'HDMI0' and 'HDMI1' to get the kernel to boot. Your mileage may vary.
The following changes since commit
d072cc8a48571a4af40a937f98e173b5c9468c4f:rpi-base: Add hifiberry-dacplusadc overlay (2024-03-28 03:35:31 +0000)
are available in the Git repository at:
https://github.com/moto-timo/meta-raspberrypi scarthgap/raspberrypi5_u-boot
https://github.com/moto-timo/meta-raspberrypi/tree/scarthgap/raspberrypi5_u-bootTim Orling (3):
layer.conf: rpi5 recommends lts-u-boot-mixin
u-boot: re-enable rapsberrypi5
raspberrypi5.conf: FixKERNEL_IMAGETYPE_UBOOTconf/layer.conf | 3 +++ conf/machine/raspberrypi5.conf | 6 ++++++ recipes-bsp/u-boot/u-boot_%.bbappend | 3 --- 3 files changed, 9 insertions(+), 3 deletions(-)--
2.43.2-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#62891): https://lists.yoctoproject.org/g/yocto/message/62891
Mute This Topic: https://lists.yoctoproject.org/mt/105388889/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
I set up my github repo with git.yoctoproject.org so I have to destroy it to fork from agherzan and send a PR.
It's Sunday. I'm not going to do that.
Quoted 55 lines · Khem Raj
I think it would be better if you opened a github PR so it can run through CI
Quoted 2 lines · Tim Orling
Enable u-boot for the raspberrypi5 via the meta-lts-mixins
'scarthgap/u-boot' branch.
Quoted 2 lines
This is initial support for raspberrypi5, not all features (usb,
ethernet) are enabled
Quoted 3 lines
in u-boot yet.
You may need to have a UART dongle plugged into the 'UART' port between
'HDMI0' and
Quoted 3 lines
'HDMI1' to get the kernel to boot. Your mileage may vary.
The following changes since commit
d072cc8a48571a4af40a937f98e173b5c9468c4f:Quoted 6 lines
rpi-base: Add hifiberry-dacplusadc overlay (2024-03-28 03:35:31 +0000)
are available in the Git repository at:
scarthgap/raspberrypi5_u-boot
Quoted 1 line
https://github.com/moto-timo/meta-raspberrypi/tree/scarthgap/raspberrypi5_u-boot
Quoted 11 lines
Tim Orling (3):
layer.conf: rpi5 recommends lts-u-boot-mixin
u-boot: re-enable rapsberrypi5
raspberrypi5.conf: FixKERNEL_IMAGETYPE_UBOOTconf/layer.conf | 3 +++ conf/machine/raspberrypi5.conf | 6 ++++++ recipes-bsp/u-boot/u-boot_%.bbappend | 3 --- 3 files changed, 9 insertions(+), 3 deletions(-)Quoted 8 lines
--
2.43.2-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. You automatically follow any topics you start or reply to. View/Reply Online (#62891):https://lists.yoctoproject.org/g/yocto/message/62891
Quoted 3 lines
Mute This Topic: https://lists.yoctoproject.org/mt/105388889/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
Dear GitHub, please let us attach a repo to another GitHub repo after the creation. Why is a fork something opaque to us?
Quoted 63 lines · Tim Orling
I set up my github repo with git.yoctoproject.org so I have to destroy it to fork from agherzan and send a PR.
It's Sunday. I'm not going to do that.
Quoted 55 lines · Khem Raj
I think it would be better if you opened a github PR so it can run through CI
Quoted 2 lines · Tim Orling
Enable u-boot for the raspberrypi5 via the meta-lts-mixins
'scarthgap/u-boot' branch.
Quoted 2 lines
This is initial support for raspberrypi5, not all features (usb,
ethernet) are enabled
Quoted 3 lines
in u-boot yet.
You may need to have a UART dongle plugged into the 'UART' port between
'HDMI0' and
Quoted 3 lines
'HDMI1' to get the kernel to boot. Your mileage may vary.
The following changes since commit
d072cc8a48571a4af40a937f98e173b5c9468c4f:Quoted 6 lines
rpi-base: Add hifiberry-dacplusadc overlay (2024-03-28 03:35:31 +0000)
are available in the Git repository at:
scarthgap/raspberrypi5_u-boot
Quoted 1 line
https://github.com/moto-timo/meta-raspberrypi/tree/scarthgap/raspberrypi5_u-boot
Quoted 11 lines
Tim Orling (3):
layer.conf: rpi5 recommends lts-u-boot-mixin
u-boot: re-enable rapsberrypi5
raspberrypi5.conf: FixKERNEL_IMAGETYPE_UBOOTconf/layer.conf | 3 +++ conf/machine/raspberrypi5.conf | 6 ++++++ recipes-bsp/u-boot/u-boot_%.bbappend | 3 --- 3 files changed, 9 insertions(+), 3 deletions(-)Quoted 8 lines
--
2.43.2-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. You automatically follow any topics you start or reply to. View/Reply Online (#62891):https://lists.yoctoproject.org/g/yocto/message/62891
Quoted 3 lines
Mute This Topic: https://lists.yoctoproject.org/mt/105388889/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 3 lines · Tim Orling
Dear GitHub, please let us attach a repo to another GitHub repo after the creation. Why is a fork something opaque to us?
Look into using git remote add …
Quoted 67 lines · Tim Orling
Quoted 65 lines
I set up my github repo with git.yoctoproject.org so I have to destroy it to fork from agherzan and send a PR.
It's Sunday. I'm not going to do that.
Quoted 56 lines · Khem Raj
I think it would be better if you opened a github PR so it can run through CI
Quoted 2 lines · Tim Orling
Enable u-boot for the raspberrypi5 via the meta-lts-mixins
'scarthgap/u-boot' branch.
Quoted 2 lines
This is initial support for raspberrypi5, not all features (usb,
ethernet) are enabled
Quoted 3 lines
in u-boot yet.
You may need to have a UART dongle plugged into the 'UART' port
between 'HDMI0' and
Quoted 3 lines
'HDMI1' to get the kernel to boot. Your mileage may vary.
The following changes since commit
d072cc8a48571a4af40a937f98e173b5c9468c4f:Quoted 2 lines
rpi-base: Add hifiberry-dacplusadc overlay (2024-03-28 03:35:31
+0000)
Quoted 4 lines
are available in the Git repository at:
scarthgap/raspberrypi5_u-boot
Quoted 1 line
https://github.com/moto-timo/meta-raspberrypi/tree/scarthgap/raspberrypi5_u-boot
Quoted 11 lines
Tim Orling (3):
layer.conf: rpi5 recommends lts-u-boot-mixin
u-boot: re-enable rapsberrypi5
raspberrypi5.conf: FixKERNEL_IMAGETYPE_UBOOTconf/layer.conf | 3 +++ conf/machine/raspberrypi5.conf | 6 ++++++ recipes-bsp/u-boot/u-boot_%.bbappend | 3 --- 3 files changed, 9 insertions(+), 3 deletions(-)Quoted 8 lines
--
2.43.2-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. You automatically follow any topics you start or reply to. View/Reply Online (#62891):https://lists.yoctoproject.org/g/yocto/message/62891
Quoted 3 lines
Mute This Topic: https://lists.yoctoproject.org/mt/105388889/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
I was able to do a workaround and use our konsulko github account instead:
https://github.com/agherzan/meta-raspberrypi/pull/1304
Never give up. Keep on trying.
Quoted 78 lines · Khem Raj
Quoted 3 lines · Tim Orling
Dear GitHub, please let us attach a repo to another GitHub repo after the creation. Why is a fork something opaque to us?
Look into using git remote add …
Quoted 68 lines
Quoted 64 lines · Tim Orling
I set up my github repo with git.yoctoproject.org so I have to destroy it to fork from agherzan and send a PR.
It's Sunday. I'm not going to do that.
Quoted 56 lines · Khem Raj
I think it would be better if you opened a github PR so it can run through CI
Quoted 2 lines · Tim Orling
Enable u-boot for the raspberrypi5 via the meta-lts-mixins
'scarthgap/u-boot' branch.
Quoted 2 lines
This is initial support for raspberrypi5, not all features (usb,
ethernet) are enabled
Quoted 3 lines
in u-boot yet.
You may need to have a UART dongle plugged into the 'UART' port
between 'HDMI0' and
Quoted 3 lines
'HDMI1' to get the kernel to boot. Your mileage may vary.
The following changes since commit
d072cc8a48571a4af40a937f98e173b5c9468c4f:Quoted 2 lines
rpi-base: Add hifiberry-dacplusadc overlay (2024-03-28 03:35:31
+0000)
Quoted 4 lines
are available in the Git repository at:
scarthgap/raspberrypi5_u-boot
Quoted 1 line
https://github.com/moto-timo/meta-raspberrypi/tree/scarthgap/raspberrypi5_u-boot
Quoted 11 lines
Tim Orling (3):
layer.conf: rpi5 recommends lts-u-boot-mixin
u-boot: re-enable rapsberrypi5
raspberrypi5.conf: FixKERNEL_IMAGETYPE_UBOOTconf/layer.conf | 3 +++ conf/machine/raspberrypi5.conf | 6 ++++++ recipes-bsp/u-boot/u-boot_%.bbappend | 3 --- 3 files changed, 9 insertions(+), 3 deletions(-)Quoted 8 lines
--
2.43.2-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. You automatically follow any topics you start or reply to. View/Reply Online (#62891):https://lists.yoctoproject.org/g/yocto/message/62891
Quoted 3 lines
Mute This Topic: https://lists.yoctoproject.org/mt/105388889/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-