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.

Cannot run use cases while TDA2 boot from eMMC

Other Parts Discussed in Thread: TDA2

Hi,

If I boot TDA2 from SD card and run use cases, everything is OK.

Now I boot it from eMMC and run the same code, there is something wrong with use cases.

 ASSERT (system_ipc.c|System_ipcInit|63)
[IPU1-0]      8.081711 s:  ***** IPU1_0 Firmware build time 13:26:09 Feb  9 2017
[IPU1-0]      8.081894 s:  *** SYSTEM: CPU Frequency <ORG = 212800000 Hz>, <NEW = 212800000 Hz>
[IPU1-0]      8.201244 s:  SYSTEM: System Common Init in progress !!!
[IPU1-0]      8.202128 s:  SYSTEM: IPC init in progress !!!
[IPU1-0]      8.202372 s:  SYSTEM: Attaching to [IPU2] ...
[HOST  ]     11.728485 s:  SYSTEM: System A15 Init in progress !!!
[HOST  ]     11.728546 s:  SYSTEM: IPC: Init in progress !!!
[HOST  ]     11.728546 s:  SYSTEM: IPC: Notify init in progress !!!
[HOST  ]     11.730804 s:  SYSTEM: IPC: [IPU1-0] socket bind failed (Invalid argument, 22) !!!
[HOST  ]     11.730834 s:  SYSTEM: IPC: [IPU1-0] Notify RX channel create failed (endpoint = 81) !!!
[DSP1  ]      8.184133 s:  ***** DSP1 Firmware build time 09:58:42 Jan  9 2017
[DSP1  ]      8.184194 s:  *** SYSTEM: CPU Frequency <ORG = 600000000 Hz>, <NEW = 700000000 Hz>
[DSP1  ]      8.200817 s:  SYSTEM: System Common Init in progress !!!
[DSP1  ]      8.201030 s:  SYSTEM: IPC init in progress !!!
[DSP1  ]      8.201091 s:  SYSTEM: Attaching to [IPU1-0] ...
[DSP1  ]      9.200817 s:  SYSTEM: Attaching to [IPU1-0] ...
[DSP1  ]     10.200847 s:  SYSTEM: Attaching to [IPU1-0] ...
[DSP1  ]     11.200878 s:  SYSTEM: Attaching to [IPU1-0] ...
[EVE1  ]      8.767248 s:  ***** EVE Firmware build time 09:58:43 Jan  9 2017
[EVE1  ]      8.768834 s:  *** SYSTEM: CPU Frequency <ORG = 267500000 Hz>, <NEW = 267500000 Hz>
[EVE1  ]      8.771426 s:  SYSTEM: System Common Init in progress !!!
[EVE1  ]      8.774019 s:  SYSTEM: IPC init in progress !!!
[EVE1  ]      8.776123 s:  SYSTEM: Attaching to [IPU1-0] ...
[EVE2  ]      8.767370 s:  ***** EVE Firmware build time 09:58:44 Jan  9 2017
[EVE2  ]      8.768956 s:  *** SYSTEM: CPU Frequency <ORG = 267500000 Hz>, <NEW = 267500000 Hz>
[EVE2  ]      8.771518 s:  SYSTEM: System Common Init in progress !!!
[EVE2  ]      8.774171 s:  SYSTEM: IPC init in progress !!!
[EVE2  ]      8.776276 s:  SYSTEM: Attaching to [IPU1-0] ...
[IPU2  ]      8.730464 s:
[IPU2  ]  EVE1 Image Load Completed
[IPU2  ]      8.754376 s:
[IPU2  ]  EVE2 Image Load Completed
[IPU2  ]      8.754498 s:
[IPU2  ]  EVE MMU configuration completed
[IPU2  ]      8.754559 s:
[IPU2  ]  EVE MMU configuration completed
[IPU2  ]      8.754651 s:  ***** IPU2 Firmware build time 13:26:10 Feb  9 2017
[IPU2  ]      8.754773 s:  *** SYSTEM: CPU Frequency <ORG = 212800000 Hz>, <NEW = 212800000 Hz>
[IPU2  ]      8.756786 s:
[IPU2  ]      8.756877 s:  ### XDC ASSERT - ERROR CALLBACK START ###
[IPU2  ]      8.756938 s:
[IPU2  ]      8.757213 s: assertion failure
[IPU2  ]      8.757274 s:
[IPU2  ]      8.757304 s:  ### XDC ASSERT - ERROR CALLBACK END ###
[IPU2  ]      8.757365 s:
[DSP1  ]     12.200908 s:  SYSTEM: Attaching to [IPU1-0] ...
[DSP1  ]     13.200939 s:  SYSTEM: Attaching to [IPU1-0] ...
[DSP1  ]     14.200939 s:  SYSTEM: Attaching to [IPU1-0] ...
[DSP1  ]     15.200969 s:  SYSTEM: Attaching to [IPU1-0] ...
[DSP1  ]     16.201000 s:  SYSTEM: Attaching to [IPU1-0] ...

Message will show "SYSTEM: Attaching to [IPU1-0]" continuously.

BTW, the memory size is also different between the two booting mode.

Booting from SD card:

root@dra7xx-evm:~# free
                      total           used             free   shared       buffers
Mem:        634348       163636       470712            0        10260
-/+ buffers:                   153376       480972
Swap:                 0                 0                 0

Booting from eMMC:

root@dra7xx-evm:~# free
                       total           used              free   shared       buffers
Mem:       2046540       143512      1903028            0         2892
-/+ buffers:                    140620      1905920
Swap:                 0                 0                 0

What is the different between SD card booting mode and eMMC booting mode?

How can I run use cases while boot from eMMC?

I am working on TDA2xx with VSDK v2.10. A15 OS is Linux.

Thanks,

Kevin Tsai