[Buildroot] [PATCH v3 0/7] Fix RV64 NOMMU and add Canaan K210 SoC support
Damien Le Moal
damien.lemoal at opensource.wdc.com
Tue Jun 7 02:31:33 UTC 2022
On 2022/05/31 14:49, Damien Le Moal via buildroot wrote:
> This patch series is a rework of the old v5 series "Add RV64 NOMMU and
> Canaan K210 SoC support" already posted some (long) time ago.
>
> This series adds support for building 64-bits RISC-V NOMMU kernels (both
> bootable kernels and u-boot sdcard boot envronements) for NOMMU RISC-V
> 64-bits boards. The board supported include QEMU and many boards using
> the dual-core RISC-V 64-bits Cannan Kendryte K210 SoC.
>
> The first patch is a simple fix of elf2flt configuration.
>
> Patch 2 adds the configurations files common to all K210-based boards.
>
> The last 5 patches add support for the following K210-based boards:
> * Sipeed MAIX Bit
> * Sipeed MAIXDUINO
> * Sipeed MAIX Dock (dan)
> * Sipeed MAIX Go
> * Canaan KD233 development board
>
> For each board, a readme.txt file is added to document how to build and
> install images for these boards.
Thomas,
Ping ? Large backlog ?
>
> Changes from v2:
> * Rebased patches on next branch
> * Modified patch 1 to address Thomas comments
> * Removed patches already applied
> * Modified patches 2 to 7 to remove the BR2_PACKAGE_HOST_ELF2FLT and
> reference the global patch directory in boar/riscv/nommu
>
> Changes from v1:
> * Modified patch 5 to add the python-kflash utility as a host package as
> the new 1.1.5 version of this utility fixes the previously identified
> problems with python dependencies.
> * Fixed patch 4 (qemu riscv nommu) to have buildroot configuration file
> reference kernel 5.18.
> * Fixed patch 11 (kd233 board) to have buildroot configuration file
> reference kernel 5.18.
> * Modified patch 7 to 11 to add the python-kflash host package to the
> buildroot configuration files. The instructions in the readme.txt
> file for each board are also updated accordingly.
>
> Damien Le Moal (7):
> package/elf2flt: Remove Config.in.host
> board: Add common support for Canaan K210 SoC-based boards
> board: Add Sipeed MAIX-Bit board support
> board: Add Sipeed MAIXDUINO board support
> board: Add Sipeed MAIX-Dock board support
> board: Add Sipeed MAIX-Go board support
> board: Add Canaan KD233 board support
>
> Config.in | 2 +-
> DEVELOPERS | 11 +
> arch/Config.in | 1 +
> board/canaan/k210-soc/busybox-tiny.config | 231 +++++++++++++
> board/canaan/k210-soc/genimage.cfg | 30 ++
> board/canaan/k210-soc/linux-sdcard.config | 4 +
> board/canaan/k210-soc/post-build.sh | 28 ++
> board/canaan/k210-soc/rootfs_overlay/init | 1 +
> .../canaan/k210-soc/rootfs_overlay/sbin/init | 41 +++
> board/canaan/k210-soc/uboot.config | 1 +
> board/canaan/kd233/linux-cpio.config | 2 +
> board/canaan/kd233/readme.txt | 149 ++++++++
> board/sipeed/maix-bit/linux-cpio.config | 2 +
> board/sipeed/maix-bit/readme.txt | 316 +++++++++++++++++
> board/sipeed/maix-dock/linux-cpio.config | 2 +
> board/sipeed/maix-dock/readme.txt | 321 ++++++++++++++++++
> board/sipeed/maix-go/linux-cpio.config | 2 +
> board/sipeed/maix-go/readme.txt | 320 +++++++++++++++++
> board/sipeed/maixduino/linux-cpio.config | 2 +
> board/sipeed/maixduino/readme.txt | 292 ++++++++++++++++
> configs/canaan_kd233_defconfig | 39 +++
> configs/qemu_arm_versatile_nommu_defconfig | 1 -
> configs/qemu_riscv64_nommu_virt_defconfig | 1 -
> configs/qemu_xtensa_lx60_nommu_defconfig | 1 -
> configs/sipeed_maix_bit_defconfig | 39 +++
> configs/sipeed_maix_bit_sdcard_defconfig | 57 ++++
> configs/sipeed_maix_dock_defconfig | 39 +++
> configs/sipeed_maix_dock_sdcard_defconfig | 57 ++++
> configs/sipeed_maix_go_defconfig | 39 +++
> configs/sipeed_maix_go_sdcard_defconfig | 57 ++++
> configs/sipeed_maixduino_defconfig | 39 +++
> configs/sipeed_maixduino_sdcard_defconfig | 57 ++++
> package/elf2flt/Config.in.host | 13 -
> toolchain/toolchain-buildroot/Config.in | 1 -
> 34 files changed, 2180 insertions(+), 18 deletions(-)
> create mode 100644 board/canaan/k210-soc/busybox-tiny.config
> create mode 100644 board/canaan/k210-soc/genimage.cfg
> create mode 100644 board/canaan/k210-soc/linux-sdcard.config
> create mode 100755 board/canaan/k210-soc/post-build.sh
> create mode 120000 board/canaan/k210-soc/rootfs_overlay/init
> create mode 100755 board/canaan/k210-soc/rootfs_overlay/sbin/init
> create mode 100644 board/canaan/k210-soc/uboot.config
> create mode 100644 board/canaan/kd233/linux-cpio.config
> create mode 100644 board/canaan/kd233/readme.txt
> create mode 100644 board/sipeed/maix-bit/linux-cpio.config
> create mode 100644 board/sipeed/maix-bit/readme.txt
> create mode 100644 board/sipeed/maix-dock/linux-cpio.config
> create mode 100644 board/sipeed/maix-dock/readme.txt
> create mode 100644 board/sipeed/maix-go/linux-cpio.config
> create mode 100644 board/sipeed/maix-go/readme.txt
> create mode 100644 board/sipeed/maixduino/linux-cpio.config
> create mode 100644 board/sipeed/maixduino/readme.txt
> create mode 100644 configs/canaan_kd233_defconfig
> create mode 100644 configs/sipeed_maix_bit_defconfig
> create mode 100644 configs/sipeed_maix_bit_sdcard_defconfig
> create mode 100644 configs/sipeed_maix_dock_defconfig
> create mode 100644 configs/sipeed_maix_dock_sdcard_defconfig
> create mode 100644 configs/sipeed_maix_go_defconfig
> create mode 100644 configs/sipeed_maix_go_sdcard_defconfig
> create mode 100644 configs/sipeed_maixduino_defconfig
> create mode 100644 configs/sipeed_maixduino_sdcard_defconfig
> delete mode 100644 package/elf2flt/Config.in.host
>
--
Damien Le Moal
Western Digital Research
More information about the buildroot
mailing list