mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-05 03:13:41 +08:00
92a8ad923e
Add support for the BeagleV Fire, the Beagleboard SBC powered by Microchip's PolarFire SoC. The configuration file is beaglev_fire_defconfig. It builds a bootable kernel image with an embedded root file system. The image built can be flashed to the board using the eMMC. The yaml configuration file is used by the hss payload generator. It maps the ELF binaries or binary blobs to the application hart. The image generator script sets the partitions of the image. The image tree souce file creates a FIT image. The post image script creates the payload using the payload generator host package and finally, creates the FIT image using the ITS after the kernel build. It also creates the BMAP file for use with the BMAP command line tool to transfer the image to the board. The U-Boot script and additional U-Boot configurations ensure that U-Boot behaves as expected for the BeagleV-Fire and boots the FIT image. The rootfs-overlay contains script for updating the BeagleV-Fire gateware. The README.txt documents how to build and boot the Beagle-V Fire with this configuration. It also explains how to program a custom bitstream. Signed-off-by: Jamie Gibbons <jamie.gibbons@microchip.com> Reviewed-by: Valentina Fernandez <valentina.fernandezalanis@microchip.com> [Romain: - move board files to board/beagleboard directory - enable BR2_DOWNLOAD_FORCE_CHECK_HASHES and add hashes files - enable BR2_KERNEL_HEADERS_AS_KERNEL for linux-headers to avoid specify BR2_DEFAULT_KERNEL_VERSION - add BR2_PACKAGE_HOST_DOSFSTOOLS for mkdosfs (host variant) ] Signed-off-by: Romain Naour <romain.naour@smile.fr>
34 lines
1.4 KiB
Plaintext
34 lines
1.4 KiB
Plaintext
BR2_riscv=y
|
|
BR2_RISCV_ISA_RVC=y
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
|
|
BR2_GLOBAL_PATCH_DIR="board/beagleboard/beaglev_fire/patches"
|
|
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
BR2_ROOTFS_OVERLAY="board/beagleboard/beaglev_fire/rootfs-overlay/"
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/beagleboard/beaglev_fire/post-image.sh"
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux-6.1-mchp+fpga)/linux4microchip+fpga-2024.02.tar.gz"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="mpfs"
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="microchip/mpfs-beaglev-fire"
|
|
BR2_PACKAGE_MTD=y
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
|
BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
|
|
BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,polarfire-soc,u-boot)linux4microchip+fpga-2024.02.tar.gz"
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="beaglev_fire"
|
|
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/beagleboard/beaglev_fire/uboot-fragment.config"
|
|
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
|
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
|
|
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|
|
BR2_PACKAGE_HOST_MICROCHIP_HSS_PAYLOAD_GENERATOR=y
|
|
BR2_PACKAGE_HOST_MTOOLS=y
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/beagleboard/beaglev_fire/boot.cmd"
|