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

AM3354: When transplanting wm8960 sound card on AM335x there's some trouble. Urgently need the master's advice to help me to solve the problem.

$
0
0

Part Number:AM3354

Dear Sir,

When transplanting wm8960 sound card on AM335x there's some trouble. Urgently need the master's advice to help me to solve the problem.
Question as below:
Now the situation is that when playing audio files through aplay, it is jammed. The oscilloscope measures mcasp0_aclkx, mcasp0_fsx, mcasp0_axr0/mcasp0_axr1 without signal output. It can not automatically exit after tracing to mcasp_start_tx. It can response when click Enter and can exit through Ctrl + C. No audio output.
Thank you so much and looking forward the relpy.
Have a nice day!

kernel version:4.1.18  let wm8960 for slave。

dts configuration is as follows:

mcasp0_pins_default: mcasp0_pins_default { 
pinctrl-single,pins = < 
0x190 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mcasp0_aclkx */ 
0x194 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mcasp0_fsx */ 
0x198 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcasp0_axr0 */ 
0x1A8 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mcasp0_axr1 */ 
>; 
};
mcasp0_pins_sleep: mcasp0_pins_sleep { 
pinctrl-single,pins = < 
0x190 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* mcasp0_aclkx */ 
0x194 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* mcasp0_fsx */ 
0x198 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* mcasp0_axr0 */ 
0x1A8 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* mcasp0_axr1 */ 
>; 
};

 

 

 

&mcasp0{
#sound-dai-cells = <0>;
pinctrl-names = "default","sleep"; 
pinctrl-0 = <&mcasp0_pins_default>;
pinctrl-1 = <&mcasp0_pins_sleep>;
status = "okay"; 
op-mode = <0>; /* MCASP_IIS_MODE */ 
tdm-slots = <2>; 
/* 4 serializers */
/*num-serializer = <4>;*/
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
2 1 0 0
>;
tx-num-evt = <1>;
rx-num-evt = <1>;
};

 

添加sound节点的内容

sound {
compatible = "simple-audio-card";
simple-audio-card,name = "AM335x-EVM";
simple-audio-card,widgets =
"Speaker", "Speaker",
"Headphone", "Headphone Jack",
"Speaker", "Speaker Jack",
"Line", "Line In";
simple-audio-card,routing =
"Speaker", "SPK_LN",
"Speaker", "SPK_LP";
simple-audio-card,format = "i2s";
simple-audio-card,bitclock-master = <&sound_master>;
simple-audio-card,frame-master = <&sound_master>;
simple-audio-card,cpu {
sound-dai = <&mcasp0>;
};
sound_master: simple-audio-card,codec {
sound-dai = <&wm8960>;
system-clock-frequency = <24000000>;
};

};

 

i2C节点配置:

clk_mcasp0_fixed: clk_mcasp0_fixed {

#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <24000000>;
};

i2c1: i2c@4802a000 {
compatible = "ti,omap4-i2c";
#address-cells = <1>;
#size-cells = <0>;
ti,hwmods = "i2c2";
reg = <0x4802a000 0x1000>;
interrupts = <71>;
status = "okay";

wm8960: wm8960@1a { 
#sound-dai-cells = <0>; 
compatible = "wlf,wm8960"; 
clock-names = "mclk";
clocks = <&clk_mcasp0_fixed>;
clock-frequency = <24000000>;
reg = <0x1a>;
status = "okay"; 
};

};

 

内核配置

  1. Device Drivers  --->  
  2.     <*> Sound card support  --->   
  3.         <*>   Advanced Linux Sound Architecture  --->  
  4.             <*>   ALSA for SoC audio support  --->  
  5.                 <*>   SoC Audio for Texas Instruments chips using eDMA (AM33XX/43XX)  
  6.                 -*-   Multichannel Audio Serial Port (McASP) support  
  7.                 <*>   SoC Audio for the AM33XX chip based boards  
  8.                 CODEC drivers  --->  
  9.                     <*> Wolfson Microelectronics WM8960 CODEC  

 

 

