]>
Commit | Line | Data |
---|---|---|
6d180daf DLM |
1 | # Architecture |
2 | BR2_riscv=y | |
3 | BR2_RISCV_64=y | |
4 | BR2_riscv_custom=y | |
cbd91e89 JG |
5 | BR2_RISCV_ISA_RVM=y |
6 | BR2_RISCV_ISA_RVA=y | |
7 | BR2_RISCV_ISA_RVF=y | |
8 | BR2_RISCV_ISA_RVD=y | |
9 | BR2_RISCV_ISA_RVC=y | |
87491656 | 10 | # BR2_RISCV_USE_MMU is not set |
6d180daf DLM |
11 | BR2_RISCV_ABI_LP64D=y |
12 | ||
1bd8e718 PK |
13 | # Linux headers same as kernel, a 5.19 series |
14 | BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y | |
15 | ||
6d180daf | 16 | # System |
6d180daf | 17 | BR2_BINFMT_FLAT=y |
6d180daf | 18 | # BR2_TARGET_ENABLE_ROOT_LOGIN is not set |
3214d9d2 | 19 | BR2_GLOBAL_PATCH_DIR="board/canaan/k210-soc/patches" |
6d180daf DLM |
20 | |
21 | # Kernel | |
22 | BR2_LINUX_KERNEL=y | |
23 | BR2_LINUX_KERNEL_CUSTOM_VERSION=y | |
f78fae8c | 24 | BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19" |
6d180daf DLM |
25 | BR2_LINUX_KERNEL_DEFCONFIG="nommu_k210_sdcard" |
26 | BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/linux-sdcard.config" | |
27 | BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y | |
28 | BR2_LINUX_KERNEL_IMAGE_NAME="loader.bin" | |
29 | BR2_LINUX_KERNEL_DTS_SUPPORT=y | |
30 | BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/sipeed_maixduino" | |
31 | ||
32 | # Packages | |
6d180daf DLM |
33 | # BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set |
34 | ||
35 | # Filesystem | |
36 | BR2_INIT_NONE=y | |
37 | BR2_TARGET_ROOTFS_EXT2=y | |
5fef2f26 | 38 | BR2_TARGET_ROOTFS_EXT2_SIZE="64M" |
6d180daf DLM |
39 | BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" |
40 | BR2_ROOTFS_POST_BUILD_SCRIPT="board/canaan/k210-soc/post-build.sh" | |
41 | BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" | |
42 | BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/canaan/k210-soc/genimage.cfg" | |
43 | ||
44 | # Bootloader and related host tools | |
45 | BR2_TARGET_UBOOT=y | |
46 | BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y | |
47 | BR2_TARGET_UBOOT_CUSTOM_VERSION=y | |
48 | BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04" | |
49 | BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/uboot.config" | |
50 | BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sipeed_maix_bitm" | |
51 | BR2_TARGET_UBOOT_FORMAT_BIN=y | |
959e9f7f | 52 | BR2_TARGET_UBOOT_NEEDS_OPENSSL=y |
6d180daf DLM |
53 | BR2_PACKAGE_HOST_UBOOT_TOOLS=y |
54 | BR2_PACKAGE_HOST_GENIMAGE=y | |
55 | BR2_PACKAGE_HOST_DOSFSTOOLS=y | |
56 | BR2_PACKAGE_HOST_MTOOLS=y | |
57 | BR2_PACKAGE_HOST_PYTHON_KFLASH=y |