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
@@ -263,6 +274,11 @@ function pre_umount_final_image__write_raspi_config() {
263
274
# Automatically load initramfs files, if found
264
275
auto_initramfs=1
265
276
277
+
# bootloader logs to serial, second stage (Armbian: enable with RPI_DEBUG_CONSOLE=yes, currently: ${RPI_DEBUG_CONSOLE:-"no"})
278
+
${not_comment_if_debug}enable_uart=1
279
+
# if uart is enabled, disable Bluetooth which also uses UART
280
+
${comment_if_debug}dtoverlay=disable-bt
281
+
266
282
# Enable DRM VC4 V3D driver
267
283
dtoverlay=vc4-kms-v3d
268
284
max_framebuffers=2
@@ -291,8 +307,14 @@ function pre_umount_final_image__write_raspi_config() {
291
307
}
292
308
293
309
function pre_umount_final_image__write_raspi_cmdline() {
310
+
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