输出信息:

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.18-gbbe8cfc (liugang@rock3) (gcc version 4.9.1 20140710 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.07 - Linaro GCC 4.9-2014.07) ) #190 PREEMPT Wed Dec 5 19:36:18 CST 2018
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5307d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: TI AM335x BeagleBone
[ 0.000000] cma: Reserved 24 MiB at 0x9e000000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129408
[ 0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/ram0
[ 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: 453468K/522240K available (8579K kernel code, 583K rwdata, 3416K rodata, 376K init, 258K bss, 44196K reserved, 24576K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 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 - 0xc0bbf05c (11997 kB)
[ 0.000000] .init : 0xc0bc0000 - 0xc0c1e000 ( 376 kB)
[ 0.000000] .data : 0xc0c1e000 - 0xc0cafee0 ( 584 kB)
[ 0.000000] .bss : 0xc0cb2000 - 0xc0cf2ad0 ( 259 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000051] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000069] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000411] Console: colour dummy device 80x30
[ 0.000456] Calibrating delay loop... 106.39 BogoMIPS (lpj=531968)
[ 0.087860] pid_max: default: 32768 minimum: 301
[ 0.088014] Security Framework initialized
[ 0.088091] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.088110] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.089182] Initializing cgroup subsys blkio
[ 0.089215] Initializing cgroup subsys memory
[ 0.089273] Initializing cgroup subsys devices
[ 0.089296] Initializing cgroup subsys freezer
[ 0.089318] Initializing cgroup subsys perf_event
[ 0.089354] CPU: Testing write buffer coherency: ok
[ 0.089826] Setting up static identity map for 0x80008200 - 0x80008270
[ 0.092163] devtmpfs: initialized
[ 0.114385] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.146051] omap_hwmod: debugss: _wait_target_disable failed
[ 0.216546] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.220605] pinctrl core: initialized pinctrl subsystem
[ 0.222439] NET: Registered protocol family 16
[ 0.226063] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.247887] cpuidle: using governor ladder
[ 0.277876] cpuidle: using governor menu
[ 0.286936] OMAP GPIO hardware version 0.1
[ 0.312531] No ATAGs?
[ 0.312578] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.313551] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.313569] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.377135] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.382551] vgaarb: loaded
[ 0.384155] SCSI subsystem initialized
[ 0.384752] usbcore: registered new interface driver usbfs
[ 0.384891] usbcore: registered new interface driver hub
[ 0.385064] usbcore: registered new device driver usb
[ 0.386778] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 0.386866] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring probe
[ 0.386931] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
[ 0.387216] media: Linux media interface: v0.10
[ 0.387340] Linux video capture interface: v2.00
[ 0.387439] pps_core: LinuxPPS API ver. 1 registered
[ 0.387452] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.387511] PTP clock support registered
[ 0.389219] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.389616] Advanced Linux Sound Architecture Driver Initialized.
[ 0.391142] Bluetooth: Core ver 2.20
[ 0.391236] NET: Registered protocol family 31
[ 0.391250] Bluetooth: HCI device and connection manager initialized
[ 0.391275] Bluetooth: HCI socket layer initialized
[ 0.391294] Bluetooth: L2CAP socket layer initialized
[ 0.391339] Bluetooth: SCO socket layer initialized
[ 0.391763] Switched to clocksource timer1
[ 0.409572] NET: Registered protocol family 2
[ 0.410974] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.411122] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.411257] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.411361] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.411395] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.411689] NET: Registered protocol family 1
[ 0.412289] RPC: Registered named UNIX socket transport module.
[ 0.412312] RPC: Registered udp transport module.
[ 0.412324] RPC: Registered tcp transport module.
[ 0.412337] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.413246] Trying to unpack rootfs image as initramfs...
[ 0.415109] rootfs image is not initramfs (no cpio magic); looks like an initrd
[ 0.700607] Freeing initrd memory: 25640K (ce6f6000 - d0000000)
[ 0.701321] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[ 0.701402] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 0.706088] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.706263] audit: initializing netlink subsys (disabled)
[ 0.706358] audit: type=2000 audit(0.700:1): initialized
[ 0.720958] VFS: Disk quotas dquot_6.6.0
[ 0.721328] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.725494] NFS: Registering the id_resolver key type
[ 0.725588] Key type id_resolver registered
[ 0.725600] Key type id_legacy registered
[ 0.725736] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.727391] JFS: nTxBlock = 3935, nTxLock = 31480
[ 0.732872] NET: Registered protocol family 38
[ 0.733022] io scheduler noop registered
[ 0.733055] io scheduler deadline registered
[ 0.733143] io scheduler cfq registered (default)
[ 0.736265] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.742697] backlight supply power not found, using dummy regulator
[ 0.746968] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 0.753485] console [ttyS0] disabled
[ 0.753592] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[ 1.472475] console [ttyS0] enabled
[ 1.477552] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 159, base_baud = 3000000) is a 8250
[ 1.487847] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 160, base_baud = 3000000) is a 8250
[ 1.497934] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 161, base_baud = 3000000) is a 8250
[ 1.508011] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 162, base_baud = 3000000) is a 8250
[ 1.519081] [drm] Initialized drm 1.1.0 20060810
[ 1.524694] panel panel: pins are not configured
[ 1.531433] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.538225] [drm] No driver support for vblank timestamp query.
[ 1.576262] Console: switching to colour frame buffer device 128x37
[ 1.600598] tilcdc 4830e000.lcdc: fb0: frame buffer device
[ 1.606233] tilcdc 4830e000.lcdc: registered panic notifier
[ 1.641802] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
[ 1.665583] brd: module loaded
[ 1.678108] loop: module loaded
[ 1.683928] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.694169] vcan: Virtual CAN interface driver
[ 1.698730] slcan: serial line CAN interface driver
[ 1.703673] slcan: 10 dynamic interface channels.
[ 1.708412] CAN device driver interface
[ 1.714540] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=169)
[ 1.725084] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=170)
[ 1.801809] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 1.807957] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
[ 1.816035] libphy: 4a101000.mdio: probed
[ 1.820094] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 1.829402] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver SMSC LAN8710/LAN8720
[ 1.838907] cpsw 4a100000.ethernet: Detected MACID = 60:64:05:2d:0f:6b
[ 1.847230] cpsw 4a100000.ethernet: cpsw: Detected MACID = 60:64:05:2d:0f:6d
[ 1.855711] PPP generic driver version 2.4.2
[ 1.860438] PPP BSD Compression module registered
[ 1.865282] PPP Deflate Compression module registered
[ 1.870439] PPP MPPE Compression module registered
[ 1.875325] NET: Registered protocol family 24
[ 1.879849] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
[ 1.887148] usbcore: registered new interface driver asix
[ 1.892760] usbcore: registered new interface driver ax88179_178a
[ 1.899038] usbcore: registered new interface driver cdc_ether
[ 1.905047] usbcore: registered new interface driver net1080
[ 1.910845] usbcore: registered new interface driver cdc_subset
[ 1.916928] usbcore: registered new interface driver zaurus
[ 1.922746] usbcore: registered new interface driver cdc_ncm
[ 1.928531] GobiNet: Quectel_WCDMA&LTE_Linux&Android_GobiNet_Driver_V1.3.0
[ 1.935608] usbcore: registered new interface driver GobiNet
[ 1.943864] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.950443] ehci-pci: EHCI PCI platform driver
[ 1.955203] ehci-platform: EHCI generic platform driver
[ 1.961024] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.966983] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.973265] ohci-pci: OHCI PCI platform driver
[ 1.977874] ohci-platform: OHCI generic platform driver
[ 1.983483] ohci-omap3: OHCI OMAP3 driver
[ 1.987806] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.994734] fusbh200_hcd: FUSBH200 Host Controller (EHCI) Driver
[ 2.000774] Warning! fusbh200_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
[ 2.009888] fotg210_hcd: FOTG210 Host Controller (EHCI) Driver
[ 2.015811] 4Warning! fotg210_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
[ 2.025361] usbcore: registered new interface driver cdc_acm
[ 2.031051] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2.039285] usbcore: registered new interface driver usblp
[ 2.044974] usbcore: registered new interface driver cdc_wdm
[ 2.050788] usbcore: registered new interface driver usbtmc
[ 2.056529] usbcore: registered new interface driver uas
[ 2.062050] usbcore: registered new interface driver usb-storage
[ 2.068186] usbcore: registered new interface driver ums-alauda
[ 2.074293] usbcore: registered new interface driver ums-cypress
[ 2.080429] usbcore: registered new interface driver ums-datafab
[ 2.086593] usbcore: registered new interface driver ums_eneub6250
[ 2.092927] usbcore: registered new interface driver ums-freecom
[ 2.099089] usbcore: registered new interface driver ums-isd200
[ 2.105159] usbcore: registered new interface driver ums-jumpshot
[ 2.111383] usbcore: registered new interface driver ums-karma
[ 2.117372] usbcore: registered new interface driver ums-onetouch
[ 2.123635] usbcore: registered new interface driver ums-realtek
[ 2.129793] usbcore: registered new interface driver ums-sddr09
[ 2.135858] usbcore: registered new interface driver ums-sddr55
[ 2.141923] usbcore: registered new interface driver ums-usbat
[ 2.147903] usbcore: registered new interface driver mdc800
[ 2.153583] mdc800: v0.7.5 (30/10/2000):USB Driver for Mustek MDC800 Digital Camera
[ 2.161419] usbcore: registered new interface driver microtekX6
[ 2.167667] usbcore: registered new interface driver usbserial
[ 2.173643] usbcore: registered new interface driver usbserial_generic
[ 2.180281] usbserial: USB Serial support registered for generic
[ 2.186473] usbcore: registered new interface driver cp210x
[ 2.192163] usbserial: USB Serial support registered for cp210x
[ 2.198208] usbcore: registered new interface driver option
[ 2.203896] usbserial: USB Serial support registered for GSM modem (1-port)
[ 2.210994] usbcore: registered new interface driver usb_serial_simple
[ 2.217670] usbserial: USB Serial support registered for carelink
[ 2.223878] usbserial: USB Serial support registered for zio
[ 2.229630] usbserial: USB Serial support registered for funsoft
[ 2.235763] usbserial: USB Serial support registered for flashloader
[ 2.242257] usbserial: USB Serial support registered for google
[ 2.248282] usbserial: USB Serial support registered for vivopay
[ 2.254407] usbserial: USB Serial support registered for moto_modem
[ 2.260774] usbserial: USB Serial support registered for novatel_gps
[ 2.267246] usbserial: USB Serial support registered for hp4x
[ 2.273132] usbserial: USB Serial support registered for suunto
[ 2.279149] usbserial: USB Serial support registered for siemens_mpi
[ 2.285663] usbcore: registered new interface driver ti_usb_3410_5052
[ 2.292231] usbserial: USB Serial support registered for TI USB 3410 1 port adapter
[ 2.300044] usbserial: USB Serial support registered for TI USB 5052 2 port adapter
[ 2.307873] usbcore: registered new interface driver adutux
[ 2.313836] usbcore: registered new interface driver appledisplay
[ 2.320080] usbcore: registered new interface driver cypress_cy7c63
[ 2.326559] usbcore: registered new interface driver cytherm
[ 2.332420] usbcore: registered new interface driver emi26 - firmware loader
[ 2.339617] usbcore: registered new interface driver emi62 - firmware loader
[ 2.346739] ftdi_elan: driver ftdi-elan
[ 2.350999] usbcore: registered new interface driver ftdi-elan
[ 2.357098] usbcore: registered new interface driver idmouse
[ 2.362932] usbcore: registered new interface driver iowarrior
[ 2.368918] usbcore: registered new interface driver isight_firmware
[ 2.375440] usbcore: registered new interface driver usblcd
[ 2.381182] usbcore: registered new interface driver ldusb
[ 2.386875] usbcore: registered new interface driver usbled
[ 2.392617] usbcore: registered new interface driver legousbtower
[ 2.398854] usbcore: registered new interface driver rio500
[ 2.404631] usbcore: registered new interface driver usbtest
[ 2.410437] usbcore: registered new interface driver usb_ehset_test
[ 2.416910] usbcore: registered new interface driver trancevibrator
[ 2.423350] usbcore: registered new interface driver usbsevseg
[ 2.429325] usbcore: registered new interface driver yurex
[ 2.435547] usbcore: registered new interface driver sisusb
[ 2.441331] usbcore: registered new interface driver lvs
[ 2.449997] 47401300.usb-phy supply vcc not found, using dummy regulator
[ 2.487187] 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 2.525065] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 2.531345] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 2.539569] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.546434] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.553787] usb usb1: Product: MUSB HDRC host driver
[ 2.558812] usb usb1: Manufacturer: Linux 4.1.18-gbbe8cfc musb-hcd
[ 2.565052] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 2.571289] hub 1-0:1.0: USB hub found
[ 2.575199] hub 1-0:1.0: 1 port detected
[ 2.618005] using random self ethernet address
[ 2.622585] using random host ethernet address
[ 2.628270] usb0: HOST MAC 0e:ae:05:9e:95:8e
[ 2.632764] usb0: MAC d6:0a:5a:f0:d6:49
[ 2.636663] using random self ethernet address
[ 2.641132] using random host ethernet address
[ 2.646000] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[ 2.652727] g_ether gadget: g_ether ready
[ 2.656937] usbip_core: usbip_core_init:761: USB/IP Core v1.0.0
[ 2.663713] vhci_hcd vhci_hcd: USB/IP Virtual Host Controller
[ 2.669968] vhci_hcd vhci_hcd: new USB bus registered, assigned bus number 2
[ 2.678360] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.685391] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.692680] usb usb2: Product: USB/IP Virtual Host Controller
[ 2.698497] usb usb2: Manufacturer: Linux 4.1.18-gbbe8cfc vhci_hcd
[ 2.704734] usb usb2: SerialNumber: vhci_hcd
[ 2.710343] hub 2-0:1.0: USB hub found
[ 2.714373] hub 2-0:1.0: 8 ports detected
[ 2.721238] vhci_hcd: vhci_hcd_init:1147: USB/IP 'Virtual' Host Controller (VHCI) Driver v1.0.0
[ 2.730425] usbcore: registered new device driver usbip-host
[ 2.736212] usbip_host: usbip_host_init:302: USB/IP Host Driver v1.0.0
[ 2.743439] mousedev: PS/2 mouse device common for all mice
[ 2.749286] i2c /dev entries driver
[ 2.757235] usbcore: registered new interface driver i2c-diolan-u2c
[ 2.763686] i2c-parport-light: adapter type unspecified
[ 2.769113] usbcore: registered new interface driver RobotFuzz Open Source InterFace, OSIF
[ 2.781274] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 2.789114] sdhci: Secure Digital Host Controller Interface driver
[ 2.795376] sdhci: Copyright(c) Pierre Ossman
[ 2.802234] /ocp/mmc@48060000: voltage-ranges unspecified
[ 2.831912] omap_hsmmc: probe of 48060000.mmc failed with error -22
[ 2.877353] Synopsys Designware Multimedia Card Interface Driver
[ 2.885449] VUB300 Driver rom wait states = 1C irqpoll timeout = 0400
[ 2.892641] usbcore: registered new interface driver vub300
[ 2.898783] usbcore: registered new interface driver ushc
[ 2.909068] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.915257] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.921647] usbcore: registered new interface driver usbhid
[ 2.927344] usbhid: USB HID core driver
[ 2.938430] loading davinci_mcasp_probe! 
[ 2.944035] loading davinci_mcasp_get_dma_type-1 
[ 2.948969] mmc0: MAN_BKOPS_EN bit is not set
[ 2.957477] oprofile: using arm/armv7
[ 2.962107] Initializing XFRM netlink socket
[ 2.966820] NET: Registered protocol family 17
[ 2.971510] NET: Registered protocol family 15
[ 2.976192] can: controller area network core (rev 20120528 abi 9)
[ 2.982670] NET: Registered protocol family 29
[ 2.987250] mmc0: new high speed MMC card at address 0001
[ 2.992813] can: raw protocol (rev 20120528)
[ 2.997115] can: broadcast manager protocol (rev 20120528 t)
[ 3.003642] mmcblk0: mmc0:0001 008G30 7.28 GiB 
[ 3.008410] mmcblk0boot0: mmc0:0001 008G30 partition 1 4.00 MiB
[ 3.014489] can: netlink gateway (rev 20130117) max_hops=1
[ 3.020444] 8021q: 802.1Q VLAN Support v1.8
[ 3.024938] mmcblk0boot1: mmc0:0001 008G30 partition 2 4.00 MiB
[ 3.031697] Key type dns_resolver registered
[ 3.037200] omap_voltage_late_init: Voltage driver support not added
[ 3.046146] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
[ 3.055237] mmcblk0: p1 p2 p3 < p5 p6 p7 > p4
[ 3.060153] cpu cpu0: cpu0 clock notifier not ready, retry
[ 3.071318] ThumbEE CPU extension supported.
[ 3.075863] Registering SWP/SWPB emulation handler
[ 3.102131] tps65910 0-002d: No interrupt support, no core IRQ
[ 3.144864] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 3.152972] wm8960_i2c_probe device name = wm8960 ,chip addr =26 
[ 3.159525] loading wm8960_set_pdata_from_of! 
[ 3.183879] wm8960_i2c_probe device name = wm8960 ,chip addr =26 
[ 3.190136] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[ 3.531899] edt_ft5x06 2-0038: touchscreen probe failed
[ 3.537278] edt_ft5x06: probe of 2-0038 failed with error -121
[ 3.543309] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
[ 3.550569] =====================wm8960_probe is runing====================== 
[ 3.558402] loading wm8960_add_widgets! 
[ 3.562843] =====================wm8960_probe is end====================== 
[ 3.569980] loading davinci_mcasp_dai_probe 
[ 3.574321] dai->driver= 0xc0ca6148,dai->driver->ops = 0xc0903794,dai->driver->ops->set_sysclk=0xc071aa70 
[ 3.584036] dai->driver 
[ 3.586622] loading wm8960_set_dai_sysclk! 
[ 3.590830] wm8960->sysclk:24000000 
[ 3.594443] loading wm8960_set_dai_fmt! 
[ 3.598641] loading davinci_mcasp_set_dai_fmt-0 
[ 3.603307] loading davinci_mcasp_set_dai_fmt-1 
[ 3.607989] loading davinci_mcasp_set_dai_fmt-2 
[ 3.612648] loading davinci_mcasp_set_dai_fmt-3 
[ 3.617319] loading davinci_mcasp_set_dai_fmt-4 
[ 3.621980] loading davinci_mcasp_set_dai_fmt-5 
[ 3.626620] loading davinci_mcasp_set_dai_fmt-6 
[ 3.632862] asoc-simple-card sound: wm8960-hifi <-> 48038000.mcasp mapping ok
[ 3.640988] loading wm8960_set_bias_level! 
[ 3.645467] loading wm8960_set_bias_level_out3! 
[ 3.758031] loading wm8960_set_bias_level! 
[ 3.762347] loading wm8960_set_bias_level_out3! 
[ 3.872840] vdd1,mpu: supplied by vbat
[ 3.876922] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1260000]:-22
[ 3.887315] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1260000]:-22
[ 3.898245] hctosys: unable to open rtc device (rtc0)
[ 3.910484] vrtc: disabling
[ 3.914133] ALSA device list:
[ 3.917118] #0: AM335x-EVM
[ 3.922079] RAMDISK: gzip image found at block 0
[ 8.634381] VFS: Mounted root (ext2 filesystem) readonly on device 1:0.
[ 8.641271] devtmpfs: mounted
[ 8.647562] Freeing unused kernel memory: 376K (c0bc0000 - c0c1e000)
INIT: version 2.88 booting 
[ 8.857580] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underfow
[ 8.873027] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
[ 8.873996] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost

