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
Change U-boot args #4
Comments
Each platform has a slightly different version of orangepiEnv.txt. Here is the RK3399: https://github.com/orangepi-xunlong/orangepi-build/blob/main/external/config/bootenv/rockchip.txt It will be copied at compile time as /boot/orangepiEnv.txt |
How I was understand that orangepi-build/external/config/bootenv/rockchip.txt is orangepiEnv.txt for my Orange Pi 4B? How I can guess name for another SBC like Orange Pi 4g or Orange Pi PC PLUS? Where I can get full list of options? For example I want disable debug uart for my Orange Pi 4B, what string should I write to rockchip.txt? P.S. /home/a/Documents/orangepi-build/external/config/sources/README.md and /home/a/Documents/orangepi-build/external/config/sources/families/README.md is it really readme or a joke? |
I try new Ubuntu18 img from googledrive for Orange Pi 4B. There is no more ttyS4, but there is ttyS0 and ttyFIQ0. But as I understand tty0 (means UART0) is part of bluetooth module, isn't in @orangepi-xunlong ? P.S. In old Ubuntu18 there is ttyS4. |
Yes, you are right!
UART4 and SPI1 are multiplexed. By default, SPI1 is turned on and UART4 is turned off. You can turn off SPI1 and turn on UART4 in DTS, so that UART4 in 40PIN can be used. This is the procedure in the Chinese manual. I believe you can understand it. Good luck! |
May be you are talking about rk3399-orangepi-common.dtsi? There are two rk3399-orangepi-common.dtsi:
|
Sorry, it should be rk3399-orangepi-common.dtsi.
U-boot.cfg is automatically generated and you should modify configs/orangepi-4-rk3399_defconfig, for example:
And remember to set IGNORE_UPDATES="yes" in userpatches/config-default.conf so that the source code will not be updated with each compilation. |
Hello
I rebuild U-boot for my Orange pi 4B. I want disable debug uart. As I see in file boot-rockchip64.cmd I shouldn't change anything. I need /boot/orangepiEnv.txt But I can't find it in my build tree. @orangepi-xunlong are you shure that /boot/orangepiEnv.txt exist for Orange Pi 4B?
The text was updated successfully, but these errors were encountered: