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.

DM385 load ipnc_rdk_fw_m3vpss.xem3 Failed

Other Parts Discussed in Thread: DM385, DMVA3, DM388

hello

   software is IPNC_RDK_3_8 (IPNC_RDK_V3.8.0-Linux-x86-Install.bin) hardware is selfboard .CPU is DM385 DDR3 256M.

  

1. IPNC_RDK_3_8\Source\ipnc_rdk\Rules.make   

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

#CONFIGURATION

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

SYSTEM_PLATFORM  := IPNC

#SYSTEM_PLATFORM  := EVM

# Build configuration

#APP_BUILD_CFG    := debug

APP_BUILD_CFG   := release

# Binary to boot from NAND or SDCARD

BINARY_MODE    := nand

#BINARY_MODE    := sd

# Choose the target platform that is needed # Values are "DM385", "DMVA3", "DM388" and "DM8127"

#IPNC_DEVICE    := DM8127

IPNC_DEVICE    := DM385

#IPNC_DEVICE    := DM388

#IPNC_DEVICE    := DMVA3

# Values are "LOW_POWER" and "FULL_FEATURE"

IPNC_CONFIG := FULL_FEATURE

#IPNC_CONFIG := LOW_POWER

# Memory foot print

MEMORY_CONFIG := 256MB

#MEMORY_CONFIG := 512MB

# UBIFS mtd-utils mode

MTD_UTILS_MODE := 64bit

#MTD_UTILS_MODE := 32bit

.........

2.IPNC_RDK_3_8\Source\ipnc_rdk\ipnc_mcfw\mcfw\src_bios6\cfg\ti810x\config_256M.bld

change as follow

/*
var DDR3_ADDR_128_REG1_START = 0xB8000000;
var DDR3_ADDR_128_REG1_END   = 0xC0000000;
*/

change to


var DDR3_ADDR_128_REG1_START = 0x88000000;
var DDR3_ADDR_128_REG1_END   = 0x90000000;

because we have only 256M DDR

3.make -s sysall

4.linux bootargs console=ttyO0,115200n8 root=/dev/nfs rw mem=54M vram=4M notifyk.vpssm3_sva=0xBFD00000 nfsroot=192.168.5.202:/home/primax/workspace/DM385/IPNC_RDK_3_8/Source/ipnc_rdk/target/filesys,nolock ip=192.168.5.232 eth=00:0C:0C:A0:07:66 earlyprintk

5.after run

./scripts/load_vpss.sh &
./scripts/load_video.sh &

The linux is Crash.  log is as follow:

 ...............................................................

root: mount: mounting /dev/root on / failed: No such file or directory

NOT configuring network interfaces: / is an NFS mount

rm: cannot remove '/tmp': Device or resource busy

Fri Nov 9 13:04:00 GMT-8 2012

INIT: Entering runlevel: 5

Starting telnet daemon.

Starting syslogd/klogd: done

 

_____                   _____           _         _  

| _ |___ ___ ___ ___   | _ |___ ___ |_|___ ___| |_

|     | _| .'| . | . | |   __| _| . | | | -_| _| _|

|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|

             |___|                   |___|          

 

Arago Project http://arago-project.org dm814x-evm ttyO0

 

Arago 2011.09 dm814x-evm ttyO0

 

dm814x-evm login: root (automatic login)

root@dm814x-evm:~# cd /opt/ipnc/

root@dm814x-evm:/opt/ipnc# ./init.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.21.02.10

SysLink module created on Date:Jan 12 2015 Time:04:04:40

Trace enabled

Trace SetFailureReason enabled

/dev/mem opened.

             Phy Addr : 0x48181560 Data : 0x00000002

         Unhandled fault: external abort on non-linefetch (0x1018) at 0x402a90e4

   Phy Addr : 0x48180f10 Data : 0x00000000

             Phy Addr : 0x48180508 Data : 0x00000302

             Phy Addr : 0x48180520 Data : 0x00000002

             Phy Addr : 0x48180524 Data : 0x00000002

             Phy Addr : 0x48180528 Data : 0x00000002

             Phy Addr : 0x4c0000e4 Data : 0x00170209

