Skip to content

Change from ttyS0 -> ttyS1#16

Open
rs422-ttl wants to merge 3 commits intozindello:devfrom
rs422-ttl:new_ttyS1
Open

Change from ttyS0 -> ttyS1#16
rs422-ttl wants to merge 3 commits intozindello:devfrom
rs422-ttl:new_ttyS1

Conversation

@rs422-ttl
Copy link
Copy Markdown

Due to I2C pin collision, change the default serial console to ttyS1 / UART1.

rs422-ttl and others added 3 commits April 7, 2026 19:35
This [blog post](https://forums.luckfox.com/viewtopic.php?t=975) documents
what is required to switch from using UART2 as the default serial port used
in both u-boot and the Linux kernel, to a different UART port.

This commit:
  - documents the changes made to the luckfox-pico SDK repository so that
    the process can be replicated and rebuilt as needed.
  - modifies the 01-luckfox-system-config.sh script to change the
    appropriate partitions for the default serial port change to be
    made.
  - removes the systemctl line that previously disabled the serial console
    on ttyFIQ0. With the above changes made, ttyFIQ0 will point to UART0.
    If previously disabled, the serial console on ttyFIQ0 will need to
    be re-enabled.
Switch u-boot and kernel serial console to UART0
Due to I2C pin collision, change the default serial console to
ttyS1 / UART1, along with attempting to ensure hardware flow
control is disabled per https://forums.luckfox.com/viewtopic.php?t=2216
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