RPi5 should use kernel_2712.img (not kernel8.img)#817
Conversation
|
By the way... (and not handled in this PullRequest) it's not good that mender copies the bootloader into If you do sudo apt update
sudo apt upgradeyou can destroy the setup if a new kernel is upgraded and written to See here for details: https://hub.mender.io/t/raspberry-pi-64-bit-can-destroy-itself-through-apt-upgrade/8181 |
|
Hi @user706 - thanks for this PR. I started testing it last week together with the recently released RPi images. When the testing will be completed I will add comments to this PR. |
|
great thanks. |
|
@user706 my tests confirms that everything looks to work fine.
|
|
@TheYoctoJester I have performed some basic conversion testing here: #844 |
elkoniu
left a comment
There was a problem hiding this comment.
Based on my testing with mender-convert - it looks good.
397cf1d to
be6ae15
Compare
|
OK. Commit looks like this And it is signed with GPG Key ID: 938FD2002C592940 (By the way... |
RPi5 should use kernel_2712.img (not kernel8.img), which is the kernel that original official raspberry pi images also load when running on RPi5. Signed-off-by: user706 <39215612+user706@users.noreply.github.com>
be6ae15 to
4167319
Compare
|
now fixed commit, this time with |
|
this time the pipeline failure is not because of commit-formatting: |
The following (
kernel8.img) works for RPi5, but is not optimal:https://github.com/mendersoftware/mender-convert/blob/5.1.0/configs/raspberrypi/uboot/include/raspberrypi_64_config#L4-L5
Ref: https://www.raspberrypi.com/documentation/computers/config_txt.html#kernel
"The Raspberry Pi 5, 500, 500+, and Compute Module 5 firmware defaults to loading
kernel_2712.imgbecause this image contains optimisations specific to those models (e.g. 16K page-size). If this file is not present, then the common 64-bit kernel (kernel8.img) will be loaded instead."It's better if RPi5 uses
kernel_2712.img, since it has optimizations.