Part Number: PROCESSOR-SDK-DRA8X-TDA4X
I am trying to execute the AppTidl Demo application using the new PSDKRA, PSDKQA, and PSDKLA releases (6.2). For some reason, the classification is wrong based on the objects. See log:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2020.04.10 10:41:00 =~=~=~=~=~=~=~=~=~=~=~=
U-Boot SPL 2019.01-g350f3927b8 (Feb 17 2020 - 09:46:23 +0000)
SYSFW ABI: 2.9 (firmware rev 0x0013 '19.12.1-v2019.12a (Terrific Lla')
Trying to boot from MMC2
Loading Environment from MMC... *** Warning - No MMC card found, using default environment
Remoteproc 2 started successfully
** File not found /lib/firmware/j7-mcu-r5f0_0-fw **
Starting ATF on ARM64 core...
NOTICE: BL31: v2.2(release):ti2019.05-rc1
NOTICE: BL31: Built : 09:32:00, Feb 17 2020
I/TC:
I/TC: OP-TEE version: ti2019.05-rc1-dev (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 Mon Feb 17 09:40:16 UTC 2020 aarch64
I/TC: Initialized
U-Boot SPL 2019.01-g350f3927b8 (Feb 17 2020 - 09:48:06 +0000)
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Trying to boot from MMC2
U-Boot 2019.01-g350f3927b8 (Feb 17 2020 - 09:48:06 +0000)
SoC: J721E PG 1.0
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E7
DRAM: 4 GiB
Flash: 0 Bytes
MMC: sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Net:
Warning: ethernet@046000000 using MAC address from ROM
eth0: ethernet@046000000
Hit any key to stop autoboot: 2 1 0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
** Unable to read file boot.scr **
98 bytes read in 2 ms (47.9 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
Running uenvcmd ...
3803064 bytes read in 84 ms (43.2 MiB/s)
Load Remote Processor 3 with data@addr=0x80080000 3803064 bytes: Success!
** File not found /lib/firmware/j7-main-r5f1_0-fw **
1447952 bytes read in 32 ms (43.2 MiB/s)
Load Remote Processor 6 with data@addr=0x80080000 1447952 bytes: Success!
1447952 bytes read in 30 ms (46 MiB/s)
Load Remote Processor 7 with data@addr=0x80080000 1447952 bytes: Success!
6954352 bytes read in 63 ms (105.3 MiB/s)
Load Remote Processor 8 with data@addr=0x80080000 6954352 bytes: Success!
14203920 bytes read in 301 ms (45 MiB/s)
## Starting application at 0x80080000 ...
MMU: 16-bit ASID 44-bit PA TCR_EL1=b5183519
cpu0: MPIDR=80000000
cpu0: MIDR=411fd080 Cortex-A72 r1p0
cpu0: CWG=4 ERG=4 Dminline=4 Iminline=4 PIPT
cpu0: CLIDR=a200023 LoUU=1 LoC=2 LoUIS=1
cpu0: L1 Icache 48K linesz=64 set/way=256/3
cpu0: L1 Dcache 32K linesz=64 set/way=256/2
cpu0: L2 Unified 1024K linesz=64 set/way=1024/16
Loading IFS...done
cpu1: MPIDR=80000001
cpu1: MIDR=411fd080 Cortex-A72 r1p0
cpu1: CWG=4 ERG=4 Dminline=4 Iminline=4 PIPT
cpu1: CLIDR=a200023 LoUU=1 LoC=2 LoUIS=1
cpu1: L1 Icache 48K linesz=64 set/way=256/3
cpu1: L1 Dcache 32K linesz=64 set/way=256/2
cpu1: L2 Unified 1024K linesz=64 set/way=1024/16
System page at phys:0000000080011000 user:ffffff8040252000 kern:ffffff8040251000
Starting next program at vffffff8060058ae0
MMFLAGS=1
All ClockCycles offsets within tolerance
Welcome to QNX Neutrino 7.0 on TI J721E EVM Board!!
Starting random service ...
start serial driver
Path=0 - am65x
target=0 lun=0 Direct-Access(0) - SDMMC: S0J56X Rev: 1.0
data: 4h ceh
data: 7h fch
MASTER_SEND: Input/output error
Setting environment variables...
done..
Looking for user script to run: /sd/user.sh
Running user script...
user.sh called...
Setting additional environment variables...
Start sci res mgr..
Start shared memory allocator..
done...
J7EVM@QNX# cd sd sd/vis sd/vision_apps/
J7EVM@QNX# ./run ./run_ap ./run_app_ti ./run_app_tidl.sh
APP: Init QNX ... !!!
APP_LOG: Mapping ac000000 ...
APP_LOG: Mapped ac000000 -> 28000000 of size 262144 bytes
appIpcInit: IPC: Init QNX ... !!!
IPC: 5 CPUs participating in IPC !!!
ti_sci_msg_xfer: ACK error
Mailbox_plugInterrupt: interrupt Number 123, arg 0x10BC4D10
ti_sci_msg_xfer: ACK error
Mailbox_plugInterrupt: interrupt Number 124, arg 0x10BC4EA8
ti_sci_msg_xfer: ACK error
Mailbox_plugInterrupt: interrupt Number 125, arg 0x10BC5040
appIpcInit: IPC: Init ... Done !!!
0.000000 s: REMOTE_SERVICE: Init ... !!!
0.000000 s: REMOTE_SERVICE: Init ... Done !!!
APP: Init ... Done !!!
0.000000 s: VX_ZONE_INIT:Enabled
0.000000 s: VX_ZONE_ERROR:Enabled
0.000000 s: VX_ZONE_WARNING:Enabled
0.000000 s: VX_ZONE_INIT:[tivxInit:64] Initialization Done !!!
0.000000 s: VX_ZONE_INIT:[tivxHostInit:44] Initialization Done for HOST !!!
app_tidl: Init ...
app_tidl: Reading config file /sd/vision_apps/test_data/tivx/tidl_models/tidl_io_mobilenet_v1_1.bin ...
app_tidl: Reading config file /sd/vision_apps/test_data/tivx/tidl_models/tidl_io_mobilenet_v1_1.bin ... Done. 9876 bytes
app_tidl: Tensors, input = 1, output = 1
app_tidl: Reading network file /sd/vision_apps/test_data/tivx/tidl_models/tidl_net_mobilenet_v1.bin ...
app_tidl: Reading network file /sd/vision_apps/test_data/tivx/tidl_models/tidl_net_mobilenet_v1.bin ... Done. 4467008 bytes
app_tidl: Init ... Done.
app_tidl: Creating graph ...
app_tidl: Creating graph ... Done.
app_tidl: Verifying graph ...
app_tidl: Verifying graph ... Done.
app_tidl: Iteration 0 of 1000000 ...
app_tidl: Reading input file /sd/vision_apps/test_data/psdkra/app_tidl/0001.bmp ...
input_sizes[0] = 225, dim = 224 padL = 1 padR = 0
input_sizes[1] = 227, dim = 224 padL = 1 padR = 2
input_sizes[2] = 3, dim = 3
app_tidl: Reading bmp file ...
app_tidl: Reading bmp file ... Done.
app_tidl: Image Post processing for image of size 620 x 462 (pitch = 1860 bytes)...
app_tidl: Deinterleaving data ...
app_tidl: Resizing image ...
app_tidl: Rearranging data ...
app_tidl: Image Post processing ... Done.
app_tidl: Reading input file /sd/vision_apps/test_data/psdkra/app_tidl/0001.bmp ... Done.
app_tidl: Running graph ...
app_tidl: Running graph ... Done.
app_tidl: Finding top-5 ...
app_tidl: Finding top-5 ... Done
app_tidl: Image classification Top-5 results:
app_tidl: envelope, class-id: 549, score: 0.511190
app_tidl: mink, class-id: 357, score: 0.246769
app_tidl: Indian elephant, Elephas maximus, class-id: 385, score: 0.205694
app_tidl: tusker, class-id: 101, score: 0.019295
app_tidl: cheeseburger, class-id: 933, score: 0.013401
app_tidl: Showing output ... Done.
app_tidl: Reading input file /sd/vision_apps/test_data/psdkra/app_tidl/0002.bmp ...
input_sizes[0] = 225, dim = 224 padL = 1 padR = 0
input_sizes[1] = 227, dim = 224 padL = 1 padR = 2
input_sizes[2] = 3, dim = 3
app_tidl: Reading bmp file ...
app_tidl: Reading bmp file ... Done.
app_tidl: Image Post processing for image of size 590 x 428 (pitch = 1770 bytes)...
app_tidl: Deinterleaving data ...
app_tidl: Resizing image ...
app_tidl: Rearranging data ...
app_tidl: Image Post processing ... Done.
app_tidl: Reading input file /sd/vision_apps/test_data/psdkra/app_tidl/0002.bmp ... Done.
app_tidl: Running graph ...
app_tidl: Running graph ... Done.
app_tidl: Finding top-5 ...
app_tidl: Finding top-5 ... Done
app_tidl: Image classification Top-5 results:
app_tidl: envelope, class-id: 549, score: 0.748620
app_tidl: cheeseburger, class-id: 933, score: 0.251117
app_tidl: cheetah, chetah, Acinonyx jubatus, class-id: 293, score: 0.000120
app_tidl: pug, pug-dog, class-id: 254, score: 0.000069
app_tidl: black-and-tan coonhound, class-id: 165, score: 0.000048
app_tidl: Showing output ... Done.
app_tidl: Reading input file /sd/vision_apps/test_data/psdkra/app_tidl/0003.bmp ...
input_sizes[0] = 225, dim = 224 padL = 1 padR = 0
input_sizes[1] = 227, dim = 224 padL = 1 padR = 2
input_sizes[2] = 3, dim = 3
app_tidl: Reading bmp file ...
app_tidl: Reading bmp file ... Done.
app_tidl: Image Post processing for image of size 400 x 300 (pitch = 1200 bytes)...
app_tidl: Deinterleaving data ...
app_tidl: Resizing image ...
app_tidl: Rearranging data ...
app_tidl: Image Post processing ... Done.
app_tidl: Reading input file /sd/vision_apps/test_data/psdkra/app_tidl/0003.bmp ... Done.
app_tidl: Running graph ...
app_tidl: Running graph ... Done.
app_tidl: Finding top-5 ...
app_tidl: Finding top-5 ... Done
app_tidl: Image classification Top-5 results:
app_tidl: cheeseburger, class-id: 933, score: 0.607859
app_tidl: envelope, class-id: 549, score: 0.293435
app_tidl: mink, class-id: 357, score: 0.098437
app_tidl: Old English sheepdog, bobtail, class-id: 229, score: 0.000168
app_tidl: soccer ball, class-id: 805, score: 0.000068
app_tidl: Showing output ... Done.
app_tidl: Reading input file /sd/vision_apps/test_data/psdkra/app_tidl/0004.bmp ...
input_sizes[0] = 225, dim = 224 padL = 1 padR = 0
input_sizes[1] = 227, dim = 224 padL = 1 padR = 2
input_sizes[2] = 3, dim = 3
app_tidl: Reading bmp file ...
app_tidl: Reading bmp file ... Done.
app_tidl: Image Post processing for image of size 425 x 326 (pitch = 1275 bytes)...
app_tidl: Deinterleaving data ...
app_tidl: Resizing image ...
app_tidl: Rearranging data ...
app_tidl: Image Post processing ... Done.
app_tidl: Reading input file /sd/vision_apps/test_data/psdkra/app_tidl/0004.bmp ... Done.
app_tidl: Running graph ...
app_tidl: Running graph ... Done.
app_tidl: Finding top-5 ...
app_tidl: Finding top-5 ... Done
app_tidl: Image classification Top-5 results:
app_tidl: mink, class-id: 357, score: 0.778044
app_tidl: envelope, class-id: 549, score: 0.217714
app_tidl: cheeseburger, class-id: 933, score: 0.003963
app_tidl: macaw, class-id: 88, score: 0.000215
app_tidl: cheetah, chetah, Acinonyx jubatus, class-id: 293, score: 0.000029
app_tidl: Showing output ... Done.
app_tidl: Reading input file /sd/vision_apps/test_data/psdkra/app_tidl/0005.bmp ...
input_sizes[0] = 225, dim = 224 padL = 1 padR = 0
input_sizes[1] = 227, dim = 224 padL = 1 padR = 2
input_sizes[2] = 3, dim = 3
app_tidl: Reading bmp file ...
app_tidl: Reading bmp file ... Done.
app_tidl: Image Post processing for image of size 236 x 354 (pitch = 708 bytes)...
app_tidl: Deinterleaving data ...
app_tidl: Resizing image ...
app_tidl: Rearranging data ...
app_tidl: Image Post processing ... Done.
app_tidl: Reading input file /sd/vision_apps/test_data/psdkra/app_tidl/0005.bmp ... Done.
app_tidl: Running graph ...
app_tidl: Running graph ... Done.
app_tidl: Finding top-5 ...
app_tidl: Finding top-5 ... Done
app_tidl: Image classification Top-5 results:
app_tidl: envelope, class-id: 549, score: 0.956579
app_tidl: cheeseburger, class-id: 933, score: 0.043301
app_tidl: cheetah, chetah, Acinonyx jubatus, class-id: 293, score: 0.000062
app_tidl: CD player, class-id: 485, score: 0.000025
app_tidl: joystick, class-id: 613, score: 0.000014
app_tidl: Showing output ... Done.
app_tidl: Reading input file /sd/vision_apps/test_data/psdkra/app_tidl/0006.bmp ...
input_sizes[0] = 225, dim = 224 padL = 1 padR = 0
input_sizes[1] = 227, dim = 224 padL = 1 padR = 2
input_sizes[2] = 3, dim = 3
app_tidl: Reading bmp file ...
app_tidl: Reading bmp file ... Done.
app_tidl: Image Post processing for image of size 640 x 427 (pitch = 1920 bytes)...
app_tidl: Deinterleaving data ...
app_tidl: Resizing image ...
app_tidl: Rearranging data ...
app_tidl: Image Post processing ... Done.
app_tidl: Reading input file /sd/vision_apps/test_data/psdkra/app_tidl/0006.bmp ... Done.
app_tidl: Running graph ...
app_tidl: Running graph ... Done.
app_tidl: Finding top-5 ...
app_tidl: Finding top-5 ... Done
app_tidl: Image classification Top-5 results:
app_tidl: envelope, class-id: 549, score: 0.719430
app_tidl: mink, class-id: 357, score: 0.241326
app_tidl: cheeseburger, class-id: 933, score: 0.039068
app_tidl: zebra, class-id: 340, score: 0.000138
app_tidl: cheetah, chetah, Acinonyx jubatus, class-id: 293, score: 0.000019
app_tidl: Showing output ... Done.
app_tidl: Reading input file /sd/vision_apps/test_data/psdkra/app_tidl/0007.bmp ...
input_sizes[0] = 225, dim = 224 padL = 1 padR = 0
input_sizes[1] = 227, dim = 224 padL = 1 padR = 2
input_s
J7EVM@QNX#