Please wait: booting...[ 8.901603] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
[ 8.910284] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost

[ 8.930181] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
[ 8.936951] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
[ 8.958793] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
[ 8.965646] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
[ 8.987377] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
[ 8.994223] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
Starting udev
[ 9.261604] udevd[101]: starting version 182
[ 9.477754] leds_gpio: disagrees about version of symbol gpiod_get_value_cansleep
[ 9.551946] leds_gpio: Unknown symbol gpiod_get_value_cansleep (err -22)
[ 9.608282] omap_rtc 44e3e000.rtc: already running
[ 9.652017] leds_gpio: disagrees about version of symbol gpiod_set_value
[ 9.658790] leds_gpio: Unknown symbol gpiod_set_value (err -22)
[ 9.685348] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 9.698639] Error: Driver 'omap_wdt' is already registered, aborting...
[ 9.725828] Error: Driver 'am335x-usb-childs' is already registered, aborting...
[ 9.794529] leds_gpio: disagrees about version of symbol gpiod_set_value_cansleep
[ 9.844957] leds_gpio: Unknown symbol gpiod_set_value_cansleep (err -22)
[ 9.912226] leds_gpio: disagrees about version of symbol gpiod_cansleep
[ 9.918915] leds_gpio: Unknown symbol gpiod_cansleep (err -22)
[ 10.080001] udc_core: exports duplicate symbol usb_add_gadget_udc (owned by kernel)
[ 10.172129] leds_gpio: disagrees about version of symbol gpio_to_desc
[ 10.178646] leds_gpio: Unknown symbol gpio_to_desc (err -22)
[ 10.214943] udc_core: exports duplicate symbol usb_add_gadget_udc (owned by kernel)
[ 10.272110] leds_gpio: disagrees about version of symbol gpiod_direction_output
[ 10.303416] leds_gpio: Unknown symbol gpiod_direction_output (err -22)
[ 10.439526] leds_gpio: disagrees about version of symbol gpiod_get_value_cansleep
[ 10.531639] leds_gpio: Unknown symbol gpiod_get_value_cansleep (err -22)
[ 10.567169] leds_gpio: disagrees about version of symbol gpiod_set_value
[ 10.632913] udc_core: exports duplicate symbol usb_add_gadget_udc (owned by kernel)
[ 10.640687] leds_gpio: Unknown symbol gpiod_set_value (err -22)
[ 10.748582] udc_core: exports duplicate symbol usb_add_gadget_udc (owned by kernel)
[ 10.837686] leds_gpio: disagrees about version of symbol gpiod_set_value_cansleep
[ 10.892186] leds_gpio: Unknown symbol gpiod_set_value_cansleep (err -22)
[ 10.974305] edt_ft5x06: disagrees about version of symbol gpiod_set_value_cansleep
[ 11.045308] leds_gpio: disagrees about version of symbol gpiod_cansleep
[ 11.052148] edt_ft5x06: Unknown symbol gpiod_set_value_cansleep (err -22)
[ 11.093013] can_dev: exports duplicate symbol alloc_can_err_skb (owned by kernel)
[ 11.100619] leds_gpio: Unknown symbol gpiod_cansleep (err -22)
[ 11.144501] can_dev: exports duplicate symbol alloc_can_err_skb (owned by kernel)
[ 11.182425] edt_ft5x06: disagrees about version of symbol i2c_register_driver
[ 11.230816] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 11.237785] leds_gpio: disagrees about version of symbol gpio_to_desc
[ 11.244424] edt_ft5x06: Unknown symbol i2c_register_driver (err -22)
[ 11.272430] leds_gpio: Unknown symbol gpio_to_desc (err -22)
[ 11.304347] edt_ft5x06: disagrees about version of symbol i2c_transfer
[ 11.310941] edt_ft5x06: Unknown symbol i2c_transfer (err -22)
[ 11.322039] leds_gpio: disagrees about version of symbol gpiod_direction_output
[ 11.402768] leds_gpio: Unknown symbol gpiod_direction_output (err -22)
[ 11.414979] edt_ft5x06: disagrees about version of symbol i2c_del_driver
[ 11.472624] edt_ft5x06: Unknown symbol i2c_del_driver (err -22)
[ 11.560491] pruss: Unknown symbol rproc_boot (err 0)
[ 11.666512] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 11.674040] pruss: Unknown symbol rproc_shutdown (err 0)
[ 11.679463] pruss: Unknown symbol rproc_put (err 0)
[ 11.775640] edt_ft5x06: disagrees about version of symbol gpiod_set_value_cansleep
[ 11.864459] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 11.952313] pm33xx: Unknown symbol wkup_m3_set_resume_address (err 0)
[ 11.958850] pm33xx: Unknown symbol wkup_m3_set_mem_type (err 0)
[ 11.965144] edt_ft5x06: Unknown symbol gpiod_set_value_cansleep (err -22)
[ 12.058154] edt_ft5x06: disagrees about version of symbol i2c_register_driver
[ 12.212725] edt_ft5x06: Unknown symbol i2c_register_driver (err -22)
[ 12.265740] pm33xx: Unknown symbol wkup_m3_request_pm_status (err 0)
[ 12.272558] pruss: Unknown symbol rproc_boot (err 0)
[ 12.277865] snd_soc_simple_card: disagrees about version of symbol snd_soc_jack_free_gpios
[ 12.347432] pruss: Unknown symbol rproc_shutdown (err 0)
[ 12.353338] edt_ft5x06: disagrees about version of symbol i2c_transfer
[ 12.360137] snd_soc_simple_card: Unknown symbol snd_soc_jack_free_gpios (err -22)
[ 12.377702] pm33xx: Unknown symbol wkup_m3_finish_low_power (err 0)
[ 12.384450] pruss: Unknown symbol rproc_put (err 0)
[ 12.389439] edt_ft5x06: Unknown symbol i2c_transfer (err -22)
[ 12.414818] pm33xx: Unknown symbol wkup_m3_request_wake_src (err 0)
[ 12.421308] snd_soc_simple_card: disagrees about version of symbol snd_soc_dai_set_tdm_slot
[ 12.602346] snd_soc_simple_card: Unknown symbol snd_soc_dai_set_tdm_slot (err -22)
[ 12.644061] edt_ft5x06: disagrees about version of symbol i2c_del_driver
[ 12.750159] pm33xx: Unknown symbol wkup_m3_set_rtc_only_mode (err 0)
[ 12.756756] edt_ft5x06: Unknown symbol i2c_del_driver (err -22)
[ 12.797099] snd_soc_simple_card: disagrees about version of symbol snd_soc_jack_add_gpios
[ 12.981514] pm33xx: Unknown symbol wkup_m3_prepare_low_power (err 0)
[ 12.988735] snd_soc_simple_card: Unknown symbol snd_soc_jack_add_gpios (err -22)
[ 13.277891] snd_soc_simple_card: disagrees about version of symbol snd_soc_card_jack_new
[ 13.451422] snd_soc_simple_card: Unknown symbol snd_soc_card_jack_new (err -22)
[ 13.459275] pm33xx: Unknown symbol wkup_m3_set_resume_address (err 0)
[ 13.674812] pm33xx: Unknown symbol wkup_m3_set_mem_type (err 0)
[ 13.680855] pm33xx: Unknown symbol wkup_m3_request_pm_status (err 0)
[ 13.696005] snd_soc_simple_card: disagrees about version of symbol snd_soc_of_parse_audio_routing
[ 14.010212] snd_soc_simple_card: Unknown symbol snd_soc_of_parse_audio_routing (err -22)
[ 14.132920] pm33xx: Unknown symbol wkup_m3_finish_low_power (err 0)
[ 14.289822] snd_soc_simple_card: disagrees about version of symbol snd_soc_dai_set_sysclk
[ 14.502109] pm33xx: Unknown symbol wkup_m3_request_wake_src (err 0)
[ 14.508525] snd_soc_simple_card: Unknown symbol snd_soc_dai_set_sysclk (err -22)
[ 14.563850] pm33xx: Unknown symbol wkup_m3_set_rtc_only_mode (err 0)
[ 14.570297] pm33xx: Unknown symbol wkup_m3_prepare_low_power (err 0)
[ 14.654893] snd_soc_simple_card: disagrees about version of symbol snd_soc_of_parse_audio_simple_widgets
[ 14.798026] snd_soc_simple_card: Unknown symbol snd_soc_of_parse_audio_simple_widgets (err -22)
[ 14.917264] snd_soc_simple_card: disagrees about version of symbol snd_soc_of_parse_card_name
[ 15.030553] snd_soc_simple_card: Unknown symbol snd_soc_of_parse_card_name (err -22)
[ 15.158859] snd_soc_simple_card: disagrees about version of symbol devm_snd_soc_register_card
[ 15.269005] snd_soc_simple_card: Unknown symbol devm_snd_soc_register_card (err -22)
[ 16.175976] EXT4-fs (mmcblk0p7): recovery complete
[ 16.180840] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[ 16.292106] EXT4-fs (mmcblk0p6): recovery complete
[ 16.296960] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[ 16.557755] EXT4-fs (mmcblk0p4): recovery complete
[ 16.582804] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[ 16.591734] EXT4-fs (mmcblk0p5): recovery complete
[ 16.609989] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
[ 17.225450] udc_core: exports duplicate symbol usb_add_gadget_udc (owned by kernel)
bootlogd: cannot allocate pseudo tty: No such file or directory
[ 17.459894] random: dd urandom read with 65 bits of entropy available
Populating dev cache
ALSA: Restoring mixer settings...
No state is present for card AM335xEVM
Found hardware: "AM335x-EVM" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card AM335xEVM
INIT: Entering runlevel: 5 
Configuring network interfaces... [ 20.408355] net eth0: initializing cpsw version 1.12 (0)
[ 20.417367] net eth0: phy found : id is : 0x7c0f1
[ 20.422361] cpsw 4a100000.ethernet: Phy mode driver DT not found
[ 20.436760] 8021q: adding VLAN 0 to HW filter on device eth0
udhcpc (v1.23.1) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
Starting system message bus: dbus.
Starting telnet daemon.
Starting rpcbind daemon...[ 30.352193] NET: Registered protocol family 10
[ 30.360888] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 30.382545] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
done.
starting statd: done
Starting syslogd/klogd: done
Starting thttpd.
Enabling thermal zones...
/etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode: No such file or directory
[ 31.329021] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underfow
[ 31.339279] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
[ 31.340247] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
[ 31.343072] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underfow
[ 31.373000] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000104): Sync lost
[ 31.412407] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underfow
[ 31.425016] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
[ 31.425978] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost

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



