This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/DRA745: DRA745/RVC : omapdrm omapdrm.0: atomic complete timeout (pipe 0)! and board freeze

Part Number: DRA745
Other Parts Discussed in Thread: DRA72, DRA71, TFP410, TVP5158

Tool/software: TI C/C++ Compiler

Hello,

Using Jacinto6 and Android OS 8.1.1

with SDK Vision PROCESSOR_SDK_VISION_03_02_00_00_setuplinux.bin

When I build the use case tda2xx_evm_robust_rvc and flash the rvc dsp and ipu the board boot ok with RVC displayed.

After enable/disable multiple times wifi, an omapdrm issue occured  omapdrm omapdrm.0: atomic complete timeout (pipe 0)!

Note that with prebuild DSP and IPU RVC (RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files)  binaries the issue is not reproduced.

 

SDK vision status :


:~/works/SDK_VISION_03_02/vision_sdk$ git diff .

diff --git a/build/Rules.make b/build/Rules.make
index 1107320..e40cc3c 100755
--- a/build/Rules.make
+++ b/build/Rules.make
@@ -56,7 +56,7 @@ MAKEAPPNAME?=apps
 #    tda2px_evm_bios_iss
 #
 #
-MAKECONFIG?=tda2xx_evm_bios_all
+MAKECONFIG?=tda2xx_evm_robust_rvc
 
 # Default build environment

:~/works/SDK_VISION_03_02/vision_sdk$ git log --oneline
d9bd02b RVC: build configuration and reducing build process time
888b20f RVC: Adding support for DRA71, DRA72 and DRA76
cdbd1d2 RVC: CRC performed only on 1/4th frame of camera display wb output
bb649c4 RVC: Usecase enablement for DSS WB
342a19c RVC: Generating CRC based considering width and height of frame
51a52d4 RVC: Adding wbCaptureMode parameter to captureLink_displaywb
7929577 RVC: Disable LCD move to U-boot
0c09d9a RVC: Add A15 heartbeat implementation
22345df Workaround before applying RVC patches
0f3d2ff Original vision_sdk from Vision SDK 3.02

ard@czagroub:~/works/SDK_VISION_03_02/ti_components$ git log --oneline
35be4b0 RVC: Add PLL setting for J6Plus with TFP410 adapter
c394227 set GO bit when pipe is disabled
b40e96e Change default advdmacfg
909eb4c RVC: Enabling HDMI on VIS3.2 pdk_01_08_01_06
0b5e3ec RVC: Enabling DISPC_IRQENABLE VID2 and VID3 for J6Entry
e106aa4 RVC: Add PLL setting for J6/J6Eco OSD
9839d26 RVC: Temporary solution to skip Write back pipe configuration
3ebea41 RVC: Adding captureMode parameter to control fps of WB pipe
631ab79 RVC: Handling Intr on LCD3
50ead0c RVC: Add A15 status heartbeat implementation
d14fa0f RVC: DSS: Handle EOW VSYNC and A15 enabled DSS
3063978 RVC: Update on BSP_TVP5158_NO_PATCH_DOWNLOAD
0acd339 RVC: Add PLL setting for DRA71x 17x17
ef7a0f4 Install Framework Components 3_40_02_07
c2dd3ff Install Codec Engine 3_24_00_08
eb2bb31 Adding ipumm repository
0d0381c Original ti_components from Vision SDK 3.02

Could you please help us, any patch missing ?

When omapdrm omapdrm.0: atomic complete timeout (pipe 0)! reproduced and why board freeze ?

logs :

act1000:/ $ dmesg | grep -i omapdrm                                            
[    5.709092] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    5.741823] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[   44.121233] omapdrm omapdrm.0: atomic complete timeout (pipe 0)!

logcat

08-30 15:02:52.778   559   559 I com.android.phone: Looking for service android.hardware.radio@1.0::IRadio/slot1
08-30 15:02:52.779   171   171 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.radio@1.0::IRadio/slot1 in either framework or device manifest.
08-30 15:02:52.779   559   559 I com.android.phone: Looking for service android.hardware.radio.deprecated@1.0::IOemHook/slot1
08-30 15:02:52.780   171   171 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.radio.deprecated@1.0::IOemHook/slot1 in either framework or device manifest.
08-30 15:02:53.284  1334  1369 D InitAlarmsService: Clearing and rescheduling alarms.
08-30 15:02:53.328   209   221 I WifiService: getWifiApEnabledState uid=1000
[   58.602400] init: starting service 'wpa_supplicant'...
08-30 15:02:53.328   209   221 D WifiService: setWifiEnabled: tr[   58.612584] init: Created socket '/dev/socket/wpa_wlan0', mode 660, user 1010, group 1010
ue pid=593, uid=1000, package=com.android.settings
08-30 15:02:53.328   209   221 I WifiService: setWifiEnabled package=com.android.settings uid=1000 enable=true
08-30 15:02:53.329   230  1542 I audio_hw_primary: out_write() open card 0 port 0
08-30 15:02:53.332   230  1542 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
08-30 15:02:53.338   171   171 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.wifi@1.0::IWifi/default in either framework or device manifest.
08-30 15:02:53.338   209   387 I WifiNative-wlan0: Vendor HAL not supported, Ignore start...
08-30 15:02:53.338   209   387 D WificondControl: Setting up driver for client mode
08-30 15:02:53.340   275   275 I wificond: create scanner for interface with index: 6
08-30 15:02:53.340   275   275 I wificond: subscribe scan result for interface with index: 6
08-30 15:02:53.341   171   171 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.wifi.offload@1.0::IOffload/default in either framework or device manifest.
08-30 15:02:53.342   275   275 E wificond: No Offload Service available
08-30 15:02:53.342   275   275 I wificond: Offload HAL not supported
08-30 15:02:53.346   180   198 D CommandListener: Clearing all IP addresses on wlan0
08-30 15:02:53.363   209   387 I system_server: Looking for service android.hidl.manager@1.0::IServiceManager/default
08-30 15:02:53.364   209   387 I system_server: Starting thread pool.
08-30 15:02:53.455  1589  1589 I wpa_supplicant: Processing hidl events on FD 4
08-30 15:02:53.456  1589  1589 I wpa_supplicant: Successfully initialized wpa_supplicant
08-30 15:02:53.457   209   404 I system_server: Looking for service android.hardware.wifi.supplicant@1.0::ISupplicant/default
08-30 15:02:53.457   171   171 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.wifi.supplicant@1.0::ISupplicant/default in either framework or device manifest.
08-30 15:02:53.458   209   404 I system_server: Starting thread pool.
08-30 15:02:53.467  1589  1589 I wpa_supplicant: rfkill: Cannot open RFKILL control device
[   58.841257] omapdrm omapdrm.0: atomic complete timeout (pipe 0)!
08-30 15:02:53.758  1143  1171 I zygote  : Do full code cache collection, code=126KB, data=113KB
08-30 15:02:53.759  1143  1171 I zygote  : After code cache collection, code=123KB, data=77KB
[   59.082238] wl18xx_driver wl18xx.3.auto: Direct firmware load for ti-connectivity/wl18xx-fw-4.bin failed with error -2
[   59.093513] wl18xx_driver wl18xx.3.auto: Falling back to user helper

Regards,

Chokri