Bus error

root@dm814x-evm:/opt/ipnc#

[host] Setting L3 bandwidth regulator for [HDVICP0 ] to [press=[0,0] BW=900, WM Cycles=2500]

 

[host] Setting DMM priority for [ISS     ] to [0] ( 0x4e000634 = 0x00080000 )

 

[host] Setting DMM priority for [HDVICP0 ] to [1] ( 0x4e000634 = 0x00000009 )

 

[host] Setting L3 bandwidth regulator for [ISS     ] to [press=[3,3] BW=400, WM Cycles=2500]

 

root@dm814x-evm:/opt/ipnc#

root@dm814x-evm:/opt/ipnc#

root@dm814x-evm:/opt/ipnc#

root@dm814x-evm:/opt/ipnc#

root@dm814x-evm:/opt/ipnc#

root@dm814x-evm:/opt/ipnc#

root@dm814x-evm:/opt/ipnc# ./scripts/load_vpss.sh &

root@dm814x-evm:/opt/ipnc# ./scripts/load_video.sh &

root@dm814x-evm:/opt/ipnc#

[host] Attached to slave procId 1.

Unhandled fault: imprecise external abort (0x406) at 0xfa2000f8

Internal error: : 406 [#1]

last sysfs file: /sys/devices/virtual/syslinkipc/syslinkipc_ClientNotifyMgr/uevent

Modules linked in: syslink

CPU: 0   Not tainted (2.6.37_DM388_IPNC_3.80.00 #1)

PC is at __memzero+0x28/0x80

LR is at 0x0

pc : [<c01cfd48>]   lr : [<00000000>]   psr: 20000013

sp : c21adca4 ip : 00000000 fp : c21add1c

r10: 00000005 r9 : c4d58000 r8 : 06a85000

r7 : c4ca6000 r6 : c5000000 r5 : 011bd6a4 r4 : c21add58

r3 : 00000000 r2 : 00000000 r1 : 00cd10e4 r0 : c54ec590

Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user

Control: 10c5387d Table: 821a8019 DAC: 00000015

Process fw_load.out (pid: 299, stack limit = 0xc21ac2e8)

Stack: (0xc21adca4 to 0xc21ae000)

dca0:         bf006d14 86900000 00000004 c21adccc c21adcc0 c0075a7c c006dc48

dcc0: c21adce4 c5000000 c003e07c 86900000 86900000 fa200000 011bd6a4 c21a0000

dce0: c039c334 c003e00c 00000001 86900000 86700000 c4d48000 00000001 c4d58000

dd00: c4d7c0c0 c4d5b000 c4d58000 00000005 c21add2c c21add20 bf00acc4 bf006bfc

dd20: c21addac c21add30 bf009494 bf00acc0 c21add6c c21add40 c0145658 00000000

dd40: 00000000 8ff00000 c21add6c 0000000a c4d61000 c4d4801c c4d58000 c4dce000

dd60: c4e00000 00000001 00134680 00000000 00000002 00000080 c4d5b000 c4d5b000

dd80: c21addc4 03046000 c4ca6000 c4ca0000 00000000 00000000 00000000 bf0a15b8

dda0: c21addec c21addb0 bf0066bc bf008d64 c4d55000 00000000 00000000 00000000

ddc0: c3a6b000 c4d58000 c4ca0000 c4d55000 00000000 00000000 bf0a15b8 00000000

dde0: c21ade24 c21addf0 bf001d68 bf00663c 00000000 c21adec8 00000000 00000000

de00: c4cb2000 00000000 c4d55000 00000000 c21adec8 00000000 c21ade64 c21ade28

de20: bf002dcc bf001d10 00000000 c21adec8 00000000 00000000 00000023 bea53c18

de40: 00000000 c020e0a2 c4d55000 00000000 c21ac000 00000000 c21adefc c21ade68

de60: bf0052bc bf002d50 00000000 c21adec8 c21ade94 c21ade80 c0206754 c02066f8

de80: 00000000 60000013 c2f868c0 c2fecd40 c21ac000 00000025 40d6d000 00000000

dea0: c21adecc c21adeb0 c006ae34 00000001 c4cb2000 bea53f06 00000023 00000000

dec0: 00000000 00000000 00000000 c21aded8 c00f4554 c008bec4 c21adef4 c29a1e80

dee0: 00000008 bea53c18 00000008 00000000 c21adf74 c21adf00 c00d6b94 bf004a0c

df00: c2f868c0 00000000 00000000 00000000 00000000 00000025 c2154e08 00000002

df20: c2fecce0 00000000 c21ac000 00000000 c21adf6c c21adf40 c00c94e8 c00f4350

df40: 00000000 c2154e00 00000025 00000000 c21ea680 bea53c18 c020e0a2 00000008

df60: 00000000 c21ac000 c21adfa4 c21adf78 c00d6c60 c00d66d0 c21adfac 00000001

df80: c039ab98 0001f1bc 00000000 bea53c18 00000036 c0048568 00000000 c21adfa8

dfa0: c00483c0 c00d6c14 0001f1bc 00000000 00000008 c020e0a2 bea53c18 00000008

dfc0: 0001f1bc 00000000 bea53c18 00000036 bea53f06 00000000 00000000 00000000

dfe0: c020e0a2 bea53c00 00013738 402401cc 20000010 00000008 00000000 00000000

Backtrace:

[<bf006bf0>] (ElfLoaderTrgWrite_copy+0x0/0x26c [syslink]) from [<bf00acc4>] (DLIF_copy+0x10/0x1c [syslink])

[<bf00acb4>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf009494>] (DLOAD_load+0x73c/0xa5c [syslink])

[<bf008d58>] (DLOAD_load+0x0/0xa5c [syslink]) from [<bf0066bc>] (ElfLoader_load+0x8c/0xfc [syslink])

[<bf006630>] (ElfLoader_load+0x0/0xfc [syslink]) from [<bf001d68>] (Loader_load+0x64/0x94 [syslink])

[<bf001d04>] (Loader_load+0x0/0x94 [syslink]) from [<bf002dcc>] (ProcMgr_load+0x88/0xe8 [syslink])

[<bf002d44>] (ProcMgr_load+0x0/0xe8 [syslink]) from [<bf0052bc>] (ProcMgrDrv_ioctl+0x8bc/0x14d4 [syslink])

[<bf004a00>] (ProcMgrDrv_ioctl+0x0/0x14d4 [syslink]) from [<c00d6b94>] (do_vfs_ioctl+0x4d0/0x544)

r8:00000000 r7:00000008 r6:bea53c18 r5:00000008 r4:c29a1e80

[<c00d66c4>] (do_vfs_ioctl+0x0/0x544) from [<c00d6c60>] (sys_ioctl+0x58/0x7c)

r9:c21ac000 r8:00000000 r7:00000008 r6:c020e0a2 r5:bea53c18

r4:c21ea680

[<c00d6c08>] (sys_ioctl+0x0/0x7c) from [<c00483c0>] (ret_fast_syscall+0x0/0x30)

r8:c0048568 r7:00000036 r6:bea53c18 r5:00000000 r4:0001f1bc

Code: e1a0c002 e1a0e002 e2511040 a8a0500c (a8a0500c)

---[ end trace 9daed6576cefc6f1 ]---

 

root@dm814x-evm:/opt/ipnc#

root@dm814x-evm:/opt/ipnc#

someone can help me and thank you very much

 

  • Hello,

    I will notify the IPNC team.

    Best Regards,
    Margarita
  • Hi,

     

    Pl. don't change the settings in the 'config_256M.bld' file.

    For the M3 memory map the first 512 MB is cached and the second 512 MB is non cached.

    For 256 MB memory layout the M3 memory map is modified to have 128 MB from the first 512 MB chunk (0x80000000 to 0x88000000) and the second 128 MB from the second 512 MB chunk (0xB8000000 to 0xC0000000).

    The notify shared memory should be located at the address '0xBFD00000'.

     

    regards,

    Anand

  • Thank you very much!
    as you said. I have change back the file 'config_256M.bld' .and run load ipnc_rdk_fw_m3vpss.xem3 again.

    when console is output "[host] Attached to slave procId 0." the CPU is hang。after 5 sec 。 the CPU is restart。
    The log as follow:

    ....................................................
    Arago Project http://arago-project.org dm814x-evm ttyO0

    Arago 2011.09 dm814x-evm ttyO0

    dm814x-evm login: root (automatic login)
    root@dm814x-evm:~# cd /opt/ipnc
    s/load_vpss.sh &
    ./scripts/load_video.sh &
    root@dm814x-evm:/opt/ipnc# ./init.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.21.02.10
    SysLink module created on Date:Jan 13 2015 Time:00:34:03
    Trace enabled
    Trace SetFailureReason enabled
    /dev/mem opened.
    Phy Addr : 0x48181560 Data : 0x00000002
    Unhandled fault: external abort on non-linefetch (0x1018) at 0x4025f0e4
    Phy Addr : 0x48180f10 Data : 0x00000000
    Phy Addr : 0x48180508 Data : 0x00000302
    Phy Addr : 0x48180520 Data : 0x00000002
    Phy Addr : 0x48180524 Data : 0x00000002
    Phy Addr : 0x48180528 Data : 0x00000002
    Phy Addr : 0x4c0000e4 Data : 0x00170209
    Bus error
    root@dm814x-evm:/opt/ipnc# ./scripts/load_vpss.sh &
    root@dm814x-evm:/opt/ipnc# ./scripts/load_video.sh &

    [host] Setting L3 bandwidth regulator for [HDVICP0 ] to [press=[0,0] BW=900, WM Cycles=2500]

    [host] Setting DMM priority for [HDVICP0 ] to [1] ( 0x4e000634 = 0x00000009 )
    root@dm814x-evm:/opt/ipnc#
    [host] Setting DMM priority for [ISS ] to [0] ( 0x4e000634 = 0x00080000 )

    [host] Setting L3 bandwidth regulator for [ISS ] to [press=[3,3] BW=400, WM Cycles=2500]


    [host] Attached to slave procId 0.
    [host] Attached to slave procId 1.

    "CPU is hang here, and then restart"

    U-Boot 2010.06 (Jul 03 2014 - 20:49:30) DM388_IPNC_3.80.00

    DM385-GP rev 1.1

    ARM clk: 600MHz
    DDR clk: 533MHz
    L3 clk: 200MHz
    IVA clk: 450MHz
    ISS clk: 400MHz
    DSP Default OFF
    DSS Default OFF

    DRAM: 1 GiB
    DCACHE: Off
    NAND: HW ECC BCH8 Selected
    256 MiB
    Using default environment

    The 2nd stage U-Boot will now be auto-loaded
    Please do not interrupt the countdown till DM385_IPNC prompt if 2nd stage is already flashed
    Hit any key to stop autoboot: 0

    NAND read: device 0 offset 0x20000, size 0x40000
    262144 bytes read: OK
    ## Starting application at 0x81000000 ...


    U-Boot 2010.06 (Jul 03 2014 - 20:50:35) DM388_IPNC_3.80.00

    DM385-GP rev 1.1

    ARM clk: 600MHz
    DDR clk: 533MHz
    L3 clk: 200MHz
    IVA clk: 450MHz
    ISS clk: 400MHz
    DSP Default OFF
    DSS Default OFF

    I2C: ready
    DRAM: 1 GiB
    DCACHE: On
    NAND: HW ECC BCH8 Selected
    256 MiB
    MMC: OMAP SD/MMC: 0, ON-BOARD SDIO: 1
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@ @@
    @@ @@
    @@ @@
    @@ @@
    @@ _______ __ __ ______ ______ ______ @@
    @@ / \ / \ / | / \ / \ / \ @@
    @@ $$$$$$$ |$$ \ /$$ |/$$$$$$ |/$$$$$$ |/$$$$$$ | @@
    @@ $$ | $$ |$$$ \ /$$$ |$$ ___$$ |$$ \__$$ |$$ \__$$ | @@
    @@ $$ | $$ |$$$$ /$$$$ | / $$< $$ $$< $$ $$< @@
    @@ $$ | $$ |$$ $$ $$/$$ | _$$$$$ | $$$$$$ | $$$$$$ | @@
    @@ $$ |__$$ |$$ |$$$/ $$ |/ \__$$ |$$ \__$$ |$$ \__$$ | @@
    @@ $$ $$/ $$ | $/ $$ |$$ $$/ $$ $$/ $$ $$/ @@
    @@ $$$$$$$/ $$/ $$/ $$$$$$/ $$$$$$/ $$$$$$/ @@
    @@ @@
    @@ @@
    @@ @@
    @@ @@
    @@ @@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Net: Ethernet clocking: 0x52
    <ethaddr> not set. Reading from E-fuse
    Detected MACID:c4:ed:ba:c3:c4:8c
    cpsw
    Hit any key to stop autoboot: 0
    DM388_IPNC#

    U-Boot 2010.06 (Jul 03 2014 - 20:49:30) DM388_IPNC_3.80.00

    DM385-GP rev 1.1

    ARM clk: 600MHz
    DDR clk: 533MHz
    L3 clk: 200MHz
    IVA clk: 450MHz
    ISS clk: 400MHz
    DSP Default OFF
    DSS Default OFF

    DRAM: 1 GiB
    DCACHE: Off
    NAND: HW ECC BCH8 Selected
    256 MiB
    Using default environment

    The 2nd stage U-Boot will now be auto-loaded
    Please do not interrupt the countdown till DM385_IPNC prompt if 2nd stage is already flashed
    Hit any key to stop autoboot: 0

    NAND read: device 0 offset 0x20000, size 0x40000
    262144 bytes read: OK
    ## Starting application at 0x81000000 ...


    U-Boot 2010.06 (Jul 03 2014 - 20:50:35) DM388_IPNC_3.80.00

    DM385-GP rev 1.1

    ARM clk: 600MHz
    DDR clk: 533MHz
    L3 clk: 200MHz
    IVA clk: 450MHz
    ISS clk: 400MHz
    DSP Default OFF
    DSS Default OFF

    I2C: ready
    DRAM: 1 GiB
    DCACHE: On
    NAND: HW ECC BCH8 Selected
    256 MiB
    MMC: OMAP SD/MMC: 0, ON-BOARD SDIO: 1
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@ @@
    @@ @@
    @@ @@
    @@ @@
    @@ _______ __ __ ______ ______ ______ @@
    @@ / \ / \ / | / \ / \ / \ @@
    @@ $$$$$$$ |$$ \ /$$ |/$$$$$$ |/$$$$$$ |/$$$$$$ | @@
    @@ $$ | $$ |$$$ \ /$$$ |$$ ___$$ |$$ \__$$ |$$ \__$$ | @@
    @@ $$ | $$ |$$$$ /$$$$ | / $$< $$ $$< $$ $$< @@
    @@ $$ | $$ |$$ $$ $$/$$ | _$$$$$ | $$$$$$ | $$$$$$ | @@
    @@ $$ |__$$ |$$ |$$$/ $$ |/ \__$$ |$$ \__$$ |$$ \__$$ | @@
    @@ $$ $$/ $$ | $/ $$ |$$ $$/ $$ $$/ $$ $$/ @@
    @@ $$$$$$$/ $$/ $$/ $$$$$$/ $$$$$$/ $$$$$$/ @@
    @@ @@
    @@ @@
    @@ @@
    @@ @@
    @@ @@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Net: Ethernet clocking: 0x52
    <ethaddr> not set. Reading from E-fuse
    Detected MACID:c4:ed:ba:c3:c4:8c
    cpsw
    Hit any key to stop autoboot: 0
    DM388_IPNC#


    the DMM_LISA_MAP_0 = 0x0;
    the DMM_LISA_MAP_1 = 0x0;
    the DMM_LISA_MAP_2 = 0x0;
    the DMM_LISA_MAP_3 = 0x80600100;

    is config right?

    I had try set DMM_LISA_MAP_3 = 0x80400100; because of our DDR3 is only 256M , but if I do that ,the uboot can not working good.

    So can you help me ?

    Thank you very much!