summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2018-08-30 18:14:31 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2018-08-30 18:14:31 +0800
commitf1ec8fc03134ad6a1cf5838bacbada4744f66d1e (patch)
tree9cb81e8defe1c6a5fd6772253ca457de6dad45d5
parent0a5bcea672536c8e563fc536e06086ed47378c84 (diff)
update bootargs for host-tools/build-kernel.sh for 4.14 kernel
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-xhost-tools/build-kernel.sh2
-rw-r--r--scripts-common/helpers1
2 files changed, 2 insertions, 1 deletions
diff --git a/host-tools/build-kernel.sh b/host-tools/build-kernel.sh
index 683dc25..68b96e1 100755
--- a/host-tools/build-kernel.sh
+++ b/host-tools/build-kernel.sh
@@ -86,7 +86,7 @@ PLATFORM_VERSION=Q
F_KERNEL="${AOSP_ROOT}/out/target/product/hikey/kernel"
F_RAMDISK="${AOSP_ROOT}/out/target/product/hikey/ramdisk.img"
BIN_MKBOOTIMG="${AOSP_ROOT}/out/host/linux-x86/bin/mkbootimg"
-BOARD_KERNEL_CMDLINE="console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/vendor/firmware efi=noruntime overlay_mgr.overlay_dt_entry=hardware_cfg_enable_android_fstab video=HDMI-A-1:1280x720@60 printk.devkmsg=on"
+BOARD_KERNEL_CMDLINE="console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/vendor/firmware efi=noruntime overlay_mgr.overlay_dt_entry=hardware_cfg_enable_android_fstab video=HDMI-A-1:1280x720@60 printk.devkmsg=on video=vfb:640x480-32@30 vfb.videomemorysize=3145728"
TARGET_BUILD_VARIANT="userdebug"
VERITY_KEYID=""
function make_bootimg(){
diff --git a/scripts-common/helpers b/scripts-common/helpers
index 140ef6c..ea32462 100644
--- a/scripts-common/helpers
+++ b/scripts-common/helpers
@@ -1,5 +1,6 @@
#!/bin/bash
+# nproc command could be used here too
CPUS=$(grep processor /proc/cpuinfo |wc -l)
function export_config(){