AMIC120: Incremental Encoder Protocol

$
0
0

Part Number:AMIC120

Hello,

I would like to acquire position data from an incremental encoder with the following protocol, but it seems that eQEP can not cope with it.
Are there any good solutions?

Regards,

U-SK

Linux/AM4372: I2C timings

$
0
0

Part Number:AM4372

Tool/software: Linux

Hi Sir 

from below link 


e2e.ti.com/.../2635885

TI replied as follows

     We've decided to address this in the datasheet, rather than the errata.

     The next datasheet release is planned for mid-November and is scheduled to include this I2C update.

We have not gotten the update. please advise

BR

Yimin

RTOS/TDA2: Does dmaSwMs link supports resizing and then display frame?

$
0
0

Part Number:TDA2

Tool/software: TI-RTOS

Hello,

I want display two different frames at a time using dmaswms link.

I observed that, dmaswms link crops the frame as per given parameter and then displays cropped frame.

But I want to display a resized frame.

So, does dmaSwMs link supports resizing and then display frame?

Currently parameters are set as,

    Alg_swmsPrmObj->maxOutBufWidth  = 1920;
    Alg_swmsPrmObj->maxOutBufHeight = 1080;
    Alg_swmsPrmObj->numOutBuf        = 5;
    Alg_swmsPrmObj->useLocalEdma    = FALSE;
   
    Alg_swmsPrmObj->initLayoutParams.numWin            = 1;
    Alg_swmsPrmObj->initLayoutParams.outBufHeight    = 1920;
    Alg_swmsPrmObj->initLayoutParams.outBufWidth    = 1080;
    Alg_swmsPrmObj->initLayoutParams.winInfo[0].chId     = 0;
    Alg_swmsPrmObj->initLayoutParams.winInfo[0].height    = 500;
    Alg_swmsPrmObj->initLayoutParams.winInfo[0].width    = 500;
    Alg_swmsPrmObj->initLayoutParams.winInfo[0].inStartX    = 0;
    Alg_swmsPrmObj->initLayoutParams.winInfo[0].inStartY    = 0;
    Alg_swmsPrmObj->initLayoutParams.winInfo[0].outStartX    =100;
    Alg_swmsPrmObj->initLayoutParams.winInfo[0].outStartY    =100;

Regards,

Kajal

Linux/DRA74: Waylandsink: Video screen going blank when pressed next/previous multiple times

$
0
0

Part Number:DRA74

Tool/software: Linux

Hello Team,

We use custom h/w and software based on DRA746 and PSDK 3.03

Currently we are facing one issue specific to video playback for following use case:

  1. Start the video playback through HMI.
  2. Press next/previous continuously 8-10 time.

We observed that video screen goes blank, but video pipe line is in play state and we are able to hear the video sound. If we press next/previous again we are able to hear the audio of next video, but video is not coming on the screen.

We checked the video surface it exists, but not attached to layer and surface properties are not set.

And we are not getting the surface creation and surface destruction events when we are pressing next/previous when issue occurs.

Do you have any inputs for this issue?

In community I found one issue in waylandsink related to race condition on multi-threaded client https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/74/diffs?commit_id=f7f21f2b847ce1ba0c6d476577b7ed252e113db7. Provide your inputs for this as well.

 

Regards,

Ikshwaku

RTOS/TDA2P-ACD: CAN FD : Not able to transmit CAN FD frames

$
0
0

Part Number:TDA2P-ACD

Tool/software: TI-RTOS

Hi,

We have developed a MCAN module on Vision SDK 03.03.00.00. We are able to transmit and receive the CAN FD frames by connecting two TDA2P-EVMs.

We have a customized TDA2P board, on this the MCAN module is able to transmit classic CAN frames by setting the FDF bit to 0, DLC to 8 and copying data buffer of 8 bytes in the MCAN TX message structure to PCAN device. (using PCAN-View tool on PC)  We are also able to receive frames sent from the PCAN device ( classic CAN frames with standard id ).

When we try to transmit CAN FD frame by setting the FDF as 1, DLC as 64 and copying data buffer of 64 bytes, no messages are received on the PCAN device. If we try to transmit CAN FD frame from the PCAN device, we do not receive any frame.

Note:

1] Nominal bit rate is set to 1 Mbps and data phase rate to 5 mbps ( as suggested in the sample application of MCAN in the csl examples).

2] CAN FD frames with standard id can be sent and received on EVM with same MCAN module.(connecting 2 EVMs)

3] Standard ID frames are transmitted from PCAN device.

4] FD operation enable bit is set to enable FD operation while we init the MCAN. (even when we transmit and receive classic CAN frames)

Please let me know what is the issue ?

Thanks and Regards,

Amol

Linux/TMS320DM8168: Could help get DM8168 DVRRDK Software source code and development package

$
0
0

Part Number:TMS320DM8168

Tool/software: Linux

Hi,

   Could help me to get the  DM8168 DVRRDK Software source code and development package.

Thanks.

Lemon.

Linux/AM4378: Sitara with Wi-Fi module WILC1000 problem

$
0
0

Part Number:AM4378

Tool/software: Linux

 

Dear TI  Team,

 

