configs/chromebook_elm: new defconfig
This commit adds supports for building buildroot kernel + rootfs
for MT8173 Elm board, also known as Chromebook Elm
(https://www.acer.com/ac/en/US/content/series/acerchromebookr13).
Though Chrome-OS is officially supproted on this board, the
mainline kernel works as well (benchmarks + conformance), and so
the 5.9 kernel is used. As the 5.9 kernel isn't yet released, we
use the 5.9-rc5 for now, which will be up-revd to 5.9 once its
released.
Using the mainline kernel means that we have to apply certain patches
to get the HDMI screen working. These patches are lying in the
"drm-misc-next" list and will make it to the kernel after 5.9. At that
time, we will remove the patches and point Buildroot to use the latest
kernel (hopefully, 5.10).
This commit also adds an ITS file (for creating FIT images), an ARGS
file (for providing kernel args) and a "sign.sh" script to generate
signed kernel images. Though the "sign.sh" is very similar to the
coresponding file under board/chromebook/snow, it cannot be shared
between both boards, as the script requires access to the board
specific its / args file.
Additionally a readme & defconfig is added to help the user get started.
Signed-off-by: Bilal Wasim <bilalwasim676@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-09-24 01:52:13 +02:00
|
|
|
# Architecture
|
|
|
|
BR2_aarch64=y
|
|
|
|
BR2_cortex_a72_a53=y
|
|
|
|
|
|
|
|
# Patches
|
|
|
|
BR2_GLOBAL_PATCH_DIR="board/chromebook/elm/patches/"
|
|
|
|
|
|
|
|
# Filesystem
|
|
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
|
|
|
|
|
|
# Kernel
|
|
|
|
BR2_LINUX_KERNEL=y
|
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
2020-10-12 16:33:14 +02:00
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.9"
|
configs/chromebook_elm: new defconfig
This commit adds supports for building buildroot kernel + rootfs
for MT8173 Elm board, also known as Chromebook Elm
(https://www.acer.com/ac/en/US/content/series/acerchromebookr13).
Though Chrome-OS is officially supproted on this board, the
mainline kernel works as well (benchmarks + conformance), and so
the 5.9 kernel is used. As the 5.9 kernel isn't yet released, we
use the 5.9-rc5 for now, which will be up-revd to 5.9 once its
released.
Using the mainline kernel means that we have to apply certain patches
to get the HDMI screen working. These patches are lying in the
"drm-misc-next" list and will make it to the kernel after 5.9. At that
time, we will remove the patches and point Buildroot to use the latest
kernel (hopefully, 5.10).
This commit also adds an ITS file (for creating FIT images), an ARGS
file (for providing kernel args) and a "sign.sh" script to generate
signed kernel images. Though the "sign.sh" is very similar to the
coresponding file under board/chromebook/snow, it cannot be shared
between both boards, as the script requires access to the board
specific its / args file.
Additionally a readme & defconfig is added to help the user get started.
Signed-off-by: Bilal Wasim <bilalwasim676@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-09-24 01:52:13 +02:00
|
|
|
|
|
|
|
# Build Kernel with a Custom config.
|
|
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/chromebook/elm/linux.config"
|
|
|
|
|
|
|
|
# DTS support
|
|
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="mediatek/mt8173-elm"
|
|
|
|
|
|
|
|
# Package Firmware for WiFi chip.
|
|
|
|
BR2_PACKAGE_LINUX_FIRMWARE=y
|
|
|
|
BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797=y
|
|
|
|
|
|
|
|
# Scripts to generate final images.
|
|
|
|
BR2_ROOTFS_POST_BUILD_SCRIPT="board/chromebook/elm/sign.sh"
|
|
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/chromebook/mksd.sh"
|
|
|
|
|
|
|
|
# Supporting host tools to build / sign FIT Image.
|
|
|
|
BR2_PACKAGE_HOST_PARTED=y
|
|
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
|
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y
|
|
|
|
BR2_PACKAGE_HOST_VBOOT_UTILS=y
|