mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
Append vmalloc arg for ARM in build_kernel_image
Tegra2 systems require a minimum vmalloc bootarg to successfully reserve the graphics carveout memory. If the vmalloc is insufficient a crash can result prior to any serial output reported. The minimum vmalloc is >= carveout size + framebuffer - 32MB, thus for a 256MB graphics carveout (with 10MB framebuffer), vmalloc>=234MB. This arg is not added in the u-boot configs to avoid tightly coupling the u-boot and kernel and is discussed in greater depth at http://gerrit.chromium.org/gerrit/#change,8293. BUG=chrome-os-partner:5197,chrome-os-partner:5902 TEST=Manually observe /proc/cmdline reflects change Change-Id: I66b35b266c7542771f2d4fc497dd4429587529f8 Reviewed-on: http://gerrit.chromium.org/gerrit/8373 Commit-Ready: Katie Roberts-Hoffman <katierh@chromium.org> Reviewed-by: Katie Roberts-Hoffman <katierh@chromium.org> Tested-by: Katie Roberts-Hoffman <katierh@chromium.org>
This commit is contained in:
parent
d1c012e718
commit
8429b4eb07
@ -179,6 +179,7 @@ elif [[ "${FLAGS_arch}" = "arm" ]]; then
|
||||
> "${FLAGS_working_dir}/config.txt"
|
||||
earlyprintk
|
||||
kern_guid=%U
|
||||
vmalloc=234MB
|
||||
EOF
|
||||
WORK="${WORK} ${FLAGS_working_dir}/config.txt"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user