Skip to content

Commit 14afcca

Browse files
committed
RV1106: Limit udev children to prevent early OOM
1 parent d782fda commit 14afcca

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

config/sources/families/rockchip-rv1106.conf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ BOOTDELAY=1
2222
SERIALCON="ttyFIQ0"
2323
RKBIN_DIR="$SRC/cache/sources/rkbin-tools"
2424
SRC_EXTLINUX="yes"
25-
SRC_CMDLINE="cma=0 video=off console=ttyFIQ0,115200n8"
25+
# Bootargs:
26+
# cma=0 -- disable CMA allocations (used by video / ipc) to save memory
27+
# video=off -- disable video subsystem to save memory
28+
# udev.children-max=1 -- limit number of udev child processes to save memory early in boot
29+
# console=ttyFIQ0,115200n8 -- set console to FIQ0 serial port at 115200 baud
30+
SRC_CMDLINE="cma=0 video=off udev.children-max=1 console=ttyFIQ0,115200n8"
2631
OVERLAY_PREFIX="rv1106"
2732
OFFSET=16
2833
SPL_FIT_GENERATOR="arch/arm/mach-rockchip/make_fit_optee.sh"

0 commit comments

Comments
 (0)