f089aa9877
The kernel is from upstream with a few extras to reduce the size of the 'aspeed_g5' zImage because it is too big for the flash layout. Mainline U-Boot has enough support to load the kernel from the flash device and from network but it is still behind the OpenBMC branch where most the development is done. The main resulting file from the build is a flash image. The partition layout matches the OpenBMC one for 32M chips. It makes it easier to update the different partitions from Linux. Intermediate files can be used to boot from U-Boot over the network or to boot QEMU using -kernel/-initrd/-dtb. Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
# Architecture
|
|
BR2_arm=y
|
|
|
|
# System
|
|
BR2_TARGET_GENERIC_HOSTNAME="aspeed-evb"
|
|
BR2_TARGET_GENERIC_ISSUE="Aspeed EVB"
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_CPIO=y
|
|
BR2_TARGET_ROOTFS_CPIO_XZ=y
|
|
|
|
# Image
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/aspeed/common/post-image.sh"
|
|
|
|
# Linux headers same as kernel
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_17=y
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.17.7"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="aspeed_g5"
|
|
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/aspeed/ast2500-evb/linux.fragment"
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="aspeed-ast2500-evb"
|
|
BR2_LINUX_KERNEL_XZ=y
|
|
|
|
# Boot
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01"
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="evb-ast2500"
|
|
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
|
BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=ast2500-evb"
|
|
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/aspeed/ast2500-evb/uboot.fragment"
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|
|
|
|
# Target tools
|
|
BR2_PACKAGE_MTD=y
|