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.

Linux/AM5728: The dram usage question of ipu1.

Part Number: AM5728

Tool/software: Linux

hello

i'm use am5728 sdk 4.0.0.4
Also, when compiling the ipu1 firmware after compilation without any source modification,
the usage rate of emif2 increases.

1. Why is the dram usage of ipu1 so high?
2. Why does ipu1 use only emif2?

Arago Project http://arago-project.org am57xx-evm ttyS2

 

Arago 2017.05 am57xx-evm ttyS2

 

am57xx-evm login: root

root@am57xx-evm:~# [   18.407295] omap_hwmod: mmu1_dsp1: _wait_target_disable failed

[   18.420365] omap_hwmod: mmu1_dsp2: _wait_target_disable failed

[   18.433315] omap_hwmod: mmu0_dsp1: _wait_target_disable failed

[   18.446261] omap_hwmod: mmu0_dsp2: _wait_target_disable failed

mount -t debugfs none /debug

root@am57xx-evm:~# echo disabled > /debug/remoteproc/remoteproc0/recovery

root@am57xx-evm:~# cat /debug/remoteproc/remoteproc0/trace0

[0][      0.000] Watchdog enabled: TimerBase = 0x68824000 SMP-Core = 0 Freq = 19200000

[0][      0.000] Watchdog enabled: TimerBase = 0x68826000 SMP-Core = 1 Freq = 19200000

[0][      0.000] 17 Resource entries at 0x3000

[0][      0.000] [t=0x00095b69] xdc.runtime.Main: -->x main:

[0][      0.000] registering rpmsg-proto:rpmsg-proto service on 61 with HOST

[0][      0.000] [t=0x000cb677] xdc.runtime.Main: NameMap_sendMessage: HOST 53, port=61

[0][      0.000] [t=0x000e5f7d] xdc.runtime.Main: --> smain:

 

root@am57xx-evm:~# glsdkstatcoll -f config.ini

NOTE: STATCOLL is not enabled, ignoring DELAY

NOTE: STATCOLL is not enabled, ignoring EMIF_PERF_CFG1

NOTE: STATCOLL is not enabled, ignoring EMIF_PERF_CFG2

NOTE: STATCOLL is not enabled, ignoring TOTAL_TIME

NOTE: STATCOLL is not enabled, ignoring INTERVAL_US

 

 

COMPLETED: Parsing of the user specified parameters..

                 

Configuring device now..

 

#########################################################

##

##  usage    : ./Dra7xx_ddrstat   <DELAY>  <EMIF_PERF_CFG1>  <EMIF_PERF_CFG2>

##  default  :                    DELAY=1  EMIF_PERF_CFG1=9  EMIF_PERF_CFG2=10

##  option   : for EMIF_PERF_CFG1 and EMIF_PERF_CFG2

##             0  -> access,

##             1  -> activate,

##             2  -> read,

##             3  -> write,

##             4  -> fifo_cmd,

##             5  -> fifo_write,

##             6  -> fifo_read,

##             7  -> fifo_ret,

##             8  -> prio,

##             9  -> cmd_pend,

##             10 -> data   

##

##  EMIF frq : 266 MHz

 

^CIF1 cmd_pend  1% data  1%     EMIF2 cmd_pend 29% data 18%

root@am57xx-evm:~#