All of lore.kernel.org
 help / color / mirror / Atom feed
From: Damien Le Moal <damien.lemoal@wdc.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 0/9] Add RISC-V NOMMU and Canaan K210 SoC support
Date: Thu, 15 Jul 2021 09:48:34 +0900	[thread overview]
Message-ID: <20210715004843.337268-1-damien.lemoal@wdc.com> (raw)

This series adds support for building RISC-V NOMMU kernel bootable
images for boards using the Cannan Kendryte K210 SoC.

The first patch makes MMU builds optional for RISC-V. The second patch
enables RV64 support in elf2flt (patch sent to uclinux-dev). The third
patch changes the base name of the toolchain to avoid build errors.

The following 5 patches add default build configuration files for
various boards: MAIX-bit, MAIX-go, MAIX-dock (Dan Dock) and MAIXDUINO
from Sipeed and the Canaan KD233 development board.

Finally, patch 9 documents how to build and install images for these
boards.

Changes from v1:
* Rebased on latest master
* Simplified patch 3 as suggested by Baruch
* Fixed typos in documentation (patch 9)
* Added reviewed-by tags

Christoph Hellwig (2):
  package/elf2flt: add RISC-V support
  package make: build RISC-V nommu builds as linux

Damien Le Moal (7):
  arch/config: Make RISC-V MMU optional
  board: Add Sipeed MAIX-bit support
  board: Add Sipeed MAIX-Go support
  board: Add Sipeed MAIXDUINO support
  board: Add Sipeed MAIX-Dock support
  board: Add Canaan KD233 support
  board: Document Canaan K210 based boards support

 arch/Config.in                                |    2 +-
 board/canaan/k210-common/README.md            |  318 +++++
 .../k210-common/busybox-tiny-initramfs.config | 1183 +++++++++++++++++
 .../k210-common/rootfs_overlay/usr/sbin/init  |   26 +
 board/canaan/kd233/README.md                  |    4 +
 board/canaan/kd233/linux-dtb.config           |    2 +
 board/sipeed/maix-bit/README.md               |    4 +
 board/sipeed/maix-bit/linux-dtb.config        |    2 +
 board/sipeed/maix-dock/README.md              |    4 +
 board/sipeed/maix-dock/linux-dtb.config       |    2 +
 board/sipeed/maix-go/README.md                |    4 +
 board/sipeed/maix-go/linux-dtb.config         |    2 +
 board/sipeed/maixduino/README.md              |    4 +
 board/sipeed/maixduino/linux-dtb.config       |    2 +
 configs/canaan_kd233_defconfig                |   23 +
 configs/canaan_kd233_sdcard_defconfig         |   23 +
 configs/sipeed_maix_bit_defconfig             |   23 +
 configs/sipeed_maix_bit_sdcard_defconfig      |   23 +
 configs/sipeed_maix_dock_defconfig            |   23 +
 configs/sipeed_maix_dock_sdcard_defconfig     |   23 +
 configs/sipeed_maix_go_defconfig              |   23 +
 configs/sipeed_maix_go_sdcard_defconfig       |   23 +
 configs/sipeed_maixduino_defconfig            |   23 +
 configs/sipeed_maixduino_sdcard_defconfig     |   23 +
 package/Makefile.in                           |    5 +-
 .../0004-elf2flt-add-riscv-support.patch      |  293 ++++
 package/elf2flt/Config.in.host                |    2 +-
 27 files changed, 2085 insertions(+), 4 deletions(-)
 create mode 100644 board/canaan/k210-common/README.md
 create mode 100644 board/canaan/k210-common/busybox-tiny-initramfs.config
 create mode 100755 board/canaan/k210-common/rootfs_overlay/usr/sbin/init
 create mode 100644 board/canaan/kd233/README.md
 create mode 100644 board/canaan/kd233/linux-dtb.config
 create mode 100644 board/sipeed/maix-bit/README.md
 create mode 100644 board/sipeed/maix-bit/linux-dtb.config
 create mode 100644 board/sipeed/maix-dock/README.md
 create mode 100644 board/sipeed/maix-dock/linux-dtb.config
 create mode 100644 board/sipeed/maix-go/README.md
 create mode 100644 board/sipeed/maix-go/linux-dtb.config
 create mode 100644 board/sipeed/maixduino/README.md
 create mode 100644 board/sipeed/maixduino/linux-dtb.config
 create mode 100644 configs/canaan_kd233_defconfig
 create mode 100644 configs/canaan_kd233_sdcard_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
 create mode 100644 package/elf2flt/0004-elf2flt-add-riscv-support.patch

-- 
2.31.1

             reply	other threads:[~2021-07-15  0:48 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-15  0:48 Damien Le Moal [this message]
2021-07-15  0:48 ` [Buildroot] [PATCH v2 1/9] arch/config: Make RISC-V MMU optional Damien Le Moal
2021-07-17 15:46   ` Yann E. MORIN
2021-07-15  0:48 ` [Buildroot] [PATCH v2 2/9] package/elf2flt: add RISC-V support Damien Le Moal
2021-07-17 15:54   ` Yann E. MORIN
2021-07-15  0:48 ` [Buildroot] [PATCH v2 3/9] package make: build RISC-V nommu builds as linux Damien Le Moal
2021-07-15  4:45   ` Alistair Francis
2021-07-15  0:48 ` [Buildroot] [PATCH v2 4/9] board: Add Sipeed MAIX-bit support Damien Le Moal
2021-07-23 22:25   ` Arnout Vandecappelle
2021-07-23 22:35     ` Thomas Petazzoni
2021-07-23 22:43       ` Damien Le Moal
2021-07-24 14:56         ` Arnout Vandecappelle
2021-07-23 22:40     ` Damien Le Moal
2021-07-24 14:53       ` Arnout Vandecappelle
2021-07-15  0:48 ` [Buildroot] [PATCH v2 5/9] board: Add Sipeed MAIX-Go support Damien Le Moal
2021-07-15  0:48 ` [Buildroot] [PATCH v2 6/9] board: Add Sipeed MAIXDUINO support Damien Le Moal
2021-07-15  0:48 ` [Buildroot] [PATCH v2 7/9] board: Add Sipeed MAIX-Dock support Damien Le Moal
2021-07-15  0:48 ` [Buildroot] [PATCH v2 8/9] board: Add Canaan KD233 support Damien Le Moal
2021-07-15  0:48 ` [Buildroot] [PATCH v2 9/9] board: Document Canaan K210 based boards support Damien Le Moal
2021-07-23 22:25 ` [Buildroot] [PATCH v2 0/9] Add RISC-V NOMMU and Canaan K210 SoC support Arnout Vandecappelle
2021-07-23 22:40   ` Damien Le Moal
2021-08-28 13:48     ` Thomas Petazzoni
2021-08-29 22:44       ` Damien Le Moal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210715004843.337268-1-damien.lemoal@wdc.com \
    --to=damien.lemoal@wdc.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.