552cafd7a8
Explicitly enable PCI support in the kernel after commit eb01d42a77785 (PCI: consolidate PCI config entry in drivers/pci) and change to GPT partitions / root=PARTLABEL to find the rootfs instead of hardcoding /dev/mmcblk2p2 as the mmc probing order has changed since commit 21b2cec61c04bd1 (mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4). This has the additional advantage that the same image will work when written to a USB drive instead of a microsd. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
39 lines
977 B
Plaintext
39 lines
977 B
Plaintext
# Architecture
|
|
BR2_x86_64=y
|
|
BR2_x86_silvermont=y
|
|
|
|
# Misc
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
BR2_ROOTFS_POST_BUILD_SCRIPT="board/minnowboard/post-build.sh"
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/minnowboard/genimage.cfg"
|
|
|
|
# Linux headers same as kernel, a 5.10 series
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
|
|
# Needed for grub2
|
|
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
|
|
|
|
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|
|
BR2_PACKAGE_HOST_MTOOLS=y
|
|
|
|
# Needed for ethernet
|
|
BR2_PACKAGE_LINUX_FIRMWARE=y
|
|
BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169=y
|
|
|
|
# Linux kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.11"
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/minnowboard/linux.config"
|
|
|
|
# Bootloader
|
|
BR2_TARGET_GRUB2=y
|
|
BR2_TARGET_GRUB2_X86_64_EFI=y
|
|
|
|
# Filesystem image
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|