volumio / Build

Buildscripts for Volumio System
GNU General Public License v2.0
113 stars 102 forks source link

Tweak x86 partitions sizes/ Activate serial console for RPi while in buster test phase #483

Closed gkkpch closed 3 years ago

gkkpch commented 3 years ago

Serial console on RPi is activated by build variable DEBUG_IMAGE=yes. Tested!

gkkpch commented 3 years ago

Please merge when this is OK

ashthespy commented 3 years ago

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

volumio commented 3 years ago

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 ;) )

gkkpch commented 3 years ago

agree, that was not intentional...

ashthespy commented 3 years ago

@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..

gkkpch commented 3 years ago

if it is too complicated then perhaps have two build options, one for serial only and the other one for bt?

ashthespy commented 3 years ago

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..

gkkpch commented 3 years ago

is that the reason? then it is not a solution