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

CCS/AM3358: Debugging FFTW on Code Composer Studio

$
0
0

Part Number: AM3358

Tool/software: Code Composer Studio

Hello,

I am currently trying to figure out how to integrate FFTW into CCS. I am using the ti-processor-sdk-linux-am335x-evm-06.00.00.07. I am trying to incorporate the SDK examples with FFTW.

This is the error I am getting:

I made sure to include the fftw3.h in my project.

Here are my include files:

All I have in my code is the header file:

Is there any suggestions anyone can provide? I can compile/run the FFT code I wrote using FFTW, but for some reason I can't run the code on CCS. An example command I use to compile the FFTW code in a terminal is:

gcc fftw_example.c -Wall -lfftw3 -lm -o fftw.example

Do I need to add the -Wall, -lfftw3, -lm, and -o commands to a makefile in CCS?

Best Regards,

Tyler


[FAQ] What does the "Uninitialized Hwi object" or "Uninitialized Task object" mean in ROV

$
0
0

I'm using Runtime Object View (ROV) and I see the following:

Is this a problem or expected behavior? Can you please give more details?

Note: the same is show in ROV Classic.

CCS/AM3358: where can I know the knowledge about compiler specific #pragma?

$
0
0

Part Number: AM3358

Tool/software: Code Composer Studio

I take over a repository for TMS320F2837x processor.  I need to modify it for AM3358. The repository use compiler specific #pragma, like

#pragma SET_DATA_SECTION("data name") and #pragma SET_DATA_SECTION("") intention.
#pragma SET_CODE_SECTION("code name") and #pragma SET_CODE_SECTION("") intention.
where can I know the knowledge about #pragma. Right now compiler just ignore these #pragma. Thanks

CCS/AM3358: What should I do to let my app can recognize keyword interrupt?

$
0
0

Part Number: AM3358

Tool/software: Code Composer Studio

What should I do to let my app can recognize keyword interrupt? Right now my app can't recognize keyword interrupt and compile failed.

AM4379: EtherCat slave, SDO upload not always working

$
0
0

Part Number: AM4379

Hi,

 I try to debug some SDO upload request (expedited) of specific index at specific slave address that don't work.

Soon we figured out that the address that we send to the PRU and the one on the "wire" was not the same.

As far as I can follow the address, his value is as wanted:

