Tool/software:
Hello,
I have been working on TI SK-TDA4VM Board for which I have built the v9.1 Image using below config file.
./oe-layertool-setup.sh -f configs/processor-sdk-analytics/processor-sdk-analytics-09.01.00-config.txt
The build has been successful but there are several interfaces which were missing in the build like:
- UART2
- CAN
- Camera IMX219
For Camera IMX219 detection, I added "k3-j721e-sk-csi2-rpi-imx219.dtbo" in name_overlays like below, and rebooting the board, the camera was able to detect.
name_overlays=k3-j721e-edgeai-apps.dtbo k3-j721e-sk-csi2-rpi-imx219.dtbo
After this for getting UART2, I was advised by Jared to build the dtc file as described here. I compiled the dtso file (k3-j721e-sk-uart2.dtso) as advised and copied it to <rootfs>/boot/dtb/ti/
Added the above .dtbo file in name_overlays like below:
name_overlays=k3-j721e-edgeai-apps.dtbo k3-j721e-sk-csi2-rpi-imx219.dtbo k3-j721e-sk-uart2.dtbo
But after rebooting the board, WiFi module and Camera both were not detected by system and also following drivers were deferred:
[ 19.313817] platform dvi-bridge: deferred probe pending
[ 19.319064] platform 2900000.pcie: deferred probe pending
[ 19.324462] i2c 6-0010: deferred probe pending
[ 19.328908] i2c 7-0010: deferred probe pending
[ 19.333348] platform 4a00000.dss: deferred probe pending
[ 19.338650] platform connector: deferred probe pending
[ 19.343777] platform fixedregulator-dp-prw: deferred probe pending
Please find the dmesg logs of above deferred probes (dmesg_logs_failure.txt), I have also attached dmesg logs of success case when "k3-j721e-sk-uart2.dtbo" was not added to name overlays (dmesg_logs_success.txt).
/cfs-file/__key/communityserver-discussions-components-files/791/dmesg_5F00_logs_5F00_failure.txt
/cfs-file/__key/communityserver-discussions-components-files/791/dmesg_5F00_logs_5F00_success.txt
Also find the k3-j721e-sk-uart2.dtso file attached for your reference.
Also the error on boot I get when I have added the above .dtbo file in name_overlays is like below:
[ 16.015847] audit: type=1006 audit(1651172644.592:27): pid=1256 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
[ 16.028687] audit: type=1300 audit(1651172644.592:27): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=fffff8b682d8 a2=1 a3=0 items=0 ppid=1 pid=1256 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=)
[ 16.054148] audit: type=1327 audit(1651172644.592:27): proctitle="(systemd)"
[ 16.061263] audit: type=1334 audit(1651172644.608:28): prog-id=19 op=LOAD
[ 16.068085] audit: type=1300 audit(1651172644.608:28): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffe4b28a30 a2=78 a3=0 items=0 ppid=1 pid=1256 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgi)
[ 16.093519] audit: type=1327 audit(1651172644.608:28): proctitle="(systemd)"
[ 16.100573] audit: type=1334 audit(1651172644.608:29): prog-id=19 op=UNLOAD
[ 16.107560] audit: type=1334 audit(1651172644.608:30): prog-id=20 op=LOAD
[ 16.114376] audit: type=1300 audit(1651172644.608:30): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffe4b28ad0 a2=78 a3=0 items=0 ppid=1 pid=1256 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgi)
[ 16.139799] audit: type=1327 audit(1651172644.608:30): proctitle="(systemd)"
terminate called after throwing an instance of 'std::runtime_error'
what(): No modesetting DRM card found
root@tda4vm-sk:/opt/edgeai-gst-apps# [ 19.057439] i2c 6-0010: deferred probe pending
[ 19.061897] i2c 7-0010: deferred probe pending
[ 19.066333] platform fixedregulator-dp-prw: deferred probe pending
[ 19.072504] platform 2900000.pcie: deferred probe pending
[ 19.077892] platform dvi-bridge: deferred probe pending
[ 19.083106] platform connector: deferred probe pending
[ 19.088239] platform 4a00000.dss: deferred probe pending
Request you to please let me know what am I missing or doing wrong.
Cordially,
Alark Mishra