Quantcast
Channel: Processors forum - Recent Threads
Viewing all 17527 articles
Browse latest View live

PROCESSOR-SDK-TDA2PX: An exception occurs when MCAN calls mcan cls module provided by Ti.

$
0
0

Part Number:TDA2PXEVM

Tool/software:TINA-TI or Spice Models

Hi,

I am using VSDK3.3 we have moved MCAN on A15 which was previously running on in ipu_0 core.

We have observed that whenever our mcan driver tries to call  mcan api's provided by mcan module by ti, we are getting below exception



.Regards,

Bikash


Linux/TDA2SX: VIP Capture resolution changes in VisionSDK

$
0
0

Part Number:TDA2SX

Tool/software: Linux

Hi.

I am using DRA752 CPU on D3 TDA2x setup with OV10635 LVDS Camera. I am new to this, I tried to change the resolution from 1280x720 to 600x400, But I am getting distorted  image, unable to capture & display proper image.

* I got register settings from OVT for 600x400 (YUV422 & PCLK=24MHz).
* Changed the register values in BSP LVDS Structure.
* Changed 600x400 in Capture link and Display link.
* Written usecases for 1) Capture->Display to display 2) Capture -> Null(A15) to dump.

OVT Suggested, Receiver need to set resolution (image size) properly. Please check if the resolution (image size) setting is correct or not.

Still anywhere has to set the resolution to get display ?

I am using only VIP capture Link. I am not using SGX  / Encoder also, So I changed in VIP Capture Link and usecase. Is there anywhere i missed ?

Thanks & Regards

ARUNKUMAR V N

AM5716: AXI asynchronous error in Cortex-A15

$
0
0

Part Number:AM5716

Hi,

I have a question about "AXI asynchronous error" for CortexA15.
- L2 Extended Control Register(L2ECTLR) bit29: AXI asynchronous error

What causes this bit29(AXI asynchronous error) to be set on CortexA15 in AM5716?

Best Regards,
Yasun

TMS320C6746: How to find CPU load of TMS320C6746 processor

AM5K2E04: GPIO Keystone 2

$
0
0

Part Number:AM5K2E04

The GPIO manual linked to the processor is from 2010 and is Keystone I.  This only gives 16 GPIO pins and their related regiesters.

For my developments I need to access pin 16, which should be available as Keystone II.  Therefore is there a new manual, or can you provide information such as the register mapping addresses and any additional coding\functionality required to access pins 31-16.

Linux/DRA77P: Upgrading recipe in yocto layers

$
0
0

Part Number:DRA77P

Tool/software: Linux

Hi team,

I am using PSDK v5, and the recipes provided in your yocto layer's meta-qt is having qt version 5.6. Can anyone please guide me on how to upgrade the qt version? I am a beginner in yocto. I believe just replacing meta-qt in sources with meta-qt5 [rocko branch] from github won't help. Am I right?

Regards,

Sam

Linux/DRA80XMEVM: NFS boot issue

$
0
0

Part Number:DRA80XMEVM

Tool/software: Linux

I'm trying to boot the AM65X board from the network.

Following are the commands I used to after stopping the autoboot.

set autoload no

dhcp

set serverip 10.30.12.66

tftpboot 0x80080000 Image

tftpboot 0x82080000 k3-am653-base-board.dtb

setenv bootargs "console=ttyS2,115200n8 root=/dev/nfs nfsroot=10.30.12.66:/nfs/dra8x,nolock,proto=udp rw ip=dhcp"

booti 0x80080000 - 0x82080000

But I'm facing some issue while booting, Following are the logs that I'm getting

