866ffbe0e6
Changes: * Switch to common orangepi scenario for multiple boards (board/orangepi/common) to create an SD image. * Exclude FAT partition, it is no longer needed for U-Boot. * Switch SD image from MBR to GPT for partition-uuid to work. * Switch to extlinux, this is convenient for debugging. Signed-off-by: Sergey Kuzminov <kuzminov.sergey81@gmail.com> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
BR2_arm=y
|
|
BR2_cortex_a7=y
|
|
BR2_ARM_FPU_VFPV4=y
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
|
|
BR2_TARGET_GENERIC_HOSTNAME="OrangePi_PC"
|
|
BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi PC"
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh"
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg"
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.9"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
|
|
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-pc/linux.fragment"
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-pc"
|
|
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10"
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_pc"
|
|
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
|
BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
|
|
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
|
|
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
|
|
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|