File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ The format of the _installer-config.txt_ file and the current defaults:
167167 # undesirable.
168168 enable_watchdog=0 # loads up the hardware watchdog module and configures systemd to use it. Set to
169169 # "1" to enable this functionality.
170+ enable_uart=0 # Set to "1" to enable the UART. Disabled by default.
170171 gpu_mem= # specify the amount of RAM in MB that should be reserved for the GPU
171172
172173The timeserver parameter is only used during installation for _ rdate_ which is used as fallback when setting the time with ` ntpdate ` fails.
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ final_action=reboot
4444hardware_versions=detect
4545hwrng_support=1
4646enable_watchdog=0
47+ enable_uart=0
4748gpu_mem=
4849
4950# these shouldn't really be changed unless auto-detection fails
@@ -1316,11 +1317,12 @@ do
13161317 echo "#device_tree="
13171318 fi
13181319 if [ "${hv}" = "3" ] ; then
1319- # we should probably add a config parameter for uart purpose
1320- # as the statements below disables bluetooth which various/most
1321- # people will prefer over the serial console
1322- echo "# enable the serial console for the installed system"
1323- echo "enable_uart=1"
1320+ # Only enable UART if the user explicitly sets that option.
1321+ # Enabled UART may break the bootprocess / bluetooth support.
1322+ if [ "${enable_uart}" = "1" ]; then
1323+ echo "# enable the serial console for the installed system"
1324+ echo "enable_uart=1"
1325+ fi
13241326 fi
13251327 } >> /rootfs/boot/config.txt
13261328
You can’t perform that action at this time.
0 commit comments