## Flattened Device Tree blob at 82000000
   Booting using the fdt blob at 0x82000000
   Loading Device Tree to 00000000fded2000, end 00000000fdee3b90 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.79-g3438de3474 (oe-user@oe-host) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 SMP PREEMPT Fri May 31 19
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: Texas Instruments AM654 Base Board
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009b000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f1-dma-memory@9b000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009b100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f1-memory@9b100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009c000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f0-dma-memory@9c000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009c100000, size 7 MiB
[    0.000000] OF: reserved mem: initialized node r5f0-memory@9c100000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 2 pages/cpu @ffff80087feb0000 s38936 r8192 d83944 u131072
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64704
[    0.000000] Kernel command line: console=ttyS2,115200n8  root=/dev/nfs nfsroot=10.30.12.66:,nolock,proto=udp rw ip=dhcp
[    0.000000] PID hash table entries: 4096 (order: -1, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes)
[    0.000000] software IO TLB [mem 0xf9ed0000-0xfded0000] (64MB) mapped at [ffff800079ed0000-ffff80007decffff]
[    0.000000] Memory: 3530624K/4145152K available (7422K kernel code, 722K rwdata, 2880K rodata, 448K init, 660K bss, 90240K reserved, 524288K cma-)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7bdfffff0000   (126847 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff0000087c0000   (  7424 KB)
[    0.000000]     .rodata : 0xffff0000087c0000 - 0xffff000008aa0000   (  2944 KB)
[    0.000000]       .init : 0xffff000008aa0000 - 0xffff000008b10000   (   448 KB)
[    0.000000]       .data : 0xffff000008b10000 - 0xffff000008bc4808   (   723 KB)
[    0.000000]        .bss : 0xffff000008bc4808 - 0xffff000008c699e0   (   661 KB)
[    0.000000]     fixed   : 0xffff7fdffe7b0000 - 0xffff7fdffec00000   (  4416 KB)
[    0.000000]     PCI I/O : 0xffff7fdffee00000 - 0xffff7fdfffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffff7fe000000000 - 0xffff800000000000   (   128 GB maximum)
[    0.000000]               0xffff7fe000000000 - 0xffff7fe002200000   (    34 MB actual)
[    0.000000]     memory  : 0xffff800000000000 - 0xffff800880000000   ( 34816 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @8c0800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GIC: using LPI property table @0x00000008c00b0000
[    0.000000] ITS: Allocated 1792 chunks for LPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
[    0.000000] CPU0: using LPI pending table @0x00000008c00c0000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000006] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[    0.000395] Console: colour dummy device 80x25
[    0.000435] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.000449] pid_max: default: 32768 minimum: 301
[    0.000589] Security Framework initialized
[    0.000654] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes)
[    0.000682] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes)
[    0.015964] ASID allocator initialised with 32768 entries
[    0.023949] Hierarchical SRCU implementation.
[    0.032050] PCI/MSI: /soc0/interrupt-controller@1800000/gic-its@1000000 domain created
[    0.032366] Platform MSI: /soc0/interrupt-controller@1800000/gic-its@1000000 domain created
[    0.040007] smp: Bringing up secondary CPUs ...
[    0.074004] Detected VIPT I-cache on CPU1
[    0.074042] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[    0.074092] CPU1: using LPI pending table @0x00000008c0360000
[    0.074140] CPU1: Booted secondary processor [410fd034]
[    0.142906] Detected VIPT I-cache on CPU2
[    0.142946] GICv3: CPU2: found redistributor 100 region 0:0x00000000018c0000
[    0.142997] CPU2: using LPI pending table @0x00000008c03d0000
[    0.143046] CPU2: Booted secondary processor [410fd034]
[    0.176837] Detected VIPT I-cache on CPU3
[    0.176864] GICv3: CPU3: found redistributor 101 region 0:0x00000000018e0000
[    0.176912] CPU3: using LPI pending table @0x00000008c0430000
[    0.176944] CPU3: Booted secondary processor [410fd034]
[    0.177077] smp: Brought up 1 node, 4 CPUs
[    0.177119] SMP: Total of 4 processors activated.
[    0.177128] CPU features: detected feature: GIC system register CPU interface
[    0.177136] CPU features: detected feature: 32-bit EL0 Support
[    0.177143] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.201990] CPU: All CPU(s) started at EL2
[    0.202021] alternatives: patching kernel code
[    0.203282] devtmpfs: initialized
[    0.212540] random: get_random_u32 called from bucket_table_alloc+0x108/0x258 with crng_init=0
[    0.213404] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.213423] futex hash table entries: 1024 (order: 1, 131072 bytes)
[    0.214883] pinctrl core: initialized pinctrl subsystem
[    0.215682] NET: Registered protocol family 16
[    0.217659] vdso: 2 pages (1 code @ ffff0000087d0000, 1 data @ ffff000008b40000)
[    0.223951] DMA: preallocated 256 KiB pool for atomic allocations
[    0.228194] davinci_gpio 600000.main_gpio0: IRQ not populated, err = -517
[    0.228414] davinci_gpio 601000.main_gpio1: IRQ not populated, err = -517
[    0.228600] davinci_gpio 42110000.: IRQ not populated, err = -517
[    0.239661] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.239676] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
[    0.242631] omap_i2c 42120000.i2c: could not find pctldev for node /soc0/pinmux@4301c000/wkup_i2c0_pins_default, deferring probe
[    0.242681] omap_i2c 40b00000.i2c: could not find pctldev for node /soc0/pinmux@4301c000/mcu_i2c0_pins_default, deferring probe
[    0.242713] omap_i2c 2000000.i2c: could not find pctldev for node /soc0/pinmux@11c2e8/main_i2c0_pins_default, deferring probe
[    0.242743] omap_i2c 2010000.i2c: could not find pctldev for node /soc0/pinmux@11c2e8/main_i2c1_pins_default, deferring probe
[    0.242773] omap_i2c 2020000.i2c: could not find pctldev for node /soc0/pinmux@11c000/main_i2c2_pins_default, deferring probe
[    0.242896] media: Linux media interface: v0.10
[    0.242927] Linux video capture interface: v2.00
[    0.242974] pps_core: LinuxPPS API ver. 1 registered
[    0.242981] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.242998] PTP clock support registered
[    0.243026] EDAC MC: Ver: 3.0.0
[    0.243914] Advanced Linux Sound Architecture Driver Initialized.
[    0.244625] clocksource: Switched to clocksource arch_sys_counter
[    0.244819] VFS: Disk quotas dquot_6.6.0
[    0.244926] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[    0.252553] NET: Registered protocol family 2
[    0.253117] TCP established hash table entries: 32768 (order: 2, 262144 bytes)
[    0.253426] TCP bind hash table entries: 32768 (order: 3, 524288 bytes)
[    0.254002] TCP: Hash tables configured (established 32768 bind 32768)
[    0.254157] UDP hash table entries: 2048 (order: 0, 65536 bytes)
[    0.254270] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes)
[    0.254557] NET: Registered protocol family 1
[    0.255099] RPC: Registered named UNIX socket transport module.
[    0.255111] RPC: Registered udp transport module.
[    0.255117] RPC: Registered tcp transport module.
[    0.255124] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.260016] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[    0.265427] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.266058] NFS: Registering the id_resolver key type
[    0.266092] Key type id_resolver registered
[    0.266098] Key type id_legacy registered
[    0.266114] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.266287] 9p: Installing v9fs 9p2000 file system support
[    0.270325] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.270341] io scheduler noop registered
[    0.270450] io scheduler cfq registered (default)
[    0.270458] io scheduler mq-deadline registered
[    0.270464] io scheduler kyber registered
[    0.272540] pinctrl-single 11c000.pinmux: 185 pins at pa ffff000009bec000 size 740
[    0.272727] pinctrl-single 11c2e8.pinmux: 9 pins at pa ffff000009c0c2e8 size 36
[    0.272963] pinctrl-single 4301c000.pinmux: 70 pins at pa ffff000009c2c000 size 280
[    0.280173] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.283227] console [ttyS2] disabled
[    0.283287] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 10, base_baud = 3000000) is a 8250
[    1.243080] console [ttyS2] enabled
[    1.258475] loop: module loaded
[    1.263429] libphy: Fixed MDIO Bus: probed
[    1.268088] tun: Universal TUN/TAP device driver, 1.6
[    1.273355] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    1.281213] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.287198] sky2: driver version 1.30
[    1.292192] VFIO - User Level meta-driver version: 0.3
[    1.297996] i2c /dev entries driver
[    1.302340] sdhci: Secure Digital Host Controller Interface driver
[    1.308527] sdhci: Copyright(c) Pierre Ossman
[    1.312906] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.319748] ledtrig-cpu: registered to indicate activity on CPUs
[    1.325840] ti-sci soc0:dmsc: invalid resource
[    1.331013] optee: probing for conduit method from DT.
I/TC: Dynamic shared memory is disabled
[    1.340120] optee: initialized driver
[    1.345053] NET: Registered protocol family 17
[    1.349596] 9pnet: Installing 9P2000 support
[    1.353931] Key type dns_resolver registered
[    1.358794] registered taskstats version 1
[    1.363535] davinci_gpio 600000.main_gpio0: IRQ not populated, err = -517
[    1.370741] davinci_gpio 601000.main_gpio1: IRQ not populated, err = -517
[    1.377756] davinci_gpio 42110000.: IRQ not populated, err = -517
[    1.388913] ti-sci soc0:dmsc: invalid resource
[    1.393560] ti-sci soc0:dmsc: ABI: 2.4 (firmware rev 0x0012 '18.8.2-v2018.08b (Curious Crow)')
[    1.421426] random: fast init done
[    1.800249] davinci_gpio 600000.main_gpio0: IRQ not populated, err = -517
[    1.807447] davinci_gpio 601000.main_gpio1: IRQ not populated, err = -517
[    1.814457] davinci_gpio 42110000.: IRQ not populated, err = -517
[    1.822049] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
[    1.828446] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 400 kHz
[    1.859708] omap_i2c 2000000.i2c: bus 2 rev0.12 at 400 kHz
[    1.865959] omap_i2c 2010000.i2c: bus 3 rev0.12 at 400 kHz
[    1.872131] omap_i2c 2020000.i2c: bus 4 rev0.12 at 400 kHz
[    1.898338] ti-sci-inta 33d00000.interrupt-controller: ti,sci-dst-irq-type resource type ids not available
[    1.909019] k3-navss-ringacc 3c000000.ringacc: Ring Accelerator probed rings:818, gp-rings[304,464] sci-dev-id:187
[    1.919370] k3-navss-ringacc 3c000000.ringacc: dma-ring-reset-quirk: enabled
[    1.926418] k3-navss-ringacc 3c000000.ringacc: RA Proxy rev. 66344100, num_proxies:64
[    1.934439] k3-navss-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,255] sci-dev-id:195
[    1.944697] k3-navss-ringacc 2b800000.ringacc: dma-ring-reset-quirk: enabled
[    1.951743] k3-navss-ringacc 2b800000.ringacc: RA Proxy rev. 66344100, num_proxies:64
[    1.972352] cadence-qspi 47040000.ospi: mt35xu512 (65536 Kbytes)
[    1.992894] cadence-qspi 47040000.ospi: Cadence QSPI NOR probe failed -517
[    2.022943] spi spi2.0: not using DMA for McSPI (-19)
[    2.028422] m25p80 spi2.0: n25q128a13 (16384 Kbytes)
[    2.034586] am65-cpsw-nuss 46000000.ethernet: rx-flow-id-base is not set -22
[    2.041811] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA07100, cpsw version 0x6BA80100 Ports: 2
[    2.053415] UDMA has not been proped
[    2.057007] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
[    2.070339] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a2109, freq:200000000, add_val:4
[    2.080261] mmc0: Unknown controller version (4). You may experience problems.
[    2.132634] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
[    2.145179] mmc1: Unknown controller version (4). You may experience problems.
[    2.196647] mmc1: SDHCI controller on 4fa0000.sdhci [4fa0000.sdhci] using ADMA 64-bit
[    2.209094] mmc0: new HS200 MMC card at address 0001
[    2.214482] mmcblk0: mmc0:0001 R1J56L 14.7 GiB
[    2.219297] mmcblk0boot0: mmc0:0001 R1J56L partition 1 8.00 MiB
[    2.225524] mmcblk0boot1: mmc0:0001 R1J56L partition 2 8.00 MiB
[    2.231757] mmcblk0rpmb: mmc0:0001 R1J56L partition 3 4.00 MiB
[    2.281892] mmc1: new high speed SDHC card at address aaaa
[    2.288021] mmcblk1: mmc1:aaaa SL16G 14.8 GiB
[    2.302568]  mmcblk1: p1 p2
[    2.323617] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc5900
[    2.334250] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc5900
[    2.355336] ti-udma 31150000.udmap: Channels: 267 (tchan: 120, echan: 32, rchan: 150, rflow: 300)
[    2.393363] ti-udma 285c0000.udmap: Channels: 96 (tchan: 48, echan: 0, rchan: 48, rflow: 96)
[    2.430065] cadence-qspi 47040000.ospi: mt35xu512 (65536 Kbytes)
[    2.465835] am65-cpsw-nuss 46000000.ethernet: rx-flow-id-base is not set -22
[    2.473045] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA07100, cpsw version 0x6BA80100 Ports: 2
[    2.599978] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
[    2.672018] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a2109, freq:200000000, add_val:4
[    2.680486] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 0.4
[    2.687706] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
[    2.732637] am65-cpsw-nuss 46000000.ethernet: davinci mdio revision 9.7, bus freq 1000000
[    2.740814] libphy: 46000000.ethernet: probed
[    2.748068] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.755042] hctosys: unable to open rtc device (rtc0)
[    2.767648] am65-cpsw-nuss 46000000.ethernet: Phy mode driver DT not found
[    2.782699] TI DP83867 k3-cpsw-mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=k3-cpsw-mdio:00, irq=POLL)
[    3.805957] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down
[    4.830135] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[    4.852629] Sending DHCP requests ., OK
[    4.872486] IP-Config: Got DHCP answer from 10.30.50.3, my address is 10.30.50.41
[    4.879976] IP-Config: Complete:
[    4.883211]      device=eth0, hwaddr=f4:84:4c:ed:2a:c7, ipaddr=10.30.50.41, mask=255.255.254.0, gw=10.30.50.1
[    4.893136]      host=10.30.50.41, domain=kpit.com, nis-domain=(none)
[    4.899579]      bootserver=10.30.12.231, rootserver=10.30.12.66, rootpath=     nameserver0=10.30.11.12, nameserver1=10.30.11.212, nameserver2=179
[    5.005749] ALSA device list:
[    5.008731]   No soundcards found.
[  103.456078] VFS: Unable to mount root fs via NFS, trying floppy.
[  103.462741] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
[  103.469968] Please append a correct "root=" boot option; here are the available partitions:
[  103.478330] 1f00           16384 mtdblock0
[  103.478334]  (driver?)
[  103.484892] b300        15392768 mmcblk0
[  103.484896]  driver: mmcblk
[  103.491689] b360            4096 mmcblk0rpmb
[  103.491691]  (driver?)
[  103.498415] b340            8192 mmcblk0boot1
[  103.498418]  (driver?)
[  103.505228] b320            8192 mmcblk0boot0
[  103.505230]  (driver?)
[  103.512027] b380        15558144 mmcblk1
[  103.512031]  driver: mmcblk
[  103.518832]   b381           71680 mmcblk1p1 a059787a-01
[  103.518835]
[  103.525635]   b382        15469568 mmcblk1p2 a059787a-02
[  103.525637]
[  103.532430] 1f01           65536 mtdblock1
[  103.532433]  (driver?)
[  103.538965] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[  103.547215] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.14.79-g3438de3474 #1
[  103.554248] Hardware name: Texas Instruments AM654 Base Board (DT)
[  103.560413] Call trace:
[  103.562868] [<ffff000008088158>] dump_backtrace+0x0/0x3c0
[  103.568256] [<ffff00000808852c>] show_stack+0x14/0x20
[  103.573300] [<ffff000008780cc8>] dump_stack+0x9c/0xbc
[  103.578345] [<ffff0000080a7f58>] panic+0x11c/0x28c
[  103.583128] [<ffff000008aa1140>] mount_block_root+0x198/0x26c
[  103.588861] [<ffff000008aa1330>] mount_root+0x11c/0x134
[  103.594075] [<ffff000008aa1480>] prepare_namespace+0x138/0x180
[  103.599896] [<ffff000008aa0d6c>] kernel_init_freeable+0x208/0x22c
[  103.605978] [<ffff000008792eb8>] kernel_init+0x10/0x100
[  103.611192] [<ffff000008084690>] ret_from_fork+0x10/0x18
[  103.616495] SMP: stopping secondary CPUs
[  103.620416] Kernel Offset: disabled
[  103.623896] CPU features: 0x080200c
[  103.627373] Memory Limit: none
[  103.630425] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

