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.

out2rprc.exe exception at x86_64 Linux Ubuntu 18.04

Hi TI,

We are trying to run sbl on our TDA4VM.

The document (PDK) - JACINTO User Guide 08_00_00  says:

To covert any .out into the intermediate .rprc format, execute the following commands

For Linux:
mono <PDK>/packages/ti/boot/sbl/tools/out2rprc/bin/out2rprc.exe input.out output.rprc

For Windows:
<PDK>\packages\ti\boot\sbl\tools\out2rprc\bin\out2rprc.exe input.out output.rprc

But when we run this command on ubuntu ,it complain:
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
Parsing the input object file, /home/user/work/tda4/rtos-sdk/vision_apps/out/J7/R5F/FREERTOS/release/vx_app_rtos_qnx_mcu2_0.out.
Object reference not set to an instance of an objectEncountered exception:
Object reference not set to an instance of an object
Please help to check
Thanks

Song Deliang
  • Hi Song Deliang,

    In trying a full install / build, similar commands to those above, issue is not reproducible. 

    Could you please check that the .out file is present with a similar file size to below, and the version of the "mono" that is installed on the build machine.

     
    ubuntu:~/Downloads/release80/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/vision_apps$ mono ../pdk_jacinto_08_00_00_37/packages/ti/boot/sbl/tools/out2rprc/bin/out2rprc.exe ./out/J7/R5F/FREERTOS/release/vx_app_rtos_qnx_mcu2_0.out ./asdf.rprc
    WARNING: The runtime version supported by this application is unavailable.
    Using default runtime: v4.0.30319
    Parsing the input object file, ./out/J7/R5F/FREERTOS/release/vx_app_rtos_qnx_mcu2_0.out.
    File conversion complete!
    
    
    ubuntu:~/Downloads/release80/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/vision_apps$  ls -l ../pdk_jacinto_08_00_00_37/packages/ti/boot/sbl/tools/out2rprc/bin/out2rprc.exe
    -rwxrwxr-x 1 uid uid 59392 Aug 12 23:03 ../pdk_jacinto_08_00_00_37/packages/ti/boot/sbl/tools/out2rprc/bin/out2rprc.exe
    
    
    ubuntu:~/Downloads/release80/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/vision_apps$ ls -l ./out/J7/R5F/FREERTOS/release/vx_app_rtos_qnx_mcu2_0.out
    -rw-rw-r-- 1 uid uid 15131396 Dec 13 08:03 ./out/J7/R5F/FREERTOS/release/vx_app_rtos_qnx_mcu2_0.out
    
    
    uid@ubuntu:~/Downloads/release80/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/vision_apps$ ls -l ./asdf.rprc
    -rw-rw-r-- 1 uid uid 2541696 Dec 13 10:07 ./asdf.rprc
    
    
    
    ubuntu:~/Downloads/release80/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/vision_apps$ mono --version
    Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1ubuntu1)
    Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    	TLS:           __thread
    	SIGSEGV:       altstack
    	Notifications: epoll
    	Architecture:  amd64
    	Disabled:      none
    	Misc:          softdebug 
    	LLVM:          supported, not enabled.
    	GC:            sgen
    

    Thanks,

    kb