We are currently using the AM4378 with a MYIR Rico(Please visit the site to view this file)Board and an ATWILC1000-MR110 wireless module ( https://www.microchip.com/wwwproducts/en/ATWILC1000  )mounted in a proto-board. In the past, we already used such Wi-FI module with other processors (IMX6/8 and Microchip… for example) without any problem and using the same kernel version (4.1.18).  Furthermore, also a Raspberry PI was used for a quick test and it did work smoothly….

However, with this processor, we are facing some issues.

 

Basically, we connected the WILC1000 in SDIO mode to MMC2 interface using the J11 connector on the RICO board (refer to http://www.myirtech.com/download/AM437x/RicoBoard_SCH_V10.pdf ). please note that since the SDIO pull-ups are not available on the Rico board, we added them externally (we used the same 10Kohm value used for the other mmc interface present in the Rico board)

 

The HW connections are the following:

MMC2_CLK         à A12

MMC2_CMD      à B12

MMC2_DAT0     à C5

MMC2_DAT1     à C6

MMC2_DAT2     à A4

MMC2_DAT3     à A3

 

CHIP EN is tied to VCC and the RESET pin is driven by GPIO5_8

 

The device tree is configured to reflect this in the following way:

&mmc3 {

                status = "okay";

 

                dmas = <&edma 30 0>,<&edma 31 0>;

                dma-names = "tx", "rx";

                vmmc-supply = <&dcdc4>;

                bus-width = <4>;

                pinctrl-names = "default", "sleep";

                pinctrl-0 = <&my_configuration_wifi_pin>;

                pinctrl-1 = <& my_configuration _wifi_pin_sleep>;

                //cap-power-off-card;

                //keep-power-in-suspend;

                ti,non-removable;

                max-frequency = <2000000>;

                ti,needs-special-hs-handling;

                ti,dual-volt;

                cap-sdio-irq;

                //disable-wp;

                #address-cells = <1>;

                #size-cells = <0>;

                wilc_sdio@2 {

                                compatible = "atmel,wilc_sdio";

                                reg = <2>;

                                gpio_reset = <&gpio5 8 GPIO_ACTIVE_LOW>;

                                //gpio_chip_en = <&gpio0 12 GPIO_ACTIVE_HIGH>;

                                //gpio_irq = <&gpio0 13 GPIO_ACTIVE_HIGH>;

                };

};

The IRQ line is commented since it is not actually used by WILC1000: when compiling the wilc1000 driver, we chose to use the in-bound interrupt of the SDIO interface;

 

The pins are defined as the following:

 

my_configuration _wifi_pin: my_configuration_wifi_pin {

                                pinctrl-single,pins = <

                                                0x44 (PIN_INPUT_PULLUP | MUX_MODE3) /* (C5)  gmpc_a1.mmc2_dat0 */

                                                0x48 (PIN_INPUT_PULLUP | MUX_MODE3) /* (C6)  gpmc_a2.mmc2_dat1 */

                                                0x4c (PIN_INPUT_PULLUP | MUX_MODE3) /* (A4)  gpmc_a3.mmc2_dat2 */

                                                0x78 (PIN_INPUT_PULLUP | MUX_MODE3) /* (A3)  gpmc_be1n.mmc2_dat3 */

                                                0x88 (PIN_INPUT_PULLUP | MUX_MODE3) /* (B12) gpmc_csn3.mmc2_cmd */ /* qspi_clk conflict */

                                                0x8c (PIN_INPUT_PULLUP | MUX_MODE3) /* (A12) gpmc_clk.mmc2_clk */

                                >;

                };

 

my_configuration _wifi_pin_sleep: my_configuration_wifi_pin_sleep {

                                pinctrl-single,pins = <

                                                0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (C5)  gmpc_a1.mmc2_dat0 */ /* gpio1_17 */

                                                0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (C6)  gpmc_a2.mmc2_dat1 */ /* gpio1_18 */

                                                0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (A4)  gpmc_a3.mmc2_dat2 */ /* gpio1_19 */

                                                0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (A3)  gpmc_be1n.mmc2_dat3 */ /* gpio1_28 */

                                                0x88 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (B12) gpmc_csn3.mmc2_cmd */ /* qspi_clk conflict */ /* gpio2_0 */

                                                0x8c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (A12) gpmc_clk.mmc2_clk */ /* gpio2_1 */

                                >;

                };

However, when we insert the module we get a lot of errors:

 

insmod wilc-sdio.ko

[   45.979077] wilc_sdio mmc2:0001:1: WILC setting default Chip Enable GPIO to 94. Got -2

[   46.048897] wilc_sdio mmc2:0001:1: WILC setting default IRQ GPIO to 91. Got -2

# [   46.278752] CPU: 0 PID: 154 Comm: NetworkManager Not tainted 4.1.18-gaf393eb-dirty #4

[   46.287084] Hardware name: Generic AM43 (Flattened Device Tree)

[   46.294378] Backtrace:

[   46.297105] [<c0012c50>] (dump_backtrace) from [<c0012e70>] (show_stack+0x18/0x1c)

[   46.305947]  r7:dd6c8000 r6:00001003 r5:bf0197a8 r4:dd6ca000

[   46.312093] [<c0012e58>] (show_stack) from [<c068fda8>] (dump_stack+0x20/0x28)

[   46.320527] [<c068fd88>] (dump_stack) from [<bf0073fc>] (wilc_mac_open+0x28/0xc50 [wilc_sdio])

[   46.330175] [<bf0073d4>] (wilc_mac_open [wilc_sdio]) from [<c05908b0>] (__dev_open+0xc0/0x128)

[   46.339776]  r10:dc69ecc0 r9:dd4d0010 r8:00000000 r7:00001002 r6:00001003 r5:bf0197a8

[   46.348216]  r4:dd6ca000

[   46.351310] [<c05907f0>] (__dev_open) from [<c0590b64>] (__dev_change_flags+0x90/0x154)

[   46.360549]  r5:00000001 r4:dd6ca000

[   46.364461] [<c0590ad4>] (__dev_change_flags) from [<c0590c48>] (dev_change_flags+0x20/0x50)

[   46.374126]  r9:dd4d0010 r8:00000000 r7:bf0197a8 r6:00001002 r5:dd6ca140 r4:dd6ca000

[   46.383277] [<c0590c28>] (dev_change_flags) from [<c05a014c>] (do_setlink+0x270/0x798)

[   46.391823]  r9:dd4d0010 r8:00000000 r7:bf0197a8 r6:00000000 r5:dd603c44 r4:dd6ca000

[   46.400859] [<c059fedc>] (do_setlink) from [<c05a0be8>] (rtnl_newlink+0x45c/0x744)

[   46.409603]  r10:00000000 r9:00000000 r8:00000000 r7:dd4d0000 r6:dd6ca000 r5:dd603bb0

[   46.418091]  r4:00000000

[   46.421193] [<c05a078c>] (rtnl_newlink) from [<c059f6cc>] (rtnetlink_rcv_msg+0xd4/0x200)

[   46.430401]  r10:dc69ecc0 r9:00000000 r8:00000000 r7:00000000 r6:dc69ecc0 r5:dd4d0000

[   46.438873]  r4:00000000

[   46.441977] [<c059f5f8>] (rtnetlink_rcv_msg) from [<c05b6a94>] (netlink_rcv_skb+0xc4/0xe0)

[   46.451338]  r9:00000000 r8:00000000 r7:dc69ecc0 r6:c059f5f8 r5:00000000 r4:dd4d0000

[   46.459734] [<c05b69d0>] (netlink_rcv_skb) from [<c059f5e8>] (rtnetlink_rcv+0x24/0x34)

[   46.468875]  r7:dc69ecc0 r6:00000020 r5:dd62cc00 r4:dc69ecc0

[   46.475019] [<c059f5c4>] (rtnetlink_rcv) from [<c05b63d8>] (netlink_unicast+0x158/0x234)

[   46.484336]  r5:dd62cc00 r4:ddcf0800

[   46.488239] [<c05b6280>] (netlink_unicast) from [<c05b6868>] (netlink_sendmsg+0x2e0/0x34c)

[   46.497695]  r8:00000000 r7:00000020 r6:dd62cc00 r5:00000000 r4:dd603f4c

[   46.504947] [<c05b6588>] (netlink_sendmsg) from [<c0575818>] (sock_sendmsg+0x1c/0x2c)

[   46.513911]  r10:00000000 r9:dd603e30 r8:00000000 r7:dda62780 r6:00000000 r5:00000040

[   46.522354]  r4:dd603f4c

[   46.525407] [<c05757fc>] (sock_sendmsg) from [<c0575d1c>] (___sys_sendmsg+0x1d4/0x1dc)

[   46.534538] [<c0575b48>] (___sys_sendmsg) from [<c0576a54>] (__sys_sendmsg+0x44/0x70)

[   46.543265]  r9:dd602000 r8:c000fac4 r7:00000128 r6:dda62780 r5:00000000 r4:bedaa79c

[   46.551662] [<c0576a10>] (__sys_sendmsg) from [<c0576a90>] (SyS_sendmsg+0x10/0x14)

[   46.560281]  r6:b69a894c r5:002459e8 r4:002a7670

[   46.565311] [<c0576a80>] (SyS_sendmsg) from [<c000f920>] (ret_fast_syscall+0x0/0x3c)

[   46.580194] wilc_sdio mmc2:0001:1: wilc_sdio_cmd53..failed, err(-84)

[   46.590975] wilc_sdio mmc2:0001:1: Failed cmd53, read reg (003b0000)...

[   46.600121] [wilc start]: fail read reg 0x3b0000

[   46.605336] wilc_sdio mmc2:0001:1: wilc_sdio_cmd53..failed, err(-84)

[   46.613930] wilc_sdio mmc2:0001:1: Failed cmd53, read reg (00001000)...

[   46.621043] wilc_sdio mmc2:0001:1: Unsupported chipid: 0

[   46.629198] wilc_sdio mmc2:0001:1 p2p0: ERR [wilc_wlan_initialize: 1157] Initializing WILC_Wlan FAILED

[   46.639155] wilc_sdio mmc2:0001:1 p2p0: ERR [wilc_wlan_initialize: 1244] WLAN initialization FAILED

[   46.652387] wilc_sdio mmc2:0001:1 p2p0: ERR [wilc_mac_open: 1296] Failed to initialize wilc

[   46.661360] wilc_sdio mmc2:0001:1 p2p0: ERR [wilc_send_config_pkt: 1929] Set Timed out

[   46.672452] wilc_sdio mmc2:0001:1 p2p0: ERR [handle_set_wfi_drv_handler: 445] Failed to set driver handler

[   46.682817] wilc_sdio mmc2:0001:1 p2p0: Host cmd 24 failed

[   46.691168] wilc_sdio mmc2:0001:1 p2p0: ERR [host_if_work: 3000] [Host Interface] undefined

[   46.702015] wilc_sdio mmc2:0001:1 p2p0: ERR [wilc_set_mac_address: 3422] Failed to send get mac address

[   46.730797] CPU: 0 PID: 154 Comm: NetworkManager Not tainted 4.1.18-gaf393eb-dirty #4

[   46.739163] Hardware name: Generic AM43 (Flattened Device Tree)

[   46.746316] Backtrace:

[   46.749042] [<c0012c50>] (dump_backtrace) from [<c0012e70>] (show_stack+0x18/0x1c)

[   46.757943]  r7:dd6c8000 r6:00001003 r5:bf0197a8 r4:dd6c8800

[   46.764107] [<c0012e58>] (show_stack) from [<c068fda8>] (dump_stack+0x20/0x28)

[   46.772532] [<c068fd88>] (dump_stack) from [<bf0073fc>] (wilc_mac_open+0x28/0xc50 [wilc_sdio])

[   46.782170] [<bf0073d4>] (wilc_mac_open [wilc_sdio]) from [<c05908b0>] (__dev_open+0xc0/0x128)

[   46.791763]  r10:dc419000 r9:dd4d0710 r8:00000000 r7:00001002 r6:00001003 r5:bf0197a8

[   46.800215]  r4:dd6c8800

[   46.803278] [<c05907f0>] (__dev_open) from [<c0590b64>] (__dev_change_flags+0x90/0x154)

[   46.812367]  r5:00000001 r4:dd6c8800

[   46.816269] [<c0590ad4>] (__dev_change_flags) from [<c0590c48>] (dev_change_flags+0x20/0x50)

[   46.825909]  r9:dd4d0710 r8:00000000 r7:bf0197a8 r6:00001002 r5:dd6c8940 r4:dd6c8800

[   46.834282] [<c0590c28>] (dev_change_flags) from [<c05a014c>] (do_setlink+0x270/0x798)

[   46.843272]  r9:dd4d0710 r8:00000000 r7:bf0197a8 r6:00000000 r5:dd603c44 r4:dd6c8800

[   46.851668] [<c059fedc>] (do_setlink) from [<c05a0be8>] (rtnl_newlink+0x45c/0x744)

[   46.860264]  r10:00000000 r9:00000000 r8:00000000 r7:dd4d0700 r6:dd6c8800 r5:dd603bb0

[   46.868741]  r4:00000000

[   46.871882] [<c05a078c>] (rtnl_newlink) from [<c059f6cc>] (rtnetlink_rcv_msg+0xd4/0x200)

[   46.881119]  r10:dc419000 r9:00000000 r8:00000000 r7:00000000 r6:dc419000 r5:dd4d0700

[   46.889569]  r4:00000000

[   46.892629] [<c059f5f8>] (rtnetlink_rcv_msg) from [<c05b6a94>] (netlink_rcv_skb+0xc4/0xe0)

[   46.902056]  r9:00000000 r8:00000000 r7:dc419000 r6:c059f5f8 r5:00000000 r4:dd4d0700

[   46.910417] [<c05b69d0>] (netlink_rcv_skb) from [<c059f5e8>] (rtnetlink_rcv+0x24/0x34)

[   46.919457]  r7:dc419000 r6:00000020 r5:dd62cc00 r4:dc419000

[   46.925618] [<c059f5c4>] (rtnetlink_rcv) from [<c05b63d8>] (netlink_unicast+0x158/0x234)

[   46.934951]  r5:dd62cc00 r4:ddcf0800

[   46.938835] [<c05b6280>] (netlink_unicast) from [<c05b6868>] (netlink_sendmsg+0x2e0/0x34c)

[   46.948222]  r8:00000000 r7:00000020 r6:dd62cc00 r5:00000000 r4:dd603f4c

[   46.955485] [<c05b6588>] (netlink_sendmsg) from [<c0575818>] (sock_sendmsg+0x1c/0x2c)

[   46.964427]  r10:00000000 r9:dd603e30 r8:00000000 r7:dda62780 r6:00000000 r5:00000040

[   46.972910]  r4:dd603f4c

[   46.975998] [<c05757fc>] (sock_sendmsg) from [<c0575d1c>] (___sys_sendmsg+0x1d4/0x1dc)

[   46.985043] [<c0575b48>] (___sys_sendmsg) from [<c0576a54>] (__sys_sendmsg+0x44/0x70)

[   46.993386]  r9:dd602000 r8:c000fac4 r7:00000128 r6:dda62780 r5:00000000 r4:bedaa36c

[   47.002139] [<c0576a10>] (__sys_sendmsg) from [<c0576a90>] (SyS_sendmsg+0x10/0x14)

[   47.010859]  r6:b69a894c r5:002459e8 r4:002a6238

[   47.015871] [<c0576a80>] (SyS_sendmsg) from [<c000f920>] (ret_fast_syscall+0x0/0x3c)

[   47.024848] power up request for already powered up source Wifi

[   47.038977] wilc_sdio mmc2:0001:1: wilc_sdio_cmd53..failed, err(-84)

[   47.048600] wilc_sdio mmc2:0001:1: Failed cmd53, read reg (003b0000)...

[   47.055701] [wilc start]: fail read reg 0x3b0000

[   47.062482] wilc_sdio mmc2:0001:1: wilc_sdio_cmd53..failed, err(-84)

[   47.069337] wilc_sdio mmc2:0001:1: Failed cmd53, read reg (00001000)...

[   47.078933] wilc_sdio mmc2:0001:1: Unsupported chipid: 0

[   47.085930] wilc_sdio mmc2:0001:1 wlan0: ERR [wilc_wlan_initialize: 1157] Initializing WILC_Wlan FAILED

[   47.095963] wilc_sdio mmc2:0001:1 wlan0: ERR [wilc_wlan_initialize: 1244] WLAN initialization FAILED

[   47.109201] wilc_sdio mmc2:0001:1 wlan0: ERR [wilc_mac_open: 1296] Failed to initialize wilc

[   47.118260] wilc_sdio mmc2:0001:1 wlan0: ERR [wilc_send_config_pkt: 1929] Set Timed out

[   47.129380] wilc_sdio mmc2:0001:1 wlan0: ERR [handle_set_wfi_drv_handler: 445] Failed to set driver handler

[   47.139831] wilc_sdio mmc2:0001:1 wlan0: Host cmd 24 failed

[   47.148210] wilc_sdio mmc2:0001:1 wlan0: ERR [host_if_work: 3000] [Host Interface] undefined

[   47.158630] wilc_sdio mmc2:0001:1 wlan0: ERR [wilc_set_mac_address: 3422] Failed to send get mac address

 

Attached you can also find the full dmesg content.

 

We cross-checked the hardware and it’s fine: we connected the our  WILC1000 prototype board to the Microchip ATSAMA5D44 EVK and it worked fine. Btw, the SAMA544 is running the same Kernel version of the Rico board. Given all the above, the only real difference is the SDIO driver and the device tree configuration: these are the only two things which are hw dependent.

Btw, we even lowered the SDIO speed for the TI (2Mhz), but using the SAMA544 with the same WILC1000 proto-board we could really work at almost at full speed even though the hardware was wired… so it’s not a problem of wires’ length.

 

Given that, we’d like to have your advices:

  • Do you see any mistakes in the pin assignment of the SDIO interface?
  • Atmel drivers requires to have in-bound interrupt: is the device tree well configured for this? Does it require to enable any option in the SDIO driver? Or is the cap-sdio-irq option in device tree enough?
  • Since the hw set-up does not require a card detect, they suggest to add “non-removable”: I guess that the same can be done via ti,non-removable, right?
  • Is the DMA properly configured? &mmc3 is the only mmc interface whose DMA’s configuration is not done on the am4372.dtsi file.

 

Thank you

Best Regards

Marco


TMDSEMU560V2STM-U: Debugger for TDA2Eco - TMDSEMU560V2STM-U?

$
0
0

Part Number:TMDSEMU560V2STM-U

Hi there,

For the purpose of connecting to a TDA2Eco, we have been using the Spectrum Digital XDS560v2 System Trace JTAG Emulator with Target Adapters.

This debugger is currently not available in any reseller in Europe and we would like to know which TI part is compatible.
It seems that the TMDSEMU560V2STM-U is compatible but I would like to be sure about it.
Can you please confirm the full compatibility between the Spectrum Digital XDS560v2 System Trace JTAG Emulator with Target Adapters and  TMDSEMU560V2STM-U for TDA2Eco usage?
Thanks for your time.

Compiler/PROCESSOR-SDK-AM65X: equivalent of objcopy in ti cgt for arm r5f

$
0
0

Part Number:PROCESSOR-SDK-AM65X

Tool/software: TI C/C++ Compiler

Hi,
I wanted to know what's the equivalent of objcopy in ti cgt  for arm. i am using 16.9.4 but i couldn't find something equivalent to objcopy.

Regards,
Somnath

Linux/PHYTC-3P-PHYCORE-AM335X: What kernel option is needed to get /sys/devices/system/cpu/cpu0/cpufreq directory created

$
0
0

Part Number:PHYTC-3P-PHYCORE-AM335X

Tool/software: Linux

Hi,

I am not sure what else is missing in my kernel configuration to enable cpufreq, following is my kernel configuration is exactly same as given in one of the previous threads.

CONFIG_ARCH_HAS_CPUFREQ=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_GOV_COMMON=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
CONFIG_GENERIC_CPUFREQ_CPU0=y
# CONFIG_ARM_KIRKWOOD_CPUFREQ is not set
CONFIG_ARM_OMAP2PLUS_CPUFREQ=y

but still sys/devices/system/cpu/cpu0/cpufreq/scaling_governor is not getting created.

Please help me to find what I am missing.

Thanks,

Prabhak

Linux/AM3352: AM3352 - USB0 can't recognized by HOST PC .

$
0
0

Part Number:AM3352

Tool/software: Linux

Hi ,

             We've design TI_AM3352's USB Port0 as client mode for our project , but it can't recognized by HOST PC(Windows)  .

             I've check the USB_ID , it's connect to MicroUSB directly . 

            And I've measure the voltage of USB0_VBUS is 5V when we plug USB Cable into Host PC side.

            =======================

            I've attach the log file :  "putty_20181222_1.log" , Do you have any suggestion ?

            I guess Host PC should be pop something in Windows Device Manager , right ?

                         Thanks.

TMS320C6746: Lwip problem on tms320c6746

$
0
0

Part Number:TMS320C6746

hi,

I have used enet_echo project from c6748 starterware and changed it according to my board.all those changes were related to emac,mdio and phy initialization.When i Debug the code it is getting stuck at following for loop

netif_set_ipaddr(struct netif *netif, struct ip_addr *ipaddr)
{
/* TODO: Handling of obsolete pcbs */
/* See: mail.gnu.org/.../msg00118.html */
#if LWIP_TCP
struct tcp_pcb *pcb;
struct tcp_pcb_listen *lpcb;

/* address is actually being changed? */
if ((ip_addr_cmp(ipaddr, &(netif->ip_addr))) == 0)
{
/* extern struct tcp_pcb *tcp_active_pcbs; defined by tcp.h */
LWIP_DEBUGF(NETIF_DEBUG | LWIP_DBG_STATE, ("netif_set_ipaddr: netif address being changed\n"));
pcb = tcp_active_pcbs;
while (pcb != NULL) {
/* PCB bound to current local interface address? */
if (ip_addr_cmp(&(pcb->local_ip), &(netif->ip_addr))) {
/* this connection must be aborted */
struct tcp_pcb *next = pcb->next;
LWIP_DEBUGF(NETIF_DEBUG | LWIP_DBG_STATE, ("netif_set_ipaddr: aborting TCP pcb %p\n", (void *)pcb));
tcp_abort(pcb);
pcb = next;
} else {
pcb = pcb->next;
}
}
for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) {
/* PCB bound to current local interface address? */
if ((!(ip_addr_isany(&(lpcb->local_ip)))) &&
(ip_addr_cmp(&(lpcb->local_ip), &(netif->ip_addr)))) {
/* The PCB is listening to the old ipaddr and
* is set to listen to the new one instead */
ip_addr_set(&(lpcb->local_ip), ipaddr);
}

}
}

 below is the watched window of debugger

AM3352: Calibration of DDR3 PHY FIFO WE slave ratio (aka gate leveling)

$
0
0

Part Number:AM3352

I have spent some time trying to understand the details of the calibration done with the DDR3_slave_ratio_search_auto.out binary. There are just two things that I don't fully understand:

1) On our board the DATA_PHY_FIFO_WE_SLAVE_RATIO search finds a minimum value of 0 and a maximum value of about 0x154, resulting in a final value of 0xAA. Why is a minimum of 0 considered valid if the maximum is found to be more than one full clock cycle away? As far as I know any minimum less than the maximum minus tRPRE is wrong. In my case it still works because the average of minimum and maximum is less than tRPRE away from the maximum. But it is suboptimal since it is not centered within tRPRE.

2) The Ratio Seed spreadsheet calculates a seed value for DATA_PHY_FIFO_WE_SLAVE_RATIO that is twice as sensitive to the DQS length than to the CK length. Why? The FIFO WE slave ratio has to compensate for the time it takes the read command to travel from the CPU to the RAM chip and for the time it takes the result to travel back to the CPU. There is no second transfer on the DQ(S) lines starting after the result has arrived that has to be taken into account in the formula. The equivalent spreadsheet for Keystone I processors (SPRABL2) uses a different formula where DQS length and CK length have equal weight. Is the formula in the AM335x spreadsheet wrong?