Its showing unable to mount rootfs via NFS and is trying for other means.

In the 10.30.12.66 machine, I used the following commands to set up the nfs server

sudo apt-get install nfs-kernel-server nfs-common
sudo /etc/init.d/nfs-kernel-server start
edited the /etc/exports as
/nfs/dra8x	*(rw,nohide,insecure,no_subtree_check,async,no_root_squash)

and command
sudo exportfs -a

Please tell me where I'm doing wrong.

AM5716: QSPI boot issue

$
0
0

Part Number:AM5716

We are making a custom board using AM5716 processor. The board has QSPI NOR memory we are going to boot from.

We build a firmware including U-Boot using Yocto system with the official "meta-ti" layer. u-boot recipe uses repository "git://git.ti.com/ti-u-boot/ti-u-boot.git" and branch "ti-u-boot-2019.01". Using it, we can successfully boot the board from SD card. But there are issues booting from QSPI.

SPL is loaded by ROM code and shows a banner, but it hangs trying to load u-boot.img. Checking the data it loads from QSPI flash, we found that it loads some garbage. At the same time the U-Boot loaded from SD card can access QSPI flash memory using sf command (sf probe, sf read, sf write). The SPL was written to QSPI with it, and ROM loader boots it.

The file "/doc/SPI/README.ti_qspi_dra_test" in the u-boot repository mentions that QSPI memory is mapped at 5c000000 ("SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB, mapped at 5c000000"). But the code in this branch has nothing common with that example (the source does not have code to print "mapped at", and flash data structure also does not have such field). Trying to dump memory at address 5c000000 using U-Boot md command shows us the same garbage which SPL loads instead of u-boot.img payload. The assumption is that SPL tries to load data from mapped memory which, in fact, was not mapped at all. In contrary, the sf command uses driver to access SPI flash, and it works.