UINT8 MBX_CopyToSendMailbox( TMBX MBXMEM *pMbx )
{
    if ( (nAlStatus & STATE_MASK) == STATE_INIT)
    {
        /* the mailbox is disabled if the slave is in the INIT state */
        return( ERROR_INVALIDSTATE );
    }


    if ( !bMbxRunning )
    {
        /* the mailbox is disabled if the slave is in the INIT state */
        return( ERROR_INVALIDSTATE );
    }

    if ( bSendMbxIsFull )
    {
        /* mailbox service cannot be sent because the send mailbox is still full */
        return MBXERR_NOMOREMEMORY;
    }
    else
    {
        /* the variable mbxSize contains the size of the mailbox data to be sent */
        UINT16 mbxSize = pMbx->MbxHeader.Length;
        PRINTLN("HW_EscWriteMbxMem at addr: 0x%X", pMbx->MbxHeader.Address); /////////////////////////////// output:  HW_EscWriteMbxMem at addr: 0x3EA
        HW_EscWriteMbxMem((MEM_ADDR *)pMbx, u16EscAddrSendMbx, (mbxSize + MBX_HEADER_SIZE));


Wireshark trace:

Frame 964: 71 bytes on wire (568 bits), 71 bytes captured (568 bits) on interface 0
    Interface id: 0 (\Device\NPF_{D1941824-1A2A-45F5-9238-CCAE8E883F8B})
        Interface name: \Device\NPF_{D1941824-1A2A-45F5-9238-CCAE8E883F8B}
    Encapsulation type: Ethernet (1)
    Arrival Time: Aug  6, 2019 14:26:16.629419000 Eastern Daylight Time
    [Time shift for this packet: 0.000000000 seconds]
    Epoch Time: 1565115976.629419000 seconds
    [Time delta from previous captured frame: 0.000008000 seconds]
    [Time delta from previous displayed frame: 0.000000000 seconds]
    [Time since reference or first frame: 1.154025000 seconds]
    Frame Number: 964
    Frame Length: 71 bytes (568 bits)
    Capture Length: 71 bytes (568 bits)
    [Frame is marked: False]
    [Frame is ignored: False]
    [Protocols in frame: eth:ethertype:ecatf:ecat:ecat_mailbox]
Ethernet II, Src: Beckhoff_01:00:00 (01:01:05:01:00:00), Dst: 22:47:47:cc:37:f4 (22:47:47:cc:37:f4)
    Destination: 22:47:47:cc:37:f4 (22:47:47:cc:37:f4)
        Address: 22:47:47:cc:37:f4 (22:47:47:cc:37:f4)
        .... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
    Source: Beckhoff_01:00:00 (01:01:05:01:00:00)
        [Expert Info (Warning/Protocol): Source MAC must not be a group address: IEEE 802.3-2002, Section 3.2.3(b)]
            [Source MAC must not be a group address: IEEE 802.3-2002, Section 3.2.3(b)]
            [Severity level: Warning]
            [Group: Protocol]
        Address: Beckhoff_01:00:00 (01:01:05:01:00:00)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
        .... ...1 .... .... .... .... = IG bit: Group address (multicast/broadcast)
    Type: EtherCAT frame (0x88a4)
EtherCAT frame header
    .... .000 0011 0111 = Length: 0x037
    .... 0... .... .... = Reserved: Valid (0x0)
    0001 .... .... .... = Type: EtherCAT command (0x1)
EtherCAT datagram(s): 3 Cmds, 'FPRD': len 16, 'FPRD': len 1, 'FPRD': len 2
    EtherCAT datagram: Cmd: 'FPRD' (4), Len: 16, Adp 0x3e9, Ado 0x1080, Cnt 1
        Header
            Cmd        : 4 (Configured address Physical Read)
            Index: 0xaa
            Slave Addr: 0x03e9
            Offset Addr: 0x1080
            Length     : 16 (0x10) - No Roundtrip - More Follows...
                .... .000 0001 0000 = Length: 16
                ..00 0... .... .... = Reserved: Valid (0)
                .0.. .... .... .... = Round trip: Frame is not circulating
                1... .... .... .... = Last indicator: More EtherCAT datagrams will follow
            Interrupt: 0x0000
        EtherCAT Mailbox Protocol:CoE SDO Req : 'Initiate Upload' (2) Idx=0x1001 Sub=0
            Header
                Length: 10
                Address: 0x03e9
                .... ..00 = Priority: 0
                Type: CoE (CANopen over EtherCAT) (3)
                Counter: 2
            CoE
                Number: 0
                Type: SDO Req (2)
                SDO Req : 'Initiate Upload' (2) Idx=0x1001 Sub=0
                    Init Upload: 0x40
                        ...0 .... = Access: Legacy
                Index: 0x1001
                SubIndex: 0x00
        Working Cnt: 1
    EtherCAT datagram: Cmd: 'FPRD' (4), Len: 1, Adp 0x3e9, Ado 0x10ff, Cnt 1
        Header
            Cmd        : 4 (Configured address Physical Read)
            Index: 0x00
            Slave Addr: 0x03e9
            Offset Addr: 0x10ff
            Length     : 1 (0x1) - No Roundtrip - More Follows...
                .... .000 0000 0001 = Length: 1
                ..00 0... .... .... = Reserved: Valid (0)
                .0.. .... .... .... = Round trip: Frame is not circulating
                1... .... .... .... = Last indicator: More EtherCAT datagrams will follow
            Interrupt: 0x0000
        Data: 00
        Working Cnt: 1
    EtherCAT datagram: Cmd: 'FPRD' (4), Len: 2, Adp 0x3eb, Ado 0x1080, Cnt 0
        Header
            Cmd        : 4 (Configured address Physical Read)
            Index: 0x00
            Slave Addr: 0x03eb
            Offset Addr: 0x1080
            Length     : 2 (0x2) - No Roundtrip - Last Sub Command
                .... .000 0000 0010 = Length: 2
                ..00 0... .... .... = Reserved: Valid (0)
                .0.. .... .... .... = Round trip: Frame is not circulating
                0... .... .... .... = Last indicator: Last EtherCAT datagram
            Interrupt: 0x0000
        Data: 0000
        Working Cnt: 0

 

 

 

Version - EtherCAT Slave 01.00.07.02

Board name      : AM43_IDK

Board Revision  : 1.4A

EtherCAT Device

SYS/BIOS EtherCAT Internal application 3.3.0ENETPHY_FindingState: PhyNum: 0

I already tried this:

#define ENABLE_MULTIPLE_SM_ACCESS_IN_SINGLE_DATAGRAM 1

Thank you

Stéphane Germain

CCS/AM3358: FFTW Linux SDK

$
0
0

Part Number: AM3358

Tool/software: Code Composer Studio

Hello,

Is it possible to run FFTW on the linux SDK? If so, how can I do this? I am using version 06.00.00.07. The best information I can find is here: https://www.mccdaq.com/PDFs/Manuals/DT7816_WebHelp/Build_the_FFTW_Library.htm

However, the documentation is limited and it doesn't really tell me how to do this for the AM3358.

Does anyone have any suggestions?

Best Regards,

Tyler

AM5749: AM5749 new board design question about JTAG 60pin. is EMU2 - EMU19 pins used by xds emulators?

$
0
0

Part Number: AM5749

Currently working at new board design.

I`m investigated sitara TRM on-chip debug support chapter.

There are little about system trace and EMU pins. I`m found that xds100 and xds200 do not support core and system trace without ETB. But main question about XDS560v2 that supports 1-4 pin system trace and XDS pro trace that supports 1-20 pins STM trace.

Should i need route EMU2-EMU19 pins from AM5749 to 60 pin mipi jtag header?

may be better to route 20 pin jtag header?

CCS/AM3359: NDK UDP - NDK_EHOSTDOWN after a few mins of no packets

$
0
0

Part Number: AM3359

Tool/software: Code Composer Studio

I have a UDP program running on BBBlack and it transmits and receives fine, however, if the packet stop for a few mins and then restart it take ~ 10sec or so before packet start being transmit or it give the host down error code. There is not keep alive time for UDP, so why is the stack seemly shutdown?


CCS/AM3358: FFTW on Code Composer Studio using Linux SDK

$
0
0

Part Number: AM3358

Tool/software: Code Composer Studio

Hello,

I am trying to compile FFTW code on CCS. However, when I try to build the project, I get the following build error below due to a linking issue:

I believe I have FFTW installed correctly because I am able to compile my FFTW code using the following command in the terminal:

gcc fftw_example.c -Wall -lfftw3 -lm -o fftw.example

 

I am currently using ti-processor-sdk-linux-am335x-evm-06.00.00.07 with Ubuntu 16.04.

Any suggestions are greatly appreciated.


Best Regards,


Tyler

Compiler/TDA2EVM5777: How can i put Video frame type buf as input of VPE link?

$
0
0

Part Number: TDA2EVM5777

Tool/software: TI C/C++ Compiler

Hi,

I'm trying to connect Sync link with VPE link. 

The output of sync link is Video composite buf type. 

When i connect links and execute it, the vpe link display the error message that it can receive only Video frame buf type.

Could you let me know if there is any solution to connect sync link and vpe link?

Regards,

Yoo

AM6528: EMIF tool dump out DDR3 configuration error

$
0
0

Part Number: AM6528

As snapshot, when configure as DDR3, export dtsi get error, but then configure as DDR4, no error:

TIDEP-01002: earlyboot visionSDK IPU firmware but display is aborted by linux

$
0
0

Part Number: TIDEP-01002

hi experts,

i have the TI EVM board TIDEP-01002 , visionsdk version is 0304, now i can boot the visionSDK ipu firmware by bootloader,

i also port lp8860 back light driver in spl. during the uboot period i can see animation on the srceen, 

but after go into booting kernel, animation show was aborted, nothing can show on the screen, but 

the back light also keep turning on and IPU on M4 side working well, not crash.

i check the lp8860 registers' values. it is all correct. I guess it is the GPIO problem,

but i had added the following configs in DTS.

#define DISABLE_PRCM(label) &label { ti,no-idle; ti,no-reset-on-init; }

DISABLE_PRCM(gpio2);
DISABLE_PRCM(gpio6);
DISABLE_PRCM(gpio7);
DISABLE_PRCM(dispc);
DISABLE_PRCM(dss);

so i dont know where is the problem, could you help me figure out the problem?

if i boot the IPU firmware by remoteproc module in kernel, and port the lp8860 driver in spl, it will work very well.

best regards!

AM3359: How to get dcan RX interrupt?

PROCESSOR-SDK-AM335X: PING is not successful

$
0
0

Part Number: PROCESSOR-SDK-AM335X

Hi,


We are working on a custom board based on AM3359. Our board is booting successfully and working fine.

But PING is not working and data transfer is also not happening..

While I was searching in the internet, I came across the below link and based on that I am here posting all the details and logs regarding our custom board.

http://processors.wiki.ti.com/index.php/Ethernet_Triage_Checklist_for_AM3x/4x/5x_CPSW

uname -a:

Linux am335x-evm 4.14.40-g4796173fc5 #5 PREEMPT Tue Jun 4 15:44:33 IST 2019 armv7l GNU/Linux

Filesystem:

ti-processor-sdk-linux-am335x-evm-05.00.00.15

Our custom board DTS File: (Please visit the site to view this file)

Console log of the boot process:

U-Boot SPL 2018.01-00228-g4579b130f0-dirty (May 07 2019 - 18:07:48)          
Trying to boot from MMC2                                                     
** Bad device mmc 0 **                                                       
Using default environment                                                    
                                        
reading u-boot.img                      
reading u-boot.img                      
reading u-boot.img                      
reading u-boot.img                      
bootlist count 9,5                      


U-Boot 2018.01-00228-g4579b130f0-dirty (May 07 2019 - 18:07:48 +0530)

CPU  : AM335X-GP rev 2.1
Model: TI AM335x EVM
DRAM:  256 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
** Bad device mmc 0 **
Using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net:   cpsw, usb_ether
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
3850752 bytes read in 677 ms (5.4 MiB/s)
37643 bytes read in 21 ms (1.7 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8df01000, end 8df0d30a ...
Starting kernel ...

[    0.000000] I can't wait to receive it. Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.40-g4796173fc5 (sbr@sbr-Lenovo-B50-80) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #5 PREEMPT Tue Jun 4 159
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: TI AM335x EVM-SK
[    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 0x8a800000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=70a1b8c9-02 rw rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 197276K/262144K available (8192K kernel code, 318K rwdata, 2436K rodata, 1024K init, 275K bss, 15716K reserved, 49152K cma-rese)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 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 - 0xc0d4fb88   ( 319 kB)
[    0.000000]        .bss : 0xc0d4fb88 - 0xc0d9493c   ( 276 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] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000019] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000045] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000059] OMAP clocksource: timer1 at 24000000 Hz
[    0.000277] timer_probe: no matching timers found
[    0.000532] Console: colour dummy device 80x30
[    0.000565] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000574] This ensures that you still see kernel messages. Please
[    0.000582] update your kernel commandline.
[    0.000617] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[    0.118766] pid_max: default: 32768 minimum: 301
[    0.119006] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.119025] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.119961] CPU: Testing write buffer coherency: ok
[    0.120783] Setting up static identity map for 0x80100000 - 0x80100060
[    0.120965] Hierarchical SRCU implementation.
[    0.121387] EFI services will not be available.
[    0.123139] devtmpfs: initialized
[    0.133918] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
[    0.134458] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.134816] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.134844] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.139226] pinctrl core: initialized pinctrl subsystem
[    0.140071] DMI not present or invalid.
[    0.140554] NET: Registered protocol family 16
[    0.143319] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.161489] omap_hwmod: debugss: _wait_target_disable failed
[    0.216064] cpuidle: using governor ladder
[    0.216109] cpuidle: using governor menu
[    0.221734] OMAP GPIO hardware version 0.1
[    0.232711] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_gpmc_pins, deferring probe
[    0.235368] No ATAGs?
[    0.235384] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.252761] edma 49000000.edma: TI EDMA DMA engine driver
[    0.257354] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    0.257530] media: Linux media interface: v0.10
[    0.257585] Linux video capture interface: v2.00
[    0.257739] pps_core: LinuxPPS API ver. 1 registered
[    0.257750] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.257780] PTP clock support registered
[    0.257825] EDAC MC: Ver: 3.0.0
[    0.258384] dmi: Firmware registration failed.
[    0.259051] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.259470] Advanced Linux Sound Architecture Driver Initialized.
[    0.260853] clocksource: Switched to clocksource timer1
[    0.271892] NET: Registered protocol family 2
[    0.272784] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.272830] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.272867] TCP: Hash tables configured (established 2048 bind 2048)
[    0.272984] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.273011] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.273182] NET: Registered protocol family 1
[    0.273686] RPC: Registered named UNIX socket transport module.
[    0.273704] RPC: Registered udp transport module.
[    0.273713] RPC: Registered tcp transport module.
[    0.273722] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.274812] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    0.274955] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.276775] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.282618] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.283503] NFS: Registering the id_resolver key type
[    0.283556] Key type id_resolver registered
[    0.283567] Key type id_legacy registered
[    0.283620] ntfs: driver 2.1.32 [Flags: R/O].
[    0.286052] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.286077] io scheduler noop registered
[    0.286089] io scheduler deadline registered
[    0.286362] io scheduler cfq registered (default)
[    0.286378] io scheduler mq-deadline registered
[    0.286388] io scheduler kyber registered
[    0.288104] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.355733] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.359527] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    0.991095] console [ttyS0] enabled
[    0.995832] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[    1.005823] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 32, base_baud = 3000000) is a 8250
[    1.016802] omap_rng 48310000.rng: Random Number Generator ver. 20
[    1.025408] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.031734] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.038184] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.044211] tilcdc 4830e000.lcdc: no encoders/connectors found
[    1.062303] brd: module loaded
[    1.073815] loop: module loaded
[    1.080110] m25p80 spi0.0: unrecognized JEDEC id bytes(spi-nor.c): ff, ff, ff
[    1.087564] m25p80: probe of spi0.0 failed with error -2
[    1.095012] libphy: Fixed MDIO Bus: probed
[    1.170945] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    1.178652] davinci_mdio 4a101000.mdio: detected phy mask ffffffde
[    1.187007] libphy: 4a101000.mdio: probed
[    1.191175] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
[    1.199484] davinci_mdio 4a101000.mdio: phy[5]: device 4a101000.mdio:05, driver TI DP83867
[    1.208838] cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
[    1.217381] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
[    1.223917] cpsw 4a100000.ethernet: Using 2 as Reserved VLAN for 1 slave
[    1.230657] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:de:a5:e2
[    1.237381] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    1.243804] cpsw 4a100000.ethernet: ALE Table size 1024
[    1.249102] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    1.257314] cpsw 4a100000.ethernet: cpsw: Detected MACID = 98:5d:ad:de:a5:e4
[    1.265977] i2c /dev entries driver
[    1.270050] IR NEC protocol handler initialized
[    1.274687] IR RC5(x/sz) protocol handler initialized
[    1.279765] IR RC6 protocol handler initialized
[    1.284335] IR JVC protocol handler initialized
[    1.288886] IR Sony protocol handler initialized
[    1.293655] IR SANYO protocol handler initialized
[    1.298383] IR Sharp protocol handler initialized
[    1.303136] IR MCE Keyboard/mouse protocol handler initialized
[    1.308995] IR XMP protocol handler initialized
[    1.315531] cpuidle: enable-method property 'ti,am3352' found operations
[    1.322840] sdhci: Secure Digital Host Controller Interface driver
[    1.329054] sdhci: Copyright(c) Pierre Ossman
[    1.335086] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.342287] ledtrig-cpu: registered to indicate activity on CPUs
[    1.352506] NET: Registered protocol family 10
[    1.358725] Segment Routing with IPv6
[    1.362686] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.369469] NET: Registered protocol family 17
[    1.374378] Key type dns_resolver registered
[    1.378929] omap_voltage_late_init: Voltage driver support not added
[    1.392161] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    1.397356] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    1.431125] tps65910 0-002d: No interrupt support, no core IRQ
[    1.439341] vrtc: supplied by vbat
[    1.446664] vio: supplied by vbat
[    1.451677] vdd1: supplied by vbat
[    1.457062] vdd2: supplied by vbat
[    1.463564] random: fast init done
[    1.467469] vdig1: supplied by vbat
[    1.472531] vdig2: supplied by vbat
[    1.477522] vpll: supplied by vbat
[    1.482450] vdac: supplied by vbat
[    1.487367] vaux1: supplied by vbat
[    1.492396] vaux2: supplied by vbat
[    1.497390] vaux33: supplied by vbat
[    1.502506] vmmc: supplied by vbat
[    1.507429] vbb: supplied by vbat
[    1.512640] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.582181] hctosys: unable to open rtc device (rtc0)
[    1.588204] lis3_reg: disabling
[    1.592096] ALSA device list:
[    1.596198]   No soundcards found.
[    1.603381] Waiting for root device PARTUUID=70a1b8c9-02...
[    1.657411] mmc0: new high speed MMC card at address 0001
[    1.664366] mmcblk0: mmc0:0001 Q2J54A 3.59 GiB
[    1.669166] mmcblk0boot0: mmc0:0001 Q2J54A partition 1 16.0 MiB
[    1.675373] mmcblk0boot1: mmc0:0001 Q2J54A partition 2 16.0 MiB
[    1.681827] mmcblk0rpmb: mmc0:0001 Q2J54A partition 3 512 KiB
[    1.689668]  mmcblk0: p1 p2
[    3.515065] EXT4-fs (mmcblk0p2): recovery complete
[    3.521555] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.529830] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    3.537925] devtmpfs: mounted
[    3.543534] Freeing unused kernel memory: 1024K
[    4.391087] systemd[1]: System time before build time, advancing clock.
[    4.507301] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNU)
[    4.528983] systemd[1]: Detected architecture arm.

