You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- if `RPI_DEBUG_CONSOLE=yes`:
- `config.txt`:
- `enable_uart=1`
- `dtoverlay=disable-bt`
- `cmdline.txt`:
- `console=tty1 console=ttyAMA0,115200 loglevel=7`
- this was lost in revision 1c3b7ec for some reason
@@ -264,6 +275,11 @@ function pre_umount_final_image__write_raspi_config() {
264
275
# Automatically load initramfs files, if found
265
276
auto_initramfs=1
266
277
278
+
# bootloader logs to serial, second stage (Armbian: enable with RPI_DEBUG_CONSOLE=yes, currently: ${RPI_DEBUG_CONSOLE:-"no"})
279
+
${not_comment_if_debug}enable_uart=1
280
+
# if uart is enabled, disable Bluetooth which also uses UART
281
+
${comment_if_debug}dtoverlay=disable-bt
282
+
267
283
# Enable DRM VC4 V3D driver
268
284
dtoverlay=vc4-kms-v3d
269
285
max_framebuffers=2
@@ -292,8 +308,14 @@ function pre_umount_final_image__write_raspi_config() {
292
308
}
293
309
294
310
function pre_umount_final_image__write_raspi_cmdline() {
311
+
declare cmdline_consoles="console=serial0,115200 console=tty1 loglevel=1" # default; no idea why Gunjan had serial0 in here, it wouldn't work, but I kept it
0 commit comments