2020-09-27 14:46:26 +00:00
|
|
|
disable_overscan=1
|
2020-10-03 11:35:44 +00:00
|
|
|
dtparam=audio=on
|
2024-07-31 13:30:48 +00:00
|
|
|
dtoverlay=vc4-kms-v3d
|
2020-09-27 14:46:26 +00:00
|
|
|
max_framebuffers=2
|
2020-10-03 11:52:34 +00:00
|
|
|
force_turbo=1
|
2020-09-27 14:46:26 +00:00
|
|
|
|
2024-07-31 13:30:48 +00:00
|
|
|
gpu_mem=${node.metadata.get('raspberrypi/gpu_mem', 128)}
|
|
|
|
|
|
|
|
% if node.metadata.get('raspberrypi/enable_display'):
|
|
|
|
display_auto_detect=1
|
|
|
|
% else:
|
|
|
|
dtparam=i2c_arm=on
|
|
|
|
dtparam=i2s=on
|
|
|
|
dtparam=spi=on
|
|
|
|
hdmi_drive=2
|
|
|
|
hdmi_force_hotplug=1
|
|
|
|
% endif
|
2020-10-18 17:51:52 +00:00
|
|
|
|
2020-09-27 14:46:26 +00:00
|
|
|
% if node.os == 'debian':
|
|
|
|
arm_64bit=1
|
|
|
|
% endif
|
2024-07-30 15:44:09 +00:00
|
|
|
arm_boost=1
|
2020-09-27 14:46:26 +00:00
|
|
|
|
2024-07-31 13:30:48 +00:00
|
|
|
% for item in sorted(node.metadata.get('raspberrypi/config.txt', set())):
|
2020-09-27 15:18:05 +00:00
|
|
|
${item}
|
2020-09-27 14:46:26 +00:00
|
|
|
% endfor
|
2020-10-18 17:51:52 +00:00
|
|
|
|
2024-07-31 13:30:48 +00:00
|
|
|
% if node.metadata.get('raspberrypi/enable_camera', False):
|
|
|
|
camera_auto_detect=1
|
2020-10-18 17:51:52 +00:00
|
|
|
% endif
|