Welcome to Arago 2018.04!

[    4.573036] systemd[1]: Set hostname to <am335x-evm>.
[    5.150159] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown lvalue 'ExecStopPre' in section 'Service'
[    5.518416] random: systemd: uninitialized urandom read (16 bytes read)
[    5.526011] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    5.561354] random: systemd: uninitialized urandom read (16 bytes read)
[    5.568551] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    5.611486] random: systemd: uninitialized urandom read (16 bytes read)
[    5.618373] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    5.670503] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[    5.701625] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    5.742390] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Network Service Netlink Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Paths.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Reached target Slices.
[  OK  ] Created slice system-getty.slice.
         Mounting Kernel Debug File System...
         Mounting POSIX Message Queue File System...
         Mounting Temporary Directory (/tmp)...
[  OK  ] Listening on Journal Socket.
         Starting Journal Service...
         Starting Load Kernel Modules...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    6.494864] cryptodev: loading out-of-tree module taints kernel.
[    6.535271] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[  OK  ] Mounted Temporary Directory (/tmp).
[    6.561458] cryptodev: driver 1.9 loaded.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Create System Users...
[    6.675603] usbcore: registered new interface driver usbfs
         [    6.701212] usbcore: registered new interface driver hub
Starting Rebuild Hardware Database...
[    6.726732] usbcore: registered new device driver usb
[  OK  ] Started Journal Service.
[    6.778327] usbcore: registered new interface driver usbserial
[  OK  ] Started Create System Users.
         Starting Create Static Device Nodes in /dev...
         Starting Flush Journal to Persistent Storage...
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
         Mounting Kernel Configuration File System...
         Starting Apply Kernel Variables...
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
[    7.220367] systemd-journald[65]: Received request to flush runtime journal from PID 1
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /var/volatile...
         Mounting /media/ram...
