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.

What causes syslink sample error on the OMAPL138-LCDK?

Other Parts Discussed in Thread: OMAPL138, OMAP-L138, PMP, DA8XX

Hi,

I use OMAP L138 LCDK board and want to run syslink example project on it. It has errors:

*** MemoryOS_map: Failed to map to host address space!
        Error [0x897d2003] at Line no: 517 in file /home/a0883717/ti/syslink_2_10_03_20/packages/t
i/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/osal/Linux/MemoryOS.c
*** _ProcMgr_map: Memory_map failed
        Error [0xfffffff1] at Line no: 2407 in file /home/a0883717/ti/syslink_2_10_03_20/packages/
ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/procMgr/common/ProcMgr.c
Assertion at Line no: 394 in /home/a0883717/ti/syslink_2_10_03_20/packages/ti/syslink/utils/hlos/k
nl/Linux/../../../../../../ti/syslink/utils/hlos/knl/osal/Linux/OsalKfile.c: ((bytesRead / size) =
= (UInt32) count) : failed
------------[ cut here ]------------
WARNING: at arch/arm/mm/ioremap.c:207 __arm_ioremap_pfn_caller+0x15c/0x16c()
Modules linked in: syslink ipv6
[<c000d364>] (unwind_backtrace+0x0/0xf0) from [<c001ba74>] (warn_slowpath_common+0x4c/0x64)
[<c001ba74>] (warn_slowpath_common+0x4c/0x64) from [<c001baa8>] (warn_slowpath_null+0x1c/0x24)
[<c001baa8>] (warn_slowpath_null+0x1c/0x24) from [<c000f320>] (__arm_ioremap_pfn_caller+0x15c/0x16
c)
[<c000f320>] (__arm_ioremap_pfn_caller+0x15c/0x16c) from [<c000f3a0>] (__arm_ioremap_caller+0x58/0
x60)
[<c000f3a0>] (__arm_ioremap_caller+0x58/0x60) from [<bf07a528>] (MemoryOS_map+0x148/0x3e0 [syslink
])
[<bf07a528>] (MemoryOS_map+0x148/0x3e0 [syslink]) from [<bf0543c8>] (_ProcMgr_map+0x3b0/0x570 [sys
link])
[<bf0543c8>] (_ProcMgr_map+0x3b0/0x570 [syslink]) from [<bf0603f4>] (ElfLoaderTrgWrite_copy+0xf0/0
x3cc [syslink])
[<bf0603f4>] (ElfLoaderTrgWrite_copy+0xf0/0x3cc [syslink]) from [<bf065570>] (DLIF_copy+0x8/0x14 [
syslink])
[<bf065570>] (DLIF_copy+0x8/0x14 [syslink]) from [<bf063ab8>] (DLOAD_load+0x984/0xb50 [syslink])
[<bf063ab8>] (DLOAD_load+0x984/0xb50 [syslink]) from [<bf05f934>] (ElfLoader_load+0x110/0x3e4 [sys
link])
[<bf05f934>] (ElfLoader_load+0x110/0x3e4 [syslink]) from [<bf04fbf8>] (Loader_load+0x98/0x174 [sys
link])
[<bf04fbf8>] (Loader_load+0x98/0x174 [syslink]) from [<bf05236c>] (ProcMgr_load+0x104/0x360 [sysli
nk])
[<bf05236c>] (ProcMgr_load+0x104/0x360 [syslink]) from [<bf057354>] (ProcMgrDrv_ioctl+0xd38/0x1c28
 [syslink])

I have followed the link suggests:

Please ensure that your are following the TI wiki link for running SYSLINK examples(messageQ)

http://processors.wiki.ti.com/index.php/SysLink_Install_Guide_-_2.00_and_2.10#Running_Sample_Applications

Some useful TI wiki links related to SYSLINK

http://processors.wiki.ti.com/index.php/SysLink_Notify_Drivers_and_Transports

http://processors.wiki.ti.com/index.php/SysLink_UserGuide#MessageQ

http://processors.wiki.ti.com/index.php/SysLink_Install_Guide#Installing_Examples

Regards,

Titus S.

The error is still there. I begin to doubt the compiler tool (Linaro?: arm-arago-linux-gnueabi) Linux image for ti-sdk-omapl138-lcdk-01.00.00 is different from CodeSourcery for the syslink. I am new to Linux. Please explain it and confirm or not that for me.

Thanks,

The system has:

Ubuntu 12.04 LTS (host)

L138 LCDK,


