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

Make Kernel A/B updates (as part of rootfs) default behavior for meta-rauc-raspberrypi #102

Merged
merged 3 commits into from
Jun 25, 2024
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
8 changes: 0 additions & 8 deletions meta-rauc-raspberrypi/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,6 @@ It is also recommended, but not strictly necessary, to enable 'systemd'::

INIT_MANAGER = "systemd"

Optionally, to update the Linux kernel using A/B partitions and a RAUC bundle, put the kernel in the rootfs::

IMAGE_INSTALL:append = " kernel-image"

Optionally, to boot Linux kernel from the rootfs modify ``boot.cmd.in`` and replace ``fatload mmc 0:1 ${kernel_addr_r} @@KERNEL_IMAGETYPE@@`` with::

load ${BOOT_DEV} ${kernel_addr_r} boot/@@KERNEL_IMAGETYPE@@

Build the minimal system image::

$ bitbake core-image-minimal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ else
reset
fi

fatload mmc 0:1 ${kernel_addr_r} @@KERNEL_IMAGETYPE@@
load ${BOOT_DEV} ${kernel_addr_r} boot/@@KERNEL_IMAGETYPE@@
if test ! -e mmc 0:1 uboot.env; then saveenv; fi;
@@KERNEL_BOOTCMD@@ ${kernel_addr_r} - ${fdt_addr}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
IMAGE_INSTALL:append = " kernel-image kernel-modules"
Loading