kumquat-buildroot/board
Adam Duskett 71cc399259 board/mender: add a mender board example configuration.
Buildroot currently has all of the needed packages to use Mender as the primary
update system. However, there isn't any documentation or examples now that
provide a starting point for users. This lack of documentation makes setting up
a Mender based update system difficult and time-consuming.

Provided in this patch series is a mender_x86_64_efi_defconfig of which sets up
an x86_64 EFI based build that is ready to flash to a USB pen drive or use in a
QEMU environment. The system partition schema comprises of two equally sized
root partitions and a data partition that mounts to /var/lib/mender as a
persistent data store partition.

There is a board/mender/readme.txt provided, which gives users documentation on
how to flash the built image or boot the image using QEMU as well.

The post-build and post-image-efi scripts also have four options:
-a --artifact-name:
  - The name of the artifact, this is added to /etc/mender/artifact_info
-o --data-part-size:
  - The data partition size.
-d --device-type
  - The device-type used by mender to catagorize registered devices.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Mikael Bourhis-Cloarec <mikael.bourhis@smile.fr>
[Romain: rebase on master (01.2022)
  - update genimage-efi.cfg to use GPT partition table and genimage-15 syntax
  - bump the kernel to 5.15.13
  - Add host-libelf kernel dependency
  - Use BR2_TARGET_GRUB2_BUILTIN_MODULES_EFI after commit 82d1e8c628
    (boot/grub2: use none platform when building for host)
  - Add regexp grub mandatory module for mender-grubenv
  - remove startup.nsh from genimage-efi.cfg after commit 3efb5e31fc
    (board, boot, package: remove usage of startup.nsh in EFI partition)]
