Closed gkkpch closed 3 years ago
Please merge when this is OK
Serial console on RPi is activated by build variable DEBUG_IMAGE=yes.
Please be aware that this also switches the onboard Bluetooth module to use the mini UART. This might cause hard to trace issues with Bluetooth, so switch it back off before debugging any Bluetooth stuff.
EDIT: Apparently I switched it only for the pi3 https://github.com/volumio/Build/blob/7e70a9a70ccd64d4428d7e4fd88b97d5d2d1a8ba/recipes/devices/pi.sh#L348-L349
Thanks! @ashthespy is there a way to have uart enabled without impacting BT? @gkkpch for next times, one PR for one thing (so it could have been splitted in 2 prs ;) )
agree, that was not intentional...
@ashthespy is there a way to have uart enabled without impacting BT?
Not too sure, reading https://www.raspberrypi.org/documentation/configuration/uart.md suggests you could enable uart2
with an overlay and switch the console to that. Not sure if it is worth the effort..
if it is too complicated then perhaps have two build options, one for serial only and the other one for bt?
if it is too complicated then perhaps have two build options, one for serial only and the other one for bt?
Hmm, wouldn't that just be DEBUG_IMAGE
-- because all that does it enable the UART?
I might be confusing issues here - but how I understood it was that for console to be on UART, you need to move Bluetooth to the miniuart
and they both can't be on the same one..
is that the reason? then it is not a solution
Serial console on RPi is activated by build variable DEBUG_IMAGE=yes. Tested!