20241030在荣品PRO-RK3566开发板的适配Rockchip原厂的buildroot的时候配置DTS中的电源域
2024/10/30 17:38
请问 RK3566开发板上的 电源配置 和 DTS文件是如何对应的?
底板原理图 PRO-RK3566-B-20210329+原理图.pdf
vccio4-supply 是1.8V。
对不上呀?
Z:\source\kernel\arch\arm64\boot\dts\rockchip\rk356x\pro-rk3566.dts
&pmu_io_domains {
status = "okay";
pmuio2-supply = <&vcc3v3_pmu>;
vccio1-supply = <&vccio_acodec>;
vccio3-supply = <&vccio_sd>;
vccio4-supply = <&vcc_3v3>;
vccio5-supply = <&vcc_3v3>;
vccio6-supply = <&vcc_1v8>;
vccio7-supply = <&vcc_3v3>;
};
修改后的效果图:
看这个料是贴的哪个 通过电阻切换的对应电压域电压
要和软件匹配上
RK原厂的buildroot刷机 荣品RK3566异常了
1、HDMI能够找到。没有显示。
2、电源域报警了。
原厂的电源域:
viewpro@viewpro-ThinkBook-16-G5-IRH:~/rk3566_buildroot_v120/kernel/arch/arm64/boot/dts/rockchip$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/rk3566_buildroot_v120/kernel/arch/arm64/boot/dts/rockchip$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/rk3566_buildroot_v120/kernel/arch/arm64/boot/dts/rockchip$ grep "&pmu_io_domains {" . -R
./rk3568-evb.dtsi:&pmu_io_domains {
./.rk3566-evb2-lp4x-v10-linux.dtb.dts.tmp:&pmu_io_domains {
viewpro@viewpro-ThinkBook-16-G5-IRH:~/rk3566_buildroot_v120/kernel/arch/arm64/boot/dts/rockchip$ ll
荣品的电源域:
viewpro@viewpro-ThinkBook-16-G5-IRH:~/source/kernel/arch/arm64/boot/dts/rockchip$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/source/kernel/arch/arm64/boot/dts/rockchip$ grep pmuio2-supply . -R
Binary file ./rk356x/pro-rk3566.dtb matches
./rk356x/rk3566-evb-rpdzkj-rk809-tcs4525.dtsi: pmuio2-supply = <&vcc3v3_pmu>;
./rk356x/pro-rk3566.dts: pmuio2-supply = <&vcc3v3_pmu>;
./rk356x/.pro-rk3566.dtb.dts.tmp: pmuio2-supply = <&vcc3v3_pmu>;
./rk356x/.pro-rk3566.dtb.dts.tmp: pmuio2-supply = <&vcc3v3_pmu>;
viewpro@viewpro-ThinkBook-16-G5-IRH:~/source/kernel/arch/arm64/boot/dts/rockchip$
修改之后:
[ 4.604687] rkcif_mipi_lvds: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[ 4.604697] rkcif_tools_id2: update sensor info failed -19
[ 4.614728] rockchip-mipi-csi2: No link between dphy and sensor
[ 4.614796] rkcif_mipi_lvds: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[ 4.614805] rkcif_tools_id1: update sensor info failed -19
done
Starting irqbalance: OK
Saving random seed: OK
Starting system message bus: done
Starting bluetoothd: OK
Starting network: OK
Starting dhcpcd...
Failed to detect Wi-Fi/BT chip!
dhcpcd-10.0.4 starting
dev: loaded udev
forked to background, child pid 508
no interfaces have a carrier
dhcpcd_fork_cb: truncated read 0 (expected 4)
Starting chrony: OK
starting weston... done.
Starting dropbear sshd: OK
Starting pulseaudio: OK
[ 5.286808] rk-pcie 3c0000000.pcie: PCIe Link Fail, LTSSM is 0x3, hw_retries=0
Starting dnsmasq: OK
/bin/list-iodomain.sh version: V1.0.1
fstrim: Starting fstrim process (585)...
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
W: [pulseaudio] main.c: Compiled with DEPRECATED libsamplerate support!
Starting input-event-daemon: Get CHIP ID: rk356x
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXX PLEASE CHECK IO-DOMAIN !!!!!!!!!!!!!!!
XXXXXXXXXX 请务必检查IO电源域配置 !!!!!!!!!!!!!!!
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Get IO DOMAIN VALUE:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
注意事项:PMUIO1/PMUIO2 固定不可配
VCCIO2电平由硬件FLASH_VOL_SEL决定:
当VCCIo2供电是1.8V,则FLASH_VOL_SEL管脚必须保持为高电平;
当VCCIO2供电是3.3V,则FLASH_VOL_SEL管脚必须保持为低电平;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
done
pmuio2_vsel: 3.3V
vccio7_vsel: 3.3V
vccio6_vsel: 1.8V
vccio5_vsel: 3.3V
vccio4_vsel: 3.3V
vccio3_vsel: 3.3V
vccio2_vsel: 3.3V
vccio1_vsel: 3.3V
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root@rk3566-buildroot:/# Date: 2017-08-04 UTC
[09:00:39.369] weston 13.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 13.0.1
[09:00:39.370] Command line: /usr/bin/weston
[09:00:39.370] OS: Linux, 5.10.209, #1 SMP Wed Oct 30 18:25:45 CST 2024, aarch64
[09:00:39.370] Flight recorder: enabled
[09:00:39.371] warning: XDG_RUNTIME_DIR "/var/run" is not configured
correctly. Unix access mode must be 0700 (current mode is 0755),
and must be owned by the user UID 0 (current owner is UID 0).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[09:00:39.374] Using config file '/etc/xdg/weston/weston.ini'
[09:00:39.375] Output repaint window is -1 ms maximum.
[09:00:39.376] Loading module '/usr/lib/libweston-13/drm-backend.so'
[09:00:39.380] initializing drm backend
[09:00:39.381] Entering mirror mode.
参考资料:
当VCCIo2供电是1.8V,则FLASH_VOL_SEL管脚必须保持为高电平;
https://blog.csdn.net/weixin_43808708/article/details/129820930
RK3566 IO 电源域配置指南