RV1106: Limit udev children to prevent early OOM

This commit is contained in:
Austin Lane 2025-11-10 18:18:34 -05:00 committed by Igor
parent d782fdab80
commit 912284074f

View File

@ -22,7 +22,12 @@ BOOTDELAY=1
SERIALCON="ttyFIQ0"
RKBIN_DIR="$SRC/cache/sources/rkbin-tools"
SRC_EXTLINUX="yes"
SRC_CMDLINE="cma=0 video=off console=ttyFIQ0,115200n8"
# Bootargs:
# cma=0 -- disable CMA allocations (used by video / ipc) to save memory
# video=off -- disable video subsystem to save memory
# udev.children-max=1 -- limit number of udev child processes to save memory early in boot
# console=ttyFIQ0,115200n8 -- set console to FIQ0 serial port at 115200 baud
SRC_CMDLINE="cma=0 video=off udev.children-max=1 console=ttyFIQ0,115200n8"
OVERLAY_PREFIX="rv1106"
OFFSET=16
SPL_FIT_GENERATOR="arch/arm/mach-rockchip/make_fit_optee.sh"