kumquat-buildroot/board
Damien Le Moal 6939b5cacf board: Add common support for Canaan K210 SoC-based boards
The Linux environment for all boards using the Canaan Kendryte K210 SoC
can be built with the same process, using configurations that differ
only by the device tree used for the build. This patch add the
shared configurations, rootfs overlay and scripts used for all
K210-based boards.

Since the K210 SoC only has 8 MB of SRAM, a special busybox
configuration and rootfs overlay are added to save memory at runtime:
* For configurations using direct kernel boot (no boot loader), the
  default busybox configuration busybox-minimal.config is modified
  using the fragment file board/canaan/k210-soc/busybox-tiny.config.
  This reduces the size of the busybox executable to save memory when
  executing shell commands.
* Busybox init system is not used and a special init scripts is provided
  using the rootfs_overlay root file system overlay. This init script
  simply mounts devtmpfs, /proc and /sys, and exec an interactive shell
  after printing a logo. This avoids (1) boot failures due to large
  memory allocations by the regular busybox init system (these
  allocations fail on the K210 for lack of enough memory) and avoids
  (2) keeping the init process sleeping in the background (wasted
  memory).

The board/canaan/k210-soc/busybox-tiny.config and the rootfs overlay
files in board/canaan/k210-soc/rootfs_overlay are used for all Canaan
K210 SoC based boards.

For board configurations booting using the U-Boot boot loader, a common
set of linux kernel configuration parameters is provided by the file
board/canaan/k210-soc/linux-sdcard.config. In addition, the post build
script board/canaan/k210-soc/post-build.sh file and U-Boot image
generation configuration file board/canaan/k210-soc/genimage.cfg are
provided. The post-build script creates a generic "k210.dtb" symlink to
the compiled device tree file for the target board. This symlink is used
by the genimage.cfg configuration, making this file common for all
boards.

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-07-23 16:38:54 +02:00
..
aarch64-efi board/*/genimage.cfg: use partition-type-uuid U where relevant 2022-07-23 15:36:22 +02:00
acmesystems
altera/socrates_cyclone5
amarula
andes/ae350 configs/andes_ae300: remove defconfig 2022-06-19 18:26:41 +02:00
arcturus board/arcturus/aarch64-ucls1012a: bump u-boot and kernel version 2022-03-10 21:39:07 +01:00
arm
armadeus
arrow/avenger96
aspeed configs/aspeed_ast2500evb: new defconfig 2022-06-27 22:59:51 +02:00
asus/tinker
atmel configs/microchip_sama7g5ek: new defconfigs 2021-12-28 22:01:50 +01:00
avnet/s6lx9_microboard
bananapi
beagleboardx15
beaglebone configs/beaglebone: add DT for the Beaglebone Black Wireless 2021-12-14 20:56:04 +01:00
beagleboneai board/beagleboneai/patches/uboot: drop 0002-Remove-redundant-YYLOC-global-declaration.patch 2021-12-11 11:09:03 +01:00
beaglev board/*/genimage.cfg: use partition-table-type = "gpt" for genimage-15 2021-12-27 15:41:51 +01:00
beelink/gs1
boundarydevices/common
canaan/k210-soc board: Add common support for Canaan K210 SoC-based boards 2022-07-23 16:38:54 +02:00
chromebook
ci20
csky
cubietech/cubieboard2
embest/riotboard
engicam
firefly/roc-rk3399-pc
freescale board/freescale/common/imx: add TEE support in imx8-bootloader-prepare 2022-05-02 23:40:23 +02:00
friendlyarm board/*/genimage.cfg: use partition-type-uuid = F for some FAT partitions 2022-07-23 15:36:22 +02:00
globalscale/espressobin
grinn
hardkernel boards/odroidc2: fix genimage execution 2021-12-18 21:59:52 +01:00
intel/galileo board/intel/galileo: fix build failure with host gcc 10 2022-02-13 13:05:05 +01:00
kontron board/kontron/pitx-imx8m: add U-Boot 2022.04 patch 2022-07-19 22:45:30 +02:00
lego/ev3
lemaker/bananapro
librecomputer/lafrite
licheepi
linksprite/pcduino board/linksprite/pcduino: switch to extlinux 2022-03-10 21:39:45 +01:00
microchip configs/microchip_sama7g5ek: new defconfigs 2021-12-28 22:01:50 +01:00
minnowboard board/*/genimage.cfg: use partition-table-type = "gpt" for genimage-15 2021-12-27 15:41:51 +01:00
nexbox/a95x
nezha board/nezha/genimage.cfg: fix offset value notation 2021-11-14 15:40:54 +01:00
octavo board/*/genimage.cfg: use partition-table-type = "gpt" 2022-07-23 15:36:21 +02:00
olimex board/*/genimage.cfg: use partition-table-type = "gpt" 2022-07-23 15:36:21 +02:00
olpc
openblocks/a6
orangepi board/orangepi/orangepi-r1/genimage.cfg: use correct partition type 2022-07-23 15:36:22 +02:00
pandaboard
pc board/*/genimage.cfg: use partition-type-uuid U where relevant 2022-07-23 15:36:22 +02:00
pcengines/apu2
pine64 board/*/genimage.cfg: use partition-type-uuid = F for some FAT partitions 2022-07-23 15:36:22 +02:00
qemu board/*/genimage.cfg: use partition-type-uuid U where relevant 2022-07-23 15:36:22 +02:00
qmtech/zynq
radxa board/*/genimage.cfg: use partition-type-uuid = F for some FAT partitions 2022-07-23 15:36:22 +02:00
raspberrypi board/raspberrypicm4io-64: enable RTC and USB overlays 2022-01-13 23:12:11 +01:00
riscv/nommu/patches/linux board/riscv/nommu: add common Linux kernel patch for RISCV NOMMU builds 2022-05-30 21:15:07 +02:00
roseapplepi configs/roseapplypi_defconfig: bump kernel to 5.15.10 2021-12-18 22:12:30 +01:00
seeed/stm32mp157c-odyssey board/*/genimage.cfg: use partition-table-type = "gpt" 2022-07-23 15:36:21 +02:00
sheevaplug
sifive/hifive-unleashed board/sifive/hifive-unleashed/genimage*: convert partition-type-uuid values to lower-case 2022-07-23 15:36:22 +02:00
sinovoip
solidrun
spike/riscv64 board/spike/riscv64/start.sh: add buildroot host dir in PATH 2022-01-13 20:38:49 +01:00
stmicroelectronics board/*/genimage.cfg: use partition-table-type = "gpt" 2022-07-23 15:36:21 +02:00
synopsys board/synopsys: remove outdated vdk boards 2022-02-12 12:51:11 +01:00
technexion configs/imx6ulpico: bump U-Boot and kernel, switch to extlinux.conf 2021-12-29 23:53:16 +01:00
technologic fix links to Technologic Systems web resources 2022-03-09 21:47:48 +01:00
terasic/de10nano_cyclone5
toradex/apalis-imx6
udoo configs/mx6sx_udoo: bump U-Boot and kernel 2022-01-11 22:15:11 +01:00
uevm5432
wandboard
warp7
zynq configs/zynq_xxx_defconfig: bump to Xilinx 2022.1 2022-05-06 21:18:15 +02:00
zynqmp board/zynqmp/kria/kv260/uboot.fragment: add additional uboot build options 2022-07-07 17:10:37 +02:00
raspberrypi0
raspberrypi0w
raspberrypi2
raspberrypi3
raspberrypi3-64
raspberrypi4
raspberrypi4-64
raspberrypicm4io
raspberrypicm4io-64
raspberrypizero2w