lcdkl138@lcdkl138-XPS-8500:~/syslink_2_21_03_11$ make .show-products
DEPOT                    = /home/lcdkl138
DEVICE                   = OMAPL1XX
GPPOS                    = Linux
SDK                      = NONE
TI81XXDSP_DMTIMER_FREQ   =
SYSLINK_BUILD_DEBUG      = 1
SYSLINK_BUILD_OPTIMIZE   = 0
SYSLINK_TRACE_ENABLE     = 1
LOADER                   = ELF
SYSLINK_INSTALL_DIR      = /home/lcdkl138/syslink_2_21_03_11
IPC_INSTALL_DIR          = /home/lcdkl138/ti/ipc_1_25_03_15
BIOS_INSTALL_DIR         = /home/lcdkl138/ti/bios_6_35_04_50
XDC_INSTALL_DIR          = /home/lcdkl138/ti/xdctools_3_25_03_72
LINUXKERNEL              = /home/lcdkl138/ti-sdk-omapl138-lcdk-01.00.00/board-support/linux-3.1.10
QNX_INSTALL_DIR          =
CGT_ARM_PREFIX           = /home/lcdkl138/ti/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-
CGT_C64P_INSTALL_DIR     =
CGT_C64P_ELF_INSTALL_DIR =
CGT_C674_INSTALL_DIR     =
CGT_C674_ELF_INSTALL_DIR = /home/lcdkl138/ti/ccsv5/tools/compiler/c6000_7.4.4
CGT_M3_ELF_INSTALL_DIR   =
CGT_A8_ELF_INSTALL_DIR   =
EXEC_DIR                 = /home/lcdkl138/arm9_FS

  • I find that uboot should also be built. According to link: http://processors.wiki.ti.com/index.php/Building_PSP_Components_for_OMAP-L1x_on_v3.x_Kernel#Rebuilding_U-Boot

    I set PATH variable to:

    export PATH=/home/lcdkl138/ti/CodeSourcery/Sourcery_G++_Lite/bin:$PATH

    Is it right? I am not sure about it.

    When I run:

    host$ make distclean CROSS_COMPILE=arm-none-linux-gnueabi-

    It has error:

    lcdkl138@lcdkl138-XPS-8500:~/ti-sdk-omapl138-lcdk-01.00.00/board-support/u-boot-2010.12-psp03.21.00.04.lcdk$ make distclean CROSS_COMPILE=arm-none-linux-gnueabi-
    awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }' boards.cfg > .boards.depend

    What is the problem? It is bizarre.


    Thanks again

  • Hi,

    I would like to clarify your doubts here itself from the below thread too

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/p/324362/1191984.aspx#1191984

    Did you boot the board with default kernel image ?

    If not,

    Have you re-compiled the syslink source & install into the filesystem ?

    Please refer the following TI wiki & specific to OMAPL1xx (LCDK)

    http://processors.wiki.ti.com/index.php/MCSDK_OMAPL138_User_Guide_Chapter_Exploring#Build_Syslink

    *** MemoryOS_map: Failed to map to host address space!
            Error [0x897d2003] at Line no: 517 in file /home/a0883717/ti/syslink_2_10_03_20/packages/t
    i/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/osal/Linux/MemoryOS.c
    *** _ProcMgr_map: Memory_map failed
            Error [0xfffffff1] at Line no: 2407 in file /home/a0883717/ti/syslink_2_10_03_20/packages/
    ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/procMgr/common/ProcMgr.c
    Assertion at Line no: 394 in /home/a0883717/ti/syslink_2_10_03_20/packages/ti/syslink/utils/hlos/k
    nl/Linux/../../../../../../ti/syslink/utils/hlos/knl/osal/Linux/OsalKfile.c: ((bytesRead / size) =
    = (UInt32) count) : failed
    ------------[ cut here ]------------

    This error seems to be wrong boot args in u-boot related to memory and use the following bootargs if NFS boot.

    E.g,

    setenv bootargs  mem=32M@0xc0000000 mem=64M@0xc4000000 console=ttyS2,115200n8 ip=dhcp nfsroot=10.100.1.72:/usr/local/filesystem_omapl138 root=/dev/nfs rw rootwait


    I find that uboot should also be built. According to link: http://processors.wiki.ti.com/index.php/Building_PSP_Components_for_OMAP-L1x_on_v3.x_Kernel#Rebuilding_U-Boot

    I set PATH variable to:

    Create new thread for the issue & Please do not merge with two different problems.

  • Hi,

    I'm able to run 2 revisions of syslink examples (syslink_2_21_01_05 & syslink_2_21_03_11) on OMAPL138 LCDK board.

    I have re-compiled the syslink packages (.ko) & examples.

    Logs:

    NAND:  512 MiB
    MMC:   davinci: 0
    Bad block table found at page 262080, version 0x01
    Bad block table found at page 262016, version 0x01
    In:    serial
    Out:   serial
    Err:   serial
    ARM Clock : 456000000 Hz
    DDR Clock : 150000000 Hz
    Net:   Ethernet PHY: GENERIC @ 0x07
    DaVinci-EMAC
    Hit any key to stop autoboot:  0
    U-Boot >
    U-Boot >
    U-Boot >
    U-Boot > tftpboot uImage
    Using DaVinci-EMAC device
    TFTP from server 10.100.1.72; our IP address is 10.100.1.156
    Filename 'uImage'.
    Load address: 0xc0700000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             ########################
    done
    Bytes transferred = 2115636 (204834 hex)
    U-Boot > setenv bootargs  mem=32M@0xc0000000 mem=64M@0xc4000000 console=ttyS2,115200n8 ip=dhcp nfsroot=10.100.1.72:/usr/local/filesys
    tem_omapl138 root=/dev/nfs rw rootwait
    U-Boot > saveenv
    Saving Environment to NAND...
    Erasing Nand...
    Erasing at 0x0 -- 100% complete.
    Writing to Nand... done
    U-Boot > bootm
    ## Booting kernel from Legacy Image at c0700000 ...
       Image Name:   Linux-3.1.10
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2115572 Bytes = 2 MiB
       Load Address: c0008000
       Entry Point:  c0008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    Linux version 3.1.10 (ti@titus) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #2 PREEMPT Thu May 8 16:56:36 IST 2014
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: AM18x/OMAP-L138 LCDK
    Memory policy: ECC disabled, Data cache writeback
    DaVinci da850/omap-l138/am18x variant 0x1
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 24320
    Kernel command line: mem=32M@0xc0000000 mem=64M@0xc4000000 console=ttyS2,115200n8 ip=dhcp nfsroot=10.100.1.72:/usr/local/filesystem_o
    mapl138 root=/dev/nfs rw rootwait
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 32MB 64MB = 96MB total
    Memory: 93180k/93180k available, 5124k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xff000000 - 0xffe00000   (  14 MB)
        vmalloc : 0xc8800000 - 0xfea00000   ( 866 MB)
        lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
        modules : 0xbf000000 - 0xc0000000   (  16 MB)
          .text : 0xc0008000 - 0xc03b8b18   (3779 kB)
          .init : 0xc03b9000 - 0xc03da000   ( 132 kB)
          .data : 0xc03da000 - 0xc0403f60   ( 168 kB)
           .bss : 0xc0403f84 - 0xc041dfbc   ( 105 kB)
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Preemptible hierarchical RCU implementation.
    NR_IRQS:245
    Console: colour dummy device 80x30
    Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    DaVinci: 144 gpio irqs
    NET: Registered protocol family 16
    EMAC: MII PHY configured
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    Advanced Linux Sound Architecture Driver Version 1.0.24.
    Switching to clocksource timer0_1
    Switched to NOHz mode on CPU #0
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    msgmni has been set to 181
    io scheduler noop registered (default)
    Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
    serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
    serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
    console [ttyS2] enabled
    brd: module loaded
    ahci ahci: forcing PORTS_IMPL to 0x1
    ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc
    scsi0 : ahci_platform
    ata1: SATA max UDMA/133 mmio [mem 0x01e18000-0x01e19fff] port 0x100 irq 67
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
    davinci_mdio davinci_mdio.0: detected phy mask ffffff7f
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[7]: device 0:07, driver unknown
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    ohci ohci.0: DA8xx OHCI
    ohci ohci.0: new USB bus registered, assigned bus number 1
    Waiting for USB PHY clock good...
    ohci ohci.0: irq 59, io mem 0x01e25000
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: DA8xx OHCI
    usb usb1: Manufacturer: Linux 3.1.10 ohci_hcd
    usb usb1: SerialNumber: ohci.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    omap_rtc: RTC power up reset detected
    omap_rtc: already running
    i2c /dev entries driver
    lirc_dev: IR Remote Control driver registered, major 253
    IR NEC protocol handler initialized
    IR RC5(x) protocol handler initialized
    IR RC6 protocol handler initialized
    IR JVC protocol handler initialized
    IR Sony protocol handler initialized
    IR RC5 (streamzap) protocol handler initialized
    IR MCE Keyboard/mouse protocol handler initialized
    IR LIRC bridge handler initialized
    Linux video capture interface: v2.00
    vpfe_init
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok
    ALSA device list:
      #0: DA850/OMAP-L138 EVM
    TCP cubic registered
    NET: Registered protocol family 17
    davinci_emac davinci_emac.1: using random MAC addr: 1e:55:bb:b6:c9:08
    console [netcon0] enabled
    netconsole: network logging started
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:01:51 UTC (946684911)
    davinci_mdio davinci_mdio.0: resetting idled controller
    ata1: SATA link down (SStatus 0 SControl 300)
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:07, id=7c0f1)
    PHY: 0:07 - Link is Up - 100/Full
    Sending DHCP requests .
    DHCP/BOOTP: Reply not for us, op[2] xid[f96e566b]
    , OK
    IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.100.1.60
    IP-Config: Complete:
         device=eth0, addr=10.100.1.60, mask=255.255.255.0, gw=10.100.1.1,
         bootserver=0.0.0.0, rootserver=10.100.1.72, rootpath=
    VFS: Mounted root (nfs filesystem) on device 0:12.
    Freeing init memory: 132K
    INIT: version 2.86 booting
    Please wait: booting...
    Error opening /dev/fb0: No such device or address
    Starting udev
    udevd (967): /proc/967/oom_adj is deprecated, please use /proc/967/oom_score_adj instead.
    Root filesystem already rw, not remounting
    Caching udev devnodes
    Populating dev cachemv: cannot rename '/tmp/devices': No such file or directory
    NET: Registered protocol family 10
    ALSA: Restoring mixer settings...
    NOT configuring network interfaces: / is an NFS mount
    NOT configuring network interfaces: / is an NFS mount
    Tue Apr 10 18:57:00 BST 2012
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting Hardware abstraction layer hald
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Starting Vixie-cron.
    Starting network benchmark server: netserver.
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting Lighttpd Web Server: lighttpd.
    2012-04-10 18:57:11: (log.c.166) server started
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the followin GPLv3 packages:
            binutils-symlinks
            binutils
            gdbserver

    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
    root@omapl138-lcdk:/#
    root@omapl138-lcdk:/#
    root@omapl138-lcdk:/#
    root@omapl138-lcdk:/# uname -a
    Linux omapl138-lcdk 3.1.10 #2 PREEMPT Thu May 8 16:56:36 IST 2014 armv5tejl unknown
    root@omapl138-lcdk:/#
    root@omapl138-lcdk:/#
    root@omapl138-lcdk:/# insmod /lib/modules/3.1.10/kernel/drivers/dsp/syslink.ko
    SysLink version : 2.21.01.05
    SysLink module created on Date:May 14 2014 Time:11:38:55
    root@omapl138-lcdk:/#
    root@omapl138-lcdk:/#
    root@omapl138-lcdk:/# cd ex01_helloworld/
    root@omapl138-lcdk:/ex01_helloworld# ls
    debug    release
    root@omapl138-lcdk:/ex01_helloworld# cd debug/
    root@omapl138-lcdk:/ex01_helloworld/debug# ls
    app_host          run.sh            server_dsp.xe674  slaveloader
    root@omapl138-lcdk:/ex01_helloworld/debug# ./slaveloader startup DSP server_dsp.
    xe674
    Attached to slave procId 0.
    Loading procId 0.
    Loaded file server_dsp.xe674 on slave procId 0.
    Started slave procId 0.
    root@omapl138-lcdk:/ex01_helloworld/debug#
    root@omapl138-lcdk:/ex01_helloworld/debug#
    root@omapl138-lcdk:/ex01_helloworld/debug# ls
    app_host          run.sh            server_dsp.xe674  slaveloader
    root@omapl138-lcdk:/ex01_helloworld/debug#
    root@omapl138-lcdk:/ex01_helloworld/debug#
    root@omapl138-lcdk:/ex01_helloworld/debug# ./app_host DSP
    --> App_exec:
    App_exec: event received from procId=0
    <-- App_exec: 0
    root@omapl138-lcdk:/ex01_helloworld/debug#
    root@omapl138-lcdk:/ex01_helloworld/debug#
    root@omapl138-lcdk:/ex01_helloworld/debug# ./slaveloader shutdown DSP
    Stopped slave procId 0.
    Unloaded slave procId 0.
    Detached from slave procId 0.
    root@omapl138-lcdk:/# cd ti/syslink-examples/
    root@omapl138-lcdk:/ti/syslink-examples# ls
    OMAPL1XX
    root@omapl138-lcdk:/ti/syslink-examples# cd OMAPL1XX/
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX# ls
    frameq                 listmp                 runsamples_debug.sh
    gatemp                 messageq               runsamples_release.sh
    heapbufmp              notify
    heapmemmp              ringio
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX# cd messageq/
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX#
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq# ls
    messageq_omapl1xx_dsp.xe674  run_messageqapp_release.sh
    messageqapp_debug            slaveloader_debug
    messageqapp_release          slaveloader_release
    run_messageqapp_debug.sh
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq#
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq# ./slaveloader_debug startup DSP ./messageq_omapl1xx_dsp.xe674
    Attached to slave procId 0.
    Loading procId 0.
    Loaded file ./messageq_omapl1xx_dsp.xe674 on slave procId 0.
    Started slave procId 0.
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq#
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq#
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq# ./messageqapp_debug
    MessageQApp sample application
    Run for all supported proc IDs
    Entered MessageQApp_startup
    After Ipc_loadcallback:
        status [0x0]
    Error in Ipc_control Ipc_CONTROLCMD_STARTCALLBACK[0xffffffff]
    Leaving MessageQApp_startup ffffffff
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq#
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq#
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq# ./slaveloader_debug shutdown DSP
    Stopped slave procId 0.
    Unloaded slave procId 0.
    Detached from slave procId 0.
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq#
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq#
    root@omapl138-lcdk:/ti/syslink-examples/OMAPL1XX/messageq#

  • Hi,

    In fact, I have tried the memory setting before, but it failed. Now it fails again for the memory args change. I don't know what causes this.

    Presently, NAND boot, the kernel and NFS all are on host Linux Ubuntu. Without the two memory segments change, the boot, kernel and NFS are OK. Syslink.ko insertion OK too. Problem is run messageq etc. example projects have errors.

    First, I would solve the stuck problem after memory change in uboot args. It halts, without complete booting the kernel.


    U-Boot > setenv bootargs mem=32@0xC0000000 mem=64M@0xC4000000 console=ttyS2,115200n8 rw noinitrd root=/dev/nfs nfsroot=192.168.0.103:/home/lcdkl138/arm9_FS,nol
    ock rw ip=dhcp
    U-Boot > pri
    autoload=no
    baudrate=115200
    bootargs=mem=32@0xC0000000 mem=64@0xC4000000 console=ttyS2,115200n8 rw noinitrd root=/dev/nfs nfsroot=192.168.0.103:/home/lcdkl138/arm9_FS,nolock rw ip=dhcp
    bootcmd=dhcp;setenv serverip 192.168.0.103;tftpboot;bootm
    bootdelay=3
    bootfile=uImage-omapl138-lcdk.bin
    dnsip=192.168.0.1
    ethact=DaVinci-EMAC
    ethaddr=00:00:a0:00:fb:c7
    fileaddr=C0700000
    filesize=1F221C
    gatewayip=192.168.0.1
    ip_method=dhcp
    ipaddr=192.168.0.122
    netargs=run bootargs
    netmask=255.255.255.0
    rl=tftp 0xc0700000 uImage; bootm
    serverip=192.168.0.103
    stderr=serial
    stdin=serial
    stdout=serial
    ver=U-Boot 2010.12 (May 07 2012 - 16:09:45)

    Environment size: 674/65532 bytes
    U-Boot > saveenv
    Saving Environment to NAND...
    Erasing Nand...
    Erasing at 0x0 -- 100% complete.
    Writing to Nand... done
    U-Boot > boot
    BOOTP broadcast 1
    DHCP client bound to address 192.168.0.108
    Using DaVinci-EMAC device
    TFTP from server 192.168.0.103; our IP address is 192.168.0.108
    Filename 'uImage-omapl138-lcdk.bin'.
    Load address: 0xc0700000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #########
    done
    Bytes transferred = 2040368 (1f2230 hex)
    ## Booting kernel from Legacy Image at c0700000 ...
       Image Name:   Linux-3.1.10
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2040304 Bytes = 1.9 MiB
       Load Address: c0008000
       Entry Point:  c0008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.


    Stuck here. Halt here.

    Thanks,

  • Dear Community Members,

    This is the problem with environment memory settings. Please refer below thread.

    http://e2e.ti.com/support/embedded/linux/f/354/t/341501.aspx

    Thanks.

  • Hi Raja,

    Yes, I agree.

    Both threads were created by the same member "Robert".