Signed-off-by: Romain Naour <romain.naour@smile.fr>
[Arnout:
  - abbreviate sizes and partition uuids, remove implicit ones in genimage.cfg
  - change data partition uuid to Linux (instead of x86_64 rootfs)
  - fix whitespace and shellcheck errors in scripts
  - remove --generate-mender-image option, always create it
  - remove empty directory and -O ^64bit when creating data fs
  - remove redundant e2fsck
  - add -serial stdio option to qemu call
  - update kernel to current stable 5.18.14
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-07-24 21:04:38 +02:00
..
aarch64-efi board/*/genimage.cfg: use partition-type-uuid U where relevant 2022-07-23 15:36:22 +02:00
acmesystems board/acmesystems/arietta-g25/genimage.cfg: beautify file 2021-11-08 22:20:39 +01:00
altera/socrates_cyclone5 board/altera/socrates_cyclone5/genimage.cfg: fix offset suffix 2021-11-14 15:31:57 +01:00
amarula board/amarula/a64-relic/genimage.cfg: beautify file 2021-11-08 22:20:41 +01:00
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 configs/arm_foundationv8: bump to Linux 5.9.11 2020-12-01 23:39:08 +01:00
armadeus board/armadeus: replace utf-8 graphic sympols by ascii characters 2019-05-18 23:34:18 +02:00
arrow/avenger96 configs/avenger96_defconfig: add support for Arrow Avenger96 board 2021-02-08 16:25:00 +01:00
aspeed configs/aspeed_ast2500evb: new defconfig 2022-06-27 22:59:51 +02:00
asus/tinker configs/asus_tinker_rk3288: bump to Linux kernel 5.14.13 and u-boot 2021.10 2021-10-24 16:05:00 +02:00
atmel configs/microchip_sama7g5ek: new defconfigs 2021-12-28 22:01:50 +01:00
avnet/s6lx9_microboard zynq: unify readme.txt for all Zynq boards 2016-07-30 18:15:26 +02:00
bananapi board/bananapi/bananapi-m2-zero/genimage.cfg: beautify file 2021-11-08 22:59:26 +01:00
beagleboardx15 board/beagleboardx15/genimage.cfg: beautify file 2021-11-08 22:59:25 +01:00
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 board/beelink/gs1/genimage.cfg: beautify file 2021-11-08 22:59:25 +01:00
boundarydevices/common board/boundarydevices: update readme.txt for nitrogen8mp 2021-04-28 23:37:00 +02:00
canaan board: Add Canaan KD233 board support 2022-07-23 16:38:55 +02:00
chromebook configs/chromebook_elm: bump to Linux v5.10 2021-07-03 22:55:25 +02:00
ci20 board/ci20/genimage.cfg: beautify file 2021-11-08 22:59:25 +01:00
csky configs/csky_gx6605s: bump kernel to 5.0 and use buildroot toolchain 2019-08-02 23:42:51 +02:00
cubietech/cubieboard2 board/cubietech/cubieboard2/genimage.cfg: beautify file 2021-11-08 22:59:25 +01:00
embest/riotboard board/embest/riotboard/genimage.cfg: beautify file 2021-11-08 22:59:26 +01:00
engicam board/engicam/isiot/genimage.cfg: beautify file 2021-11-08 22:59:26 +01:00
firefly/roc-rk3399-pc configs/roc_rk3399_pc: new defconfig 2020-03-29 15:09:48 +02:00
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 configs/globalscale_espressobin: new defconfig 2020-07-25 23:01:55 +02:00
grinn board/grinn/liteboard/genimage.cfg: beautify file 2021-11-08 22:59:28 +01:00
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 board/lego/ev3/genimage.cfg: beautify file 2021-11-08 22:59:28 +01:00
lemaker/bananapro board/lemaker/bananapro/genimage.cfg: beautify file 2021-11-08 22:59:28 +01:00
librecomputer/lafrite configs/lafrite: new defconfig 2019-09-15 16:00:56 +02:00
licheepi board/licheepi/genimage.cfg: beautify file 2021-11-08 22:59:28 +01:00
linksprite/pcduino board/linksprite/pcduino: switch to extlinux 2022-03-10 21:39:45 +01:00
mender/x86_64 board/mender: add a mender board example configuration. 2022-07-24 21:04:38 +02:00
microchip configs/microchip_sama7g5ek: new defconfigs 2021-12-28 22:01:50 +01:00
minnowboard configs/minnowboard_max-graphical: remove defconfig 2022-07-23 22:30:14 +02:00
nexbox/a95x board/nexbox/a95x/genimage.cfg: beautify file 2021-11-08 22:59:29 +01:00
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 board/olpc/xo-1.75: enable drivers that were added in 5.8 2020-09-11 08:51:16 +02:00
openblocks/a6 openblocks_a6_defconfig: improve/fix configuration 2017-06-17 10:48:05 +02:00
orangepi board/orangepi/orangepi-r1/genimage.cfg: use correct partition type 2022-07-23 15:36:22 +02:00
pandaboard board/pandaboard/genimage.cfg: beautify file 2021-11-08 22:59:31 +01:00
pc board/*/genimage.cfg: use partition-type-uuid U where relevant 2022-07-23 15:36:22 +02:00
pcengines/apu2 configs/pcengines_apu2: new defconfig 2020-09-03 21:06:31 +02:00
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 configs/zynq_qmtech: new defconfig 2020-04-19 21:43:35 +02:00
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 configs/sheevaplug_defconfig: backport gcc >= 10 u-boot patch 2021-11-13 15:23:54 +01:00
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 board/sinovoip/m2-plus/genimage.cfg: beautify file 2021-11-08 22:59:34 +01:00
sipeed board: Add Sipeed MAIX-Go board support 2022-07-23 16:38:55 +02:00
solidrun board/solidrun/macchiatobin/genimage.cfg: beautify file 2021-11-08 22:59:34 +01:00
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 board/terasic/de10nano_cyclone5/genimage.cfg: beautify file 2021-11-08 22:59:34 +01:00
toradex/apalis-imx6 board/toradex/apalis-imx6/genimage.cfg: beautify file 2021-11-08 22:59:35 +01:00
udoo configs/mx6sx_udoo: bump U-Boot and kernel 2022-01-11 22:15:11 +01:00
uevm5432 board/uevm5432/genimage.cfg: beautify file 2021-11-08 22:59:35 +01:00
wandboard board/wandboard: switch to extlinux.conf 2021-07-18 23:41:59 +02:00
warp7 configs/warp7: Bump kernel and U-Boot versions 2019-07-14 11:57:39 +02:00
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 boards/raspberrypi0: new board 2016-05-08 15:54:30 +02:00
raspberrypi0w configs/raspberrypi0w_defconfig: new defconfig for Raspberry Pi Zero W 2018-03-31 12:31:32 +02:00
raspberrypi2
raspberrypi3 configs: add Raspberry Pi 3 defconfig 2016-04-25 14:07:58 +02:00
raspberrypi3-64 configs: add raspberrypi3 64bits defconfig 2017-05-04 09:25:20 +02:00
raspberrypi4 board/raspberrypi: add support for the new pi4 2019-08-03 11:06:44 +02:00
raspberrypi4-64 configs/raspberrypi4_64: new defconfig 2019-12-08 21:49:08 +01:00
raspberrypicm4io board/raspberrypi: add Compute Module 4/IO Board support 2021-05-20 09:53:29 +02:00
raspberrypicm4io-64 board/raspberrypi: add Compute Module 4/IO Board support (64 Bit) 2021-05-20 09:53:30 +02:00
raspberrypizero2w board/raspberrypi: add Raspberry Pi Zero 2 W 2021-11-12 23:09:58 +01:00