mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
use kernel command line instead of a patch (#1572)
atomic_pool_size can be controlled by kernel cmdline, coherent_pool=nn[KMG] [ARM,KNL] then use this parameter to replace the patch. Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
This commit is contained in:
committed by
Igor Pečovnik
parent
e2da63bdc9
commit
f68d51b273
@@ -28,7 +28,7 @@ if test "${console}" = "serial"; then setenv consoleargs "console=ttyAML0,115200
|
||||
if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=ttyAML0,115200 console=tty1"; fi
|
||||
if test "${console}" = "serial"; then setenv consoleargs "console=ttyAML0,115200"; fi
|
||||
|
||||
setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} panic=10 ${consoleargs} consoleblank=0 loglevel=${verbosity} ubootpart=${partuuid} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs}"
|
||||
setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} panic=10 ${consoleargs} consoleblank=0 coherent_pool=2M loglevel=${verbosity} ubootpart=${partuuid} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs}"
|
||||
|
||||
if test "${docker_optimizations}" = "on"; then setenv bootargs "${bootargs} cgroup_enable=memory swapaccount=1"; fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user