Skip to content

Commit

Permalink
add machine config for reterminal plus mender
Browse files Browse the repository at this point in the history
Signed-off-by: bigbearishappy <[email protected]>
  • Loading branch information
bigbearishappy committed Aug 4, 2023
1 parent c18ffce commit 87721f2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions conf/machine/seeed-reterminal-plus-mender.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#@TYPE: Machine
#@NAME: Seeed reterminal plus
#@SOC: broadcom bcm2711
#@DESCRIPTION: Machine configuration for seeed reterminal DM
#@MAINTAINER: jian xiong <[email protected]>

require conf/machine/raspberrypi4-64.conf

PREFERRED_VERSION_linux-raspberrypi ?= "6.1.%"

RPI_KERNEL_DEVICETREE_OVERLAYS:append = " overlays/reTerminal-plus.dtbo overlays/i2c3.dtbo \
overlays/vc4-kms-v3d-pi4.dtbo"
PACKAGECONFIG:append:pn-qtbase = " eglfs "
KERNEL_MODULE_AUTOLOAD:rpi += "i2c-dev"
ENABLE_I2C = "1"
ENABLE_UART = "1"

# mender conf
MENDER_ARTIFACT_NAME = "release-1"
INHERIT += "mender-full"
RPI_USE_U_BOOT = "1"
MENDER_BOOT_PART_SIZE_MB = "64"
IMAGE_INSTALL:append = " kernel-image kernel-devicetree"
IMAGE_FSTYPES:remove = " rpi-sdimg"
MENDER_FEATURES_ENABLE:append = " mender-uboot mender-image-sd"
MENDER_FEATURES_DISABLE:append = " mender-grub mender-image-uefi"
MENDER_STORAGE_TOTAL_SIZE_MB = "2048"

0 comments on commit 87721f2

Please sign in to comment.