[  OK  ] Mounted /var/volatile.
[  OK  ] Mounted /media/ram.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Rebuild Dynamic Linker Cache...
         Starting Rebuild Journal Catalog...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Rebuild Journal Catalog.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Rebuild Dynamic Linker Cache.
[  OK  ] Started Rebuild Hardware Database.
         Starting Update is Completed...
         Starting udev Coldplug all Devices...
[  OK  ] Started Update is Completed.
[   13.041416] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[  OK  ] Found device /dev/ttyS0.
[   13.133175] omap_rtc 44e3e000.rtc: registered as rtc0
[   13.193665] tlv320aic3x-codec 0-001b: Too high supply voltage(s) AVDD: 3300000, DVDD: 5000000
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on RPCbind Server Activation Socket.
         Starting Network Service...
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Reached target Timers.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Job spooling tools.
[   13.837224] spidev spi1.0: buggy DT: spidev listed directly in DT
         [   13.922879] ------------[ cut here ]------------
Starting Avahi mDNS/DNS-SD Stack...
[   13.967941] WARNING: CPU: 0 PID: 107 at /oe/bld/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work-shared/am335x-evm/kernel-source/drivers/spi]
[   13.967948] Modules linked in: spidev(+) snd_soc_tlv320aic3x rtc_omap omap_wdt ti_am335x_tscadc sch_fq_codel uio_module_drv(O) uio usbserial usbcor)
[   13.967996] CPU: 0 PID: 107 Comm: systemd-udevd Tainted: G           O    4.14.40-g4796173fc5 #5
[   13.968000] Hardware name: Generic AM33XX (Flattened Device Tree)
[   13.968003] Backtrace:
[   13.968038] [<c010ba48>] (dump_backtrace) from [<c010bd2c>] (show_stack+0x18/0x1c)
[   13.968048]  r7:00000009 r6:00000000 r5:bf0b84a0 r4:00000000
[   13.968069] [<c010bd14>] (show_stack) from [<c082de28>] (dump_stack+0x24/0x28)
[   13.968085] [<c082de04>] (dump_stack) from [<c0128ab4>] (__warn+0xe8/0x100)
[   13.968096] [<c01289cc>] (__warn) from [<c0128b84>] (warn_slowpath_null+0x28/0x30)
[   13.968106]  r9:0000000d r8:bf0b9028 r7:00000000 r6:00000000 r5:cf51ac00 r4:cf51ac00
[   13.968122] [<c0128b5c>] (warn_slowpath_null) from [<bf0b7358>] (spidev_probe+0x1a4/0x1d4 [spidev])
[   13.968146] [<bf0b71b4>] (spidev_probe [spidev]) from [<c05accb8>] (spi_drv_probe+0x84/0xb0)
[   13.968155]  r9:0000000d r8:bf0b9028 r7:00000000 r6:00000000 r5:bf0b9018 r4:cf51ac00
[   13.968171] [<c05acc34>] (spi_drv_probe) from [<c0541b58>] (driver_probe_device+0x240/0x2f0)
[   13.968178]  r7:00000000 r6:c0d897a0 r5:c0d8979c r4:cf51ac00
[   13.968188] [<c0541918>] (driver_probe_device) from [<c0541cb4>] (__driver_attach+0xac/0xb0)
[   13.968198]  r10:ce2a7ce4 r9:00000000 r8:00000001 r7:00000000 r6:cf51ac34 r5:bf0b9028
[   13.968202]  r4:cf51ac00 r3:00000000
[   13.968212] [<c0541c08>] (__driver_attach) from [<c053fd1c>] (bus_for_each_dev+0x54/0xa4)
[   13.968219]  r7:00000000 r6:c0541c08 r5:bf0b9028 r4:00000000
[   13.968228] [<c053fcc8>] (bus_for_each_dev) from [<c05414d4>] (driver_attach+0x24/0x28)
[   13.968234]  r6:c0d30bd8 r5:ce16e680 r4:bf0b9028
[   13.968244] [<c05414b0>] (driver_attach) from [<c0540fe8>] (bus_add_driver+0x190/0x214)
[   13.968254] [<c0540e58>] (bus_add_driver) from [<c054267c>] (driver_register+0x80/0xfc)
[   13.968261]  r7:ce2a7280 r6:00000000 r5:bf0b9000 r4:bf0b9028
[   13.968271] [<c05425fc>] (driver_register) from [<c05acbf4>] (__spi_register_driver+0x60/0x64)
[   13.968277]  r5:bf0b9000 r4:bf0b9240
[   13.968292] [<c05acb94>] (__spi_register_driver) from [<bf0bc098>] (spidev_init+0x98/0x1000 [spidev])
[   13.968307] [<bf0bc000>] (spidev_init [spidev]) from [<c0101974>] (do_one_initcall+0x4c/0x170)
[   13.968313]  r6:bf0bc000 r5:00000000 r4:ffffe000
[   13.968334] [<c0101928>] (do_one_initcall) from [<c019a0e8>] (do_init_module+0x68/0x1f4)
[   13.968342]  r8:00000001 r7:ce2a7280 r6:ce2a7cc0 r5:00000001 r4:bf0b9080
[   13.968353] [<c019a080>] (do_init_module) from [<c0198ef8>] (load_module+0x1dd0/0x2400)
[   13.968360]  r7:bf0b9080 r6:ce2a7cc0 r5:00000001 r4:ce0bff40
[   13.968372] [<c0197128>] (load_module) from [<c019973c>] (SyS_finit_module+0xa4/0xbc)
[   13.968381]  r10:00000000 r9:ce0be000 r8:c0107f04 r7:0000017b r6:b6ec70c4 r5:00000007
[   13.968385]  r4:00000000
[   13.968396] [<c0199698>] (SyS_finit_module) from [<c0107d20>] (ret_fast_syscall+0x0/0x54)
[   13.968402]  r6:00000000 r5:00000001 r4:00000000
[   13.968406] ---[ end trace 8207424f7951cb99 ]---
[   14.366170] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[   14.454868] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[   14.471277] omap-aes 53500000.aes: will run requests pump with realtime priority
[   14.596946] remoteproc remoteproc0: wkup_m3 is available
[   14.650572] remoteproc remoteproc0: powering up wkup_m3
[   14.665322] PM: Cannot get wkup_m3_ipc handle
[   14.695515] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224628
[   14.695776] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   14.695803] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[   18.013404] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
         Starting Print notice about GPLv3 packages...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
