From cbba541793a8aed258bf50faa68fc0b019cd60b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Tue, 23 Jan 2024 03:44:09 +0200 Subject: [PATCH] Align more with upstream official OS. Enable automatic loading of overlays for detected: - Camera - Display Part of #145. --- subtargets/genpi64-lite-finalize.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/subtargets/genpi64-lite-finalize.json b/subtargets/genpi64-lite-finalize.json index 3dacb58..7e3991f 100644 --- a/subtargets/genpi64-lite-finalize.json +++ b/subtargets/genpi64-lite-finalize.json @@ -5,7 +5,9 @@ {"name": "add_kernel8_p4", "deps": ["add_kernel8"], "parser": "crudini", "args": ["--set", "--inplace", "--existing=file", "boot/config.txt", "pi4", "kernel", "kernel8-p4.img"]}, {"name": "enableuart", "deps": ["add_kernel8_p4"], "parser": "crudini", "args": ["--set", "--inplace", "--existing=file", "boot/config.txt", "all", "enable_uart", "1"]}, {"name": "disableoverscan", "deps": ["enableuart"], "parser": "crudini", "args": ["--set", "--inplace", "--existing=file", "boot/config.txt", "all", "disable_overscan", "1"]}, - {"name": "enable_vc4_kms_pi4", "deps": ["disableoverscan"], "parser": "crudini", "args": ["--set", "--inplace", "--existing=file", "boot/config.txt", "pi4", "dtoverlay", "vc4-fkms-v3d-pi4.dtbo"]}, - {"name": "packstage4", "deps": ["enable_vc4_kms_pi4"], "parser": "packstage4", "args": [""]}, + {"name": "enable_vc4_kms", "deps": ["disableoverscan"], "parser": "crudini", "args": ["--set", "--inplace", "--existing=file", "boot/config.txt", "all", "dtoverlay", "vc4-fkms-v3d"]}, + {"name": "enable_camera_auto_detect", "deps": ["enable_vc4_kms"], "parser": "crudini", "args": ["--set", "--inplace", "--existing=file", "boot/config.txt", "all", "camera_auto_detect", "1"]}, + {"name": "enable_display_auto_detect", "deps": ["enable_camera_auto_detect"], "parser": "crudini", "args": ["--set", "--inplace", "--existing=file", "boot/config.txt", "all", "display_auto_detect", "1"]}, + {"name": "packstage4", "deps": ["enable_display_auto_detect"], "parser": "packstage4", "args": [""]}, {"name": "packgenpi", "deps": ["packstage4"], "parser": "includejson", "args": ["subtargets/pack-genpi.json"]} ]