Add support for the LicheePi 4A with mainline component: - Linux Kernel 6.12 The following components are provided by vendor: - U-Boot 2020.01 - OpenSBI v0.9 Board homepage and more usable wiki: - https://wiki.sipeed.com/hardware/en/lichee/th1520/lpi4a/1_intro.html th1520-boot-firmware is selected from the package sipeed-lpi4abin. This is inspired from lone0's fork of buildroot for th1520.[1] [1] https://github.com/lone0/buildroot-th1520 Signed-off-by: Kanak Shilledar <kanakshilledar@gmail.com> [Julien: Tested on cpu board version 51601 on base board version 51602] Tested-by: Julien Olivain <ju.o@free.fr> [Julien: - add Signed-off-by line in commit log - reorder defconfig entries with "make savedefconfig" - fixed post-image.sh shellcheck warnings (found with "make check-package") - add extra info in readme.txt - change linux-headers.hash to a symlink - change linux.hash comment to take hash from upstream ] Signed-off-by: Julien Olivain <ju.o@free.fr>
43 lines
1.6 KiB
Plaintext
43 lines
1.6 KiB
Plaintext
BR2_riscv=y
|
|
BR2_RISCV_ISA_RVC=y
|
|
BR2_RISCV_ISA_RVV=y
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
|
|
BR2_GLOBAL_PATCH_DIR="board/sipeed/licheepi_4a/patches"
|
|
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
|
BR2_TARGET_GENERIC_HOSTNAME="licheepi4a"
|
|
BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the LicheePi 4A"
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
|
BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/sipeed/licheepi_4a/post-image.sh"
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.18"
|
|
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="thead/th1520-lichee-pi-4a"
|
|
BR2_PACKAGE_LINUX_FIRMWARE=y
|
|
BR2_PACKAGE_LINUX_FIRMWARE_RTL_RTW88=y
|
|
BR2_PACKAGE_SIPEED_LPI4ABIN=y
|
|
BR2_PACKAGE_IW=y
|
|
BR2_PACKAGE_WIRELESS_REGDB=y
|
|
BR2_PACKAGE_WIRELESS_TOOLS=y
|
|
BR2_PACKAGE_WPA_SUPPLICANT=y
|
|
BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
|
|
BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
BR2_TARGET_OPENSBI=y
|
|
BR2_TARGET_OPENSBI_CUSTOM_GIT=y
|
|
BR2_TARGET_OPENSBI_CUSTOM_REPO_URL="https://github.com/revyos/thead-opensbi.git"
|
|
BR2_TARGET_OPENSBI_CUSTOM_REPO_VERSION="61d7484c752a5e4c464d5dc18e21d9ac67fbbefa"
|
|
BR2_TARGET_OPENSBI_PLAT="generic"
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BOARDNAME="light_lpi4a"
|
|
BR2_TARGET_UBOOT_CUSTOM_GIT=y
|
|
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/revyos/thead-u-boot.git"
|
|
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="b5ee6e549a7b5ff382a14021a5d6a3c94017bddd"
|
|
BR2_TARGET_UBOOT_SPL=y
|
|
BR2_TARGET_UBOOT_SPL_NAME="u-boot-with-spl.bin"
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|
|
BR2_PACKAGE_HOST_MTOOLS=y
|