From 916ecc0e9dbf0d5ac681598ced14f67925bb8f62 Mon Sep 17 00:00:00 2001 From: ludiazv Date: Sun, 28 Apr 2024 01:40:20 +0200 Subject: [PATCH] update opi 3lts machine --- conf/machine/orange-pi-3lts.conf | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/conf/machine/orange-pi-3lts.conf b/conf/machine/orange-pi-3lts.conf index 00c6b23..1bc4fca 100644 --- a/conf/machine/orange-pi-3lts.conf +++ b/conf/machine/orange-pi-3lts.conf @@ -1,6 +1,9 @@ #@TYPE: Machine #@NAME: orange-pi-3lts #@DESCRIPTION: Machine configuration for the Orange Pi 3 LTS , based on Allwinner H6 CPU +# Note: Some boards have faulty RTC a fix is included by default +# a workarround in the dts ins include by default but in can removed adding +# KERNEL_FEATURES:remove = " bsp/orange-pi-3lts/fix-rtc.scc" to local.conf require conf/machine/include/sun50i-h6.inc @@ -10,9 +13,16 @@ UBOOT_MACHINE = "orangepi_3_lts_defconfig" SPL_BINARY = "u-boot-sunxi-with-spl.bin" # as for now neither graphics nor audio is supported -MACHINE_FEATURES:remove = " x11 " -MACHINE_FEATURES:append = "bluetooth wifi" +MACHINE_FEATURES:remove = " x11 alsa rtc" +MACHINE_FEATURES:append = " bluetooth wifi" + +# fiwrware needed for wifi + bt +MACHINE_EXTRA_RRECOMMENDS += " uwe5622-firmware" + +# Load modules for wifi & bt +# Note: fo wifi a custom hci attach userspace sofware is needed that is not included in the layer +KERNEL_MODULE_AUTOLOAD += " sprdwl_ng sprdbt_tty " + -MACHINE_EXTRA_RRECOMMENDS = "uwe5622-firmware"