From ee388420e964c4cb32db449fa3dcc985b59dceeb Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Mon, 25 Oct 2021 23:32:47 +0100
Subject: [PATCH] oniro-linux-blueprint-vending-machine.conf: I2C, VC4,
 WAVESHARE and tty1 fixes and cleanup

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 .../oniro-linux-blueprint-vending-machine.conf      | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/meta-oniro-blueprints/conf/distro/oniro-linux-blueprint-vending-machine.conf b/meta-oniro-blueprints/conf/distro/oniro-linux-blueprint-vending-machine.conf
index ade3988c..296beeee 100644
--- a/meta-oniro-blueprints/conf/distro/oniro-linux-blueprint-vending-machine.conf
+++ b/meta-oniro-blueprints/conf/distro/oniro-linux-blueprint-vending-machine.conf
@@ -27,3 +27,16 @@ LVGL_CONFIG_WAYLAND_VER_RES ?= "600"
 # Dynamic weston.ini configuration
 WESTON_DYNAMIC_INI = "1"
 WESTON_INI_NO_TOOLBAR = "1"
+
+# I2C support
+# See Hardware setup for more details.
+ENABLE_I2C_rpi = "1"
+KERNEL_MODULE_AUTOLOAD_rpi += "i2c-dev i2c-bcm2708"
+
+VC4DTBO_raspberrypi4-64 = "vc4-kms-v3d"
+GPU_MEM_raspberrypi4-64 = "128"
+
+WAVESHARE_1024X600_C_2_1 = "1"
+
+# Mask getty on tty1 to cleanup boot process
+SYSTEMD_MASK_GETTY = "tty1"
-- 
GitLab