[  OK  ] Started System Logging Service.
[  OK  ] Reached target Containers.
[   19.209638] random: crng init done
[   19.237322] random: 7 urandom warning(s) missed due to ratelimiting
[   19.280826] TI-am335x-tsc TI-am335x-tsc: ti,charge-delay not specified
[   19.283077] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
[   19.283936] PM: bootloader does not support rtc-only!
[   19.303266] net eth1: initializing cpsw version 1.12 (0)
[   19.305832] libphy: PHY  not found
[   19.305842] net eth1: phy "" not found on slave 1, err -19
[   19.391684] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   19.452424] net eth0: initializing cpsw version 1.12 (0)
[   19.478054] TI DP83867 4a101000.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
[   19.494194] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  OK  ] Started Periodic Command Scheduler.
[  OK  ] Started Kernel Logging Service.
         Starting Login Service...
         Starting uim-sysfs.service...
         Starting RPC Bind Service...
[  OK  ] Started Network Service.
[  OK  ] Started RPC Bind Service.
[  OK  ] Found device /dev/ttyS3.
[   21.977759] pruss 4a300000.pruss: creating PRU cores and other child platform devices
[  OK  ] Found device /dev/mmcblk0p1.
[   22.307402] remoteproc remoteproc1: 4a334000.pru is available
[   22.346365] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully
[   22.419354] remoteproc remoteproc2: 4a338000.pru is available
[   22.453763] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully
[   22.643368] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   22.672824] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Started uim-sysfs.service.
[  OK  ] Started Login Service.
         Starting rc.pvr.service...
         Starting Start USB gadget...
