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
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
beagleboneai
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 board: Add Canaan KD233 board support 2022-07-23 16:38:55 +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
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
nezha
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
sipeed board: Add Sipeed MAIX-Go board support 2022-07-23 16:38:55 +02:00
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