Linux/AM4378: Can not go back to yocto version lower than processor-sdk-04.00.00.04-config.txt

$
0
0

Part Number:AM4378

Tool/software: Linux

Hi Ti engneers,

I'm trying to build the early version of PSDK/yocto project, the following is the steps i did.

I want to know if it is possible to buid the lagacy PSDK version?

~/tisdk2$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-03.0

cd build

. conf/setenv

export PATH=$HOME/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:$PATH

MACHINE=am437x-evm bitbake tisdk-roofs-image

ERROR: Unable to parse OE_IMPORTED[:=]

Traceback (most recent call last):

  File "/home/david/tisdk2/sources/oe-core/meta/lib/oe/data.py", line 1, in <module>:

     

     def typed_value(key, d):

         """Construct a value for the specified metadata variable, using its flags

  File "/home/david/tisdk2/sources/oe-core/meta/lib/oe/maketype.py", line 102, in <module>:

             continue

     

    >    register(name, obj)

  File "/home/david/tisdk2/sources/oe-core/meta/lib/oe/maketype.py", line 89, in register(name='OEList', factory=<class 'oe.types.OEList'>):

         arguments."""

    >    factory_setup(name, factory)

         available_types[factory.name] = factory

  File "/home/david/tisdk2/sources/oe-core/meta/lib/oe/maketype.py", line 73, in factory_setup(name='OEList', obj=<class 'oe.types.OEList'>):

         """Prepare a factory for use."""

    >    args, optional = get_callable_args(obj)

         extra_args = args[1:]

  File "/home/david/tisdk2/sources/oe-core/meta/lib/oe/maketype.py", line 57, in get_callable_args(obj=<unbound method OEList.__init__>):

     

    >    sig = inspect.signature(obj)

         args = list(sig.parameters.keys())