***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages:
        autoconf
        bash-dev
        bash
        binutils
        cifs-utils
        cpio
        cpp-symlinks
        cpp
        dosfstools
        elfutils
        findutils
        g++-symlinks
        g++
        gawk
        gcc-symlinks
        gcc
        gdb
        gdbserver
        gettext
        gstreamer1.0-libav
        gzip
        hidapi
        libdw1
        libelf1
        libgdbm-compat4
        libgdbm-dev
        libgdbm4
        libgettextlib
        libgettextsrc
        libgmp10
        libidn11
        libmavconn
        libmpc3
        libmpfr4
        libreadline-dev
        libreadline7
        libunistring2
        m4-dev
        m4
        make
        mavlink
        mavros-extras
        mavros-msgs
        mavros
        nettle
        python3-pycairo
        socketcan-interface
        which

[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
If you do not wish to distribute GPLv3 components please remove
the above packages prior to distribution.  This can be done using
the opkg remove command.  i.e.:
    opkg remove <package>
Where <package> is the name printed in the list above

NOTE: If the package is a dependency of another package you
      will be notified of the dependent packages.  You should
      use the --force-removal-of-dependent-packages option to
      also remove the dependent packages as well
***************************************************************
***************************************************************
         Starting Wait for Network to be Configured...
[  OK  ] Reached target Network.
         Starting Enable and configure wl18xx bluetooth stack...
         Starting Lightning Fast Webserver With Light System Requirements...
[  OK  ] Started Redis In-Memory Data Store.
         [   27.197037] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers
Starting Network Name Resolution...
         Starting Simple Network Management Protocol (SNMP) Daemon....
         Starting Permit User Sessions...
[  OK  ] Started Print notice about GPLv3 packages.
[  OK  ] Started rc.pvr.service.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Serial Getty on ttyS3.
[  OK  ] Started Getty on tty1.
         Starting weston.service...
[  OK  ] Started Enable and configure wl18xx bluetooth stack.
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started NFS status monitor for NFSv2/3 locking..
[FAILED] Failed to start Start USB gadget.
See 'systemctl status gadget-init.service' for details.
[  OK  ] Started weston.service.
         Starting telnetd.service...
[  OK  ] Started telnetd.service.
         Starting busybox-udhcpd.service...
         Starting thttpd.service...
[  OK  ] Started busybox-udhcpd.service.
[  OK  ] Started thttpd.service.
         Starting rng-tools.service...
[  OK  ] Started rng-tools.service.
[  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..

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

Arago Project http://arago-project.org am335x-evm ttyS0

Arago 2018.04 am335x-evm ttyS0

am335x-evm login: root (automatic login)

root@am335x-evm:~#

 

ethtool eth0:

root@am335x-evm:~# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000000 (0)
                               
        Link detected: yes
root@am335x-evm:~#

ethtool -S eth0:

root@am335x-evm:~# ethtool -S eth0                                                                                                                     
NIC statistics:
     Good Rx Frames: 0
     Broadcast Rx Frames: 0
     Multicast Rx Frames: 0
     Pause Rx Frames: 0
     Rx CRC Errors: 0
     Rx Align/Code Errors: 0
     Oversize Rx Frames: 0
     Rx Jabbers: 0
     Undersize (Short) Rx Frames: 0
     Rx Fragments: 0
     Rx Octets: 0
     Good Tx Frames: 102
     Broadcast Tx Frames: 25
     Multicast Tx Frames: 77
     Pause Tx Frames: 0
     Deferred Tx Frames: 0
     Collisions: 0
     Single Collision Tx Frames: 0
     Multiple Collision Tx Frames: 0
     Excessive Collisions: 0
     Late Collisions: 0
     Tx Underrun: 0
     Carrier Sense Errors: 0
     Tx Octets: 20590
     Rx + Tx 64 Octet Frames: 0
     Rx + Tx 65-127 Octet Frames: 51
     Rx + Tx 128-255 Octet Frames: 7
     Rx + Tx 256-511 Octet Frames: 44
     Rx + Tx 512-1023 Octet Frames: 0
     Rx + Tx 1024-Up Octet Frames: 0
     Net Octets: 20590
     Rx Start of Frame Overruns: 0
     Rx Middle of Frame Overruns: 0
     Rx DMA Overruns: 0
     Rx DMA chan 0: head_enqueue: 1
     Rx DMA chan 0: tail_enqueue: 127
     Rx DMA chan 0: pad_enqueue: 0
     Rx DMA chan 0: misqueued: 0
     Rx DMA chan 0: desc_alloc_fail: 0
     Rx DMA chan 0: pad_alloc_fail: 0
     Rx DMA chan 0: runt_receive_buf: 0
     Rx DMA chan 0: runt_transmit_bu: 0
     Rx DMA chan 0: empty_dequeue: 0
     Rx DMA chan 0: busy_dequeue: 0
     Rx DMA chan 0: good_dequeue: 0
     Rx DMA chan 0: requeue: 0
     Rx DMA chan 0: teardown_dequeue: 0
     Tx DMA chan 0: head_enqueue: 102
     Tx DMA chan 0: tail_enqueue: 0
     Tx DMA chan 0: pad_enqueue: 0
     Tx DMA chan 0: misqueued: 0
     Tx DMA chan 0: desc_alloc_fail: 0
     Tx DMA chan 0: pad_alloc_fail: 0
     Tx DMA chan 0: runt_receive_buf: 0
     Tx DMA chan 0: runt_transmit_bu: 7
     Tx DMA chan 0: empty_dequeue: 102
     Tx DMA chan 0: busy_dequeue: 0
     Tx DMA chan 0: good_dequeue: 102
     Tx DMA chan 0: requeue: 0
     Tx DMA chan 0: teardown_dequeue: 0
root@am335x-evm:~#

ifconfig eth0:

root@am335x-evm:~# ifconfig eth0  
eth0      Link encap:Ethernet  HWaddr 98:5D:AD:DE:A5:E2  
          inet addr:10.10.100.10  Bcast:10.10.100.255  Mask:255.255.255.0
          inet6 addr: fe80::9a5d:adff:fede:a5e2%3068872088/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:103 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:20516 (20.0 KiB)
          Interrupt:47

root@am335x-evm:~#

Please help me to find out what is the exact reason for the ping not working in our board.

Looking forward for the solution.

Regards

Vamsi

AM5718: Supported PMIC

$
0
0

Part Number: AM5718

Hi, in SPRACK7B  table 1, the AM5718 supported PMIC stated is TPS6590379, I wonder if TPS6590378 is supported or not? 

Because in the datasheet of AM5718 SR2.0, only PMIC TPS659037 is mentioned to use, but does not specific OTP version. And in SLIU011F  table 1, the TPS6590378(OTP 0x96) is listed support AM571x. So please help to confirm?

 


AM5728: DCAN send issue

$
0
0

Part Number: AM5728

Hello,

I'm using processor sdk linux 5.02 for am5728.

Here are pinmux for DCAN2 generated from online pinmux utility.

	{GPIO6_14, (M2 | PIN_OUTPUT)},	/* gpio6_14.dcan2_tx */
	{GPIO6_15, (M15 | PIN_INPUT)},	/* gpio6_15.dcan2_rx */

Trying to setup CAN2 module in below manner.

While trying to set tripple sampling

root@am57xx-evm:~# canconfig can0 bitrate 500000 ctrlmode triple-sampling on
can0 bitrate: 500000, sample-point: 0.875
RTNETLINK answers: Operation not supported
can0: failed to set ctrlmode

Without tripple sampling

root@am57xx-evm:~# canconfig can0 bitrate 500000
can0 bitrate: 500000, sample-point: 0.875
root@am57xx-evm:~# canconfig can0 start
[  201.778275] c_can_platform 48480000.can can0: setting BTR=0504 BRPE=0000
can0 state: ERROR-ACTIVE

While trying to send data frames

root@am57xx-evm:~# cansend can0 -i 0x10 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88
interface = can0, family = 29, type = 3, proto = 1
[   37.353018] can: controller area network core (rev 20170425 abi 9)
[   37.359353] NET: Registered protocol family 29
[   37.376533] can: raw protocol (rev 20170425)
[   37.382048] c_can_platform 48480000.can can0: bus-off

I've found a same thread where problem is near to the mine but he can set triple-sampling mode on and i cannot.

https://e2e.ti.com/support/processors/f/791/t/562088?tisearch=e2e-sitesearch&keymatch=am572x%252520dcan%252520can0%25253A%252520bus-off

Is there any pinmux related mistake.

Thanks,

AM5728: Can't git clone LTP-DDT

$
0
0

Part Number: AM5728

I want to test the board with LTP-DDT, but I can' t fetch this by git clone. Can you give me a .zip file for LTP-DDT?

AM3356: I2C DMA cache issue

$
0
0

Part Number: AM3356

I am using DMA for i2c communication

During read and write i am facing data corruption issues.

I have enabled MMU.

I have observed during my debugging that at certain times the data corruption happens.

I have used the following API's during read/write

1) After i2c DMA read used CleanInvalidateDcache();

2) Before i2c DMA write CleanDcache();