At the same time the U-Boot branch used in TI processor SDK is "ti-u-boot-2018.01", but it has significally changed flash code, and it includes QSPI memory mapping.

So my questions are:
1) How it is possible, that (presumably) latest u-boot branch has README which promises memory mapped QSPI, but the code does not map it?
2) Why the officially supported "meta-ti" layer in Yocto repository has non-actual u-boot code which has issues booting from QSPI?
3) What u-boot version should we actually use? What branch is the latest: 2018.01 which maps memory or 2019.01 which is in "meta-ti" layer?
4) Any reason that there are two unrelated u-boot branches which have different features?
5) Any possible reasons why SPL may be unable to load code from QSPI flash while the main U-Boot code built at the same time has no issues accessing the same flash with sf command?

PS. Answering in advance: we do not use tisdk repository because we need gcc 8.3 for our applications (some C++17 features). Attempt to update the tisdk compiler requires too many changes, while the Yocto project with meta-ti layer has no issues building gcc 8.3 for the whole system. Besides, instead of removing lots from tisdk repo, we prefer to add only required features to a minimal Yocto image. Finally, it was said that "meta-ti" layer is officially supported by TI. So why not?


Linux/TDA2-17: Creating tidl_param_jdetNet_ssd.bin and tidl_net_jdetNet_ssd.bin on PROCESSOR_SDK_VISION_03_06_00_00