ExpansionError: Failure expanding variable OE_IMPORTED[:=], expression was ${@oe_import(d)} which triggered exception AttributeError: 'module' object has no attribute 'signature'

ERROR: Error parsing configuration files

Traceback (most recent call last):

  File "/home/david/tisdk2/sources/bitbake/lib/bb/cookerdata.py", line 258, in CookerDataBuilder.parseBaseConfiguration():

             try:

    >            self.parseConfigurationFiles(self.prefiles, self.postfiles)

             except SyntaxError:

  File "/home/david/tisdk2/sources/bitbake/lib/bb/cookerdata.py", line 320, in CookerDataBuilder.parseConfigurationFiles(prefiles=[], postfiles=[]):

             for bbclass in bbclasses:

    >            data = _inherit(bbclass, data)

     

  File "/home/david/tisdk2/sources/bitbake/lib/bb/cookerdata.py", line 179, in wrapped(fn='sourceipk', *args=(None,)):

             try:

    >            return func(fn, *args)

             except IOError as exc:

  File "/home/david/tisdk2/sources/bitbake/lib/bb/cookerdata.py", line 207, in _inherit(bbclass='sourceipk', data=None):

     def _inherit(bbclass, data):

    >    bb.parse.BBHandler.inherit(bbclass, "configuration INHERITs", 0, data)

         return data

  File "/home/david/tisdk2/sources/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 62, in inherit(files='sourceipk', fn='configuration INHERITs', lineno=0, d=None):

     def inherit(files, fn, lineno, d):

    >    __inherit_cache = d.getVar('__inherit_cache', False) or []

         files = d.expand(files).split()

AttributeError: 'NoneType' object has no attribute 'getVar'

david@david-desktop:~/tisdk2/build$ 

david@david-desktop:~/tisdk2$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-03.0processor-sdk-03.00.00.04-config.txt  processor-sdk-03.02.00.05-config.txt  processor-sdk-03.01.00.06-config.txt  processor-sdk-03.03.00.04-config.txt  david@david-desktop:~/tisdk2$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-03.00.00.04-config.txt /home/david/tisdk2

cloning repo bitbake
Fetching originPrevious HEAD position was 449dc9b... bitbake: toaster: settings set ALLOWED_HOSTS to * in debug modeSwitched to branch '1.30'Your branch is up-to-date with 'origin/1.30'.Already up-to-date.Note: checking out '26379ff2b686313c82af87a3a35b47adbc0183be'.
You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example:
  git checkout -b <new-branch-name>
HEAD is now at 26379ff... fetch2: export DBUS_SESSION_BUS_ADDRESS to support authentication agents

cloning repo meta-processor-sdk
Fetching originPrevious HEAD position was 70283e8... voxelsdk: update to version 0.6.8 with patches for sitara devicesSwitched to branch 'master'Your branch is up-to-date with 'origin/master'.Already up-to-date.Note: checking out '1686d851985872f34ca3a2c30d4a0726a20a5c99'.
You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example:
  git checkout -b <new-branch-name>
HEAD is now at 1686d85... linux-processor-sdk*: bump SRCREV to update am437x-sk-evm dts

cloning repo meta-arago
Fetching originwarning: refname 'ti2016.01' is ambiguous.Previous HEAD position was c0e32cc... omapdrmtest: Update tests to handle disabled HDMISwitched to branch 'ti2016.01'Your branch is up-to-date with 'origin/ti2016.01'.Already up-to-date.Note: checking out '36598b78a6d9fbe442f93111f64d3413c04418a8'.
You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example:
  git checkout -b <new-branch-name>
HEAD is now at 36598b7... README: update branch name

cloning repo meta-qt5
Fetching originPrevious HEAD position was 2b1871f... Update Qt5's git repositories to match new locationsSwitched to branch 'krogoth'Your branch is up-to-date with 'origin/krogoth'.Already up-to-date.Note: checking out 'd715f2c1d340fa38f8a9860acc73de5e14a38b75'.
You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example:
  git checkout -b <new-branch-name>
HEAD is now at d715f2c... replace base_contains by bb.utils.contains

cloning repo meta-openembedded
Fetching originSwitched to branch 'krogoth'Your branch is up-to-date with 'origin/krogoth'.Already up-to-date.Note: checking out '247b1267bbe95719cd4877d2d3cfbaf2a2f4865a'.
You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example:
  git checkout -b <new-branch-name>
HEAD is now at 247b126... Revert "leptonica: add PACAKGECONFIG for openjpeg"

cloning repo meta-ti
Fetching originPrevious HEAD position was ed06c3b... ti-sgx-ddk-um: add support for dmabuf import in GBM WSEGLSwitched to branch 'krogoth'Your branch is up-to-date with 'origin/krogoth'.Already up-to-date.Note: checking out '1ae0cadb1200d0007a779958e852a48379d42c26'.
You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example:
  git checkout -b <new-branch-name>
HEAD is now at 1ae0cad... u-boot-ti-staging: update to ti2016.01-rc4 tag

cloning repo meta-linaro
Fetching originSwitched to branch 'krogoth'Your branch is up-to-date with 'origin/krogoth'.Already up-to-date.Note: checking out '0f2a4dd08ab06768cc998fe3f7236e3942f4a2cc'.
You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example:
  git checkout -b <new-branch-name>
HEAD is now at 0f2a4dd... optee-client: add recipe for 2.0 release

cloning repo oe-core
Fetching originerror: Your local changes to the following files would be overwritten by checkout:        meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bbPlease, commit your changes or stash them before you can switch branches.Aborting
*** Please tell me who you are.
Run
  git config --global user.email "you@example.com"  git config --global user.name "Your Name"
to set your account's default identity.Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'david@david-desktop.(none)')error: Your local changes to the following files would be overwritten by checkout:        meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bbPlease, commit your changes or stash them before you can switch branches.Aborting

################################################################################The bblayers.conf configuration file has been created for you with somedefault values.  Please verify the contents of your conf/bblayers.conffile for correctness.
NOTE: Any additional entries to this file will be lost if the ./oe-layertool-setup.sh      script is run again.  To add entries permanently to this file      please add them to the config file used and rerun the      ./oe-layertool-setup.sh script.


################################################################################The local.conf configuration file has been created for you with somedefault values.  Please verify the contents of your conf/local.conffile for correctness.
By default the number of threads used by the build is set to the numberof CPUs found on your system.
NOTE: You will probably want to change the default MACHINE setting in the      local.conf file to the machine you are trying to build.


################################################################################A setenv file has been created for you in the conf directory.  Please verifyThe contents of this file.  Once you have verified the contents please sourcethis file to configure your environment for building:
    . conf/setenv
You can then start building using the bitbake command.  You will likely wantto set the MACHINE option if you have not done so in your local.conf file.
For example:    MACHINE=xxxxx bitbake <target>
Common targets are:    core-image-minimal    core-image-sato    meta-toolchain    meta-toolchain-sdk    adt-installer    meta-ide-supportdavid@david-desktop:~/tisdk2$ 


AM3358: AM335x GPMC burst behavior

$
0
0

Part Number:AM3358

Dear TI Experts,

I have an FPGA attached to the GPMC bus of an AM3358 device and I am currently working on the FPGA side. To achieve maximum performance, the FPGA logic supports bursts of 16x16bit words. ATTACHEDDEVICEPAGELENGTH parameter is set accordingly in the GPMC configuration. Bursts are generated using the eDMA engine.

Sometimes I just need to read a single 16-bit register from the FPGA, which should be possible issuing a single memory access from the Cortex-A8. However, it is not clear how the GPMC will perform the external access in this case. From AM335x TRM:

7.1.3.3.10.5 System Burst Versus External Device Burst Support 
“When the system burst request length is less than the ATTACHEDDEVICEPAGELENGTH value, the GPMC proceeds with the required accesses.”


What "required access" means in this case? Should I expect a full burst (then the GPMC returns the requested word to the CPU)? Or only a single access is performed?

Thank you very much.

Linux/AM4378: Unhandled fault: imprecise external abort (0x1406) at 0x00000000

$
0
0

Part Number:AM4378

Tool/software: Linux

My board is reference gp_evm, but there is no EEPROM, no SD card 

am437x-evm-linux-sdk-src-05.00.00.15
The kernel did not make any changes ,the dts
made some modifications
Kernel image @ 0x82000000 [ 0x000000 - 0x3ad200 ]

## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8fff0000, end 8ffff029 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.40-g4796173fc5 (root@Ge-machine) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 PREEMPT Sun Dec 23 15:23:11 CST 2018
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM437x GP EVM
[ 0.000000] earlycon: omap8250 at MMIO 0x44e09000 (options '')
[ 0.000000] bootconsole [omap8250] enabled
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 48 MiB at 0xfcc00000
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM437x ES1.2 (sgx neon)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 522559
[ 0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mtdblock1 rootfstype=jffs2 earlycon
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 2015596K/2097148K available (8192K kernel code, 328K rwdata, 2444K rodata, 1024K init, 276K bss, 32400K reserved, 49152K cma-reserved, 1261564K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
[ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
[ 0.000000] .data : 0xc0d00000 - 0xc0d52210 ( 329 kB)
[ 0.000000] .bss : 0xc0d52210 - 0xc0d9748c ( 277 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
[ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] OMAP L2C310: ROM does not support power control setting
[ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
[ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.008107] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.017630] OMAP clocksource: timer1 at 24000000 Hz
[ 0.023037] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.033281] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.038909] Console: colour dummy device 80x30
[ 0.043551] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
[ 0.109390] pid_max: default: 32768 minimum: 301
[ 0.114308] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.121155] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.129112] CPU: Testing write buffer coherency: ok
[ 0.134833] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.141697] Hierarchical SRCU implementation.
[ 0.146511] EFI services will not be available.
[ 0.152163] devtmpfs: initialized
[ 0.163758] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
[ 0.172995] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.181187] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.191386] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.200954] pinctrl core: initialized pinctrl subsystem
[ 0.207095] DMI not present or invalid.
[ 0.211437] NET: Registered protocol family 16
[ 0.217582] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.294611] Unhandled fault: imprecise external abort (0x1406) at 0x00000000
[ 0.301901] pgd = c0004000
[ 0.304690] [00000000] *pgd=00000000
[ 0.308386] Internal error: : 1406 [#1] PREEMPT ARM
[ 0.313420] Modules linked in:
[ 0.316575] CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.40-g4796173fc5 #1
[ 0.323673] Hardware name: Generic AM43 (Flattened Device Tree)
[ 0.329783] task: ee858000 task.stack: ee856000
[ 0.334468] PC is at _get_clkdm+0x4/0x50
[ 0.338517] LR is at _enable_sysc+0x60/0x248
[ 0.342921] pc : [<c011af00>] lr : [<c011b594>] psr: 40000053
[ 0.349389] sp : ee857e40 ip : ee857e40 fp : ee857e6c
[ 0.354780] r10: c0d52240 r9 : 000000d3 r8 : c0c3c820
[ 0.360171] r7 : c0d0cd7c r6 : c0d5278c r5 : 00000020 r4 : c0d0c828
[ 0.366909] r3 : c0d0d324 r2 : 00000000 r1 : c0d0d304 r0 : c0d0c828
[ 0.373649] Flags: nZcv IRQs on FIQs off Mode SVC_32 ISA ARM Segment none
[ 0.381106] Control: 10c53c7d Table: 80004059 DAC: 00000051
[ 0.387036] Process swapper (pid: 1, stack limit = 0xee856208)
[ 0.393056] Stack: (0xee857e40 to 0xee858000)
[ 0.397555] 7e40: c0d09528 00000000 ee857e6c 00000000 c0124dc8 c0d0c828 00000000 c0d5278c
[ 0.406002] 7e60: ee857e94 ee857e70 c011b8c4 c011b540 c0d0c828 c0d0b52c c0d0c828 c0d0c858
[ 0.414448] 7e80: c0d0c86c c0d52240 ee857ec4 ee857e98 c0c0b230 c011b788 ee857ec4 ee857ea8
[ 0.422894] 7ea0: c011a45c 00000011 c0d085b8 c0d0c828 c0d08610 c0c0b64c ee857edc ee857ec8
[ 0.431339] 7ec0: c0c0b740 c0c0b16c ffffe000 00000000 ee857f4c ee857ee0 c01019e4 c0c0b658
[ 0.439785] 7ee0: ee857f4c ee857ef0 c0147800 c0c00624 c0a970a8 c0a97088 c0a970d4 c0aa1284
[ 0.448231] 7f00: 00000000 c0a97060 00000002 00000002 c0a8e10c c0b61a44 efffec3c 00000000
[ 0.456676] 7f20: 00000000 c0b61a44 00000003 c0b61a44 c0c4ddac 00000003 c0d52240 c0c3c820
[ 0.465122] 7f40: ee857f94 ee857f50 c0c00eb4 c01019a4 00000002 00000002 00000000 c0c00618
[ 0.473567] 7f60: 55555555 c0c00618 55555555 00000000 c0841c78 00000000 00000000 00000000
[ 0.482013] 7f80: 00000000 00000000 ee857fac ee857f98 c0841c88 c0c00d78 00000000 c0841c78
[ 0.490458] 7fa0: 00000000 ee857fb0 c0107e68 c0841c84 00000000 00000000 00000000 00000000
[ 0.498903] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.507349] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 55555555 55555555
[ 0.515790] Backtrace:
[ 0.518317] [<c011b534>] (_enable_sysc) from [<c011b8c4>] (_enable+0x148/0x284)
[ 0.525865] r6:c0d5278c r5:00000000 r4:c0d0c828
[ 0.530639] [<c011b77c>] (_enable) from [<c0c0b230>] (_setup.part.12+0xd0/0x404)
[ 0.538276] r7:c0d52240 r6:c0d0c86c r5:c0d0c858 r4:c0d0c828
[ 0.544121] [<c0c0b160>] (_setup.part.12) from [<c0c0b740>] (__omap_hwmod_setup_all+0xf4/0x108)
[ 0.553103] r6:c0c0b64c r5:c0d08610 r4:c0d0c828
[ 0.557874] [<c0c0b64c>] (__omap_hwmod_setup_all) from [<c01019e4>] (do_one_initcall+0x4c/0x170)
[ 0.566945] r5:00000000 r4:ffffe000
[ 0.570642] [<c0101998>] (do_one_initcall) from [<c0c00eb4>] (kernel_init_freeable+0x148/0x1e4)
[ 0.579626] r8:c0c3c820 r7:c0d52240 r6:00000003 r5:c0c4ddac r4:c0b61a44
[ 0.586555] [<c0c00d6c>] (kernel_init_freeable) from [<c0841c88>] (kernel_init+0x10/0x110)
[ 0.595090] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0841c78
[ 0.603174] r4:00000000
[ 0.605792] [<c0841c78>] (kernel_init) from [<c0107e68>] (ret_from_fork+0x14/0x2c)
[ 0.613607] r5:c0841c78 r4:00000000
[ 0.617297] Code: e16f0f10 e1a002a0 e89da8f0 e1a0c00d (e92dd830)
[ 0.623601] ---[ end trace 1eeb79dd9f92aabb ]---
[ 0.628420] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 0.628420]
[ 0.637859] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 0.637859]

(Please visit the site to view this file)

Processor SDK 5.2 Released (AM65x, AM57x, AM437x, AM335x, AMIC1x, K2x, C66x, C674x, OMAP-L13x)

$
0
0

Processor SDK 5.2 is now available for download! For migration information, see the page for the individual operating system: Linux, RTOS, or Android.

The Processor SDK (Software Development Kit) is a unified software platform for TI embedded processors providing easy setup and fast out-of-the-box access to benchmarks and demos. All releases of Processor SDK are consistent across TI’s broad portfolio, allowing developers to seamlessly reuse and develop software across devices. Developing scalable platform solutions has never been easier than with the Processor SDK and TI’s embedded processor solutions.

To simplify the end user experience, the software installers are customized for the hardware platform and the operating system – Linux, RT-Linux, RTOS, or Android. In the table below, you can find a direct link to a download page for your platform and operating system:

Platform
Family

General Purpose (GP) Device

High Secure (HS) Device

Linux

RT-Linux

RTOS

Android

Linux HS

RT-Linux HS

RTOS HS

AM335x

download

download

download

 

mySecure download

 

 

AM437x

download

download

download

 

mySecure download

 

mySecure download

AM438x (EPOS)

 

 

 

 

mySecure download

 

 

AM57x

download

download

download

download

mySecure download

mySecure download

 

AM65x

download

download

download

 

 

 

 

AMIC110

 

 

download

 

 

 

 

AMIC120

 

 

download

 

 

 

 

K2E

download

download

download

 

mySecure download

 

 

K2G

download

download

download

 

mySecure download

 

mySecure download

K2H/K

download

download

download

 

mySecure download

 

 

K2L

download

download

download

 

mySecure download

 

 

C665x

n/a

n/a

download

 

n/a

n/a

 

C667x

n/a

n/a

download

 

n/a

n/a

 

C6747/45/43

n/a

n/a

download

 

n/a

n/a

 

C6748/46/42

n/a

n/a

download

 

n/a

n/a

 

OMAP-L137

 

 

download

 

 

 

 

OMAP-L138

download

 

download

 

 

 

 

 

 

Linux Release Highlights:

  • AM654x

    • DDR @ 1666 MT/s

    • IPC: Support IPC between A53 running Linux with R5F running in split mode

    • Driver and API to access AM654x internal temp sensors

    • Add ARMNN and ARM Compute Library

    • Early Access: DisplayPort driver for TC358867 DPI-DP bridge

    • IPSec sideband support

    • Kernel: OSPI Performance Improvement w/ DMA mode

    • MCAN Support

    • Rotary Encoder support

    • Support SPI Flash as mtd device

    • PCIe Gen3 RC and EP mode support

  • Support Docker containerization

  • Integrate OPCUA open source stack (Open65241)

  • Add Tiny Filesystem to support on board flashing of eMMC and QSPI from an initramfs

  • HSR/PRP/EMAC/PTP

    • EMAC: Multicast, VLAN and Storm prevention feature

    • EMAC: PTP Support for SAN mode

    • HSR: Add support of PTP 1-step to 2-step conversion on ingress

    • HSR: PTP OC Master or Slave (with redundancy)

    • PRP: PTP OC Master or Slave (with redundancy)

  • TI Deep Learning (TIDL)

    • Arm NN system level demo

    • Publish TIDL import tool source files

  • Add IWR6843 (60GHz) support to the TI design TIDEP-01006

  • Additional information in Linux Release Notes

 

RTOS Release Highlights:

  • AM65x

    • Updated ICSS-G Dual EMAC firmware and EMAC driver to support PTP slave and Dynamic configuration interface support between firmware and driver

    • Board Diagnostic test cases extension to R5F core and support for ICSS-G interposer card

    • SBL enhancements for reduced size (SYSFW binary being exposed as separate binary for reduced boot time)

    • Uniflash flash writer support for OSPI with writer being loaded from CCS/JTAG

    • OSPI driver update to support higher 133Mhz/166Mhz support

    • Features not (yet) supported: USB 3.0, MPU TI-RTOS SMP Support, CTOOLSLIB

  • PRU-ICSS eSPI Firmware

    • Support for eSPI protocol offload for AM335x and AM437x SOC

  • AM57x SOC

    • SBL eMMC boot support

    • USB device MSC example with eMMC exposed as storage. Example allows eMMC exposed as mass storage drive on USB host with option to format using host utilities

  • FATFS module multi-partition support extension across all supported SOC targets

  • Updated Performance Audio Framework, verified for Dolby ATMOS for AVRs V1.3 silicon certification tests

  • Additional information in RTOS Release Notes

 

Android Release Highlights

  • AM57x:

    • Add PRU-Ethernet Support

    • SGX Accelerated UI with DRM/KMS

  • Android Treble Support

  • Full CTS/VTS Execution

  • Additional information in Android Release Notes

 

The Processor SDK is free, and does not require any run-time royalties to Texas Instruments.

For more information on the software and getting started, see the online Developer’s Guide:

AM3358: AM3358 stops sending C character after 5 times

$
0
0

Part Number:AM3358

Dear all,

I would like to ask support about an issue I have using the AM3358BZCZ100 on my self designed board (produced by external company).

When I connect my laptop to the serial port of the CPU I can see that it's sending a C character for 5 times. After 5 times it stops.
When I connect the reset pin from the CPU (not the power chip) to the GND for a seconds, then after it's sending the C character again for only 5 times.
I do not have any SD card inserted which it could boot from.

I use the power IC TPS65217BRSLT. (Please visit the site to view this file)

Below I have the measured voltages using the signal names from the drawing which can be found here:  (Please visit the site to view this file)

VDDS_DDR = 1,84v
VDD_MPU = up and down from 1,12v to 1,08v
VDD_CORE = 1,08v
VDD_3V3A = 3,36v
VDDS = 1,8v
VDD_3V3AUX = 3,32v
PMIC_POWER_EN = 1,8v
PMIC_PGOOD = 1,8v
LDO_PGOOD = 1,8v
VDD_PLL = 1,8v
SYS_RESETN = 3,28v

Does anyone have an idea what could be the root cause?
Thank you in advance.

RTOS/PROCESSOR-SDK-AM437X: How to make sure the llTimerTick() to be called in the NDK

$
0
0

Part Number:PROCESSOR-SDK-AM437X

Tool/software: TI-RTOS

Hi,

in the example :NIMU_BasicExample_skAM437x_armExampleproject(pdk_am437x_1_0_10, CCS7), How do I make sure there is a Timer object in the SYS/BIOS configuration that is calling the driver function
llTimerTick() every 100 ms?

I can find a description: Global.ndkTickPeriod = 100 in the cfg script editor, but I can not find where it be set by the XCONF.

Viewing all 17527 articles
Browse latest View live


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