]>
Commit | Line | Data |
---|---|---|
c0d05596 DLM |
1 | # Architecture |
2 | BR2_riscv=y | |
3 | BR2_RISCV_64=y | |
4 | BR2_riscv_custom=y | |
5 | BR2_RISCV_ISA_CUSTOM_RVM=y | |
6 | BR2_RISCV_ISA_CUSTOM_RVA=y | |
7 | BR2_RISCV_ISA_CUSTOM_RVF=y | |
8 | BR2_RISCV_ISA_CUSTOM_RVD=y | |
9 | BR2_RISCV_ISA_CUSTOM_RVC=y | |
87491656 | 10 | # BR2_RISCV_USE_MMU is not set |
c0d05596 DLM |
11 | BR2_RISCV_ABI_LP64D=y |
12 | ||
c0d05596 | 13 | # System |
c0d05596 DLM |
14 | BR2_BINFMT_FLAT=y |
15 | BR2_BINFMT_FLAT_ONE=y | |
16 | # BR2_TARGET_ENABLE_ROOT_LOGIN is not set | |
17 | ||
18 | # Kernel | |
19 | BR2_LINUX_KERNEL=y | |
20 | BR2_LINUX_KERNEL_CUSTOM_VERSION=y | |
f78fae8c | 21 | BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19" |
c0d05596 DLM |
22 | BR2_LINUX_KERNEL_DEFCONFIG="nommu_k210_sdcard" |
23 | BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/linux-sdcard.config" | |
24 | BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y | |
25 | BR2_LINUX_KERNEL_IMAGE_NAME="loader.bin" | |
26 | BR2_LINUX_KERNEL_DTS_SUPPORT=y | |
27 | BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/sipeed_maix_bit" | |
28 | ||
29 | # Packages | |
30 | BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" | |
31 | # BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set | |
32 | ||
33 | # Filesystem | |
34 | BR2_INIT_NONE=y | |
35 | BR2_TARGET_ROOTFS_EXT2=y | |
5fef2f26 | 36 | BR2_TARGET_ROOTFS_EXT2_SIZE="64M" |
c0d05596 DLM |
37 | BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" |
38 | BR2_ROOTFS_POST_BUILD_SCRIPT="board/canaan/k210-soc/post-build.sh" | |
39 | BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" | |
40 | BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/canaan/k210-soc/genimage.cfg" | |
41 | ||
42 | # Bootloader and related host tools | |
43 | BR2_TARGET_UBOOT=y | |
44 | BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y | |
45 | BR2_TARGET_UBOOT_CUSTOM_VERSION=y | |
46 | BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" | |
47 | BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/uboot.config" | |
48 | BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sipeed_maix_bitm" | |
49 | BR2_TARGET_UBOOT_FORMAT_BIN=y | |
50 | BR2_PACKAGE_HOST_UBOOT_TOOLS=y | |
51 | BR2_PACKAGE_HOST_GENIMAGE=y | |
52 | BR2_PACKAGE_HOST_DOSFSTOOLS=y | |
53 | BR2_PACKAGE_HOST_MTOOLS=y | |
54 | BR2_PACKAGE_HOST_PYTHON_KFLASH=y |