All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alistair Francis <alistair23@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 5/9] board: Add Sipeed MAIX-Go support
Date: Tue, 13 Jul 2021 08:16:10 +1000	[thread overview]
Message-ID: <CAKmqyKOA-AkMGD-yJJ=hmL0WzZsGmCeEJp9juBCaEbTkuHmtEg@mail.gmail.com> (raw)
In-Reply-To: <20210709063641.277005-6-damien.lemoal@wdc.com>

On Fri, Jul 9, 2021 at 4:37 PM Damien Le Moal <damien.lemoal@wdc.com> wrote:
>
> Add two configuration files to support the RISC-V Canaan K210 SoC based
> Sipeed MAIX-Go board. These configurations are similar to the Sipeed
> MAIX-bit board configurations, differing only by the built-in device
> tree used.
>
> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>

Alistair

> ---
>  board/sipeed/maix-go/linux-dtb.config   |  2 ++
>  configs/sipeed_maix_go_defconfig        | 23 +++++++++++++++++++++++
>  configs/sipeed_maix_go_sdcard_defconfig | 23 +++++++++++++++++++++++
>  3 files changed, 48 insertions(+)
>  create mode 100644 board/sipeed/maix-go/linux-dtb.config
>  create mode 100644 configs/sipeed_maix_go_defconfig
>  create mode 100644 configs/sipeed_maix_go_sdcard_defconfig
>
> diff --git a/board/sipeed/maix-go/linux-dtb.config b/board/sipeed/maix-go/linux-dtb.config
> new file mode 100644
> index 0000000000..ea8c30e266
> --- /dev/null
> +++ b/board/sipeed/maix-go/linux-dtb.config
> @@ -0,0 +1,2 @@
> +CONFIG_SOC_CANAAN_K210_DTB_BUILTIN=y
> +CONFIG_SOC_CANAAN_K210_DTB_SOURCE="sipeed_maix_go"
> diff --git a/configs/sipeed_maix_go_defconfig b/configs/sipeed_maix_go_defconfig
> new file mode 100644
> index 0000000000..c5df26340f
> --- /dev/null
> +++ b/configs/sipeed_maix_go_defconfig
> @@ -0,0 +1,23 @@
> +BR2_riscv=y
> +# BR2_COMPILER_PARANOID_UNSAFE_PATH is not set
> +BR2_KERNEL_HEADERS_5_13=y
> +# BR2_UCLIBC_INSTALL_UTILS is not set
> +BR2_GCC_VERSION_11_X=y
> +BR2_GCC_ENABLE_LTO=y
> +BR2_PACKAGE_HOST_ELF2FLT=y
> +# BR2_USE_MMU is not set
> +BR2_TARGET_GENERIC_HOSTNAME=""
> +BR2_INIT_NONE=y
> +BR2_ROOTFS_MERGED_USR=y
> +BR2_SYSTEM_DEFAULT_PATH="/bin:/sbin:/usr/bin:/usr/sbin"
> +BR2_ROOTFS_OVERLAY="board/canaan/k210-common/rootfs_overlay"
> +BR2_LINUX_KERNEL=y
> +BR2_LINUX_KERNEL_DEFCONFIG="nommu_k210"
> +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sipeed/maix-go/linux-dtb.config"
> +BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y
> +BR2_LINUX_KERNEL_IMAGE_NAME="loader.bin"
> +BR2_PACKAGE_BUSYBOX_CONFIG="board/canaan/k210-common/busybox-tiny-initramfs.config"
> +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
> +# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
> +BR2_TARGET_ROOTFS_INITRAMFS=y
> +# BR2_TARGET_ROOTFS_TAR is not set
> diff --git a/configs/sipeed_maix_go_sdcard_defconfig b/configs/sipeed_maix_go_sdcard_defconfig
> new file mode 100644
> index 0000000000..dcea0a6044
> --- /dev/null
> +++ b/configs/sipeed_maix_go_sdcard_defconfig
> @@ -0,0 +1,23 @@
> +BR2_riscv=y
> +# BR2_COMPILER_PARANOID_UNSAFE_PATH is not set
> +BR2_KERNEL_HEADERS_5_13=y
> +# BR2_UCLIBC_INSTALL_UTILS is not set
> +BR2_GCC_VERSION_11_X=y
> +BR2_GCC_ENABLE_LTO=y
> +BR2_PACKAGE_HOST_ELF2FLT=y
> +# BR2_USE_MMU is not set
> +BR2_TARGET_GENERIC_HOSTNAME=""
> +BR2_INIT_NONE=y
> +BR2_ROOTFS_MERGED_USR=y
> +BR2_SYSTEM_DEFAULT_PATH="/bin:/sbin:/usr/bin:/usr/sbin"
> +BR2_ROOTFS_OVERLAY="board/canaan/k210-common/rootfs_overlay"
> +BR2_LINUX_KERNEL=y
> +BR2_LINUX_KERNEL_DEFCONFIG="nommu_k210_sdcard"
> +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sipeed/maix-go/linux-dtb.config"
> +BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y
> +BR2_LINUX_KERNEL_IMAGE_NAME="loader.bin"
> +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config"
> +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
> +# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
> +BR2_TARGET_ROOTFS_EXT2=y
> +# BR2_TARGET_ROOTFS_TAR is not set
> --
> 2.31.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

  reply	other threads:[~2021-07-12 22:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-09  6:36 [Buildroot] [PATCH 0/9] Add RISC-V NOMMU and Canaan K210 SoC support Damien Le Moal
2021-07-09  6:36 ` [Buildroot] [PATCH 1/9] arch/config: Make RISC-V MMU optional Damien Le Moal
2021-07-12  3:20   ` Alistair Francis
2021-07-09  6:36 ` [Buildroot] [PATCH 2/9] package/elf2flt: add RISC-V support Damien Le Moal
2021-07-09  6:36 ` [Buildroot] [PATCH 3/9] package make: build RISC-V nommu builds as linux Damien Le Moal
2021-07-11  3:39   ` Baruch Siach
2021-07-09  6:36 ` [Buildroot] [PATCH 4/9] board: Add Sipeed MAIX-bit support Damien Le Moal
2021-07-12 22:15   ` Alistair Francis
2021-07-09  6:36 ` [Buildroot] [PATCH 5/9] board: Add Sipeed MAIX-Go support Damien Le Moal
2021-07-12 22:16   ` Alistair Francis [this message]
2021-07-09  6:36 ` [Buildroot] [PATCH 6/9] board: Add Sipeed MAIXDUINO support Damien Le Moal
2021-07-12 22:41   ` Alistair Francis
2021-07-09  6:36 ` [Buildroot] [PATCH 7/9] board: Add Sipeed MAIX-Dock support Damien Le Moal
2021-07-12 22:43   ` Alistair Francis
2021-07-09  6:36 ` [Buildroot] [PATCH 8/9] board: Add Canaan KD233 support Damien Le Moal
2021-07-09  6:36 ` [Buildroot] [PATCH 9/9] board: Document Canaan K210 based boards support Damien Le Moal
2021-07-13  4:07   ` Alistair Francis

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='CAKmqyKOA-AkMGD-yJJ=hmL0WzZsGmCeEJp9juBCaEbTkuHmtEg@mail.gmail.com' \
    --to=alistair23@gmail.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.