Part Number: OMAP-L138 Tool/software: TI-RTOS Hello. I'm trying to get IPC work on OMAP-L138 processor ( TMDSLCDK138 board). I stuck on opening Heap on the DSP core (the ARM core is the owner of the heap). Both cores are running SYS/BIOS. I'm starting a debug session, run the ARM core (it goes through the initialization and start waiting for messages) then I run the DSP core and it hangs in HeapBufMP_open loop with the HeapBufMP_E_NOTFOUND status. Could someone review my configuration and point me out what I miss? ipc_3_50_03_04 CCS Version: 9.0.1.00004 I've made custom platforms for ARM & DSP cores to avoid memory overlapping (I've also attached them)(Please visit the site to view this file)
↧
Forum Post: RTOS/OMAP-L138: IPC for ARM and DSP running SYS/BIOS
↧
Forum Post: RTOS/TDA3MV: about loop in BspOsal task
Part Number: TDA3MV Tool/software: TI-RTOS Hi, First explain my purpose, without stopping the main chain, i need a thread to continuously receive gpio signals, like below, while(1) { receive gpio signals do something...... } I found that in rtos, BspOsal_taskCreate is used to implement pthread function similar to Linux, but I have encountered a situation, if I do not write Task_sleep(1) in the while; while(1) { receive gpio signals do something...... Task_sleep(1); } the program seems to be stuck after it is executed once, but because this line is executed, my task can only be executed 1000 times in 1 second, this frequency cannot achieve the purpose, Any comments?
↧
↧
Forum Post: Linux/AM5728: PRU and DSP shared memory
Part Number: AM5728 Tool/software: Linux Hi, Am trying to sharing data between PRU2 & DSP1 core using 32kB shared memory location. Using debugger am able to send and receive data using shared memory between two cores. But as I tried same application using remoteproc approach, In which application of both cores( DSP & PRU ) run from linux side. Am not able to get communicate between two cores using shared memory region (0x4B290000) . Already define shared memory region in resource table used by remoteproc. Without defining shared memory region in rsc_table_vayu_dsp file getting following error : omap-iommu 40d01000.mmu: iommu fault: da 0x4b290020 flags but after defining shared memory location error gone but not able to see data send from PRU core on DSP core. Also found below rsc_table_vayu_dsp code I modified /* * Copyright (c) 2012-2014, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of Texas Instruments Incorporated nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * ======== rsc_table_vayu_dsp.h ======== * * Define the resource table entries for all DSP cores. This will be * incorporated into corresponding base images, and used by the remoteproc * on the host-side to allocated/reserve resources. * */ #ifndef _RSC_TABLE_VAYU_DSP_H_ #define _RSC_TABLE_VAYU_DSP_H_ #include /* DSP Memory Map */ #define L4_DRA7XX_BASE 0x4A000000 #define L4_PERIPHERAL_L4CFG (L4_DRA7XX_BASE) #define DSP_PERIPHERAL_L4CFG 0x4A000000 #define L4_PERIPHERAL_L4PER1 0x48000000 #define DSP_PERIPHERAL_L4PER1 0x48000000 #define L3_SharedMemAddr 0x4B200000 #define DSP_SharedMem 0x4B290000 #define L4_PERIPHERAL_L4PER2 0x48400000 #define DSP_PERIPHERAL_L4PER2 0x48400000 #define L4_PERIPHERAL_L4PER3 0x48800000 #define DSP_PERIPHERAL_L4PER3 0x48800000 #define L4_PERIPHERAL_L4EMU 0x54000000 #define DSP_PERIPHERAL_L4EMU 0x54000000 #define L3_PERIPHERAL_DMM 0x4E000000 #define DSP_PERIPHERAL_DMM 0x4E000000 #define L3_TILER_MODE_0_1 0x60000000 #define DSP_TILER_MODE_0_1 0x60000000 #define L3_TILER_MODE_2 0x70000000 #define DSP_TILER_MODE_2 0x70000000 #define L3_TILER_MODE_3 0x78000000 #define DSP_TILER_MODE_3 0x78000000 #define DSP_MEM_TEXT 0x95000000 /* Co-locate alongside TILER region for easier flushing */ #define DSP_MEM_IOBUFS 0x80000000 #define DSP_MEM_DATA 0x95100000 #define DSP_MEM_HEAP 0x95200000 #define DSP_MEM_IPC_DATA 0x9F000000 #define DSP_MEM_IPC_VRING 0xA0000000 #define DSP_MEM_RPMSG_VRING0 0xA0000000 #define DSP_MEM_RPMSG_VRING1 0xA0004000 #define DSP_MEM_VRING_BUFS0 0xA0040000 #define DSP_MEM_VRING_BUFS1 0xA0080000 #define DSP_MEM_IPC_VRING_SIZE SZ_1M #define DSP_MEM_IPC_DATA_SIZE SZ_1M #define DSP_MEM_TEXT_SIZE SZ_1M #define DSP_MEM_DATA_SIZE SZ_1M #define DSP_MEM_HEAP_SIZE (SZ_1M * 3) #define DSP_MEM_IOBUFS_SIZE (SZ_1M * 90) #define DSP_SharedMem_SIZE 0x500 /* * Assign fixed RAM addresses to facilitate a fixed MMU table. */ /* See CMA BASE addresses in Linux side: arch/arm/mach-omap2/remoteproc.c */ /* Added to make DSP2 compatible application but now working with this */ #define VAYU_DSP_1 //#define VAYU_DSP_2 #if defined (VAYU_DSP_1) #define PHYS_MEM_IPC_VRING 0x99000000 #elif defined (VAYU_DSP_2) #define PHYS_MEM_IPC_VRING 0x9F000000 #endif /* Need to be identical to that of IPU */ #define PHYS_MEM_IOBUFS 0xBA300000 /* * Sizes of the virtqueues (expressed in number of buffers supported, * and must be power of 2) */ #define DSP_RPMSG_VQ0_SIZE 256 #define DSP_RPMSG_VQ1_SIZE 256 /* flip up bits whose indices represent features we support */ #define RPMSG_DSP_C0_FEATURES 1 struct my_resource_table { struct resource_table base; UInt32 offset[18]; /* Should match 'num' in actual definition */ /* rpmsg vdev entry */ struct fw_rsc_vdev rpmsg_vdev; struct fw_rsc_vdev_vring rpmsg_vring0; struct fw_rsc_vdev_vring rpmsg_vring1; /* text carveout entry */ struct fw_rsc_carveout text_cout; /* data carveout entry */ struct fw_rsc_carveout data_cout; /* heap carveout entry */ struct fw_rsc_carveout heap_cout; /* ipcdata carveout entry */ struct fw_rsc_carveout ipcdata_cout; /* trace entry */ struct fw_rsc_trace trace; /* devmem entry */ struct fw_rsc_devmem devmem0; /* devmem entry */ struct fw_rsc_devmem devmem1; /* devmem entry */ struct fw_rsc_devmem devmem2; /* devmem entry */ struct fw_rsc_devmem devmem3; /* devmem entry */ struct fw_rsc_devmem devmem4; /* devmem entry */ struct fw_rsc_devmem devmem5; /* devmem entry */ struct fw_rsc_devmem devmem6; /* devmem entry */ struct fw_rsc_devmem devmem7; /* devmem entry */ struct fw_rsc_devmem devmem8; /* devmem entry */ struct fw_rsc_devmem devmem9; /* devmem entry */ struct fw_rsc_devmem devmem10; /* devmem entry */ struct fw_rsc_devmem devmem11; }; extern char ti_trace_SysMin_Module_State_0_outbuf__A; #define TRACEBUFADDR (UInt32)&ti_trace_SysMin_Module_State_0_outbuf__A #pragma DATA_SECTION(ti_ipc_remoteproc_ResourceTable, ".resource_table") #pragma DATA_ALIGN(ti_ipc_remoteproc_ResourceTable, 4096) struct my_resource_table ti_ipc_remoteproc_ResourceTable = { 1, /* we're the first version that implements this */ 18, /* number of entries in the table */ 0, 0, /* reserved, must be zero */ /* offsets to entries */ { offsetof(struct my_resource_table, rpmsg_vdev), offsetof(struct my_resource_table, text_cout), offsetof(struct my_resource_table, data_cout), offsetof(struct my_resource_table, heap_cout), offsetof(struct my_resource_table, ipcdata_cout), offsetof(struct my_resource_table, trace), offsetof(struct my_resource_table, devmem0), offsetof(struct my_resource_table, devmem1), offsetof(struct my_resource_table, devmem2), offsetof(struct my_resource_table, devmem3), offsetof(struct my_resource_table, devmem4), offsetof(struct my_resource_table, devmem5), offsetof(struct my_resource_table, devmem6), offsetof(struct my_resource_table, devmem7), offsetof(struct my_resource_table, devmem8), offsetof(struct my_resource_table, devmem9), offsetof(struct my_resource_table, devmem10), offsetof(struct my_resource_table, devmem11), }, /* rpmsg vdev entry */ { TYPE_VDEV, VIRTIO_ID_RPMSG, 0, RPMSG_DSP_C0_FEATURES, 0, 0, 0, 2, { 0, 0 }, /* no config data */ }, /* the two vrings */ { DSP_MEM_RPMSG_VRING0, 4096, DSP_RPMSG_VQ0_SIZE, 1, 0 }, { DSP_MEM_RPMSG_VRING1, 4096, DSP_RPMSG_VQ1_SIZE, 2, 0 }, { TYPE_CARVEOUT, DSP_MEM_TEXT, 0, DSP_MEM_TEXT_SIZE, 0, 0, "DSP_MEM_TEXT", }, { TYPE_CARVEOUT, DSP_MEM_DATA, 0, DSP_MEM_DATA_SIZE, 0, 0, "DSP_MEM_DATA", }, { TYPE_CARVEOUT, DSP_MEM_HEAP, 0, DSP_MEM_HEAP_SIZE, 0, 0, "DSP_MEM_HEAP", }, { TYPE_CARVEOUT, DSP_MEM_IPC_DATA, 0, DSP_MEM_IPC_DATA_SIZE, 0, 0, "DSP_MEM_IPC_DATA", }, { TYPE_TRACE, TRACEBUFADDR, 0x8000, 0, "trace:dsp", }, { TYPE_DEVMEM, DSP_MEM_IPC_VRING, PHYS_MEM_IPC_VRING, DSP_MEM_IPC_VRING_SIZE, 0, 0, "DSP_MEM_IPC_VRING", }, { TYPE_DEVMEM, DSP_MEM_IOBUFS, PHYS_MEM_IOBUFS, DSP_MEM_IOBUFS_SIZE, 0, 0, "DSP_MEM_IOBUFS", }, { TYPE_DEVMEM, DSP_TILER_MODE_0_1, L3_TILER_MODE_0_1, SZ_256M, 0, 0, "DSP_TILER_MODE_0_1", }, { TYPE_DEVMEM, DSP_TILER_MODE_2, L3_TILER_MODE_2, SZ_128M, 0, 0, "DSP_TILER_MODE_2", }, { TYPE_DEVMEM, DSP_TILER_MODE_3, L3_TILER_MODE_3, SZ_128M, 0, 0, "DSP_TILER_MODE_3", }, { TYPE_DEVMEM, DSP_PERIPHERAL_L4CFG, L4_PERIPHERAL_L4CFG, SZ_16M, 0, 0, "DSP_PERIPHERAL_L4CFG", }, { TYPE_DEVMEM, DSP_PERIPHERAL_L4PER1, L4_PERIPHERAL_L4PER1, SZ_2M, 0, 0, "DSP_PERIPHERAL_L4PER1", }, { TYPE_DEVMEM, DSP_PERIPHERAL_L4PER2, L4_PERIPHERAL_L4PER2, SZ_4M, 0, 0, "DSP_PERIPHERAL_L4PER2", }, { TYPE_DEVMEM, DSP_PERIPHERAL_L4PER3, L4_PERIPHERAL_L4PER3, SZ_8M, 0, 0, "DSP_PERIPHERAL_L4PER3", }, { TYPE_DEVMEM, DSP_PERIPHERAL_L4EMU, L4_PERIPHERAL_L4EMU, SZ_16M, 0, 0, "DSP_PERIPHERAL_L4EMU", }, { TYPE_DEVMEM, DSP_PERIPHERAL_DMM, L3_PERIPHERAL_DMM, SZ_1M, 0, 0, "DSP_PERIPHERAL_DMM", }, { TYPE_DEVMEM, DSP_SharedMem, L3_SharedMemAddr, 0x00001000, 0, 0, "DSP_SharedMem", }, }; #endif /* _RSC_TABLE_VAYU_DSP_H_ */ Regards, Geek13
↧
Forum Post: CCS/AM5728: VIP example JTAG connect issue
Part Number: AM5728 Tool/software: Code Composer Studio Hello! Given: 1) BeagleBoardX15 (from https://beagleboard.org/x15) 2) Code Compose Studio 7.4 3) processor_sdk_rtos_am57xx_5_00_00_15 4) pdk_am57xx_1_0_11 5) JTAG emulator XDS200 Spectrum Digital 6)Builded examples: vps_CaptureVipExample_evmAM572x_armExampleProject vps_SubFrmCaptureVipExample_evmAM572x_armExampleProject (from e2e.ti.com/.../2018782 7) Ubuntu Linux 16.04 LTS In Debug mode connected from JTAG is success. But I load program vps_CaptureVipExample_evmAM572x_armExampleProject.out to Load -> Load Program... click OK Then these lines appear: CortexA15_0: GEL: Error calling OnPreFileLoaded(): identifier not found: CPSR CortexA15_0: File Loader: Verification failed: Values at address 0x00000000 do not match Please verify target memory and memory map. CortexA15_0: GEL: File: /root/workspace_v7/vps_CaptureVipExample_evmAM572x_armExampleProject/Debug/vps_CaptureVipExample_evmAM572x_armExampleProject.out: a data verification error occurred, file load failed. CortexA15_0: Unable to terminate memory download: NULL buffer pointer at 0x3aa4 (Emulation package 7.0.100.0 How can I fix it to work? Thanks!
↧
Forum Post: AM4372: Power-down sequence(2)
Part Number: AM4372 Hi This is EVM waveform when AC adopter off which our customer measured. Yellow:Input, Green: 1.8V, Blue: 3.3V 1.8V and 3.3V are power down at the same time. Do you not have any problem in this waveform? The installation device of EVM is TPS65218B1, will the falling timing be improved in D0? If this this timing is problem, please teach me how the customer should design this. Best Regards, PAN-M
↧
↧
Forum Post: Power-down sequence(2)
Part Number: AM4372 Hi This is EVM waveform when AC adopter off which our customer measured. Yellow:Input, Green: 1.8V, Blue: 3.3V 1.8V and 3.3V are power down at the same time. Do you not have any problem in this waveform? The installation device of EVM is TPS65218B1, will the falling timing be improved in D0? If this this timing is problem, please teach me how the customer should design this. Best Regards, PAN-M
↧
Forum Post: RTOS/TDA2HG: RTOS mode pin_mux configuration.
Part Number: TDA2HG Tool/software: TI-RTOS I am using PROCESSOR_SDK_VISION_03_06_00_00_setuplinux to develop a custom board based on TDA2HG . When running LINUX on A15, I find the /os_tools/linux/u-boot/u-boot/board/ti/dra7xx/mux_data.h is configured under the u-boot of linux. NOW,I need to running BIOS on A15.There is no u-boot.where can I config pin mux file? regards, chengbo
↧
Forum Post: AM5728: H.264
Part Number: AM5728 i have an question that, the AM5728 IVA HD system when it implements the 1080p@60fps H.264 encoder. The SDK says as below: the software stack of the accelerated codec encoding/decoding runs on two subsystems: MPU subsystem on ARM-A15, and IPU subsystem on ARM-M4. Now i want to know when SDK do the 1080p@60fps H.264 encoder, the DSP C66X is in use or not? Thank you for those who help me, best wishes for you.
↧
Forum Post: Linux/PROCESSOR-SDK-AM437X: WL18xx Clock Synchronization
Part Number: PROCESSOR-SDK-AM437X Tool/software: Linux I am trying to enable to WL18xx Clock Synchronization feature on the AM437xx EVM. I found the following link that shows step by step instructions. But the patches are missing. It seems the link was removed during this revision and no replacement link was posted: http://processors.wiki.ti.com/index.php?title=WL18xx_Clock_Synchronisation_with_NTP_in_SDK3&diff=prev&oldid=224224 Is this feature still supported on the WL18xx? What are the steps to integrate this feature into linux kernel on AM437x? Is there an updated link to the patches referenced above? Thanks.
↧
↧
Forum Post: TDA2PXEVM: build project
Part Number: TDA2PXEVM hello, I follow visionSDK_userGuid_TDA2px.pdf and build the apps with parameter " tda2px_evm_bios_all " and that generate binaries files, every things are fine but i want to generate CCS projects. i read the user guides in docs and i confused. in document mention that software structure is link and chain but i do not understand who create a project and use this structure. I want to have a video capture CCS project and want to use IVA to encode video by h264. can you help me to understand software structure in SDK apps and how to generate example CCS projects?
↧
Forum Post: RTOS/AM3358: code composer
Part Number: AM3358 Tool/software: TI-RTOS HI can anyone send me the example code of UART interrupt ( AM3358 processor).
↧
Forum Post: Linux/AM5728: SDK5.03 Camera is not working on AM5728GP EVM
Part Number: AM5728 Tool/software: Linux Hi . I'm not knowing why my MT9111 caemera is not working on the AM5728GPEVM with SDK5.03. May you review my bootarg + kernel message attached here? THanks. BR Rio(Please visit the site to view this file)(Please visit the site to view this file)
↧
Forum Post: DRA76P: SPRAC44A document as DRA7xx reference
Part Number: DRA76P Hi, Please, confirm: the SPRAC44A document should be used for the DRA7xx IO configuration process. script (mentioned in this document) is also valid for generate for the DRA7xx. Regards,
↧
↧
Forum Post: TMS320C6652: Leakage Voltage at DVDD15.
Part Number: TMS320C6652 Leakage voltage appears at DVDD15 , it may come from CVDD1 via TMS320C6652 . If this leakage needs to resolve, could you give me some advice? (Please visit the site to view this file)
↧
Forum Post: Linux/AM5708: Remoteproc error
Part Number: AM5708 Tool/software: Linux system booting info: root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# dmesg | grep -rn dsp 12:[ 0.000000] OF: reserved mem: initialized node dsp1_cma@99000000, compatible id shared-dma-pool 282:[ 2.773725] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000 283:[ 2.773804] remoteproc remoteproc2: 40800000.dsp is available 342:[ 4.488191] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2 343:[ 4.497317] remoteproc remoteproc2: powering up 40800000.dsp 344:[ 4.503096] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2 404:[ 82.181897] remoteproc remoteproc2: releasing 40800000.dsp 405:[ 107.981985] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000 406:[ 107.997482] remoteproc remoteproc2: 40800000.dsp is available 407:[ 112.119972] remoteproc remoteproc2: powering up 40800000.dsp 408:[ 112.125712] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21891524 409:[ 112.143370] omap_hwmod: mmu0_dsp1: _wait_target_disable failed 510:[ 112.191174] remoteproc remoteproc2: crash detected in 40800000.dsp: type mmufault 513:[ 112.869953] remoteproc remoteproc2: remote processor 40800000.dsp is now up 514:[ 112.892268] remoteproc remoteproc2: handling crash #1 in 40800000.dsp 515:[ 112.898748] remoteproc remoteproc2: recovering 40800000.dsp 516:[ 112.928132] omap_hwmod: mmu1_dsp1: _wait_target_disable failed 517:[ 112.941151] omap_hwmod: mmu0_dsp1: _wait_target_disable failed 584:[ 113.490927] remoteproc remoteproc2: stopped remote processor 40800000.dsp 585:[ 113.497909] remoteproc remoteproc2: powering up 40800000.dsp 586:[ 113.548026] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21891524 587:[ 113.563121] omap_hwmod: mmu0_dsp1: _wait_target_disable failed 700:[ 113.614310] remoteproc remoteproc2: crash detected in 40800000.dsp: type mmufault 703:[ 114.377728] remoteproc remoteproc2: remote processor 40800000.dsp is now up root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# Why would such an error be reported " 344:[ 4.503096] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2 "?
↧
Forum Post: Linux/PROCESSOR-SDK-AM335X: Prebuild image doesn't boot on EVM
Part Number: PROCESSOR-SDK-AM335X Tool/software: Linux Dear Ti experts: I have a old SD card with MLO u-boot 2014.01 on its fat partition, this SD can boot into u-boot CMD. reading u-boot.img reading u-boot.img U-Boot 2014.01 (Feb 24 2014 - 10:16:03) I2C: ready DRAM: 1 GiB NAND: 0 MiB ... U-Boot# As this u-boot version is a bit old, I want to use a newer one, so I downloaded ti-processor-sdk-linux-am335x-evm-05.03.00.07, and copy the prebuild MLO, u-boot.img from the SDK to SD' fat partition, but cann't enter the uboot CMD, the console outputs like QUiQ2;17HP!I2NZՅD!UZ !QK hPDAXD}^T[2;80Hu ;80H;80HS My hardware versions are: Base board : REV: 1.5C, SN#:29134P160107, SKU#01 Daughter board :REV:1.2B, SN#:29134P130110, SKU#01 Could you tell me what I had missing ? Or are there any special configuration? Thanks in advance.
↧
Forum Post: TMS320C6748: IMGLIB_2_SPRUF30A , IMG_conv_11x11_i8_c8s
Part Number: TMS320C6748 Hey, In the imglib documents, there is the following source: The code doesn't work as expected, Lines 17-19 should be out of the 'j' loop, Please confirm the error, and if you can please update the documentation for all the IMG_conv_XXXXXXXX functions. Thanks.
↧
↧
Forum Post: Linux/BEAGLEBK: Getting started with SDK
Part Number: BEAGLEBK Tool/software: Linux Hi, I have need of use Beagle bone black development board in Linux Ubuntu platform.i am new to beagle bone black board. First step i will down load the Processor SDK from Ti website and install in Linux Ubuntu, after that what steps i suppose to do to get start working on beagle bone black board. please help me to start beagle bone black board in Ubuntu step by step guidelines..
↧
Forum Post: Linux/DRA746: SGX: Compile shader offline
Part Number: DRA746 Tool/software: Linux Hello Team, We use custom h/w and software based on DRA746 and VSDK 3.04. Have one query related to Shader compilation. We wants to compile the shaders on windows and use them directly in OpenGLES programs instead of compiling the shaders at runtime. I have checked the PVRShaderEditor, but this tool can only be used for resolving the compilation errors. Could you please help us here. Regards, Ikshwaku
↧
Forum Post: Linux/AM5708: dra7-dsp1-fw.xe66.opencl-monitor DSP starting faild!
Part Number: AM5708 Tool/software: Linux Now, "dra7-dsp1-fw.xe66.dspdce-fw" can start DSP1 success.But "dra7-dsp1-fw.xe66.opencl-monitor" can't start DSP1. loginfo: ln -s /lib/firmware/dra7-dsp1-fw.xe66.dspdce-fw /lib/firmware/dra7-dsp1-fw.xe6(success) : root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# echo 40800000.dsp>bind [ 6016.281929] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000 [ 6016.290963] remoteproc remoteproc2: 40800000.dsp is available root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# [ 6016.322551] remoteproc remoteproc2: powering up 40800000.dsp [ 6016.328258] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 894096 [ 6016.345710] omap_hwmod: mmu0_dsp1: _wait_target_disable failed [ 6016.351605] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0 [ 6016.357577] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0 [ 6016.442989] virtio_rpmsg_bus virtio0: rpmsg host is online [ 6016.448539] remoteproc remoteproc2: registered virtio0 (type 7) [ 6016.466521] remoteproc remoteproc2: remote processor 40800000.dsp is now up [ 6016.475214] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x36 [ 6016.485402] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x37 [ 6016.502124] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65 [ 6016.527847] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service rpmsg-dce-dsp with src 1024 dst 101 [ 6016.544718] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 9 root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# [ 6027.368799] omap_hwmod: mmu1_dsp1: _wait_target_disable failed [ 6027.382779] omap_hwmod: mmu0_dsp1: _wait_target_disable failed root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# ln -s /lib/firmware/dra7-dsp1-fw.xe66.opencl-monitor-fw /lib/firmware/dra7-dsp1-fw.xe6 (faild): root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# echo 40800000.dsp>bind [ 112.119972] remoteproc remoteproc2: powering up 40800000.dsp [ 112.125712] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21891524 [ 112.143370] omap_hwmod: mmu0_dsp1: _wait_target_disable failed [ 112.149266] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0 [ 112.155217] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0 [ 112.185038] virtio_rpmsg_bus virtio0: rpmsg host is online [ 112.190567] ------------[ cut here ]------------ m[ 112.190582] WARNING: CPU: 0 PID: 15 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x36c [ 112.190588] 44000000.ocp:L3 Custom Error: MASTER DSP1_MDMA TARGET DMM_P1 (Idle): Data Access in User mode during Functional access [ 112.190593] Modules linked in: [ 112.190601] CPU: 0 PID: 15 Comm: kworker/0:1 Not tainted 4.9.28 #95 [ 112.190604] Hardware name: Generic DRA72X (Flattened Device Tree) [ 112.190616] Workqueue: events request_firmware_work_func [ 112.190620] Backtrace: [ 112.190633] [ ] (dump_backtrace) from [ ] (show_stack+0x18/0x1c) [ 112.190640] r7:00000009 r6:60070193 r5:00000000 r4:c10226d0 [ 112.190648] [ ] (show_stack) from [ ] (dump_stack+0x8c/0xa0) [ 112.190658] [ ] (dump_stack) from [ ] (__warn+0xec/0x104) [ 112.190663] r7:00000009 r6:c0be9708 r5:00000000 r4:df5ed7f0 [ 112.190669] [ ] (__warn) from [ ] (warn_slowpath_fmt+0x40/0x48) [ 112.190676] r9:00000001 r8:df5c2510 r7:c0be99fc r6:00000000 r5:c0be9634 r4:c0be96d8 [ 112.190684] [ ] (warn_slowpath_fmt) from [ ] (l3_interrupt_handler+0x25c/0x36c) [ 112.190688] r3:df5c2380 r2:c0be96d8 [ 112.190691] r4:80080003 [ 112.190700] [ ] (l3_interrupt_handler) from [ ] (__handle_irq_event_percpu+0xb4/0x138) o[ 112.190707] r10:c101a57d r9:df5bec00 r8:00000017 r7:df5ed914 r6:00000000 r5:df5bec00 [ 112.190710] r4:df5c2880 [ 112.190717] [ ] (__handle_irq_event_percpu) from [ ] (handle_irq_event_percpu+0x24/0x60) [ 112.190723] r10:00008c00 r9:df5ec000 r8:df406000 r7:00000000 r6:c100918c r5:df5bec00 [ 112.190726] r4:df5bec00 [ 112.190733] [ ] (handle_irq_event_percpu) from [ ] (handle_irq_event+0x40/0x64) [ 112.190736] r5:df5bec60 r4:df5bec00 [ 112.190745] [ ] (handle_irq_event) from [ ] (handle_fasteoi_irq+0xc0/0x190) [ 112.190750] r7:00000000 r6:c100918c r5:df5bec60 r4:df5bec00 [ 112.190757] [ ] (handle_fasteoi_irq) from [ ] (generic_handle_irq+0x2c/0x3c) [ 112.190763] r7:00000000 r6:00000000 r5:00000017 r4:c0e61d88 [ 112.190769] [ ] (generic_handle_irq) from [ ] (__handle_domain_irq+0x64/0xbc) [ 112.190777] [ ] (__handle_domain_irq) from [ ] (gic_handle_irq+0x40/0x7c) [ 112.190783] r9:df5ec000 r8:fa213000 r7:fa212000 r6:df5ed9d0 r5:fa21200c r4:c1003424 [ 112.190789] [ ] (gic_handle_irq) from [ ] (__irq_svc+0x58/0x8c) [ 112.190792] Exception stack(0xdf5ed9d0 to 0xdf5eda18) [ 112.190797] d9c0: 00000000 00000000 00000001 60070013 [ 112.190802] d9e0: c1065468 c107bed0 00000000 0000003e 00000000 00000191 00008c00 df5eda94 [ 112.190807] da00: df5ed958 df5eda20 c05be48c c027d058 60070013 ffffffff [ 112.190814] r9:df5ec000 r8:00000000 r7:df5eda04 r6:ffffffff r5:60070013 r4:c027d058 d[ 112.190821] [ ] (console_unlock) from [ ] (vprintk_emit+0x2c0/0x480) [ 112.190827] r10:00000000 r9:c105bf50 r8:c1017130 r7:00000006 r6:00000006 r5:00000000 [ 112.190830] r4:0000002e [ 112.190840] [ ] (vprintk_emit) from [ ] (dev_vprintk_emit+0xa8/0x1d0) [ 112.190846] r10:c0bf7afc r9:df5edbd4 r8:c0c096b0 r7:00000006 r6:df5edb08 r5:c949e438 [ 112.190849] r4:00000011 [ 112.190858] [ ] (dev_vprintk_emit) from [ ] (dev_printk_emit+0x28/0x30) [ 112.190864] r10:00000000 r9:d9040000 r8:024000c0 r7:c949e428 r6:00000100 r5:c956ad80 [ 112.190867] r4:00000001 [ 112.190876] [ ] (dev_printk_emit) from [ ] (__dev_printk+0x54/0x94) [ 112.190879] r3:c0c458c8 r2:c0c096b0 [ 112.190887] [ ] (__dev_printk) from [ ] (_dev_info+0x40/0x48) [ 112.190897] [ ] (_dev_info) from [ ] (rpmsg_probe+0x2b8/0x41c) [ 112.190901] r3:00000000 r2:00000000 r1:c0c45828 [ 112.190912] [ ] (rpmsg_probe) from [ ] (virtio_dev_probe+0x230/0x30c) [ 112.190918] r10:00000001 r9:00000000 r8:ffffffff r7:c949e438 r6:c949e428 r5:00000000 [ 112.190921] r4:00000000 [ 112.190930] [ ] (virtio_dev_probe) from [ ] (driver_probe_device+0x20c/0x2b8) [ 112.190936] r10:00000000 r9:00000000 r8:0000000d r7:c104aa30 r6:00000000 r5:c949e438 [ 112.190938] r4:c10956e4 [ 112.190946] [ ] (driver_probe_device) from [ ] (__device_attach_driver+0xa0/0xd4) [ 112.190952] r9:00000000 r8:c10956c0 r7:00000001 r6:c949e438 r5:df5edd50 r4:c104aa30 [ 112.190958] [ ] (__device_attach_driver) from [ ] (bus_for_each_drv+0x68/0x9c) [ 112.190963] r7:00000001 r6:c063f858 r5:df5edd50 r4:00000000 [ 112.190970] [ ] (bus_for_each_drv) from [ ] (__device_attach+0xb8/0x11c) [ 112.190974] r6:c102823c r5:c949e46c r4:c949e438 [ 112.190981] [ ] (__device_attach) from [ ] (device_initial_probe+0x14/0x18) [ 112.190986] r7:00000000 r6:c102823c r5:c949e438 r4:c949e440 [ 112.190993] [ ] (device_initial_probe) from [ ] (bus_probe_device+0x8c/0x94) [ 112.190999] [ ] (bus_probe_device) from [ ] (device_add+0x3fc/0x588) [ 112.191004] r7:00000000 r6:c949e438 r5:c949e020 r4:c949e440 [ 112.191009] [ ] (device_add) from [ ] (device_register+0x1c/0x20) [ 112.191015] r10:c949e204 r9:c949e404 r8:c949e020 r7:c949e428 r6:c949e438 r5:c081082c [ 112.191018] r4:c949e438 [ 112.191025] [ ] (device_register) from [ ] (register_virtio_device+0xb4/0xf4) [ 112.191028] r5:c081082c r4:c949e428 [ 112.191036] [ ] (register_virtio_device) from [ ] (rproc_add_virtio_dev+0x78/0xfc) [ 112.191041] r7:c949e428 r6:00000007 r5:c949e020 r4:c949e400 [ 112.191049] [ ] (rproc_add_virtio_dev) from [ ] (rproc_vdev_do_probe+0x18/0x1c) [ 112.191054] r7:00000000 r6:c949e1b4 r5:c949e1ac r4:c949e000 [ 112.191063] [ ] (rproc_vdev_do_probe) from [ ] (__rproc_boot+0x4bc/0x5bc) [ 112.191073] [ ] (__rproc_boot) from [ ] (rproc_auto_boot_callback+0x18/0x24) [ 112.191079] r10:df5e5180 r9:00000000 r8:df8add00 r7:00000000 r6:df8aa5c0 r5:df5e5180 [ 112.191081] r4:caadab40 [ 112.191092] [ ] (rproc_auto_boot_callback) from [ ] (request_firmware_work_func+0x44/0x6c) [ 112.191095] r5:df5e5180 r4:caadae00 [ 112.191104] [ ] (request_firmware_work_func) from [ ] (process_one_work+0x1dc/0x3f8) [ 112.191108] r4:caadae00 [ 112.191114] [ ] (process_one_work) from [ ] (worker_thread+0x58/0x574) [ 112.191120] r10:df5e5180 r9:df5ec000 r8:df8aa5d8 r7:c1002d00 r6:00000008 r5:df5e5198 [ 112.191122] r4:df8aa5c0 [ 112.191130] [ ] (worker_thread) from [ ] (kthread+0x100/0x118) [ 112.191136] r10:00000000 r9:00000000 r8:c024569c r7:df5e5180 r6:df5ec000 r5:df5e1840 [ 112.191138] r4:00000000 [ 112.191147] [ ] (kthread) from [ ] (ret_from_fork+0x14/0x2c) [ 112.191152] r8:00000000 r7:00000000 r6:00000000 r5:c024a92c r4:df5e1840 [ 112.191155] ---[ end trace e19c6be11ffea2be ]--- [ 112.191168] omap-iommu 40d01000.mmu: iommu fault: da 0x26dc0300 flags 0x0 [ 112.191174] remoteproc remoteproc2: crash detected in 40800000.dsp: type mmufault [ 112.191183] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x26dc0300 pgd:0xc25609b4 *pgd:px00000000 [ 112.864004] remoteproc remoteproc2: registered virtio0 (type 7) [ 112.869953] remoteproc remoteproc2: remote processor 40800000.dsp is now up [ 112.892268] remoteproc remoteproc2: handling crash #1 in 40800000.dsp [ 112.898748] remoteproc remoteproc2: recovering 40800000.dsp [ 112.928132] omap_hwmod: mmu1_dsp1: _wait_target_disable failed [ 112.941151] omap_hwmod: mmu0_dsp1: _wait_target_disable failed [ 112.947058] ------------[ cut here ]------------ [ 112.951707] WARNING: CPU: 0 PID: 15 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x36c [ 112.960966] 44000000.ocp:L3 Standard Error: MASTER DSP1_MDMA TARGET PCIE1 (Read Link): At Address: 0x06DC0340 : Data Access in User mode during Functional access [ 112.975455] Modules linked in: [ 112.978532] CPU: 0 PID: 15 Comm: kworker/0:1 Tainted: G W 4.9.28 #95 [ 112.986045] Hardware name: Generic DRA72X (Flattened Device Tree) [ 112.992170] Workqueue: events rproc_crash_handler_work [ 112.997334] Backtrace: [ 112.999805] [ ] (dump_backtrace) from [ ] (show_stack+0x18/0x1c) [ 113.007409] r7:00000009 r6:600b0193 r5:00000000 r4:c10226d0 [ 113.013096] [ ] (show_stack) from [ ] (dump_stack+0x8c/0xa0) [ 113.020354] [ ] (dump_stack) from [ ] (__warn+0xec/0x104) [ 113.027346] r7:00000009 r6:c0be9708 r5:00000000 r4:df5edb70 [ 113.033031] [ ] (__warn) from [ ] (warn_slowpath_fmt+0x40/0x48) [ 113.040548] r9:0000000c r8:df5c2510 r7:c0be99fc r6:00000004 r5:c0be9628 r4:c0be96d8 [ 113.048327] [ ] (warn_slowpath_fmt) from [ ] (l3_interrupt_handler+0x25c/0x36c) [ 113.057236] r3:df5c2380 r2:c0be96d8 [ 113.060824] r4:80080001 [ 113.063373] [ ] (l3_interrupt_handler) from [ ] (__handle_irq_event_percpu+0xb4/0x138) [ 113.072894] r10:c101a57d r9:df5bec00 r8:00000017 r7:df5edc94 r6:00000000 r5:df5bec00 [ 113.080756] r4:df5c2880 [ 113.083302] [ ] (__handle_irq_event_percpu) from [ ] (handle_irq_event_percpu+0x24/0x60) [ 113.092998] r10:00000fff r9:df5ec000 r8:df406000 r7:00000000 r6:c100918c r5:df5bec00 [ 113.100858] r4:df5bec00 [ 113.103404] [ ] (handle_irq_event_percpu) from [ ] (handle_irq_event+0x40/0x64) [ 113.112313] r5:df5bec60 r4:df5bec00 [ 113.115908] [ ] (handle_irq_event) from [ ] (handle_fasteoi_irq+0xc0/0x190) [ 113.124468] r7:00000000 r6:c100918c r5:df5bec60 r4:df5bec00 [ 113.130156] [ ] (handle_fasteoi_irq) from [ ] (generic_handle_irq+0x2c/0x3c) [ 113.138805] r7:00000000 r6:00000000 r5:00000017 r4:c0e61d88 [ 113.144489] [ ] (generic_handle_irq) from [ ] (__handle_domain_irq+0x64/0xbc) [ 113.153228] [ ] (__handle_domain_irq) from [ ] (gic_handle_irq+0x40/0x7c) [ 113.161615] r9:df5ec000 r8:fa213000 r7:fa212000 r6:df5edd50 r5:fa21200c r4:c1003424 [ 113.169392] [ ] (gic_handle_irq) from [ ] (__irq_svc+0x58/0x8c) [ 113.176905] Exception stack(0xdf5edd50 to 0xdf5edd98) [ 113.181977] dd40: df64f874 600b0013 00000003 000000ce [ 113.190189] dd60: 00000000 00000004 df64f874 600b0013 fffffc00 c2563ffc 00000fff df5eddac [ 113.198400] dd80: df5eddb0 df5edda0 c0649834 c099a6b4 200b0013 ffffffff [ 113.205044] r9:df5ec000 r8:fffffc00 r7:df5edd84 r6:ffffffff r5:200b0013 r4:c099a6b4 [ 113.212831] [ ] (_raw_spin_unlock_irqrestore) from [ ] (__pm_runtime_idle+0x74/0x88) [ 113.222185] [ ] (__pm_runtime_idle) from [ ] (omap_iommu_detach+0x3c/0x48) [ 113.230658] r7:00000000 r6:df716410 r5:df716428 r4:df716410 [ 113.236346] [ ] (omap_iommu_detach) from [ ] (_omap_iommu_detach_dev+0x144/0x1ac) [ 113.245428] r5:c2560000 r4:00000002 [ 113.249022] [ ] (_omap_iommu_detach_dev) from [ ] (omap_iommu_detach_dev+0x2c/0x38) [ 113.258282] r10:df5e5180 r9:c949e020 r8:c949e1b4 r7:c949e1ac r6:df649c10 r5:ca7a8d14 [ 113.266143] r4:ca7a8d10 [ 113.268690] [ ] (omap_iommu_detach_dev) from [ ] (iommu_detach_device+0x94/0xac) [ 113.277687] r7:c949e1ac r6:ca7a8d14 r5:c949e000 r4:00000000 [ 113.283375] [ ] (iommu_detach_device) from [ ] (rproc_shutdown+0xb4/0x154) [ 113.291849] r7:c949e1ac r6:c949e204 r5:c949e000 r4:ca7a8d14 [ 113.297537] [ ] (rproc_shutdown) from [ ] (rproc_trigger_recovery+0x4c/0x68) [ 113.306185] r9:00000000 r8:df8add00 r7:00000000 r6:00000000 r5:c949e240 r4:c949e000 [ 113.313967] [ ] (rproc_trigger_recovery) from [ ] (rproc_crash_handler_work+0x74/0x84) [ 113.323487] r7:00000000 r6:c949e000 r5:c949e1b4 r4:c949e22c [ 113.329174] [ ] (rproc_crash_handler_work) from [ ] (process_one_work+0x1dc/0x3f8) [ 113.338346] r7:00000000 r6:df8aa5c0 r5:df5e5180 r4:c949e22c [ 113.344031] [ ] (process_one_work) from [ ] (worker_thread+0x58/0x574) [ 113.352156] r10:df5e5180 r9:df5ec000 r8:df8aa5d8 r7:c1002d00 r6:00000008 r5:df5e5198 [ 113.360017] r4:df8aa5c0 [ 113.362564] [ ] (worker_thread) from [ ] (kthread+0x100/0x118) [ 113.369992] r10:00000000 r9:00000000 r8:c024569c r7:df5e5180 r6:df5ec000 r5:df5e1840 [ 113.377854] r4:00000000 [ 113.380401] [ ] (kthread) from [ ] (ret_from_fork+0x14/0x2c) [ 113.387655] r8:00000000 r7:00000000 r6:00000000 r5:c024a92c r4:df5e1840 [ 113.394383] ---[ end trace e19c6be11ffea2bf ]--- [ 113.490927] remoteproc remoteproc2: stopped remote processor 40800000.dsp [ 113.497909] remoteproc remoteproc2: powering up 40800000.dsp [ 113.548026] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21891524 [ 113.563121] omap_hwmod: mmu0_dsp1: _wait_target_disable failed [ 113.569013] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0 [ 113.574952] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0 [ 113.608072] virtio_rpmsg_bus virtio0: rpmsg host is online [ 113.613637] ------------[ cut here ]------------ [ 113.613654] WARNING: CPU: 0 PID: 15 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x36c [ 113.613659] 44000000.ocp:L3 Custom Error: MASTER DSP1_MDMA TARGET DMM_P1 (Idle): Data Access in User mode during Functional access [ 113.613664] Modules linked in: [ 113.613673] CPU: 0 PID: 15 Comm: kworker/0:1 Tainted: G W 4.9.28 #95 [ 113.613676] Hardware name: Generic DRA72X (Flattened Device Tree) [ 113.613689] Workqueue: events rproc_crash_handler_work [ 113.613694] Backtrace: [ 113.613706] [ ] (dump_backtrace) from [ ] (show_stack+0x18/0x1c) [ 113.613713] r7:00000009 r6:60070193 r5:00000000 r4:c10226d0 [ 113.613722] [ ] (show_stack) from [ ] (dump_stack+0x8c/0xa0) [ 113.613731] [ ] (dump_stack) from [ ] (__warn+0xec/0x104) [ 113.613737] r7:00000009 r6:c0be9708 r5:00000000 r4:df5ed6e0 [ 113.613743] [ ] (__warn) from [ ] (warn_slowpath_fmt+0x40/0x48) [ 113.613749] r9:00000001 r8:df5c2510 r7:c0be99fc r6:00000000 r5:c0be9634 r4:c0be96d8 [ 113.613757] [ ] (warn_slowpath_fmt) from [ ] (l3_interrupt_handler+0x25c/0x36c) [ 113.613761] r3:df5c2380 r2:c0be96d8 [ 113.613764] r4:80080003 [ 113.613773] [ ] (l3_interrupt_handler) from [ ] (__handle_irq_event_percpu+0xb4/0x138) [ 113.613780] r10:c101a57d r9:df5bec00 r8:00000017 r7:df5ed804 r6:00000000 r5:df5bec00 [ 113.613783] r4:df5c2880 [ 113.613790] [ ] (__handle_irq_event_percpu) from [ ] (handle_irq_event_percpu+0x24/0x60) [ 113.613796] r10:0000c3e0 r9:df5ec000 r8:df406000 r7:00000000 r6:c100918c r5:df5bec00 [ 113.613799] r4:df5bec00 [ 113.613806] [ ] (handle_irq_event_percpu) from [ ] (handle_irq_event+0x40/0x64) [ 113.613809] r5:df5bec60 r4:df5bec00 [ 113.613817] [ ] (handle_irq_event) from [ ] (handle_fasteoi_irq+0xc0/0x190) [ 113.613822] r7:00000000 r6:c100918c r5:df5bec60 r4:df5bec00 [ 113.613830] [ ] (handle_fasteoi_irq) from [ ] (generic_handle_irq+0x2c/0x3c) [ 113.613835] r7:00000000 r6:df5ed9d0 r5:00000017 r4:c0e61d88 [ 113.613842] [ ] (generic_handle_irq) from [ ] (__handle_domain_irq+0x64/0xbc) [ 113.613849] [ ] (__handle_domain_irq) from [ ] (gic_handle_irq+0x40/0x7c) [ 113.613855] r9:df5ec000 r8:fa213000 r7:fa212000 r6:df5ed8c0 r5:fa21200c r4:c1003424 [ 113.613862] [ ] (gic_handle_irq) from [ ] (__irq_svc+0x58/0x8c) [ 113.613865] Exception stack(0xdf5ed8c0 to 0xdf5ed908) [ 113.613872] d8c0: 00000000 c10592c0 00000000 00000000 00000202 00000013 df5ec000 00000000 [ 113.613877] d8e0: df406000 df5ec000 0000c3e0 df5ed96c df5ed970 df5ed910 c0233168 c0232c88 [ 113.613880] d900: 60070113 ffffffff [ 113.613886] r9:df5ec000 r8:df406000 r7:df5ed8f4 r6:ffffffff r5:60070113 r4:c0232c88 [ 113.613896] [ ] (__do_softirq) from [ ] (irq_exit+0xe0/0x148) [ 113.613902] r10:0000c3e0 r9:df5ec000 r8:df406000 r7:00000000 r6:00000000 r5:00000013 [ 113.613904] r4:c0e61d88 [ 113.613912] [ ] (irq_exit) from [ ] (__handle_domain_irq+0x68/0xbc) [ 113.613919] [ ] (__handle_domain_irq) from [ ] (gic_handle_irq+0x40/0x7c) [ 113.613925] r9:df5ec000 r8:fa213000 r7:fa212000 r6:df5ed9d0 r5:fa21200c r4:c1003424 [ 113.613931] [ ] (gic_handle_irq) from [ ] (__irq_svc+0x58/0x8c) [ 113.613934] Exception stack(0xdf5ed9d0 to 0xdf5eda18) [ 113.613938] d9c0: 00000000 00000000 00000001 60070013 [ 113.613944] d9e0: c1068c48 c107bed0 00000000 0000003e 00000000 00000243 0000c3e0 df5eda94 [ 113.613949] da00: df5ed958 df5eda20 c05be48c c027d058 60070013 ffffffff [ 113.613954] r9:df5ec000 r8:00000000 r7:df5eda04 r6:ffffffff r5:60070013 r4:c027d058 [ 113.613961] [ ] (console_unlock) from [ ] (vprintk_emit+0x2c0/0x480) [ 113.613967] r10:00000000 r9:c105bf50 r8:c1017130 r7:00000006 r6:00000006 r5:00000000 [ 113.613969] r4:0000002e [ 113.613979] [ ] (vprintk_emit) from [ ] (dev_vprintk_emit+0xa8/0x1d0) [ 113.613985] r10:c0bf7afc r9:df5edbd4 r8:c0c096b0 r7:00000006 r6:df5edb08 r5:c949f438 [ 113.613987] r4:00000011 [ 113.613997] [ ] (dev_vprintk_emit) from [ ] (dev_printk_emit+0x28/0x30) [ 113.614003] r10:00000000 r9:d9040000 r8:024000c0 r7:c949f428 r6:00000100 r5:c9425480 [ 113.614005] r4:00000001 [ 113.614014] [ ] (dev_printk_emit) from [ ] (__dev_printk+0x54/0x94) [ 113.614018] r3:c0c458c8 r2:c0c096b0 [ 113.614025] [ ] (__dev_printk) from [ ] (_dev_info+0x40/0x48) [ 113.614033] [ ] (_dev_info) from [ ] (rpmsg_probe+0x2b8/0x41c) [ 113.614038] r3:00000000 r2:00000000 r1:c0c45828 [ 113.614048] [ ] (rpmsg_probe) from [ ] (virtio_dev_probe+0x230/0x30c) [ 113.614054] r10:00000001 r9:00000000 r8:ffffffff r7:c949f438 r6:c949f428 r5:00000000 [ 113.614057] r4:00000000 [ 113.614066] [ ] (virtio_dev_probe) from [ ] (driver_probe_device+0x20c/0x2b8) [ 113.614072] r10:00000000 r9:00000000 r8:0000000e r7:c104aa30 r6:00000000 r5:c949f438 [ 113.614074] r4:c10956e4 [ 113.614082] [ ] (driver_probe_device) from [ ] (__device_attach_driver+0xa0/0xd4) [ 113.614087] r9:00000000 r8:c10956c0 r7:00000001 r6:c949f438 r5:df5edd50 r4:c104aa30 [ 113.614095] [ ] (__device_attach_driver) from [ ] (bus_for_each_drv+0x68/0x9c) [ 113.614099] r7:00000001 r6:c063f858 r5:df5edd50 r4:00000000 [ 113.614106] [ ] (bus_for_each_drv) from [ ] (__device_attach+0xb8/0x11c) [ 113.614110] r6:c102823c r5:c949f46c r4:c949f438 [ 113.614117] [ ] (__device_attach) from [ ] (device_initial_probe+0x14/0x18) [ 113.614122] r7:00000000 r6:c102823c r5:c949f438 r4:c949f440 [ 113.614129] [ ] (device_initial_probe) from [ ] (bus_probe_device+0x8c/0x94) [ 113.614135] [ ] (bus_probe_device) from [ ] (device_add+0x3fc/0x588) [ 113.614139] r7:00000000 r6:c949f438 r5:c949e020 r4:c949f440 [ 113.614145] [ ] (device_add) from [ ] (device_register+0x1c/0x20) [ 113.614151] r10:c949e204 r9:c949f404 r8:c949e020 r7:c949f428 r6:c949f438 r5:c081082c [ 113.614154] r4:c949f438 [ 113.614161] [ ] (device_register) from [ ] (register_virtio_device+0xb4/0xf4) [ 113.614164] r5:c081082c r4:c949f428 [ 113.614172] [ ] (register_virtio_device) from [ ] (rproc_add_virtio_dev+0x78/0xfc) [ 113.614176] r7:c949f428 r6:00000007 r5:c949e020 r4:c949f400 [ 113.614184] [ ] (rproc_add_virtio_dev) from [ ] (rproc_vdev_do_probe+0x18/0x1c) [ 113.614189] r7:00000000 r6:c949e1b4 r5:c949e1ac r4:c949e000 [ 113.614197] [ ] (rproc_vdev_do_probe) from [ ] (__rproc_boot+0x4bc/0x5bc) [ 113.614207] [ ] (__rproc_boot) from [ ] (rproc_trigger_recovery+0x5c/0x68) [ 113.614213] r10:df5e5180 r9:00000000 r8:df8add00 r7:00000000 r6:00000000 r5:c949e240 [ 113.614215] r4:c949e000 [ 113.614225] [ ] (rproc_trigger_recovery) from [ ] (rproc_crash_handler_work+0x74/0x84) [ 113.614230] r7:00000000 r6:c949e000 r5:c949e1b4 r4:c949e22c [ 113.614239] [ ] (rproc_crash_handler_work) from [ ] (process_one_work+0x1dc/0x3f8) [ 113.614244] r7:00000000 r6:df8aa5c0 r5:df5e5180 r4:c949e22c [ 113.614250] [ ] (process_one_work) from [ ] (worker_thread+0x58/0x574) [ 113.614255] r10:df5e5180 r9:df5ec000 r8:df8aa5d8 r7:c1002d00 r6:00000008 r5:df5e5198 [ 113.614257] r4:df8aa5c0 [ 113.614266] [ ] (worker_thread) from [ ] (kthread+0x100/0x118) [ 113.614271] r10:00000000 r9:00000000 r8:c024569c r7:df5e5180 r6:df5ec000 r5:df5e1840 [ 113.614274] r4:00000000 [ 113.614283] [ ] (kthread) from [ ] (ret_from_fork+0x14/0x2c) [ 113.614288] r8:00000000 r7:00000000 r6:00000000 r5:c024a92c r4:df5e1840 [ 113.614291] ---[ end trace e19c6be11ffea2c0 ]--- [ 113.614304] omap-iommu 40d01000.mmu: iommu fault: da 0x26dc0300 flags 0x0 [ 113.614310] remoteproc remoteproc2: crash detected in 40800000.dsp: type mmufault [ 113.614319] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x26dc0300 pgd:0xc35949b4 *pgd:px00000000 [ 114.371779] remoteproc remoteproc2: registered virtio0 (type 7) [ 114.377728] remoteproc remoteproc2: remote processor 40800000.dsp is now up [ 114.395385] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x3d root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc# why "/dra7-dsp1-fw.xe66.opencl-monitor" start DSP failed?????
↧