Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to change uart0->uart1 to debug board on r8 #1

Open
tracewong opened this issue Dec 29, 2015 · 0 comments
Open

how to change uart0->uart1 to debug board on r8 #1

tracewong opened this issue Dec 29, 2015 · 0 comments

Comments

@tracewong
Copy link
Contributor

1.edit sys_config.fex for board
file path:package/boot/uboot-sun5i/bootloader/sun5i/configs/{boards}/sys_config.fex
change mainkey [uart_para] as follow
[uart_para]
uart_debug_port = 1
uart_debug_tx = port:PG3<4><1>
uart_debug_rx = port:PG4<4><1>
2.edit env.cfg
file path:package/boot/uboot-sun5i/env.cfg
change "console=ttyS0,115200" to "console=ttyS1,115200"
3.edit inittab
file path:/target/linux/sun5i/base-files/etc/inittab
change "ttyS0::askfirst:/bin/ash --login" to "ttyS1::askfirst:/bin/ash --login"

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

No branches or pull requests

1 participant