HI, 你好
我官方参考文档VisionSDK_Linux_UserGuide.pdf, 进行编译linux系统并从SD卡启动,并能正常进入系统,但在运行雷达用例时失败,日志如下:
(PS: 由于我这边使用的是AWR2243, 按照e2e.ti.com/…/3348087修改相关文档,仍然无法正常启动)
[ OK ] Started Synchronize System and HW clocks.
[ OK ] Started telnetd.service.
[ OK ] Mounted /run/media/nvme0n1p1.
[ OK ] Mounted /run/media/mmcblk0p1.
[ OK ] Stopped Launching Vision SDK App.
[ OK ] Started Launching Vision SDK App.
[ OK ] Started Login Service.
[ OK ] Reached target Multi-User System.
Starting Update UTMP about System Runlevel Changes…
[ OK ] Started Update UTMP about System Runlevel Changes.
_____ _____ _ _| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___|
Arago Project http://arago-project.org dra7xx-evm ttyS0
Arago 2019.09 dra7xx-evm ttyS0
dra7xx-evm login: root
root@dra7xx-evm:~#root@dra7xx-evm:~# cd /opt/vision_sdk/
root@dra7xx-evm:/opt/vision_sdk# source ./vision_sdk_load.shinsmod: ERROR: could not insert module ./bin/memcache.ko: File exists
insmod: ERROR: could not load module ./bin/cmemk.ko: No such file or directory
mknod: /dev/memcache: File exists
./disableDssInterruptsOnA15.sh: line 11: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 12: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 13: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 14: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 15: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 16: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 17: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 18: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 19: COMMANDS: command not found
updated value is
COMMANDS
### WARNING ###: use the following [read | write | set bit | clear bit | dump] commands at your own risk!
No address check done, may generate:
– bus error (invalid or not accessible <physical address>,
– platform crash/hang (bad <value>).
Read any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
Write <value> at any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
Set bit at <position> into any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
Clear bit at <position> into any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
Dump a range of OMAP memory addresses, from <start address> to <end address>.
Note all addresses within given range must be valid and accessible.
### WARNING ###: use the following I2C [read | write] commands at your own risk!
No address check done, may generate:
– I2C bus error (invalid or not accessible <physical address>,
– platform crash/hang (bad <value>).
Read I2C register at address <addr> from I2C chip at <chip-addr> on I2C <bus>.
Write <value> in I2C register at address <addr> from I2C chip at <chip-addr> on I2C <bus>.
root@dra7xx-evm:/opt/vision_sdk# ./apps.out [HOST] OSA: MEM: 0: Mapped 0xa0100000 to 0xb68c8000 of size 0x00100000 [HOST] OSA: MEM: 1: Mapped 0x84203000 to 0xa3cc8000[ 47.656957] omap_l3_noc 44000000.ocp: L3 application error: target 3 mod:2 (unclearable)
of size 0x12c00000 [HOST] OSA: MEM: 2: Mapped 0xa0200000 to[ 47.666526] omap_l3_noc 44000000.ocp: L3 debug error: target 3 mod:2 (unclearable)
0xa3c08000 of size 0x00040000 [HOST] OSA: MEM: 3: Mapped 0xa02c0000 to 0xa3c48000 of size 0x00080000 [HOST] OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000 [HOST] OSA: MEM: 5: Mapped 0xc0000000 to 0x63d08000 of size 0x3ff00000 [HOST] OSA: HOST Remote Log Shared Memory @ 0xa024f140
[HOST] OSA: IPU2 Remote Log Shared Memory @ 0xa0363da0
[HOST] [HOST ] 54.457481 s: SYSTEM: System A15 Init in progress !!!
[HOST] [HOST ] 54.457573 s: SYSTEM: IPC: Init in progress !!!
[HOST] [HOST ] 54.457634 s: SYSTEM: IPC: Notify init in progress !!!
[HOST] [HOST ] 54.457695 s: SYSTEM: IPC: [IPU2] socket bind success !!! (dst vproc = 1, endpt = 81)
[HOST] [HOST ] 54.457725 s: SYSTEM: IPC: [IPU2] socket info (family = 45, dst proc id = -1, endpt = 81) !!!
[HOST] [HOST ] 54.457725 s: SYSTEM: IPC: [IPU2] socket connect success !!! (dst vproc = 1, endpt = 80)
[HOST] [HOST ] 54.457756 s: SYSTEM: IPC: [IPU2] socket info (family = 45, dst proc id = -1, endpt = 1024) !!!
[HOST] [HOST ] 54.457908 s: SYSTEM: IPC: Notify init DONE !!!
[HOST] [HOST ] 54.457939 s: SYSTEM: MSGQ: MsgQ init in progress !!!
[HOST] [HOST ] 54.458030 s: SYSTEM: MSGQ: MsgQ init DONE !!!
[HOST] [HOST ] 54.458030 s: SYSTEM: IPC: Init DONE !!!
[HOST] [HOST ] 54.458030 s: SYSTEM: Initializing A15 Links !!! [HOST] [HOST ] 54.458152 s: IPC_OUT_0 : Init done – linkid-0x2000000
[HOST] [HOST ] 54.458274 s: IPC_OUT_1 : Init done – linkid-0x2000001
[HOST] [HOST ] 54.458396 s: IPC_OUT_2 : Init done – linkid-0x2000002
[HOST] [HOST ] 54.458488 s: IPC_OUT_3 : Init done – linkid-0x2000003
[HOST] [HOST ] 54.458579 s: IPC_OUT_4 : Init done – linkid-0x2000004
[HOST] [HOST ] 54.458701 s: IPC_IN_0 : Init done – linkid-0x200000a
[HOST] [HOST ] 54.458823 s: IPC_IN_1 : Init done – linkid-0x200000b
[HOST] [HOST ] 54.458945 s: IPC_IN_2 : Init done – linkid-0x200000c
[HOST] [HOST ] 54.459067 s: IPC_IN_3 : Init done – linkid-0x200000d
[HOST] [HOST ] 54.459189 s: IPC_IN_4 : Init done – linkid-0x200000e
[HOST] [HOST ] 54.459281 s: IPC_IN_5 : Init done – linkid-0x200000f
[HOST] [HOST ] 54.459403 s: IPC_IN_6 : Init done – linkid-0x2000010
[HOST] [HOST ] 54.459525 s: NULL_0 : Init done – linkid-0x2000014
[HOST] [HOST ] 54.459616 s: NULL_1 : Init done – linkid-0x2000015
[HOST] [HOST ] 54.459769 s: NULL_SRC_0 : Init done – linkid-0x2000039
[HOST] [HOST ] 54.459921 s: DISP_DIST_SRC_0 : Init done – linkid-0x2000066
[HOST] [HOST ] 54.460013 s: DISP_DIST_SRC_1 : Init done – linkid-0x2000067
[HOST] [HOST ] 54.460104 s: DISP_DIST_SRC_2 : Init done – linkid-0x2000068
[HOST] [HOST ] 54.460196 s: DISP_DIST_SRC_3 : Init done – linkid-0x2000069
[HOST] [HOST ] 54.460348 s: ALGORITHM_0 : Init done – linkid-0x2000031
[HOST] [HOST ] 54.460440 s: ALGORITHM_1 : Init done – linkid-0x2000032
[HOST] [HOST ] 54.460592 s: ALGORITHM_2 : Init done – linkid-0x2000033
[HOST] [HOST ] 54.460684 s: ALGORITHM_3 : Init done – linkid-0x2000034
[HOST] [HOST ] 54.460806 s: ALGORITHM_4 : Init done – linkid-0x2000035
[HOST] [HOST ] 54.460928 s: ALGORITHM_5 : Init done – linkid-0x2000036
[HOST] [HOST ] 54.461050 s: ALGORITHM_6 : Init done – linkid-0x2000037
[HOST] [HOST ] 54.461141 s: ALGORITHM_7 : Init done – linkid-0x2000038
[HOST] [HOST ] 54.461324 s: DUP0 : Init done – linkid-0x0
[HOST] [HOST ] 54.461507 s: DUP1 : Init done – linkid-0x0
[HOST] [HOST ] 54.461690 s: DUP2 : Init done – linkid-0x0
[HOST] [HOST ] 54.461873 s: DUP3 : Init done – linkid-0x0
[HOST] [HOST ] 54.462026 s: DUP4 : Init done – linkid-0x0
[HOST] [HOST ] 54.462148 s: SYNC_0 : Init done – linkid-0x0
[HOST] [HOST ] 54.462300 s: SYNC_1 : Init done – linkid-0x0
[HOST] [HOST ] 54.462422 s: SYNC_2 : Init done – linkid-0x0
[HOST] [HOST ] 54.462514 s: SYNC_3 : Init done – linkid-0x0
[HOST] [HOST ] 54.462636 s: MERGE_0 : Init done – linkid-0x0
[HOST] [HOST ] 54.462788 s: MERGE_1 : Init done – linkid-0x0
[HOST] [HOST ] 54.462910 s: MERGE_2 : Init done – linkid-0x0
[HOST] [HOST ] 54.463033 s: MERGE_3 : Init done – linkid-0x0
[HOST] [HOST ] 54.463155 s: MERGE_4 : Init done – linkid-0x0
[HOST] [HOST ] 54.463277 s: SELECT_0 : Init done – linkid-0x0
[HOST] [HOST ] 54.463399 s: SELECT_1 : Init done – linkid-0x0
[HOST] [HOST ] 54.463490 s: GATE_0 : Init done – linkid-0x0
[HOST] [HOST ] 54.463582 s: GATE_1 : Init done – linkid-0x0
[HOST] [HOST ] 54.463673 s: GATE_2 : Init done – linkid-0x0
[HOST] [HOST ] 54.463765 s: GATE_3 : Init done – linkid-0x0
[HOST] [HOST ] 54.463887 s: SGXFRMCPY_0 : Init done – linkid-0x200004a
[HOST] [HOST ] 54.463887 s: SYSTEM: Initializing A15 Links … DONE !!! [HOST] [HOST ] 54.464283 s: OSA: Adjusting global time, timeH by 0 units!!!
[HOST] [HOST ] 54.464314 s: SYSTEM: System A15 Init Done !!!
[HOST] [HOST ] 54.464588 s: NETWORK_CTRL: Starting Server (port=5000) !!!
[HOST] [HOST ] 54.464680 s: NETWORK_CTRL: Starting Server … DONE (port=5000) !!!
[HOST] [IPU2 ] 12.997163 s: ***** IPU2 Firmware build time 17:00:31 Dec 17 2020
[HOST] [IPU2 ] 12.997376 s: *** SYSTEM: CPU Frequency <ORG = 212800000 Hz>, <NEW = 212800000 Hz>
[HOST] [IPU2 ] 13.000274 s: SYSTEM: System Common Init in progress !!!
[HOST] [IPU2 ] 13.009821 s: UTILS: CIO: Init Done !!!
[HOST] [IPU2 ] 13.009912 s: SYSTEM: IPC init in progress !!!
[HOST] [IPU2 ] 13.009973 s: SYSTEM: Notify init done !!!
[HOST] [IPU2 ] 13.011742 s: SYSTEM: MsgQ init done !!!
[HOST] [IPU2 ] 13.012444 s: SYSTEM: Work Queue init done !!!
[HOST] [IPU2 ] 13.013359 s: RpmsgInit in progress…
[HOST] [IPU2 ] 13.013511 s: SYSTEM: IPC init DONE !!!
[HOST] [IPU2 ] 13.018727 s: SYSTEM: System Common Init Done !!!
[HOST] [IPU2 ] 13.018849 s: SYSTEM: System Init in progress !!!
[HOST] [IPU2 ] 13.018910 s: SYSTEM: BSP Common Init in progress !!!
[HOST] [IPU2 ] 13.018971 s: SYSTEM: BSP Common Init Done !!!
[HOST] [IPU2 ] 13.019032 s: SYSTEM: BSP Platform Init in progress !!!
[HOST] [IPU2 ] 13.019154 s: SYSTEM: BSP Platform Init Done !!!
[HOST] [IPU2 ] 13.019215 s: SYSTEM: FVID2 Init in progress !!!
[HOST] [IPU2 ] 13.019337 s: SYSTEM: FVID2 Init Done !!!
[HOST] [IPU2 ] 13.019398 s: SYSTEM: VPS Init in progress !!!
[HOST] [IPU2 ] 13.019459 s: SYSTEM: VPDMA Descriptor Memory Address translation ENABLED [0x80000000 -> 0x80000000]
[HOST] [IPU2 ] 13.022448 s: *** VPDMA Firmware Loading… ***
[HOST] [IPU2 ] 13.022570 s: VPDMA Firmware Address = 0xa03dc4c0
[HOST] [IPU2 ] 13.022784 s: VPDMA Load Address = 0x4897d004
[HOST] [IPU2 ] 13.022875 s: VPDMA Firmware Version = 0x4d0001b8
[HOST] [IPU2 ] 13.022967 s: VPDMA List Busy Status = 0x00000000
[HOST] [IPU2 ] 13.023058 s: *** VPDMA Firmware Load Success ***
[HOST] [IPU2 ] 13.023363 s: *** VPDMA Firmware Loading… ***
[HOST] [IPU2 ] 13.023455 s: VPDMA Firmware Address = 0xa03dc4c0
[HOST] [IPU2 ] 13.023546 s: VPDMA Load Address = 0x4899d004
[HOST] [IPU2 ] 13.023668 s: VPDMA Firmware Version = 0x4d0001b8
[HOST] [IPU2 ] 13.023760 s: VPDMA List Busy Status = 0x00000000
[HOST] [IPU2 ] 13.023851 s: *** VPDMA Firmware Load Success ***
[HOST] [IPU2 ] 13.024156 s: *** VPDMA Firmware Loading… ***
[HOST] [IPU2 ] 13.024248 s: VPDMA Firmware Address = 0xa03dc4c0
[HOST] [IPU2 ] 13.024339 s: VPDMA Load Address = 0x489bd004
[HOST] [IPU2 ] 13.024431 s: VPDMA Firmware Version = 0x4d0001b8
[HOST] [IPU2 ] 13.024522 s: VPDMA List Busy Status = 0x00000000
[HOST] [IPU2 ] 13.024614 s: *** VPDMA Firmware Load Success ***
[HOST] [IPU2 ] 13.024949 s: *** VPDMA Firmware Loading… ***
[HOST] [IPU2 ] 13.025041 s: VPDMA Firmware Address = 0xa03dc4c0
[HOST] [IPU2 ] 13.025102 s: VPDMA Load Address = 0x489dd004
[HOST] [IPU2 ] 13.025224 s: VPDMA Firmware Version = 0x4d0001b8
[HOST] [IPU2 ] 13.025285 s: VPDMA List Busy Status = 0x00000000
[HOST] [IPU2 ] 13.025376 s: *** VPDMA Firmware Load Success ***
[HOST] [IPU2 ] 13.072713 s: Connection established with HLOS, calling rpmsgInit
[HOST] [IPU2 ] 13.083023 s: SYSTEM: VPS Init Done !!!
[HOST] [IPU2 ] 13.083907 s: UTILS: DMA: HWI Create for INT25 !!!
[HOST] [IPU2 ] 13.084182 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1024 [HOST] [IPU2 ] 13.084273 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 260608 B (254 KB)
[HOST] [IPU2 ] 13.084426 s: SYSTEM: Heap = SR_OCMC @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
[HOST] [IPU2 ] 13.084578 s: SYSTEM: Heap = SR_DDR_CACHED @ 0x84203000, Total size = 314572800 B (300 MB), Free size = 314572800 B (300 MB)
[HOST] [IPU2 ] 13.084822 s: SYSTEM: Heap = SR_DDR_NON_CACHED @ 0xa0100000, Total size = 1047168 B (0 MB), Free size = 1047168 B (0 MB)
[HOST] [IPU2 ] 13.084975 s: SYSTEM: Initializing Links !!! [HOST] [IPU2 ] 13.257030 s: SYSTEM: Initializing Links … DONE !!! [HOST] [IPU2 ] 13.257670 s: CHAINS: Application Started !!!
[HOST] [IPU2 ] 13.267797 s: BOARD: Board Init in progress !!!
[HOST] [IPU2 ] 13.268346 s: BOARD: Board Init Done !!!
[HOST] [IPU2 ] 13.272982 s: [HOST] [HOST ] 54.991581 s: [HOST] [HOST ] [HOST] [HOST ] ====================
[HOST] [HOST ] Vision SDK Usecases
[HOST] [HOST ] ====================
[HOST] [HOST ] 1: Single Camera Usecases
[HOST] [HOST ] 2: Multi-Camera LVDS Usecases
[HOST] [HOST ] 3: Open-Compute Usecases
[HOST] [HOST ] 6: Radar Usecases
[HOST] [HOST ] [HOST] [HOST ] 7: PCIe SSD card Write Test
[HOST] [HOST ] p: CPU Status
[HOST] [HOST ] i: Show IP Addr (IPU + NDK + AVB) [HOST] [HOST ] [HOST] [HOST ] s: System Settings [HOST] [HOST ] [HOST] [HOST ] x: Exit [HOST] [HOST ] z: Exit – AND SHUTDOWN Remote CPUs
[HOST] [HOST ] [HOST] [HOST ] Enter Choice: [HOST] [HOST ]6
[HOST] [HOST ] 59.372903 s: [HOST] [HOST ] [HOST] [HOST ] Radar Usecases
[HOST] [HOST ] —————————-
[HOST] [HOST ] 1: Cascade Radar (4x AWR1243) Capture + Null
[HOST] [HOST ] 2: Cascade Radar (4x AWR1243) Capture + Data Aquisition (Same file for all 4 Radars)
[HOST] [HOST ] 3: Cascade Radar (4x AWR1243) Capture + Data Aquisition (One file for each radar)
[HOST] [HOST ] [HOST] [HOST ] x: Exit [HOST] [HOST ] [HOST] [HOST ] Enter Choice: [HOST] [HOST ] [HOST] [HOST ] 59.372933 s: [HOST] [HOST ] 59.372933 s: Unsupported option '
[HOST] [HOST ] '. Please try again
[HOST] [HOST ] 59.372933 s: [HOST] [HOST ] [HOST] [HOST ] Radar Usecases
[HOST] [HOST ] —————————-
[HOST] [HOST ] 1: Cascade Radar (4x AWR1243) Capture + Null
[HOST] [HOST ] 2: Cascade Radar (4x AWR1243) Capture + Data Aquisition (Same file for all 4 Radars)
[HOST] [HOST ] 3: Cascade Radar (4x AWR1243) Capture + Data Aquisition (One file for each radar)
[HOST] [HOST ] [HOST] [HOST ] x: Exit [HOST] [HOST ] [HOST] [HOST ] Enter Choice: [HOST] [HOST ]2
[HOST] [HOST ] 62.260050 s: [HOST] [HOST ] 62.260050 s: [HOST] [HOST ] Press 1 to enable Test Source. Any other key to continue…
[HOST] [HOST ] 63.914963 s: [HOST] [HOST ] Enter number of files to have file size allocated before writing…
10000
[HOST] [HOST ] 67.141340 s: Allocate 10000 files.
[HOST] [HOST ] 67.141340 s: [HOST] [HOST ] Press 1 to enable data packing (16-bit ADC packed into 12-bit). Any other key to continue…
[HOST] [HOST ] 72.145580 s: Parsing /opt/vision_sdk/radar_test_vector/sensor_master_config.txt
[HOST] [IPU2 ] 72.145885 s: CHAINS_COMMON_CASCADE AR12xx Initializing FPGA …
[HOST] [IPU2 ] 73.745257 s: CHAINS_COMMON_CASCADE AR12xx Initializing FPGA Done…
[HOST] [IPU2 ] 73.745592 s: CHAINS: Init AR12xx … [HOST] [IPU2 ] 73.745867 s: UTILS_MCSPI: McSPI is configured in interrupt mode!!
[HOST] [IPU2 ] 73.746233 s: SYSTEM: UART: INTERRUPT Mode is Selected [HOST] [IPU2 ] 73.746721 s: UTILS_MCSPI: McSPI is configured in interrupt mode!!
[HOST] [IPU2 ] 73.746904 s: UTILS_MCSPI: McSPI is configured in interrupt mode!!
[HOST] [IPU2 ] 73.747056 s: UTILS_MCSPI: McSPI is configured in interrupt mode!!
[HOST] [IPU2 ] 73.972091 s: AR12XX: ES1.0 Device detected!!
[HOST] [IPU2 ] 73.972213 s: AR12XX: Firmware Download Started : Ftype: MSS_BUILD
[HOST] [IPU2 ] 76.210699 s: AR12XX: Firmware Download Successful : Ftype: MSS_BUILD
[HOST] [IPU2 ] 76.210852 s: AR12XX: Firmware Download Started : Ftype: BSS_BUILD
[HOST] [IPU2 ] 76.229793 s: AR12XX: Firmware chunk No. 19 download Failed : Ftype: BSS_BUILD
[HOST] [IPU2 ] 76.229884 s: Assertion @ Line: 280 in /home/lewis/PROCESSOR_SDK_VISION_03_08_00_00/vision_sdk/apps/src/rtos/radar/src/common/chains_common_ar12xx.c: SYSTEM_LINK_STATUS_SOK == retVal : failed !!!
Chris Meng:
你好,
请问你参考的e2e讨论贴是下面这个链接么?
e2e.ti.com/…/3273642如果是,从你的log看,修改并没有生效。请问修改后是否有重新编译?
另,请确认你使用的AWR2243版本(参考AWR2243勘误表里的mark信息)。上面e2e讨论使用的DFP版本是针对AWR2243 ES1.0的。如果你使用的AWR2243是ES1.1的,请使用最新的DFP包里的firmware,例如DFP 2.02.02.01。