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/66AK2H14: 66ak2h14

Part Number: 66AK2H14

Tool/software: Linux

Hello, Everybody

We have made our custom board with three 66ak2h14. We use onboard DDR3 memory chips for DDR3A and DDR3B. When the Linux boots the cmemk module says the MSMC area overlaps kernel.

This line is in the cmemk.conf file originally. If we comment out this line the cmemk succesfully loads, but all of the examples and test programs that use CMEM fail. The other memory allocation is successful.

In U-Boot the mem_reserve variable is set to 1536M.

But on the original K2HK evalboard this cmemk.conf works well.

What can be the problem, pls help me.

Regards

Gabor

  • Hi,

    How is your ddr mapped among ddr3b?
    In general the momory that is connected to DDR3B is not used by linux, it is not mapped by MSMC and is not coherent with ARM. DDR3B is used by DSP only, see: e2e.ti.com/.../687454

    So you need to carefully inspect how you map the memory in your cmem dtsi and if this is consistent with the phisical mapping of the ddr among the two emifs (ddr3a & ddr3b).

    Best Regards,
    Yordan
  • Hi,

    Thank you for your answer.

    The DDR3B is not used at this time on our board. The DDR3A_REMAP_EN pin is pulled up otherwise the DSP chip doesn't work at all. I didn't try to use the DDR3B, just the DDR3A only. Linux works well, but the

    CMEM. In the .dts files I couldn't find any reference in concernig with DDR3 memory mapping.

    Best regards,

    Gabor

  • Could you share the complete bootlog? Also which Processor SDK Linux are you using?

    Best Regards,
    Yordan
  • Hi Yordan,

    Here is my complete bootlog:

    This Linux runs on our custom board. My problem is that on the K2HK EVM I don't need to allow overlapping between kernel and MSMC but on our

    board I need. I had to allow the overlap in cmemk.conf (allowOverlap=1).

    This seemed to be good, the hyperlink test program (provided by TI) successfully runs. But our custom program badly crashes but on two EVMs runs successfully.

    best regards,

    Gabor

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.10.10 (gtbldadm@ubuntu-12) (gcc version 4.7.3 20130226 (prerelease) (crosstool-N4
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c7387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine: KeyStone2, model: Texas Instruments Keystone 2 SoC
    [    0.000000] switching to high address space at 0x800000000
    [    0.000000] cma: CMA: reserved 16 MiB at 1f000000
    [    0.000000] Memory policy: ECC disabled, Data cache writealloc
    [    0.000000] PERCPU: Embedded 8 pages/cpu @c0bee000 s11840 r8192 d12736 u32768
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 mtdparts=spi0.0:1m(u-boot-spl)ro,-(misc) n
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 512MB = 512MB total
    [    0.000000] Memory: 495068k/495068k available, 29220k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0708ad0   (7171 kB)
    [    0.000000]       .init : 0xc0709000 - 0xc075be40   ( 332 kB)
    [    0.000000]       .data : 0xc075c000 - 0xc07a2228   ( 281 kB)
    [    0.000000]        .bss : 0xc07a2228 - 0xc07d1d34   ( 191 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] ipc irq: irqchip registered, range 512-539
    [    0.000000] Main PLL clk (1200000000 Hz), parent (100000000 Hz),postdiv = 2, mult = 23, prediv = 0
    [    0.000000] Generic PLL clk (1375000000 Hz), parent (156250000 Hz),postdiv = 1, mult = 43, prediv = 4
    [    0.000000] Generic PLL clk (800000000 Hz), parent (100000000 Hz),postdiv = 2, mult = 15, prediv = 0
    [    0.000000] Generic PLL clk (400000000 Hz), parent (100000000 Hz),postdiv = 4, mult = 15, prediv = 0
    [    0.000000] Generic PLL clk (1000000000 Hz), parent (100000000 Hz),postdiv = 2, mult = 19, prediv = 0
    [    0.000000] Architected local timer running at 200.00MHz (phys).
    [    0.000000] Switching to timer-based delay loop
    [    0.000000] sched_clock: ARM arch timer >56 bits at 200000kHz, resolution 640/128ns
    [    0.000000] keystone timer clock @200000000 MHz
    [    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
    [    0.000000] Console: colour dummy device 80x30
    [ 3107.297442] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=)
    [ 3107.297455] pid_max: default: 4096 minimum: 301
    [ 3107.297611] Mount-cache hash table entries: 512
    [ 3107.309526] CPU: Testing write buffer coherency: ok
    [ 3107.309747] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 3107.309762] Setting up static identity map for 0xc04f8198 - 0xc04f81cc
    [ 3107.316452] CPU1: Booted secondary processor
    [ 3107.316481] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 3107.322851] CPU2: Booted secondary processor
    [ 3107.322880] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [ 3107.329247] CPU3: Booted secondary processor
    [ 3107.329276] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [ 3107.329413] Brought up 4 CPUs
    [ 3107.329437] SMP: Total of 4 processors activated (1600.00 BogoMIPS).
    [ 3107.329443] CPU: All CPU(s) started in HYP mode.
    [ 3107.329448] CPU: Virtualization extensions available.
    [ 3107.329998] devtmpfs: initialized
    [ 3107.346857] NET: Registered protocol family 16
    [ 3107.348058] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 3107.361274] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 3107.361283] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 3107.374279] bio: create slab <bio-0> at 0
    [ 3107.374719] keystone-pcie: keystone_pcie_rc_init - start
    [ 3107.374748] keystone2_pcie_serdes_setup for domain 0
    [ 3107.376826] keystone2_pcie_serdes_setup done domain 0, en_link_train = 1
    [ 3107.376865] keystone-pcie: MEM 0x0000000050000000..0x000000005fffffff -> 0x0000000050000000
    [ 3107.376877] keystone-pcie: IO 0x0000000023250000..0x0000000023253fff -> 0x0000000000000000
    [ 3107.376921] keystone-pcie: pcie - number of legacy irqs = 4
    [ 3107.376982] keystone-pcie: pcie - number of MSI host irqs = 8, msi_irqs = 32
    [ 3107.487360] keystone-pcie: Doing PCI Setup...Done
    [ 3107.487368] keystone-pcie: Starting PCI scan, nr 0...
    [ 3107.487526] PCI host bridge to bus 0000:00
    [ 3107.487540] pci_bus 0000:00: root bus resource [mem 0x50000000-0x5fffffff]
    [ 3107.487549] pci_bus 0000:00: root bus resource [io  0x0000-0x3fff]
    [ 3107.487559] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [ 3107.487614] PCI: bus0: Fast back to back transfers enabled
    [ 3107.487633] keystone-pcie: Ending PCI scan...
    [ 3107.487642] keystone-pcie: keystone_pcie_rc_init - end
    [ 3107.487973] vgaarb: loaded
    [ 3107.488364] SCSI subsystem initialized
    [ 3107.489121] usbcore: registered new interface driver usbfs
    [ 3107.489225] usbcore: registered new interface driver hub
    [ 3107.489358] usbcore: registered new device driver usb
    [ 3107.490740] pps_core: LinuxPPS API ver. 1 registered
    [ 3107.490748] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 3107.490827] PTP clock support registered
    [ 3107.490981] keystone-hwqueue hwqueue.12: qmgr start queue 0, number of queues 8192
    [ 3107.491084] keystone-hwqueue hwqueue.12: added qmgr start queue 0, num of queues 8192, reg_peek e0840000, re0
    [ 3107.491096] keystone-hwqueue hwqueue.12: qmgr start queue 8192, number of queues 8192
    [ 3107.491196] keystone-hwqueue hwqueue.12: added qmgr start queue 8192, num of queues 8192, reg_peek e0900000,0
    [ 3107.492158] keystone-hwqueue hwqueue.12: qos: sched port @8096, drop sched @8000
    [ 3107.493475] keystone-hwqueue hwqueue.12: qos: sched port @6496, drop sched @6400
    [ 3107.494763] keystone-hwqueue hwqueue.12: added pool pool-rio: 128 descriptors of size 256
    [ 3107.494776] keystone-hwqueue hwqueue.12: added pool pool-xge: 1024 descriptors of size 128
    [ 3107.494787] keystone-hwqueue hwqueue.12: added pool pool-crypto: 1024 descriptors of size 128
    [ 3107.494799] keystone-hwqueue hwqueue.12: added pool pool-net: 11264 descriptors of size 128
    [ 3107.494810] keystone-hwqueue hwqueue.12: added pool pool-udma: 1920 descriptors of size 256
    [ 3107.497081] keystone-hwqueue hwqueue.12: registered queues 0-16383
    [ 3107.497430] keystone-hwqueue hwqueue.12: qos version 0x2000108, magic valid
    [ 3107.497950] keystone-hwqueue hwqueue.12: qos version 0x2000108, magic valid
    [ 3107.506995] keystone-pktdma 2a08000.pktdma: registered 32 logical channels, flows 32, tx chans: 32, rx chansk
    [ 3107.511744] keystone-pktdma 2004000.pktdma: registered 33 logical channels, flows 32, tx chans: 9, rx chans:4
    [ 3107.512427] keystone-pktdma 2fa1000.pktdma: registered 4 logical channels, flows 32, tx chans: 16, rx chans:6
    [ 3107.512611] Switching to clocksource arch_sys_counter
    [ 3107.535358] NET: Registered protocol family 2
    [ 3107.535804] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [ 3107.535888] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [ 3107.535965] TCP: Hash tables configured (established 4096 bind 4096)
    [ 3107.536000] TCP: reno registered
    [ 3107.536011] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [ 3107.536031] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [ 3107.536245] NET: Registered protocol family 1
    [ 3107.536438] RPC: Registered named UNIX socket transport module.
    [ 3107.536445] RPC: Registered udp transport module.
    [ 3107.536451] RPC: Registered tcp transport module.
    [ 3107.536457] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 3107.536915] hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7 counters available
    [ 3107.646239] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [ 3107.646445] NTFS driver 2.1.30 [Flags: R/O].
    [ 3107.646726] jffs2: version 2.2. (NAND) �� 2001-2006 Red Hat, Inc.
    [ 3107.647081] msgmni has been set to 998
    [ 3107.648213] NET: Registered protocol family 38
    [ 3107.648444] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [ 3107.648454] io scheduler noop registered
    [ 3107.648461] io scheduler deadline registered
    [ 3107.648606] io scheduler cfq registered (default)
    [ 3107.650398] keystone-udma udma0.13: registered udma device udma0
    [ 3107.720542] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [ 3107.722285] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 309) is a 16550A
    [ 3108.572787] console [ttyS0] enabled
    [ 3108.577033] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 312) is a 16550A
    [ 3108.587749] loop: module loaded
    [ 3108.591051] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [ 3108.599672] Generic platform RAM MTD, (c) 2004 Simtec Electronics
    [ 3108.606825] No NAND device found
    [ 3108.612002] spi_davinci 21000400.spi: master is unqueued, this is deprecated
    [ 3108.619412] m25p80 spi32766.0: unrecognized JEDEC id 20bb21
    [ 3108.625435] spi_davinci 21000400.spi: Controller at 0xe0800400
    [ 3108.631631] spi_davinci 21000600.spi: master is unqueued, this is deprecated
    [ 3108.638716] spi_davinci 21000600.spi: Controller at 0xe0802600
    [ 3108.644927] spi_davinci 21000800.spi: master is unqueued, this is deprecated
    [ 3108.652003] spi_davinci 21000800.spi: Controller at 0xe0878800
    [ 3108.659169] tun: Universal TUN/TAP device driver, 1.6
    [ 3108.664251] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [ 3108.671001] keystone-netcp 2090000.netcp: missing num_serdes parameter
    [ 3108.677563] keystone-netcp 2090000.netcp: missing serdes_lanes parameter
    [ 3108.684300] keystone-netcp 2090000.netcp: missing serdes_ref_clk parameter
    [ 3108.691201] keystone-netcp 2090000.netcp: missing serdes_baud_rate parameter
    [ 3108.698283] keystone-netcp 2090000.netcp: missing serdes_rate_mode parameter
    [ 3108.705364] keystone-netcp 2090000.netcp: missing serdes_phy_intf parameter
    [ 3108.712351] keystone-netcp 2090000.netcp: missing serdes_loopback parameter
    [ 3108.720452] keystone-netcp 2090000.netcp: Created interface "eth0"
    [ 3108.726677] keystone-netcp 2090000.netcp: dma_chan_name nettx0
    [ 3108.733650] keystone-netcp 2090000.netcp: Created interface "eth1"
    [ 3108.739860] keystone-netcp 2090000.netcp: dma_chan_name nettx1
    [ 3108.746772] keystone-netcp 2090000.netcp: Created interface "eth2"
    [ 3108.752995] keystone-netcp 2090000.netcp: dma_chan_name nettx2
    [ 3108.759876] keystone-netcp 2090000.netcp: Created interface "eth3"
    [ 3108.766098] keystone-netcp 2090000.netcp: dma_chan_name nettx3
    [ 3108.772106] keystone-netcp 2090000.netcp: pdsp 0 firmware: keystone/pa_pdsp0_classify1.fw
    [ 3108.780324] keystone-netcp 2090000.netcp: pdsp 1 firmware: keystone/pa_pdsp1_classify1.fw
    [ 3108.788541] keystone-netcp 2090000.netcp: pdsp 2 firmware: keystone/pa_pdsp2_classify1.fw
    [ 3108.796758] keystone-netcp 2090000.netcp: pdsp 3 firmware: keystone/pa_pdsp3_classify2.fw
    [ 3108.804975] keystone-netcp 2090000.netcp: pdsp 4 firmware: keystone/pa_pdsp45_pam.fw
    [ 3108.812755] keystone-netcp 2090000.netcp: pdsp 5 firmware: keystone/pa_pdsp45_pam.fw
    [ 3108.820622] keystone-netcp 2090000.netcp: could not find interface 2 node in device tree
    [ 3108.828753] keystone-netcp 2090000.netcp: Attach of module keystone-qos declined with -19
    [ 3108.836971] keystone-netcp 2090000.netcp: could not find interface 3 node in device tree
    [ 3108.845104] keystone-netcp 2090000.netcp: Attach of module keystone-qos declined with -19
    [ 3108.853338] keystone-netcp 2090000.netcp: Attach of module keystone-sa declined with -19
    [ 3108.861461] keystone-netcp 2090000.netcp: Attach of module keystone-sa declined with -19
    [ 3108.870408] keystone-dwc3 2680000.usb: missing usbss resource
    [ 3108.876722] usbcore: registered new interface driver usb-storage
    [ 3108.883079] mousedev: PS/2 mouse device common for all mice
    [ 3108.888917] i2c /dev entries driver
    [ 3108.893190] watchdog 22f0080.wdt: heartbeat 60 sec
    [ 3108.910774] keystone-crypto 20c0000.crypto: crypto accelerator enabled
    [ 3108.917723] usbcore: registered new interface driver usbhid
    [ 3108.923324] usbhid: USB HID core driver
    [ 3108.927562]  remoteproc0: 2620040.dsp0 is available
    [ 3108.932456]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 3108.941459]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guara.
    [ 3108.951875]  remoteproc0: no firmware found
    [ 3108.956236] rproc-user 2620040.dsp0: registered misc device dsp0
    [ 3108.962548]  remoteproc1: 2620044.dsp1 is available
    [ 3108.967453]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [ 3108.976452]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guara.
    [ 3108.986868]  remoteproc1: no firmware found
    [ 3108.991214] rproc-user 2620044.dsp1: registered misc device dsp1
    [ 3108.997533]  remoteproc2: 2620048.dsp2 is available
    [ 3109.002428]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [ 3109.011430]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guara.
    [ 3109.021848]  remoteproc2: no firmware found
    [ 3109.026201] rproc-user 2620048.dsp2: registered misc device dsp2
    [ 3109.032506]  remoteproc3: 262004c.dsp3 is available
    [ 3109.037411]  remoteproc3: Note: remoteproc is still under development and considered experimental.
    [ 3109.046409]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guara.
    [ 3109.056825]  remoteproc3: no firmware found
    [ 3109.061177] rproc-user 262004c.dsp3: registered misc device dsp3
    [ 3109.067497]  remoteproc4: 2620050.dsp4 is available
    [ 3109.072390]  remoteproc4: Note: remoteproc is still under development and considered experimental.
    [ 3109.081392]  remoteproc4: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guara.
    [ 3109.091817]  remoteproc4: no firmware found
    [ 3109.096172] rproc-user 2620050.dsp4: registered misc device dsp4
    [ 3109.102482]  remoteproc5: 2620054.dsp5 is available
    [ 3109.107393]  remoteproc5: Note: remoteproc is still under development and considered experimental.
    [ 3109.116393]  remoteproc5: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guara.
    [ 3109.126809]  remoteproc5: no firmware found
    [ 3109.131165] rproc-user 2620054.dsp5: registered misc device dsp5
    [ 3109.137490]  remoteproc6: 2620058.dsp6 is available
    [ 3109.142384]  remoteproc6: Note: remoteproc is still under development and considered experimental.
    [ 3109.151387]  remoteproc6: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guara.
    [ 3109.161802]  remoteproc6: no firmware found
    [ 3109.166161] rproc-user 2620058.dsp6: registered misc device dsp6
    [ 3109.172468]  remoteproc7: 262005c.dsp7 is available
    [ 3109.177375]  remoteproc7: Note: remoteproc is still under development and considered experimental.
    [ 3109.186376]  remoteproc7: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guara.
    [ 3109.196790]  remoteproc7: no firmware found
    [ 3109.201136] rproc-user 262005c.dsp7: registered misc device dsp7
    [ 3109.207199] rproc-user dspmem.14: kick gpio
    [ 3109.211552] rproc-user dspmem.14: registered misc device dspmem
    [ 3109.217876] oprofile: using arm/armv7-ca15
    [ 3109.222120] ipip: IPv4 over IPv4 tunneling driver
    [ 3109.227336] gre: GRE over IPv4 demultiplexor driver
    [ 3109.232231] ip_gre: GRE over IPv4 tunneling driver
    [ 3109.238028] TCP: cubic registered
    [ 3109.241353] Initializing XFRM netlink socket
    [ 3109.246180] NET: Registered protocol family 10
    [ 3109.251955] NET: Registered protocol family 17
    [ 3109.256441] NET: Registered protocol family 15
    [ 3109.260952] Bridge firewalling registered
    [ 3109.264990] 8021q: 802.1Q VLAN Support v1.8
    [ 3109.269804] sctp: Hash tables configured (established 16384 bind 16384)
    [ 3109.276602] NET: Registered protocol family 41
    [ 3109.281237] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 3109.288951] Registering SWP/SWPB emulation handler
    [ 3109.299096] keystone-netcp 2090000.netcp: initializing cpsw version 1.3 (1) SGMII identification value 0x4ed1
    [ 3109.309219] keystone-netcp 2090000.netcp: Created a cpsw ale engine
    [ 3109.433038] pps pps0: new PPS source ptp0
    [ 3109.437076] cpts rftclk rate(600000000 HZ),mult(5000),shift(10),div(3)
    [ 3109.479874] keystone-netcp 2090000.netcp: Using Packet Accelerator Firmware version 0x03000100
    [ 3109.488534] keystone-netcp 2090000.netcp: pa_clk_rate(133333333 HZ),mult(30720),shift(12)
    [ 3109.813128] net eth0: netcp device eth0 opened
    [ 3109.820140] 8021q: adding VLAN 0 to HW filter on device eth0
    [ 3109.825833] net eth0: adding rx vlan id: 0
    [ 3109.842760] IP-Config: Complete:
    [ 3109.846003]      device=eth0, hwaddr=a0:f6:fd:91:26:08, ipaddr=192.168.0.80, mask=255.255.255.0, gw=192.168.0
    [ 3109.856315]      host=DSP1, domain=, nis-domain=(none)
    [ 3109.861471]      bootserver=192.168.0.200, rootserver=192.168.0.200, rootpath=
    [ 3109.873937] VFS: Mounted root (nfs filesystem) on device 0:12.
    [ 3109.880046] devtmpfs: mounted
    [ 3109.883249] Freeing unused kernel memory: 328K (c0709000 - c075b000)
    INIT: version 2.88 booting
    Starting udev
    [ 3110.217117] udevd[1311]: starting version 182
    udevd[1311]: specified group 'keystone-hpc' unknown

    [ 3110.594081] uio_module_drv mpax.4: registered misc device mpax
    [ 3110.605799] uio_module_drv edma3.5: registered misc device edma3
    [ 3110.640457] uio_module_drv secmgr.6: registered misc device secmgr
    [ 3110.652154] uio_module_drv qmss.7: registered misc device qmss
    [ 3110.659498] uio_module_drv hyperlink0.17: registered misc device hyperlink0
    [ 3110.670656] uio_module_drv hyperlink1.18: registered misc device hyperlink1
    [ 3110.678932] uio_module_drv srio.19: registered misc device srio
    Starting Bootlog daemon: bootlogd.
    //etc/volatile.cache: line 152: syntax error near unexpected token `}'
    //etc/volatile.cache: line 152: `resolv.conf"; ln -sf "/var/run/resolv.conf" "///etc/resolv.conf"; };'
    /bin/cat: /dev/mtd1: No such file or directory
    DSP1
    NOT configuring network interfaces: / is an NFS mount
    net.ipv4.conf.default.rp_filter = 1
    net.ipv4.conf.all.rp_filter = 1
    Fri Jan 25 20:46:00 UTC 2019
    INIT: Entering runlevel: 5
    Starting system message bus: Failed to start message bus: Failed to bind socket "/var/run/dbus/system_bus_sockey
    Inserting CMEMK module[ 3111.709845] CMEMK module: built on Oct  2 2014 at 00:07:27
    [ 3111.715369]   Reference Linux version 3.10.10
    [ 3111.719890] CMEM Range Overlaps Kernel Physical - allowing overlap
    [ 3111.726111] CMEM phys_start (0xc100000) overlaps kernel (0x800000000 -> 0x820000000)
    [ 3111.733911] allocated heap buffer 0xc100000 of size 0x480000
    [ 3111.739599] allocated heap buffer 0x822000000 of size 0x7000000
    [ 3111.745595] cmemk initialized
    .
    Starting Dropbear SSH server: dropbear.
    Enabling 6.25 Gbps Hyperlinkcan't send data to /var/run/mpm/mpm_daemon (error: No such file or directory)
    transport arm-remote-hyplnk-0 failed (error: 0)
    can't send data to /var/run/mpm/mpm_daemon (error: No such file or directory)
    transport arm-remote-hyplnk-1 failed (error: 0)
    Starting mpmsrv daemon.
    Starting rmsrv daemonStarting /usr/bin/rmServer.out
    Daemon returned 0 as return value.
    .
    [ 3111.920450]
    uio_read: Device read entered : dd269f88 : 2500100chown: invalid user: 'root.keystone-hpc'
    Starting softhsm daemon.
    Starting telnet daemon.
    #>>>>> LCD 12
    IP Address:
    192.168.0.80
    Starting tiipclad daemon.
    transport open succeeded for arm-remote-hyplnk-0
    [ 3114.180904] iqpci: registered correctly with major number 249
    [ 3114.186777] iqpci: device class registered correctly
    [ 3114.191924] iqpci: device class created correctly
    [ 3114.196700] iqpci: Init: Hardware not found.
    Error: could not insert module /home/root/iqpci_mod.ko: Operation not permitted
    Starting syslog-ng:.
    Starting thttpd.
    Starting Lighttpd Web Server: lighttpd.
    2019-01-25 20:46:02: (log.c.166) server started
    * starting FTP Server: vsftpd... done.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the followin GPLv3 packages:
            autoconf
            binutils-symlinks
            binutils
            coreutils
            cpp-symlinks
            cpp
            g++-symlinks
            g++
            gcc-symlinks
            gcc
            gdb
            gdbserver
            libgmp10
            libmpfr4
            m4
            make

    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
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    Stopping Bootlog daemon: bootlogd.

     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            

    Arago Project http://arago-project.org DSP1 ttyS0

    Arago 2013.12 DSP1 ttyS0

    DSP1 login:

  • Hi,

    Ok, I don't see anything wrong with the bootlog (cmem loads fine). How did you configure your k2hk-evm-cmem.dtsi file? Is it similar to the default one (the unmodified k2hk-evm-cmem.dtsi file, using the same memory regions, cma pools, cmem blocks)?

    Check the reserved-memory { dts node in keystone-k2hk-evm.dts file.

    Also can you explain what is your custom application doing? Can you compare the hyperlink example (provided by TI) & your custom app build configurations (linker.cmd & .cfg files) in terms of memory mapping?

    Best Regards,
    Yordan