When i disable MMU, i am not facing the data corruption issue. 

Please let me know is there any issue while using DMA with MMU enabled.

Thanks for the help in advance

DM3730: Suitable Processor for Image Processing Applications and Imaging Sensor Interface

$
0
0

Part Number: DM3730

Hi,

I am  developing a camera for road traffic applications.Output from the sensor is analog.

I need a processor with parallel camera/sensor interface and I have selected

DM3730. Processor should be capable of running Image processing application that detects vehicle presence. 

Does DM3730 meet my requirement?.Please advise me regarding the selection of processor.

If you have any other processor with parallel camera interface that meets my requirement,please suggest.

Regards,
Sathyanarayan

Principal Engineer

Intelligent Transportation and Networking

C-DAC,Trivandrum.

TDA2SG: [Linux] Does EDMA driver still work when using early boot late attach

$
0
0

Part Number: TDA2SG

Dear Champs,

Per below post, a patch is applied to kernel to support early boot late attach. The patch is to disable EDMA setup in kernel since EDMA has been setup in M4.

    https://e2e.ti.com/support/processors/f/791/t/826484

From c11eef98b07a8c9093f2f5c71f8ba40451559e86 Mon Sep 17 00:00:00 2001
From: Shravan Karthik <shravan.karthik@ti.com>
Date: Mon, 31 Jul 2017 10:24:20 +0530
Subject: [PATCH 2/4] arm: mach-omap2: Remove edma related nodes from hwmod
 init sequence

