Skip to content

NanoPC-T6: preserve HDMI baseline and force serial-getty baud handoff on USB-C debug UART - #11

Draft
edtubbs with Copilot wants to merge 5 commits into
copilot/fix-usb-c-console-issuefrom
copilot/fix-usb-console-issue
Draft

NanoPC-T6: preserve HDMI baseline and force serial-getty baud handoff on USB-C debug UART#11
edtubbs with Copilot wants to merge 5 commits into
copilot/fix-usb-c-console-issuefrom
copilot/fix-usb-console-issue

Conversation

Copilot AI commented Feb 25, 2026

Copy link
Copy Markdown

Boot logs were visible on USB-C only during early kernel startup, then console output/login stopped; HDMI had to remain on the previously working baseline. This change targets post-boot serial handoff instead of further kernel/console-device churn.

  • USB-C serial login handoff

    • Override serial-getty@ttyS2 and serial-getty@ttyS0 ExecStart to explicitly keep high-speed UART negotiation.
    • Configure agetty with --keep-baud 1500000,115200,57600,38400,9600 so runtime getty can continue at the early boot speed used by RK3588 debug UART.
  • HDMI-preserving scope

    • Keep NanoPC-T6 kernel/console baseline aligned with the rollback state that preserves HDMI behavior.
    • Avoid additional ttyFIQ0/kernel flavor expansion in this iteration.
systemd.services."serial-getty@ttyS2".serviceConfig.ExecStart = lib.mkForce [
  ""
  "${pkgs.util-linux}/bin/agetty -o '-p -- \\\\u' --keep-baud 1500000,115200,57600,38400,9600 ttyS2 $TERM"
];

systemd.services."serial-getty@ttyS0".serviceConfig.ExecStart = lib.mkForce [
  ""
  "${pkgs.util-linux}/bin/agetty -o '-p -- \\\\u' --keep-baud 1500000,115200,57600,38400,9600 ttyS0 $TERM"
];

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: edtubbs <84785904+edtubbs@users.noreply.github.com>
Copilot AI changed the title [WIP] Review previous commits for USB console issue Nanopc-T6: enable USB-C serial console across nabam and FriendlyARM kernel naming Feb 25, 2026
Copilot AI requested a review from edtubbs February 25, 2026 17:07
Copilot AI changed the title Nanopc-T6: enable USB-C serial console across nabam and FriendlyARM kernel naming NanoPC-T6: make USB-C debug console work across nabam and FriendlyARM kernels Feb 25, 2026
Co-authored-by: edtubbs <84785904+edtubbs@users.noreply.github.com>
Copilot AI changed the title NanoPC-T6: make USB-C debug console work across nabam and FriendlyARM kernels NanoPC-T6: restore stable Rockchip kernel and broaden USB-C debug console aliases Feb 25, 2026
Co-authored-by: edtubbs <84785904+edtubbs@users.noreply.github.com>
Copilot AI changed the title NanoPC-T6: restore stable Rockchip kernel and broaden USB-C debug console aliases Revert NanoPC-T6 console/kernel tweaks to restore prior HDMI behavior Feb 25, 2026
Co-authored-by: edtubbs <84785904+edtubbs@users.noreply.github.com>
Copilot AI changed the title Revert NanoPC-T6 console/kernel tweaks to restore prior HDMI behavior NanoPC-T6: preserve HDMI baseline and force serial-getty baud handoff on USB-C debug UART Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants