File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed 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