Skip to content

Commit

Permalink
Align more with upstream official OS.
Browse files Browse the repository at this point in the history
Enable automatic loading of overlays for detected:
- Camera
- Display

Part of #145.
  • Loading branch information
samip5 committed Jan 23, 2024
1 parent adf43f5 commit cbba541
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions subtargets/genpi64-lite-finalize.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]}
]

0 comments on commit cbba541

Please sign in to comment.