When doing late attach, kernel should not reset EDMA
EDMA is setup by M4 and thus omap_hwmod needn't perform reset/setup.
Nodes 'dra7xx_l3_main_1__tpcc', 'dra7xx_l3_main_1__tptc0' and
'dra7xx_l3_main_1__tptc1' are thus disabled.

Note that this breaks kernel boot if not late attached.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
---
 arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
index 26fcb1e..ff11cb2 100644
--- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
@@ -4637,9 +4637,6 @@ static struct omap_hwmod_ocp_if *dra7xx_hwmod_ocp_ifs[] __initdata = {
 	&dra7xx_l4_per2__mcasp8,
 	&dra7xx_gmac__mdio,
 	&dra7xx_l4_cfg__dma_system,
-	&dra7xx_l3_main_1__tpcc,
-	&dra7xx_l3_main_1__tptc0,
-	&dra7xx_l3_main_1__tptc1,
 	&dra7xx_l3_main_1__dss,
 	&dra7xx_l3_main_1__dispc,
 	&dra7xx_dsp1__l3_main_1,
-- 
2.7.4

But I still see below edma failures from linux boot log

    [ 0.451929] platform 43300000.edma: Cannot lookup hwmod 'tpcc'
    [ 0.458283] platform 43400000.tptc: Cannot lookup hwmod 'tptc0'
    [ 0.464732] platform 43500000.tptc: Cannot lookup hwmod 'tptc1'
    [ 0.471968] OMAP GPIO hardware version 0.1
    [ 0.482582] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [ 0.510660] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.518967] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.525501] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [ 0.533184] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [ 0.541138] OMAP DMA hardware revision 0.0
    [ 0.621211] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [ 0.631491] edma3-tptc 43400000.tptc: _od_fail_runtime_resume: FIXME: missing hwmod/omap_dev info
    [ 0.640733] edma3-tptc 43500000.tptc: _od_fail_runtime_resume: FIXME: missing hwmod/omap_dev info
    [ 0.650170] edma 43300000.edma: _od_fail_runtime_resume: FIXME: missing hwmod/omap_dev info
    [ 0.658837] edma 43300000.edma: pm_runtime_get_sync() failed
    [ 0.668458] omap-iommu 40d01000.mmu: 40d01000.mmu registered

I think the failures comes for device tree because the default device tree still try to setup EDMA

    http://git.ti.com/glsdk/infoadas-kernel/blobs/HEAD/arch/arm/boot/dts/dra7.dtsi

	edma: edma@43300000 {
		compatible = "ti,edma3-tpcc";
		ti,hwmods = "tpcc";
		reg = <0x43300000 0x100000>;
		reg-names = "edma3_cc";
		interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "edma3_ccint", "emda3_mperr",
				  "edma3_ccerrint";
		dma-requests = <64>;
		#dma-cells = <2>;
		ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 0>;
		/*
		 * memcpy is disabled, can be enabled with:
		 * ti,edma-memcpy-channels = <20 21>;
		 * for example. Note that these channels need to be
		 * masked in the xbar as well.
		 */
	};

	edma_tptc0: tptc@43400000 {
		compatible = "ti,edma3-tptc";
		ti,hwmods = "tptc0";
		reg =	<0x43400000 0x100000>;
		interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "edma3_tcerrint";
	};

	edma_tptc1: tptc@43500000 {
		compatible = "ti,edma3-tptc";
		ti,hwmods = "tptc1";
		reg =	<0x43500000 0x100000>;
		interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "edma3_tcerrint";
	};

My questions:

1. Sould I modify the device tree by removing the EDMA setup? Or I can just leave it unchanged and ignore the EDMA failures?

2. Per below post, TI has provided a EDMA kernel space driver. When using early boot late attach, EDMA is setup in M4 not A15. I would like to know if this driver can still work in such case.

https://e2e.ti.com/support/processors/f/791/t/826808

Thanks.

Viewing all 17527 articles
Browse latest View live


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