veyron: CrOS kernel round 2
This commit is contained in:
@@ -62,7 +62,7 @@ architecture="armhf"
|
||||
# After generating the rootfs, we set the sources.list to the default settings.
|
||||
mirror=http.kali.org
|
||||
|
||||
kernel_release="R71-11151.B-chromeos-3.14"
|
||||
kernel_release="R83-13020.B-chromeos-4.19"
|
||||
|
||||
# Set this to use an http proxy, like apt-cacher-ng, and uncomment further down
|
||||
# to unset it.
|
||||
@@ -229,13 +229,15 @@ cd "${basedir}"
|
||||
|
||||
# Kernel section. If you want to use a custom kernel, or configuration, replace
|
||||
# them in this section.
|
||||
git clone --depth 1 https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux.git -b linux-4.19.y "${basedir}"/kali-${architecture}/usr/src/kernel
|
||||
#git clone --depth 1 https://chromium.googlesource.com/chromiumos/third_party/kernel.git -b chromeos-4.19 "${basedir}"/kali-${architecture}/usr/src/kernel
|
||||
# Mainline kernel branch
|
||||
#git clone --depth 1 https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux.git -b linux-4.19.y "${basedir}"/kali-${architecture}/usr/src/kernel
|
||||
# ChromeOS kernel branch
|
||||
git clone --depth 1 https://chromium.googlesource.com/chromiumos/third_party/kernel.git -b release-${release} "${basedir}"/kali-${architecture}/usr/src/kernel
|
||||
cd "${basedir}"/kali-${architecture}/usr/src/kernel
|
||||
# Mainline kernel config
|
||||
cp "${basedir}"/../kernel-configs/veyron-4.19.config .config
|
||||
#cp "${basedir}"/../kernel-configs/veyron-4.19.config .config
|
||||
# (Currently not working) chromeos-based kernel config
|
||||
#cp "${basedir}"/../kernel-configs/veyron-4.19-cros.config .config
|
||||
cp "${basedir}"/../kernel-configs/veyron-4.19-cros.config .config
|
||||
cp .config "${basedir}"/kali-${architecture}/usr/src/veyron.config
|
||||
export ARCH=arm
|
||||
# Edit the CROSS_COMPILE variable as needed.
|
||||
@@ -380,7 +382,7 @@ dd if=/dev/zero of=bootloader.bin bs=512 count=1
|
||||
vbutil_kernel --arch arm --pack "${basedir}"/kernel.bin --keyblock /usr/share/vboot/devkeys/kernel.keyblock --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk --version 1 --config cmdline --bootloader bootloader.bin --vmlinuz veyron-kernel
|
||||
cd "${basedir}"/kali-${architecture}/usr/src/kernel
|
||||
make mrproper
|
||||
cp "${basedir}"/../kernel-configs/veyron-4.19.config .config
|
||||
cp "${basedir}"/../kernel-configs/veyron-4.19-cros.config .config
|
||||
cd "${basedir}"
|
||||
|
||||
# Fix up the symlink for building external modules
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/arm 4.19.131 Kernel Configuration
|
||||
# Linux/arm 4.19.113 Kernel Configuration
|
||||
#
|
||||
|
||||
#
|
||||
@@ -568,6 +568,7 @@ CONFIG_GOOGLE_FIRMWARE=y
|
||||
CONFIG_GOOGLE_COREBOOT_TABLE=y
|
||||
CONFIG_GOOGLE_COREBOOT_TABLE_OF=y
|
||||
CONFIG_GOOGLE_MEMCONSOLE=y
|
||||
# CONFIG_GOOGLE_FRAMEBUFFER_COREBOOT is not set
|
||||
CONFIG_GOOGLE_MEMCONSOLE_COREBOOT=y
|
||||
CONFIG_GOOGLE_VPD=y
|
||||
|
||||
@@ -1502,10 +1503,10 @@ CONFIG_BT_HS=y
|
||||
CONFIG_BT_LE=y
|
||||
CONFIG_BT_6LOWPAN=m
|
||||
# CONFIG_BT_LEDS is not set
|
||||
CONFIG_BT_MSFTEXT=y
|
||||
# CONFIG_BT_SELFTEST is not set
|
||||
CONFIG_BT_DEBUGFS=y
|
||||
CONFIG_BT_FEATURE_DEBUG=y
|
||||
CONFIG_BT_ENFORCE_CLASSIC_SECURITY=y
|
||||
# CONFIG_BT_EVE_HACKS is not set
|
||||
|
||||
#
|
||||
# Bluetooth device drivers
|
||||
@@ -3146,7 +3147,6 @@ CONFIG_ARM_SP805_WATCHDOG=y
|
||||
# CONFIG_FTWDT010_WATCHDOG is not set
|
||||
CONFIG_DW_WATCHDOG=y
|
||||
# CONFIG_MAX63XX_WATCHDOG is not set
|
||||
# CONFIG_ARM_SMC_WATCHDOG is not set
|
||||
# CONFIG_MEN_A21_WDT is not set
|
||||
|
||||
#
|
||||
@@ -3671,7 +3671,7 @@ CONFIG_FB_MODE_HELPERS=y
|
||||
# CONFIG_FB_VIRTUAL is not set
|
||||
# CONFIG_FB_METRONOME is not set
|
||||
# CONFIG_FB_BROADSHEET is not set
|
||||
# CONFIG_FB_SIMPLE is not set
|
||||
CONFIG_FB_SIMPLE=y
|
||||
# CONFIG_FB_SSD1307 is not set
|
||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||
# CONFIG_LCD_CLASS_DEVICE is not set
|
||||
@@ -3839,7 +3839,6 @@ CONFIG_SND_SOC_MAX98090=y
|
||||
# CONFIG_SND_SOC_MAX9867 is not set
|
||||
# CONFIG_SND_SOC_MAX98927 is not set
|
||||
# CONFIG_SND_SOC_MAX98373 is not set
|
||||
# CONFIG_SND_SOC_MAX98390 is not set
|
||||
# CONFIG_SND_SOC_MAX9860 is not set
|
||||
# CONFIG_SND_SOC_MSM8916_WCD_ANALOG is not set
|
||||
# CONFIG_SND_SOC_MSM8916_WCD_DIGITAL is not set
|
||||
@@ -4713,7 +4712,6 @@ CONFIG_CROS_EC_CHARDEV=y
|
||||
CONFIG_CROS_EC_LIGHTBAR=y
|
||||
CONFIG_CROS_EC_VBC=y
|
||||
CONFIG_CROS_EC_DEBUGFS=y
|
||||
# CONFIG_CROS_EC_SENSORHUB is not set
|
||||
CONFIG_CROS_EC_PD_UPDATE=y
|
||||
CONFIG_CROS_EC_SYSFS=y
|
||||
CONFIG_CROS_USBPD_NOTIFY=y
|
||||
@@ -4877,6 +4875,7 @@ CONFIG_IIO_CONSUMERS_PER_TRIGGER=2
|
||||
# CONFIG_DMARD06 is not set
|
||||
# CONFIG_DMARD09 is not set
|
||||
# CONFIG_DMARD10 is not set
|
||||
CONFIG_IIO_CROS_EC_ACCEL_LEGACY=m
|
||||
# CONFIG_IIO_ST_ACCEL_3AXIS is not set
|
||||
# CONFIG_KXSD9 is not set
|
||||
# CONFIG_KXCJK1013 is not set
|
||||
@@ -4958,6 +4957,10 @@ CONFIG_ROCKCHIP_SARADC=m
|
||||
# CONFIG_CCS811 is not set
|
||||
# CONFIG_IAQCORE is not set
|
||||
# CONFIG_VZ89X is not set
|
||||
CONFIG_IIO_CROS_EC_SENSORS_CORE=m
|
||||
# CONFIG_IIO_CROS_EC_SENSORS is not set
|
||||
# CONFIG_IIO_CROS_EC_ACTIVITY is not set
|
||||
# CONFIG_IIO_CROS_EC_SENSORS_LID_ANGLE is not set
|
||||
|
||||
#
|
||||
# Hid Sensor IIO Common
|
||||
@@ -4971,6 +4974,7 @@ CONFIG_ROCKCHIP_SARADC=m
|
||||
#
|
||||
# Counters
|
||||
#
|
||||
# CONFIG_IIO_CROS_EC_SENSORS_SYNC is not set
|
||||
|
||||
#
|
||||
# Digital to analog converters
|
||||
@@ -5087,6 +5091,7 @@ CONFIG_MPU3050_I2C=y
|
||||
# CONFIG_CM3323 is not set
|
||||
# CONFIG_CM3605 is not set
|
||||
# CONFIG_CM36651 is not set
|
||||
# CONFIG_IIO_CROS_EC_LIGHT_PROX is not set
|
||||
# CONFIG_GP2AP020A00F is not set
|
||||
CONFIG_SENSORS_ISL29018=m
|
||||
# CONFIG_SENSORS_ISL29028 is not set
|
||||
@@ -5165,6 +5170,7 @@ CONFIG_IIO_SYSFS_TRIGGER=m
|
||||
#
|
||||
# CONFIG_ABP060MG is not set
|
||||
# CONFIG_BMP280 is not set
|
||||
# CONFIG_IIO_CROS_EC_BARO is not set
|
||||
# CONFIG_HP03 is not set
|
||||
# CONFIG_MPL115_I2C is not set
|
||||
# CONFIG_MPL115_SPI is not set
|
||||
|
||||
Reference in New Issue
Block a user