Change from ttyS0 -> ttyS1#16
Open
rs422-ttl wants to merge 3 commits intozindello:devfrom
Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Due to I2C pin collision, change the default serial console to ttyS1 / UART1.