$
0
0

Part Number:TDA2-17

Tool/software: Linux

Hello,

We have an installation of PROCESSOR_SDK_VISION_03_06_00_00 on UBUNTU 16.04 LTS - based on PROCESSOR_SDK_VISION_03_06_00_00_setuplinux.bin.

The files tidl_net_jdetNet_ssd.bin and tidl_param_jdetNet_ssd.bin are located at PROCESSOR_SDK_VISION_03_06_00_00/ti_components/algorithms/REL.TIDL.01.01.03.00/modules/ti_dl/test/testvecs/config/tidl_models/jdetnet/

As we understand it - in order to create this files - we need to run the import tool on PROCESSOR_SDK_VISION_03_06_00_00/ti_components/algorithms/REL.TIDL.01.01.03.00/modules/ti_dl/test/testvecs/config/import/tidl_import_JDetNet.txt file.

The problem is that there is no any caffe_jacinto_models/trained/image_detection directory within this installation, so - we can't create the files.

Can you please help addressing this issue?

66AK2G12: ODT0 ODT1 DDR3L connection

$
0
0

Part Number:66AK2G12

Hello,

I'm designing a new board with the 66ak2g, I'll like to add 4 8 bit DDR3L devices and one 8 bit DDR3l for ECC.
I saw in the technical reference a suggested design that they connect the ODT0 pin to two devices and ODT1 to the other devices.

In the EVM, ODT0 connect to the 5 devices and ODT1 to test point.

I tried to find some info on the technical reference, I'm not sure for what shall I use the ODT1.

Please advice me what to do or there to read some info regarding that.

Regards,
Snir

RTOS/TMDSICE3359: "Suspend - SW breakpoint" when I built the hsr_app provides in the PRU-ICSS Sw for HSR/PRP

$
0
0

Part Number:TMDSICE3359

Tool/software: TI-RTOS

Hello,

I've the TMDSICE3359 and I want to implement HSR protocol on it.

To do that, I've download :

- PRU ICSS SW for HSR/PRP v01.00.04.02

- Processor SDK TI RTOS v4.03.00.05

- CCS 7.4.0.00015

