Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3 0/7] Fix RV64 NOMMU and add Canaan K210 SoC support
@ 2022-05-31  5:49 Damien Le Moal via buildroot
  2022-05-31  5:49 ` [Buildroot] [PATCH v3 1/7] package/elf2flt: Remove Config.in.host Damien Le Moal via buildroot
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Damien Le Moal via buildroot @ 2022-05-31  5:49 UTC (permalink / raw)
  To: buildroot, Thomas Petazzoni
  Cc: Niklas Cassel, Alistair Francis, Yann E . MORIN

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.

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

-- 
2.36.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-07-04 11:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-31  5:49 [Buildroot] [PATCH v3 0/7] Fix RV64 NOMMU and add Canaan K210 SoC support Damien Le Moal via buildroot
2022-05-31  5:49 ` [Buildroot] [PATCH v3 1/7] package/elf2flt: Remove Config.in.host Damien Le Moal via buildroot
2022-05-31  5:49 ` [Buildroot] [PATCH v3 2/7] board: Add common support for Canaan K210 SoC-based boards Damien Le Moal via buildroot
2022-05-31  5:49 ` [Buildroot] [PATCH v3 3/7] board: Add Sipeed MAIX-Bit board support Damien Le Moal via buildroot
2022-05-31  5:49 ` [Buildroot] [PATCH v3 4/7] board: Add Sipeed MAIXDUINO " Damien Le Moal via buildroot
2022-05-31  5:49 ` [Buildroot] [PATCH v3 5/7] board: Add Sipeed MAIX-Dock " Damien Le Moal via buildroot
2022-05-31  5:49 ` [Buildroot] [PATCH v3 6/7] board: Add Sipeed MAIX-Go " Damien Le Moal via buildroot
2022-05-31  5:49 ` [Buildroot] [PATCH v3 7/7] board: Add Canaan KD233 " Damien Le Moal via buildroot
2022-06-07  2:31 ` [Buildroot] [PATCH v3 0/7] Fix RV64 NOMMU and add Canaan K210 SoC support Damien Le Moal via buildroot
2022-06-09  7:35   ` Thomas Petazzoni via buildroot
2022-07-04 11:30 ` Damien Le Moal via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox