Skip to content

Commit

Permalink
rpi-cmdline: Add arguments for balena bootloader
Browse files Browse the repository at this point in the history
This adds the following to the kernel command line:
* balena_stage2 - enable balena bootloader initrd scripts
* maxcpus=0 - we want balena bootloader to run in non-SMP mode

Both will be removed by the kexec initrd script and not passed
to the actual kernel.

Change-type: patch
Signed-off-by: Michal Toman <[email protected]>
  • Loading branch information
mtoman committed Sep 26, 2023
1 parent 57b5b2f commit c2ac68b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ CMDLINE += " ${@bb.utils.contains('DISTRO_FEATURES','osdev-image',"console=tty1
CMDLINE += " cgroup_enable=memory"
CMDLINE:remove = "root=/dev/mmcblk0p2"
CMDLINE_DEBUG = ""

# Necessary for balena bootloader to work
# These will not be passed to the actual kernel
CMDLINE:append:raspberrypi5-64 := " balena_stage2 maxcpus=0"

0 comments on commit c2ac68b

Please sign in to comment.