I have also target my board and import the HSR project (that I've find in the PRU ICSS SW for HSR/PRP).

But after running that the project stop and it is written "Suspend - SW breakpoint" like you can see in the PDF.

Can you please explain me what I 've to do now to implement the hsr_app provides in the PRU ICSS SW for HSR/PRP? thanks for your help(Please visit the site to view this file)

RTOS/TMS320C6657: Need Linux Download for TI C6000 Code Generation Tools for 8.0.1 install

$
0
0

Part Number:TMS320C6657

Tool/software: TI-RTOS

I'm trying to import a project that was originally created under CCStudio 7.0 with CGT-C6000  8.0.1 into my linux development environment, for some bug fixes.  I get an error that won't let me import the project because it was build with the C6000 8.0.1 compiler.  It won't import even though I have 8.1.8 installed.  

I've been able to find CGTOOLS c6000 compilers in the 7.4 and 8.1 releases, but nothing for 8.0.  

Any help is appreciated.

Thanks,

mark

CCS/PROCESSOR-SDK-AM437X: RTOS PROCESSOR SDK

$
0
0

Part Number:PROCESSOR-SDK-AM437X

Tool/software: Code Composer Studio

HI,

I have installed code composer studio 6.2.0.00050 and sdk "processor_sdk_rtos_am437x_3_01_00_06". I have imported SYS/BIOS based "hello example project" for AM4377 (Cortex A - ARM) from TI resource explorer. When i build the project i am getting the errors as shown in the screenshot. Kindly suggest how to resolve these issues.

Regards

Nagaraj G

TMS320C5517: Power Estimation

$
0
0

Part Number:TMS320C5517

hi TI support,

I am evaluating TMS320C5517 for one of our low power application which includes FFT processing. I am interested in the active power consumption at 75MHz when the FFT hardware accelerator is executing a 1024 point FFT.

Surprisingly, i dont see the FFT accelerator included in the power computation spreadsheet nor is it mentioned in the document: www.ti.com/.../sprabn1.pdf
How can i find out the typical power consumption at 75MHz when the FFT accelerator is running?

Regards,
Dileepan.

Linux/AM3358: U-Boot MMC access problems

$
0
0

Part Number:AM3358

Tool/software: Linux

I am trying to update a u-boot port to use the device tree and driver model code. The board is based on the AM3358 and I have been referencing board/ti/am335x/ and associated configs for guidance. Unfortunately I am having trouble reliably accessing devices on the SD/MMC interfaces. I have known good hardware working without problem under U-Boot 2018.01 (without device tree) so I do not suspect hardware issues.

My board boots from mmc1 but for testing I am loading u-boot from mmc0. MLO and u-boot proper run successfully but my boot command fails because u-boot won't access the mmc interfaces. What I am seeing is that the mmc_blk driver does not get probed (>75%).

=> dm tree
 Class    index  Probed  Driver                Name
-----------------------------------------------------------
 root        0  [ + ]   root_driver           root_driver
 rsa_mod_ex  0  [   ]   mod_exp_sw            |-- mod_exp_sw
 simple_bus  0  [ + ]   generic_simple_bus    `-- ocp
 simple_bus  1  [   ]   generic_simple_bus        |-- l4_wkup@44c00000
 simple_bus  2  [   ]   generic_simple_bus        |   |-- prcm@200000
 simple_bus  3  [   ]   generic_simple_bus        |   `-- scm@210000
 simple_bus  4  [   ]   generic_simple_bus        |       `-- scm_conf@0
 gpio        0  [   ]   gpio_omap                 |-- gpio@44e07000
 gpio        1  [ + ]   gpio_omap                 |-- gpio@4804c000
 gpio        2  [   ]   gpio_omap                 |-- gpio@481ac000
 gpio        3  [   ]   gpio_omap                 |-- gpio@481ae000
 serial      0  [ + ]   omap_serial               |-- serial@44e09000
 i2c         0  [ + ]   i2c_omap                  |-- i2c@44e0b000
 i2c_generi  0  [ + ]   i2c_generic_chip_drv      |   |-- generic_50
 i2c_generi  1  [ + ]   i2c_generic_chip_drv      |   `-- generic_24
 mmc         0  [ + ]   omap_hsmmc                |-- mmc@48060000
 blk         0  [   ]   mmc_blk                   |   `-- mmc@48060000.blk
 mmc         1  [ + ]   omap_hsmmc                |-- mmc@481d8000
 blk         1  [   ]   mmc_blk                   |   `-- mmc@481d8000.blk
 timer       0  [ + ]   omap_timer                |-- timer@48040000
 timer       1  [   ]   omap_timer                |-- timer@48042000
 timer       2  [   ]   omap_timer                |-- timer@48044000
 timer       3  [   ]   omap_timer                |-- timer@48046000
 timer       4  [   ]   omap_timer                |-- timer@48048000
 timer       5  [   ]   omap_timer                |-- timer@4804a000
 misc        0  [ + ]   ti-musb-wrapper           |-- usb@47400000
 usb         0  [ + ]   ti-musb-peripheral        |   |-- usb@47401000
 eth         1  [ + ]   usb_ether                 |   |   `-- usb_ether
 usb         0  [   ]   ti-musb-host              |   `-- usb@47401800
 eth         0  [ + ]   eth_cpsw                  `-- ethernet@4a100000

When happens the mmc list command works but all other mmc commands silently fail.

=> mmc list
OMAP SD/MMC: 0
OMAP SD/MMC: 1
=> mmc dev 0
=> mmc dev
=> mmc info
=> mmc part
=> 

The relevant device tree entries look like the following:

/ {
	vmmcsd_fixed: fixedregulator@0 {
		compatible = "regulator-fixed";
		regulator-name = "vmmcsd_fixed";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
	};
};

&am33xx_pinmux {
	mmc0_pins: pinmux_mmc0_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_dat3 */
			AM33XX_IOPAD(0x8f4, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_dat2 */
			AM33XX_IOPAD(0x8f8, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_dat1 */
			AM33XX_IOPAD(0x8fc, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_dat0 */
			AM33XX_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_clk */
			AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_cmd */

			/* CD */
			AM33XX_IOPAD(0x87c, PIN_INPUT | MUX_MODE7)	/* gpmc_csn0.gpio1_29 */
		>;
	};

	mmc1_pins: pinmux_mmc1_pins {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x81c, PIN_INPUT_PULLUP | MUX_MODE1)	/* gpmc_ad7.mmc1_dat7 */
			AM33XX_IOPAD(0x818, PIN_INPUT_PULLUP | MUX_MODE1)	/* gpmc_ad6.mmc1_dat6 */
			AM33XX_IOPAD(0x814, PIN_INPUT_PULLUP | MUX_MODE1)	/* gpmc_ad5.mmc1_dat5 */
			AM33XX_IOPAD(0x810, PIN_INPUT_PULLUP | MUX_MODE1)	/* gpmc_ad4.mmc1_dat4 */
			AM33XX_IOPAD(0x80c, PIN_INPUT_PULLUP | MUX_MODE1)	/* gpmc_ad3.mmc1_dat3 */
			AM33XX_IOPAD(0x808, PIN_INPUT_PULLUP | MUX_MODE1)	/* gpmc_ad2.mmc1_dat2 */
			AM33XX_IOPAD(0x804, PIN_INPUT_PULLUP | MUX_MODE1)	/* gpmc_ad1.mmc1_dat1 */
			AM33XX_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE1)	/* gpmc_ad0.mmc1_dat0 */
			AM33XX_IOPAD(0x880, PIN_INPUT_PULLUP | MUX_MODE2)	/* gpmc_csn1.mmc1_clk */
			AM33XX_IOPAD(0x884, PIN_INPUT_PULLUP | MUX_MODE2)	/* gpmc_csn2.mmc1_cmd */
		>;
	};
};

&mmc1 { /* physically mmc0 */
	vmmc-supply = <&vmmcsd_fixed>;
	pinctrl-names = "default";
	pinctrl-0 = <&mmc0_pins>;
	bus-width = <0x4>;
	status = "okay";
	cd-gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
	cd-inverted;
};

&mmc2 { /* physically mmc1 */
	vmmc-supply = <&vmmcsd_fixed>;
	pinctrl-names = "default";
	pinctrl-0 = <&mmc1_pins>;
	bus-width = <8>;
	status = "okay";
};

My defconfig is essentially am335x_evm_defconfig minus NAND and SPI support. I have the following MMC flags:

CONFIG_DM_MMC=y
# CONFIG_MMC_HW_PARTITIONING is not set
CONFIG_MMC_OMAP_HS=y

Can anyone give me any pointers on what might be causing the mmc issues I am seeing?


RTOS: Unable to enumerate USB 2.0 - C6748 DSP

$
0
0

Tool/software: TI-RTOS

I have a custom board with C6748 DSP/TIRTOS.

I've tried to init USB 2.0 port but never succeeded so far.

Here's my initialization code for USB 2.0.

void Init_USB(void)
{
    Uint16 i;

    // BOARD UNLOCK
    sysRegs->KICK0R = 0x83e70b13; // Write Access Key 0
    sysRegs->KICK1R = 0x95A4F1E0; // Write Access Key 1

    //sysRegs->PINMUX9 |= (0x1 << 4); // Set bit4 Pinmux9 for USB Use
    //sysRegs->PINMUX9&= 0xFFFFFF7F;  // Clear bit 7 Pinmux9 for USB Use

    /* CONFIGURE THE DRVVBUS PIN HERE.*/
    /* See your device-specific System Reference Guide for more informationon how to set up the pinmux.*/
    CSL_FINST(sysRegs->PINMUX9, SYSCFG_PINMUX9_PINMUX9_7_4, USB0_DRVVBUS);

    // Reset the USB controller:
    usbRegs->CTRLR|= 0x00000001;

    // Wait until controller is finished with Reset.
    // When done, it will clear the RESET bit field.
    while((usbRegs->CTRLR& 0x1) == 1);

    // RESET: Hold PHY in Reset
    sysRegs->CFGCHIP2 |= 0x00008000; // Hold PHY in Reset

    // Drive Reset for few clock cycles
    for (i=0;i<50; i++); sysRegs->CFGCHIP2&= 0xFFFF7FFF;// Release PHY from Reset

    /* Configure PHY with the Desired Operation*/

    // OTGMODE
    sysRegs->CFGCHIP2&= 0xFFFF9FFF;// 00=> Do Not OverridePHY Values

    // PHYPWDN
    sysRegs->CFGCHIP2&= 0xFFFFFBFF;// 1/0 => PowerdDown/NormalOperation

    // OTGPWRDN
    sysRegs->CFGCHIP2&= 0xFFFFFDFF;// 1/0 => PowerDown/NormalOperation

    // DATAPOL
    sysRegs->CFGCHIP2|= 0x00000100;// 1/0 => Normal/Reversed

    // SESNDEN
    sysRegs->CFGCHIP2|= 0x00000020;// 1/0 => NormalOperation/SessionEnd

    // VBDTCTEN
    sysRegs->CFGCHIP2|= 0x00000010;// 1/0 => VBUS Comparator Enable/Disable

/* Configure PHY PLL use and Select Source*/

    // REF_FREQ[3:0]
    sysRegs->CFGCHIP2|= 0x00000002;// 0010b=> 24MHzInputSource

    // USB2PHY CLK MUX: Select External Source
    sysRegs->CFGCHIP2&= 0xFFFFF7FF;// 1/0 => Internal/External(Pin)

    // PHY_PLLON: On Simulation PHY PLL is OFF
    sysRegs->CFGCHIP2|= 0x00000040;

    // Wait Until PHY Clock is Good.
    while((sysRegs->CFGCHIP2& 0x00020000)== 0);

    #ifndef HS_ENABLE
        // Disable high-speed
        CSL_FINS(usbRegs->POWER, USB_OTG_POWER_HSEN, 0);
    #else
        // Enable high-speed
        CSL_FINS(usbRegs->POWER, USB_OTG_POWER_HSEN, 1);
    #endif

    // Enable Interrupts
    // Enable interrupts in OTG block
    usbRegs->CTRLR&= 0xFFFFFFF7;

    // Enable PDR2.0 Interrupt
    usbRegs->INTRTXE= 0x1F;

    // Enable All Core Tx Endpoints Interrupts + EP0 Tx/Rx interrupt
    usbRegs->INTRRXE= 0x1E;

    // Enable All Core Rx Endpoints Interrupts
    // Enable all interrupts in OTG block
    usbRegs->INTMSKSETR= 0x01FF1E1F;

    // Enableall USB interruptsin MUSBMHDRC
    usbRegs->INTRUSBE= 0xFF;

    // Enable SUSPENDM so that suspend can be seen UTMI signal
    CSL_FINS(usbRegs->POWER,USB_OTG_POWER_ENSUSPM,1);

    // Clear all pending interrupts
    usbRegs->INTCLRR= usbRegs->INTSRCR;

    // Start a session in "HOST" Mode.
    CSL_FINS(usbRegs->DEVCTL, USB_OTG_DEVCTL_SESSION, 1);

}

After above steps, I run the following inside another task.

void usbTask(void)
{
    USB_Params  usb_host_params;
    USB_Handle  usb_handle;
    int         rc;

    usb_host_params.usbMode      = USB_HOST_MSC_MODE;
    usb_host_params.instanceNo   = USB_INSTANCE;
    usb_handle = USB_open(usb_host_params.instanceNo, &usb_host_params);

    if (usb_handle == 0) while(1);

    // Setup the INT Controller
    usbHostIntrConfig (&usb_host_params);

    //Initialize the file system.
    FATFS_init();

    //Open an instance of the mass storage class driver.
    g_ulMSCInstance = USBHMSCDriveOpen(usb_host_params.instanceNo, 0, MSCCallback);

    while(1) {
        rc = USBHCDMain(USB_INSTANCE, g_ulMSCInstance);

        if (rc != 0)
        {
            while(1);
        }
        if(g_eState == STATE_DEVICE_ENUM)  <--------------- NEVER HAPPENS
        {
            /*
            * Take it easy on the Mass storage device if it is slow to
            * start up after connecting.
            */
            if(USBHMSCDriveReady(g_ulMSCInstance) != 0)
            {
                /*
                * Wait about 100ms before attempting to check if the
                * device is ready again.
                */
                usb_osalDelayMs(100);
            }

            if (!g_fsHasOpened)
            {
                /* USBMSC FATFS initialization */
                rc = FATFS_open(0U, NULL, &fatfsHandle);
                if (rc == FR_OK) g_fsHasOpened = 1;
            }
}

            /* only do this when the device is already enummerated. */
            FSShellAppUtilsProcess();
        }
    }
}


It never does STATE_DEVICE_ENUM. Do you see anything wrong in the code? I was refering to the page 81 in

RTOS/AM5728: Copying Custom RTOS from SD Card to Flash Memory

$
0
0

Part Number:AM5728

Tool/software: TI-RTOS

I've just picked up a project from an employee that is no longer working with us. We are using a custom RTOS for the AM5728 and I need to figure out how to get the image from the SD card onto the flash memory of the Beagleboard. We can copy the image of the file system (4 FAT32 partitions) to a micro SD card and the system runs fine on the Beagleboard X15. However, I can't find anything helpful in the documentation for copying the image to the Beagleboard flash memory. One employee mentioned a custom MLO that was written for a previous product on a different board that would check which device it was loaded from and copy the entire file system to the flash memory on the board if it was booted off the SD card. This sounds insane to me and I feel like there must be a better way. The image I've attached is the structure of the boot partition on the SD card. Please help!

Linux/AM3358: AM3358 VBUS Pulses

$
0
0

Part Number:AM3358

Tool/software: Linux

Hello,

We have a product which uses a BeagleBone Black with kernel 4.9.78 and we are seeing a problem similar to what is described in:

https://e2e.ti.com/support/processors/f/791/p/250507/887113#887113

Because of this we are running into the random reboot issue described at:

e2e.ti.com/.../383903

How can we disable these pulse on the VBUS line? With kernel 3.8.x these pulses would be disabled if USB_OTG is disabled in the kernel config, but for kernel 4.9 this does not work. I can still see the pulses even if USB_OTG is disabled, if the g_ether driver is loaded. If g_ether module is removed the pulses go away.

The related thread mentions disabling these in the kernel driver, but I'm not sure where to look. Is there a particular configuration option which needs to be set or should the source be modified?

Please advise,

--Tavi

Linux/AM5718: Pass frame buffer to DSP copyless

$
0
0

Part Number:AM5718

Tool/software: Linux

Hi.
My customers have two questions about sharing frame buffers between ARM/DSP.
They ran the sample project "big-data-ipc-demo-linux" in the SDK.
This project is:
First, share the buffer obtained from CMEM in SharedRegion1.
After that, I think that exchanging data between ARM / DSP by sending and receiving messages.

Question 1:
If I want to share 2MB or more of image data between ARM/DSP, are there any other way than this sample project?

They want to use DSP to process 12 bit grayscale data captured by ARM.
I want to pass the frame buffer obtained from the capture driver to the DSP copyless.
If we use the "big-data-ipc-demo-linux" method, I think we have to copy the data from the frame buffer.

Question 2:
Would you tell me if there is a way to pass frame buffer to DSP copyless.

OS  : Ubuntu 16.04.4 LTS
SDK : PROCESSOR-SDK-LINUX-RT-AM57X 05_02_00_10
EVM : TMDXIDK5718
OptionLCD : TMDXIDK57X-LCD

Regards,
Rei

RTOS/66AK2G12: K2G12 arm interrupt issue

$
0
0

Part Number:66AK2G12

Tool/software: TI-RTOS

Hi TI experts,

I create a uart_test application based on  pdk_k2g_1_0_10 CSL code, and I generate 4 test case in this code:

define UART_TEST_CASE1         /* Only open uart0  interrupt  and direct connect to arm*/

//#define UART_TEST_CASE2         /* Only open uart1  interrupt and dierect connect to arm */

//#define UART_TEST_CASE3         /* open both uart0 and uart1 interrupt  and both direct connect to arm */

//#define UART_TEST_CASE4         /* open uart0 interrupt and direct connect to arm,  open Uart1 interrupt  and route to CIC then to arm  */

This code can be build and run on ccs, when it run, open the Hyper Terminal and touch character on the keyboard, there will display:

“Uart0:a” or “Uart1:a”

There is some problem on the arm interrupt, and my test results was:

UART_TEST_CASE1: arm uart0 interrupt normal.

UART_TEST_CASE2: arm uart1 interrupt normal.

UART_TEST_CASE3: arm uart0 interrupt didn’t happen,  arm uart1 interrupt normal.

UART_TEST_CASE4: arm uart0 and uart1 interrupt normal.

Please help to check the attached code and find out it is firmware issue or chip issue.

Thanks

Victor(Please visit the site to view this file)

 

Viewing all 17527 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>