10 # BR2_RISCV_USE_MMU is not set
13 # Linux headers same as kernel, a 5.19 series
14 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
18 # BR2_TARGET_ENABLE_ROOT_LOGIN is not set
19 BR2_GLOBAL_PATCH_DIR="board/canaan/k210-soc/patches"
23 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
24 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19"
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_maix_bit"
33 # BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
37 BR2_TARGET_ROOTFS_EXT2=y
38 BR2_TARGET_ROOTFS_EXT2_SIZE="64M"
39 BR2_ROOTFS_POST_BUILD_SCRIPT="board/canaan/k210-soc/post-build.sh"
40 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
41 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/canaan/k210-soc/genimage.cfg"
43 # Bootloader and related host tools
45 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
46 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
47 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04"
48 BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/uboot.config"
49 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sipeed_maix_bitm"
50 BR2_TARGET_UBOOT_FORMAT_BIN=y
51 BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
52 BR2_PACKAGE_HOST_UBOOT_TOOLS=y
53 BR2_PACKAGE_HOST_GENIMAGE=y
54 BR2_PACKAGE_HOST_DOSFSTOOLS=y
55 BR2_PACKAGE_HOST_MTOOLS=y
56 BR2_PACKAGE_HOST_PYTHON_KFLASH=y