mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
add quiet to arm bootargs
Not printing on the uart makes a huge difference in boot time performance. Since it's easy to re-enable again for those debugging boot time issues, let's disable it by default. It's how x86 does it as well. Change-Id: Idb4af8d98434e70ee1389b3579c220da34be9c3b BUG=chromium-os:11351 TEST=Build image and boot system Review URL: http://codereview.chromium.org/6290011
This commit is contained in:
parent
f53fa0d5f8
commit
e0b7551f7b
@ -110,6 +110,10 @@ fi
|
|||||||
|
|
||||||
cat <<EOF > "${FLAGS_working_dir}/boot.config"
|
cat <<EOF > "${FLAGS_working_dir}/boot.config"
|
||||||
root=${FLAGS_root}
|
root=${FLAGS_root}
|
||||||
|
quiet
|
||||||
|
loglevel=1
|
||||||
|
rootwait
|
||||||
|
ro
|
||||||
dm_verity.error_behavior=${FLAGS_verity_error_behavior}
|
dm_verity.error_behavior=${FLAGS_verity_error_behavior}
|
||||||
dm_verity.max_bios=${FLAGS_verity_max_ios}
|
dm_verity.max_bios=${FLAGS_verity_max_ios}
|
||||||
dm_verity.dev_wait=${dev_wait}
|
dm_verity.dev_wait=${dev_wait}
|
||||||
@ -131,17 +135,13 @@ if [[ "${FLAGS_arch}" = "x86" ]]; then
|
|||||||
mkdir -p ${FLAGS_working_dir}
|
mkdir -p ${FLAGS_working_dir}
|
||||||
cat <<EOF | cat - "${FLAGS_working_dir}/boot.config" \
|
cat <<EOF | cat - "${FLAGS_working_dir}/boot.config" \
|
||||||
> "${FLAGS_working_dir}/config.txt"
|
> "${FLAGS_working_dir}/config.txt"
|
||||||
quiet
|
|
||||||
console=tty2
|
console=tty2
|
||||||
init=/sbin/init
|
init=/sbin/init
|
||||||
add_efi_memmap
|
add_efi_memmap
|
||||||
boot=local
|
boot=local
|
||||||
rootwait
|
|
||||||
ro
|
|
||||||
noresume
|
noresume
|
||||||
noswap
|
noswap
|
||||||
i915.modeset=1
|
i915.modeset=1
|
||||||
loglevel=1
|
|
||||||
cros_secure
|
cros_secure
|
||||||
kern_guid=%U
|
kern_guid=%U
|
||||||
tpm_tis.force=1
|
tpm_tis.force=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user