This just matches H2C and H2O

Changes are:
-earlyprintk: serial isn't supported, so remove
-console=ttyS0: allow /dev/console to function, after serial console support is removed.

+quiet: sets loglevel=2, quiets early boot
+console=tty2: this will output console onto vt2.
+loglevel=1: this reduces output to vt2 past what quiet specifies.

BUG=chromium-os:8084
TEST="boot factory install shim, regular image. Note /dev/console works and outputs to tty2"

Change-Id: I2d77bf1de5870c7e610859f063d5a587acd56051

Review URL: http://codereview.chromium.org/4167001
This commit is contained in:
Nick Sanders 2010-10-26 02:56:51 -07:00
parent eee7fdf432
commit ada8a1fdcc

View File

@ -131,8 +131,8 @@ 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"
earlyprintk=serial,ttyS0,115200 quiet
console=ttyS0,115200 console=tty2
init=/sbin/init init=/sbin/init
add_efi_memmap add_efi_memmap
boot=local boot=local
@ -141,7 +141,7 @@ ro
noresume noresume
noswap noswap
i915.modeset=1 i915.modeset=1
loglevel=7 loglevel=1
cros_secure cros_secure
kern_guid=%U kern_guid=%U
tpm_tis.force=1 tpm_tis.force=1