forked from agherzan/meta-raspberrypi
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conf/machine/raspberrypi5.conf: Use "Image" #4
Open
leon-anavi
wants to merge
8
commits into
floion:add_rpi5
Choose a base branch
from
leon-anavi:add_rpi_fix_kernel_image
base: add_rpi5
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Florin Sarbu <[email protected]>
Add overlays/vc4-kms-v3d-pi5.dtbo to use vc4-kms-v3d driver on Raspberry Pi 5. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <[email protected]>
Temporary avoid Raspberry Pi 5 machines because U-Boot has not been ported to it yet. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <[email protected]>
Remove some comments to reduce config.txt file size to avoid file corruption and make sure Raspberry Pi 5 will boot successfully. The issue with large config.txt has been reported to related projects: raspberrypi/firmware#1848 Evilpaul/RPi-config#9 This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <[email protected]>
Use bcm2711_defconfig instead of bcm2712_defconfig for Raspberry Pi 5 as per the instructions in the documentation: https://www.raspberrypi.com/documentation/computers/linux_kernel.html#kernel-configuration This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <[email protected]>
Set SDIMG_KERNELIMAGE to kernel_2712.img instead of kernel8.img. Raspberry Pi 5 firmware defaults to loading kernel_2712.img because this image contains optimisations specific to Raspberry Pi 5 (e.g. 16K page-size). For more details: https://www.raspberrypi.com/documentation/computers/config_txt.html#kernel This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <[email protected]>
Set SERIAL_CONSOLES to ttyAMA10. This fixes login on the UART no matter if systemd is used. This work was sponsored by GOVCERT.LU. Suggested-by: Gael PORTAY <[email protected]> Signed-off-by: Leon Anavi <[email protected]>
"zImage" not supported on arm64 so set KERNEL_IMAGETYPE_DIRECT to "Image" for Raspberry Pi 5 and avoid the following errors: | make: *** No rule to make target 'zImage'. Stop. | ERROR: oe_runmake failed This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
"zImage" not supported on arm64 so set KERNEL_IMAGETYPE_DIRECT to "Image" for Raspberry Pi 5 and avoid the following errors:
This work was sponsored by GOVCERT.LU.
- What I did
Fixed building the kernel.
- How I did it
Set
KERNEL_IMAGETYPE_DIRECT
to"Image"
for Raspberry Pi 5.