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.

How to set the parameter?

I use the software version is 01.08.00.15, how to set the parameter in bootargs and Rules.make?

 

setenv bootargs 'mem=128M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=192.168.47.197:/work/DVRRDK_01.08.00.15/target/rfs ip=192.168.47.211:192.168.47.197:192.168.47.1:255.255.255.0::eth0:off notifyk.vpssm3_sva=0xA0000000 vram=20M'

mem=128 or 256M?

notifyk.vpssm3_sva=0xA0000000  or 0xBFD00000?

 

in Rules.make,

ifeq ($(LINUX_MEM), )
  LINUX_MEM := LINUX_MEM_128M
#  LINUX_MEM := LINUX_MEM_256M
endif

I see the parameter in config_ti816x.bld, the linux mem is 256M, but when i set the Linux mem 256M, the system is crash in boot time.

 

who can tell me how to set the parameter in the version in 01.08.00.15?

 

 

 

 

  • Zhou,

    You have to rebuild the M3 binaries after you set LINUX_MEM := LINUX_MEM_256M in Rules.make. Check the generated memory maps in build folder to check whether M3 binaries do not access any memory region in the range 0x80000000 to 0x90000000.

    Also, notifyk.vpssm3_sva is 0xBFD00000 under both 128M and 256M configurations.

    Regards,
    Arun

  • HI Arun,

    I build the application is use "make -s sys_all" and "make -s dvrapp" ,then "make fsupdate" . Whether i shoud use other commond to rebuild the M3 binaries, and how to rebuild?

    when i set the bootargs is "setenv bootargs 'mem=128M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=192.168.47.197:/work/DVRRDK_01.08.00.15/target/rfs ip=192.168.47.211:192.168.47.197:192.168.47.1:255.255.255.0::eth0:off vram=20M notifyk.vpssm3_sva=0xBFD00000' "

    i run the RDK demo,there is the error:

     [m3video]  8085: MEM: ERROR: SharedRegion_setEntry (3, 0x8e031260) FAILED !!!  (status=-1)

     

     

    root@dvr:/opt/dvr_rdk/ti816x# ./run_gui.sh
    numid=1,iface=MIXER,name='PCM Playback Volume'
      ; type=INTEGER,access=rw---R--,values=2,min=0,max=127,step=0
      : values=127,127
      | dBscale-min=-63.50dB,step=0.50dB,mute=0
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
    SysLink version : 2.00.04.83
    SysLink module created on Date:Jan  3 2012 Time:22:28:02
    Trace enabled
    Trace SetFailureReason enabled
     Setting DMM priority for [DUCATI  ] to [0] ( 0x4e000624 = 0x08000000 )
     Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
     Setting DMM priority for [HDVICP1 ] to [2] ( 0x4e000634 = 0x000a0000 )
     Setting DMM priority for [HDVICP2 ] to [2] ( 0x4e000634 = 0x00a00000 )
    Attached to slave procId 2.
    Loaded file ../firmware/dvr_rdk_fw_m3vpss.xem3 on slave procId 2.
    Started slave procId 2.
     [m3vpss ] ***** SYSTEM  : Frequency <ORG> - 250000000, <NEW> - 250000000
     [m3vpss ] notify_attach  rtnVal  0
     [m3vpss ] initProxyServer  rtnVal  0
     [m3vpss ] 
     [m3vpss ]  *** UTILS: CPU KHz = 500000 Khz ***
     [m3vpss ] 
     [m3vpss ]  72: SYSTEM  : System Common Init in progress !!!
     [m3vpss ]  72: SYSTEM: IPC init in progress !!!
     [m3vpss ]  72: SYSTEM: Attaching to [HOST] ...
    After Ipc_loadcallback status [0x00000000]
     [m3vpss ]  1072: SYSTEM: Attaching to [HOST] ...
     [m3vpss ]  1074: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [m3vpss ]  1075: SYSTEM: Attaching to [DSP] ...
    After Ipc_startcallback status [0x097d2000]
    Attached to slave procId 1.
    Loaded file ../firmware/dvr_rdk_fw_m3video.xem3 on slave procId 1.
    Started slave procId 1.
    After Ipc_loadcallback status [0x00000000]
    After Ipc_startcallback status [0x00000000]
     [m3video] ***** SYSTEM  : Frequency <ORG> - 250000000, <NEW> - 250000000
     [m3vpss ]  2074: SYSTEM: Attaching to [DSP] ...
     [m3video] 
     [m3video]  *** UTILS: CPU KHz = 500000 Khz ***
     [m3video] 
     [m3video]  1572: SYSTEM  : System Common Init in progress !!!
     [m3video]  1572: SYSTEM: IPC init in progress !!!
     [m3video]  1572: SYSTEM: Attaching to [HOST] ...
     [m3video]  2572: SYSTEM: Attaching to [HOST] ...
     [m3video]  2574: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [m3video]  2574: SYSTEM: Attaching to [DSP] ...
    Attached to slave procId 0.
    Loaded file ../firmware/dvr_rdk_fw_c6xdsp.xe674 on slave procId 0.
    Started slave procId 0.
    After Ipc_loadcallback status [0x00000000]
     [c6xdsp ] ***** SYSTEM  : Frequency <ORG> - 800000000, <NEW> - 800000000
     [m3video]  3574: SYSTEM: Attaching to [DSP] ...
     [m3vpss ]  3074: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ] 
     [c6xdsp ]  *** UTILS: CPU KHz = 800000 Khz ***
     [c6xdsp ] 
     [c6xdsp ]  5: SYSTEM  : System Common Init in progress !!!
     [c6xdsp ]  5: SYSTEM: IPC init in progress !!!
     [c6xdsp ]  5: SYSTEM: Attaching to [HOST] ...
     [c6xdsp ]  1029: SYSTEM: Attaching to [HOST] ...
     [c6xdsp ]  1031: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [c6xdsp ]  1031: SYSTEM: Attaching to [VIDEO-M3] ...
    After Ipc_startcallback status [0x00000000]
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3vpss ]  4074: SYSTEM: Attaching to [DSP] ...
     [m3video]  4574: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  2055: SYSTEM: Attaching to [VIDEO-M3] ...
     [m3vpss ]  5074: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  2913: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [m3video]  5574: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  2913: SYSTEM: Attaching to [VPSS-M3] ...
     [m3video]  5574: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [m3video]  5574: SYSTEM: Attaching to [VPSS-M3] ...
     [m3vpss ]  6074: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  3936: SYSTEM: Attaching to [VPSS-M3] ...
     [m3video]  6574: SYSTEM: Attaching to [VPSS-M3] ...
     [c6xdsp ]  4458: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [m3vpss ]  7074: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  4458: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3vpss ]  7075: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [m3vpss ]  7075: SYSTEM: Attaching to [VIDEO-M3] ...
     [m3video]  7574: SYSTEM: Attaching to [VPSS-M3] ...
     [c6xdsp ]  5481: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3video]  8075: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [m3vpss ]  8074: SYSTEM: Attaching to [VIDEO-M3] ...
     [m3video]  8075: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3vpss ]  8075: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [m3video]  8075: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
     [m3vpss ]  8075: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3video]  8076: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
     [m3vpss ]  8075: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
     [m3video]  8077: SYSTEM: Notify register to [HOST] line 0, event 12 ...
     [m3vpss ]  8075: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
     [m3video]  8077: SYSTEM: Notify register to [DSP] line 0, event 12 ...
     [m3vpss ]  8077: SYSTEM: Notify register to [HOST] line 0, event 12 ...
     [m3video]  8078: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ...
     [m3vpss ]  8077: SYSTEM: Notify register to [DSP] line 0, event 12 ...
     [m3video]  8078: SYSTEM: IPC init DONE !!!
     [m3vpss ]  8078: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ...
     [m3vpss ]  8078: SYSTEM: IPC init DONE !!!
     [m3video]  8085: MEM: Shared Region 3: Base = 0xa0000000, Length = 0x1e900000 (489 MB)
     [m3vpss ]  8086: MEM: Shared Region 3: Base = 0xa0000000, Length = 0x1e900000 (489 MB) 
     [m3video]  8085: MEM: ERROR: SharedRegion_setEntry (3, 0x8e031260) FAILED !!!  (status=-1)
     [m3vpss ]  8086: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05780000 (87 MB)
     [m3vpss ]  8086: MEM: Shared Region 2: Base = 0x90000000, Length = 0x10000000 (256 MB)
     [m3vpss ]  8088: SYSTEM  : System Common Init Done !!!
     [m3vpss ]  8088: SYSTEM  : System VPSS Init in progress !!!
     [m3vpss ] === HDVPSS Clocks are enabled ===
     [m3vpss ] === HDVPSS is fully functional ===
     [m3vpss ] === HDVPSS module is not in standby ===
     [m3vpss ] === I2C1 Clk is active ===
     [m3vpss ]  8092: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_33
     [m3video]  8095: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05780000 (87 MB)
     [m3vpss ]  8093: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
     [m3video]  8095: MEM: Shared Region 2: Base = 0x90000000, Length = 0x10000000 (256 MB)
     [m3vpss ]  8093: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
     [m3video]  8097: SYSTEM  : System Common Init Done !!!
     [m3vpss ]  8093: SYSTEM: ListElem Shared Addr = 0xbeb0b280
     [m3video]  8097: SYSTEM  : System Video Init in progress !!!
     [m3vpss ]  8095: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
     [m3video]  8097: SYSTEM  : System Video Init Done !!!
     [m3vpss ]  8096: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
     [m3video]  8098: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
     [m3vpss ]  8096: SYSTEM: ListElem Shared Addr = 0xbeb0e380
     [m3video]  8098: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
     [m3video]  8098: SYSTEM: ListElem Shared Addr = 0xbeb11480
     [m3video]  8100: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
     [m3video]  8100: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
     [m3video]  8100: SYSTEM: ListElem Shared Addr = 0xbeb14580
     [m3video]  8109: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_28] in region 0 ...
     [m3vpss ]  8107: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_24] in region 0 ...
     [m3video]  8109: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_28] in region 0 ...
     [m3vpss ]  8107: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_24] in region 0 ...
     [m3video]  8110: SYSTEM: ListElem Shared Addr = 0xbeb36c80
     [m3vpss ]  8108: SYSTEM: ListElem Shared Addr = 0xbeb17680
     [m3video]  8112: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_29] in region 0 ...
     [m3vpss ]  8110: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_25] in region 0 ...
     [m3video]  8112: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_29] in region 0 ...
     [m3vpss ]  8110: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_25] in region 0 ...
     [m3video]  8112: SYSTEM: ListElem Shared Addr = 0xbeb6db80
     [m3vpss ]  8110: SYSTEM: ListElem Shared Addr = 0xbeb4e580
     [m3video]  8114: HDVICP: Doing PRCM for IVAHD[0] ...
     [m3video]  8120: HDVICP: WARNING: RM_IVAHD_RSTST Timed OUT [0x7]
     [m3video]  8121: HDVICP: PRCM for IVAHD[0] ... DONE.
     [m3video]  8121: HDVICP: Doing PRCM for IVAHD[1] ...
     [m3video]  8127: HDVICP: WARNING: RM_IVAHD_RSTST Timed OUT [0x7]
     [m3video]  8127: HDVICP: PRCM for IVAHD[1] ... DONE.
     [m3video]  8127: HDVICP: Doing PRCM for IVAHD[2] ...
     [m3video]  8134: HDVICP: WARNING: RM_IVAHD_RSTST Timed OUT [0x7]
     [m3video]  8134: HDVICP: PRCM for IVAHD[2] ... DONE.
     [m3video]  8135: SYSTEM  : Initializing Links !!!
     [m3video]  8135: SYSTEM  : Heap Free Space (System = 2087936 bytes, FrmBuf = 512753536 bytes,
     [m3video]          BitBuf = 91750272 bytes, Mbx = 10240 msgs)
     [m3video]  8180: SYSTEM  : Initializing Links ... DONE !!!
     [c6xdsp ]  6505: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [c6xdsp ]  6505: SYSTEM: Creating MsgQ [DSP_MSGQ] ...
     [c6xdsp ]  6505: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...
     [c6xdsp ]  6505: SYSTEM: Notify register to [HOST] line 0, event 12 ...
     [c6xdsp ]  6505: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ...
     [c6xdsp ]  6505: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ...
     [c6xdsp ]  6505: SYSTEM: IPC init DONE !!!
     [c6xdsp ]  6507: MEM: Shared Region 3: Base = 0xa0000000, Length = 0x1e900000 (489 MB)
     [c6xdsp ]  6508: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05780000 (87 MB)
     [c6xdsp ]  6508: MEM: Shared Region 2: Base = 0x90000000, Length = 0x10000000 (256 MB)
     [c6xdsp ]  6508: SYSTEM  : System Common Init Done !!!
     [c6xdsp ]  6352: SYSTEM  : System DSP Init in progress !!!
     [c6xdsp ]  6352: SYSTEM  : System DSP Init Done !!!
     [c6xdsp ]  6510: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ...
     [c6xdsp ]  6511: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...
     [c6xdsp ]  6511: SYSTEM: ListElem Shared Addr = 0xbeb85480
     [c6xdsp ]  6511: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...
     [c6xdsp ]  6511: SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 ...
     [c6xdsp ]  6511: SYSTEM: ListElem Shared Addr = 0xbeba4a80
     [c6xdsp ] !!WARNING.Resource already registered:2
     [c6xdsp ]  6356: SYSTEM  : Initializing Links !!!
     [c6xdsp ]  6512: SYSTEM  : Heap Free Space (System = 2089832 bytes, FrmBuf = 512753536 bytes,
     [c6xdsp ]          BitBuf = 91750272 bytes, Mbx = 10240 msgs)
     [c6xdsp ]  6365: SYSTEM  : Initializing Links ... DONE !!!
     [m3vpss ]  I2C1: Passed for address 0x5c !!!
     [m3vpss ]  I2C1: Passed for address 0x5d !!!
     [m3vpss ]  10789: SYSTEM  : System VPSS Init Done !!!
     [m3vpss ]  10789: SYSTEM  : Initializing Links !!!
     [m3vpss ]  10790: SYSTEM  : Heap Free Space (System = 25920 bytes, FrmBuf = 508443520 bytes,
     [m3vpss ]          BitBuf = 91750272 bytes, Mbx = 10240 msgs)
     [m3vpss ]  10901: SYSTEM  : Initializing AVsync ********************** !!!
     [m3vpss ] Received character 's'
     [m3vpss ]  AVsync AVSYNC_M3_Init********************** !!!
     [m3vpss ]  10831 : AVsync AVSYNC_Init_WallTimer********************** !!!
     [m3vpss ]  10902: SYSTEM  : Initializing Links ... DONE !!!
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video] Received character 's'
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [c6xdsp ] Received character 's'
    /opt/dvr_rdk/ti816x
    VPSS_FVID2: M3 firmware version 0x1000133 is newer,driver may not work properly.
    [module] vpss probe done.
    [module] ti81xxfb probe done.
    HDMI W1 rev 2.0
    [module] ti81xx_hdmi probe done.
     
     ORG 0x46c00524: 0
     NEW 0x46c00524: 2
     
    root@dvr:/opt/dvr_rdk/ti816x#
    [dvrmain info]
    main: HDMI0, sub: VGA, video_in: NTSC, video_out: 1080p60gVIDEOMOTION_ctrl.bufSize = 21120
    gVIDEOMOTION_ctrl.bufNum  = 16
    app_pb: app_playback_init ... success


     [host] APP_WRITER:WRITER_videoRecvFxn:Entered...

     [host] APP_WRITER:WRITER_recordFxn:Entered... 0: SYSTEM: System Common Init in progress !!!
     0: SYSTEM: IPC init in progress !!!
     9: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     10: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
     12: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
     13: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
     14: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
     14: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     15: SYSTEM: Notify register to [DSP] line 0, event 12 ...
     16: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ...
     16: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ...
     16: SYSTEM: IPC init DONE !!!
     17: SYSTemp_hsync = 280, temp_vsync = 280, timing_hsync = 280, timing_vsync = 45TEM: Creating LiHdmi_code = 16 mode = 1
    stMP [HOST_IPC_OTiming Info:
    UT_28] in region  pixel_clk = 148500
     0 ...
     19: SYS  x_res  = 1920
    TEM: Creating Li  y_res  = 1080
    stMP [HOST_IPC_I  hfp    = 88
    N_28] in region   hsw    = 44
    0 ...
     21: SYST  hbp    = 148
    EM: ListElem Sha  vfp    = 4
    red Addr = 0x482  vsw    = 5
    3b480
     22: SYST  vbp    = 36
    EM: Creating ListMP [HOST_IPC_OUT_29] in region 0 ...
     24: SYSTEM: Creating ListMP [HOST_IPC_IN_29] in region 0 ...
     25: SYSTEM: ListElem Shared Addr = 0x48252d80
     27: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
     29: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
     30: SYSTEM: ListElem Shared Addr = 0x4826a680
     31: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
     33: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
     35: SYSTEM: ListElem Shared Addr = 0x48289c80
     35: SYSTEM: System Common Init Done !!!

    ********* Entered usecase 16CH Progressive <816x> Cap/Enc/Dec/Dis

     36: MCFW  : CPU Revision [ES1.1] !!!

     36: MCFW  : Detected [(null)] Board !!!

     36: MCFW  : Base Board Revision [DVR] !!!

     36: MCFW  : Daughter Card Revision [DVR] !!!

     [m3vpss ]  16045: HDMI: Starting HDMI Transmitter ... !!!

     

    Regards,
    Zhou