Skip to content
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

A couple of improvements for the RPI4b target #461

Merged
merged 3 commits into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion meta-isar/conf/machine/rpi4b.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ IMAGE_FSTYPES ?= "wic"
WKS_FILE ?= "rpi4b.wks"

IMAGER_BUILD_DEPS = "rpi-firmware linux-image-${KERNEL_NAME}"
IMAGER_INSTALL += "${IMAGER_BUILD_DEPS}"
IMAGER_INSTALL:wic += "${IMAGER_BUILD_DEPS}"

IMAGE_BOOT_FILES = " \
/usr/lib/rpi-firmware/bootcode.bin;bootcode.bin \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SRC_URI = " \
https://github.com/raspberrypi/firmware/archive/${PV}.tar.gz;downloadfilename=${PN}-${PV}.tar.gz \
file://debian \
file://rules"
SRC_URI[sha256sum] = "67c49b6f2fbf4ee612536b3fc24e44ab3fa9584c78224865699f1cbc1b8eea3c"
SRC_URI[sha256sum] = "4981021b82f600f450d64d9b82034dc603bf5429889a3947b2863e01992a343c"

S = "${WORKDIR}/firmware-${PV}"

Expand Down
4 changes: 2 additions & 2 deletions meta-isar/scripts/lib/wic/canned-wks/rpi4b.wks
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
# SPDX-License-Identifier: MIT
# ---------------------------------------------------------------------------

part --source bootimg-partition --ondisk mmcblk0 --fstype vfat --label boot --align 1 --size 128 --overhead-factor 1 --extra-space 0
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype vfat --label boot --align 1 --size 128 --overhead-factor 1 --extra-space 0

part / --source rootfs --fstype ext4 --mkfs-extraopts "-T default" --label platform --align 1024 --active
part / --source rootfs --ondisk mmcblk0 --fstype ext4 --mkfs-extraopts "-T default" --label platform --align 1024 --active --exclude-path=boot/

# silence wic
bootloader
Loading