Other Parts Discussed in Thread: TDA2
Hi all,
There is a customed board with DRA756 chip, each peripheral works fine except for ethernet. After fixing no output clock problem (e2e.ti.com/.../3289760 with help from Santhana, clock of TXC is always 2.5MHz when booting to u-boot or booting to Linux. Below is some details about u-boot and Linux configuration.
Booting log of the whole process is here
U-Boot 2018.01-00566-g0f1ad58-dirty (Apr 24 2020 - 15:39:42 +0800) CPU : DRA756-GP ES2.0 Model: TI DRA756 Board: DRA756 REDRAM: 2 GiB NAND: 0 MiB MMC: OMAP SD/MMC: 0 MMC Device 1 not found *** Warning - No MMC card found, using default environment In: serial@4806a000 Out: serial@4806a000 Err: serial@4806a000 invalid mmc device Net: Could not get PHY for ethernet@48484000: addr -17123512 Warning: ethernet@48484000 using MAC address from ROM eth0: ethernet@48484000 Hit any key to stop autoboot: 4 3 2 1 0 switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 ** Unable to read file boot.scr ** 232 bytes read in 1 ms (226.6 KiB/s) Loaded env from uEnv.txt Importing environment from mmc0 ... switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 4014592 bytes read in 177 ms (21.6 MiB/s) 99222 bytes read in 6 ms (15.8 MiB/s) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8ffe4000, end 8ffff395 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.79-g3438de3474 (oe-user@oe-host) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 SMP PREEMPT Thu Jan 31 10:19:19 UTC 2019 [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] OF: fdt: Machine model: LM DRA756 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB [ 0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB [ 0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB [ 0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB [ 0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatible id shared-dma-pool [ 0.000000] cma: Reserved 128 MiB at 0x00000000b0000000 [ 0.000000] OMAP4: Map 0x00000000fed00000 to fe600000 for dram barrier [ 0.000000] DRA752 ES2.0 [ 0.000000] percpu: Embedded 15 pages/cpu @eed58000 s31372 r8192 d21876 u61440 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 517696 [ 0.000000] Kernel command line: console=ttyO0,115200n8 elevator=noop root=/dev/mmcblk0p2 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=2 consoleblank=0 cma=128M@0xB0000000 rootfstype=ext4 snd.slots_reserved=1,1 [ 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: 1747808K/2077696K available (8192K kernel code, 346K rwdata, 2636K rodata, 2048K init, 282K bss, 34976K reserved, 294912K cma-reserved, 1160192K 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 - 0xc0a00000 (10208 kB) [ 0.000000] .init : 0xc0e00000 - 0xc1000000 (2048 kB) [ 0.000000] .data : 0xc1000000 - 0xc1056b58 ( 347 kB) [ 0.000000] .bss : 0xc1058000 - 0xc109eba0 ( 283 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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] GIC: Using split EOI/Deactivate mode [ 0.000000] OMAP clockevent source: timer1 at 32786 Hz [ 0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns [ 0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns [ 0.000018] Switching to timer-based delay loop, resolution 162ns [ 0.000347] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000356] OMAP clocksource: 32k_counter at 32768 Hz [ 0.000803] Console: colour dummy device 80x30 [ 0.000821] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.000829] This ensures that you still see kernel messages. Please [ 0.000835] update your kernel commandline. [ 0.000856] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475) [ 0.000872] pid_max: default: 32768 minimum: 301 [ 0.000978] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000992] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001519] CPU: Testing write buffer coherency: ok [ 0.001557] CPU0: Spectre v2: using ICIALLU workaround [ 0.001754] /cpus/cpu@0 missing clock-frequency property [ 0.001772] /cpus/cpu@1 missing clock-frequency property [ 0.001784] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.039867] Setting up static identity map for 0x80200000 - 0x80200060 [ 0.059876] Hierarchical SRCU implementation. [ 0.080063] EFI services will not be available. [ 0.099935] smp: Bringing up secondary CPUs ... [ 0.170296] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.170301] CPU1: Spectre v2: using ICIALLU workaround [ 0.170401] smp: Brought up 1 node, 2 CPUs [ 0.170412] SMP: Total of 2 processors activated (24.59 BogoMIPS). [ 0.170420] CPU: All CPU(s) started in HYP mode. [ 0.170427] CPU: Virtualization extensions available. [ 0.170967] devtmpfs: initialized [ 0.188637] random: get_random_u32 called from bucket_table_alloc+0x108/0x230 with crng_init=0 [ 0.188978] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 [ 0.189172] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.189190] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.194925] pinctrl core: initialized pinctrl subsystem [ 0.195394] DMI not present or invalid. [ 0.195647] NET: Registered protocol family 16 [ 0.196795] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.197693] omap_hwmod: l3_main_2 using broken dt data from ocp [ 0.399006] cpuidle: using governor ladder [ 0.399039] cpuidle: using governor menu [ 0.407215] OMAP GPIO hardware version 0.1 [ 0.426473] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/pinmux_gpmc_pins, deferring probe [ 0.436211] No ATAGs? [ 0.436284] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.436298] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.436656] omap4_sram_init:Unable to allocate sram needed to handle errata I688 [ 0.436668] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.437203] OMAP DMA hardware revision 0.0 [ 0.446935] edma 43300000.edma: memcpy is disabled [ 0.450101] edma 43300000.edma: TI EDMA DMA engine driver [ 0.456763] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported) [ 0.458022] ps_evm_3v3: supplied by evm_12v0 [ 0.458338] evm_5v0: supplied by evm_12v0 [ 0.461290] omap-iommu 40d01000.mmu: 40d01000.mmu registered [ 0.461485] omap-iommu 40d02000.mmu: 40d02000.mmu registered [ 0.461719] omap-iommu 58882000.mmu: 58882000.mmu registered [ 0.461958] omap-iommu 55082000.mmu: 55082000.mmu registered [ 0.462325] omap-iommu 41501000.mmu: 41501000.mmu registered [ 0.462536] omap-iommu 41502000.mmu: 41502000.mmu registered [ 0.464367] omap_i2c 48070000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/pinmux_i2c1_pins, deferring probe [ 0.464408] omap_i2c 48060000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/pinmux_i2c3_pins, deferring probe [ 0.464444] omap_i2c 4807c000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/pinmux_i2c5_pins, deferring probe [ 0.464600] media: Linux media interface: v0.10 [ 0.464635] Linux video capture interface: v2.00 [ 0.464711] pps_core: LinuxPPS API ver. 1 registered [ 0.464720] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.464738] PTP clock support registered [ 0.464764] EDAC MC: Ver: 3.0.0 [ 0.465042] dmi: Firmware registration failed. [ 0.465425] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400 [ 0.465701] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400 [ 0.466042] Advanced Linux Sound Architecture Driver Initialized. [ 0.466826] clocksource: Switched to clocksource arch_sys_counter [ 0.474242] NET: Registered protocol family 2 [ 0.474752] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.474816] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.474942] TCP: Hash tables configured (established 8192 bind 8192) [ 0.475008] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.475041] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.475161] NET: Registered protocol family 1 [ 0.475442] RPC: Registered named UNIX socket transport module. [ 0.475452] RPC: Registered udp transport module. [ 0.475460] RPC: Registered tcp transport module. [ 0.475468] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.476675] hw perfevents: no interrupt-affinity property for /pmu, guessing. [ 0.476871] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available [ 0.477922] workingset: timestamp_bits=14 max_order=19 bucket_order=5 [ 0.481964] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.482455] NFS: Registering the id_resolver key type [ 0.482477] Key type id_resolver registered [ 0.482486] Key type id_legacy registered [ 0.482523] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.483858] bounce: pool size: 64 pages [ 0.483902] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 0.483912] io scheduler noop registered (default) [ 0.483921] io scheduler deadline registered [ 0.484012] io scheduler cfq registered [ 0.484021] io scheduler mq-deadline registered [ 0.484029] io scheduler kyber registered [ 0.488447] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128 [ 0.489002] ti-iodelay 4844a000.padconf: Invalid Coarse delay count (0) (reg=0x00000000) [ 0.490736] dra7-pcie 51000000.pcie_ep: Linked as a consumer to phy-4a094000.pciephy.1 [ 0.536188] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 0.538858] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 44, base_baud = 3000000) is a 8250 [ 1.472430] console [ttyS0] enabled [ 1.476763] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 45, base_baud = 3000000) is a 8250 [ 1.487389] omap_rng 48090000.rng: Random Number Generator ver. 20 [ 1.496369] connector-hdmi connector@1: failed to find video source [ 1.513002] brd: module loaded [ 1.521492] loop: module loaded [ 1.528268] m25p80 spi0.0: n25q00 (131072 Kbytes) [ 1.533069] 10 ofpart partitions found on MTD device spi0.0 [ 1.538693] Creating 10 MTD partitions on "spi0.0": [ 1.543596] 0x000000000000-0x000000010000 : "QSPI.SPL" [ 1.549394] 0x000000010000-0x000000020000 : "QSPI.SPL.backup1" [ 1.555835] 0x000000020000-0x000000030000 : "QSPI.SPL.backup2" [ 1.562298] 0x000000030000-0x000000040000 : "QSPI.SPL.backup3" [ 1.568747] 0x000000040000-0x000000140000 : "QSPI.u-boot" [ 1.574726] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os" [ 1.581350] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env" [ 1.587720] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1" [ 1.594760] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel" [ 1.600770] 0x0000009e0000-0x000002000000 : "QSPI.file-system" [ 1.607791] libphy: Fixed MDIO Bus: probed [ 1.666866] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000 [ 1.674561] davinci_mdio 48485000.mdio: no live phy, scanning all [ 1.776838] davinci_mdio 48485000.mdio: timed out waiting for user access [ 1.883733] davinci_mdio 48485000.mdio: timed out waiting for idle [ 1.889980] davinci_mdio: probe of 48485000.mdio failed with error -5 [ 1.897262] cpsw 48484000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property [ 1.905569] cpsw 48484000.ethernet: Detected MACID = 38:0b:3c:40:ea:52 [ 1.912203] cpsw 48484000.ethernet: initialized cpsw ale version 1.4 [ 1.918606] cpsw 48484000.ethernet: ALE Table size 1024 [ 1.923899] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies) [ 1.931793] cpsw 48484000.ethernet: cpsw: Detected MACID = 00:00:00:00:00:a0 [ 1.940019] i2c /dev entries driver [ 1.944040] IR NEC protocol handler initialized [ 1.948625] IR RC5(x/sz) protocol handler initialized [ 1.953699] IR RC6 protocol handler initialized [ 1.958267] IR JVC protocol handler initialized [ 1.962817] IR Sony protocol handler initialized [ 1.967470] IR SANYO protocol handler initialized [ 1.972195] IR Sharp protocol handler initialized [ 1.976932] IR MCE Keyboard/mouse protocol handler initialized [ 1.982790] IR XMP protocol handler initialized [ 1.991365] sdhci: Secure Digital Host Controller Interface driver [ 1.997599] sdhci: Copyright(c) Pierre Ossman [ 2.002487] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.009370] sdhci-omap 4809c000.mmc: failed to set system capabilities [ 2.016500] sdhci-omap 480b4000.mmc: failed to set system capabilities [ 2.023815] ledtrig-cpu: registered to indicate activity on CPUs [ 2.033683] NET: Registered protocol family 10 [ 2.038977] Segment Routing with IPv6 [ 2.042707] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 2.049106] NET: Registered protocol family 17 [ 2.053743] Key type dns_resolver registered [ 2.058223] omap_voltage_late_init: Voltage driver support not added [ 2.064604] Power Management for TI OMAP4+ devices. [ 2.069770] Registering SWP/SWPB emulation handler [ 2.086522] dmm 4e000000.dmm: workaround for errata i878 in use [ 2.094160] dmm 4e000000.dmm: initialized all PAT entries [ 2.100218] omap-gpmc 50000000.gpmc: GPMC revision 6.0 [ 2.105384] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 2.112809] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda [ 2.119220] nand: Macronix MX30LF2G18AC [ 2.123075] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 2.130786] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme [ 2.136207] 10 ofpart partitions found on MTD device omap2-nand.0 [ 2.142346] Creating 10 MTD partitions on "omap2-nand.0": [ 2.147787] 0x000000000000-0x000000020000 : "NAND.SPL" [ 2.153717] 0x000000020000-0x000000040000 : "NAND.SPL.backup1" [ 2.160294] 0x000000040000-0x000000060000 : "NAND.SPL.backup2" [ 2.166874] 0x000000060000-0x000000080000 : "NAND.SPL.backup3" [ 2.173422] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os" [ 2.180297] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot" [ 2.187253] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env" [ 2.193725] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1" [ 2.200902] 0x000000200000-0x000000a00000 : "NAND.kernel" [ 2.214413] 0x000000a00000-0x000010000000 : "NAND.file-system" [ 2.452878] palmas 0-0058: IRQ missing: skipping irq request [ 2.487191] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0 [ 2.494119] SMPS123: supplied by regulator-dummy [ 2.501711] SMPS45: supplied by regulator-dummy [ 2.508275] SMPS6: supplied by regulator-dummy [ 2.514605] SMPS7: supplied by regulator-dummy [ 2.521080] SMPS8: supplied by regulator-dummy [ 2.527429] SMPS9: supplied by regulator-dummy [ 2.532972] LDO1: supplied by regulator-dummy [ 2.539399] LDO2: supplied by regulator-dummy [ 2.545131] random: fast init done [ 2.549082] LDO3: supplied by regulator-dummy [ 2.555322] LDO4: supplied by regulator-dummy [ 2.560528] LDO5: supplied by regulator-dummy [ 2.565713] LDO6: supplied by regulator-dummy [ 2.570905] LDO7: supplied by regulator-dummy [ 2.576076] LDO8: supplied by regulator-dummy [ 2.581260] LDO9: supplied by regulator-dummy [ 2.587700] LDOLN: supplied by regulator-dummy [ 2.594067] LDOUSB: supplied by regulator-dummy [ 2.603276] GPIO line 508 (CT_CP_HPD) hogged as output/high [ 2.609021] GPIO line 507 (LS_OE) hogged as output/high [ 2.614645] pcf857x 0-0020: probed [ 2.618699] pcf857x 0-0023: probed [ 2.622176] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz [ 2.657402] tmp102 2-0048: initialized [ 2.661667] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz [ 2.682135] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz [ 2.688468] DSS: OMAP DSS rev 6.1 [ 2.692534] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops) [ 2.701035] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops) [ 2.711893] evm_3v3_sd: supplied by sysen1 [ 2.776853] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA [ 2.784641] evm_1v8: supplied by smps9 [ 2.846853] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA [ 2.861574] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 2.868379] [drm] No driver support for vblank timestamp query. [ 2.896790] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.909478] mmc0: new high speed SDHC card at address aaaa [ 2.915257] mmcblk0: mmc0:aaaa SC16G 14.8 GiB [ 2.923717] mmcblk0: p1 p2 [ 3.017563] mmc1: new high speed MMC card at address 0001 [ 3.023301] mmcblk1: mmc1:0001 DG4064 59.2 GiB [ 3.028080] mmcblk1boot0: mmc1:0001 DG4064 partition 1 4.00 MiB [ 3.034272] mmcblk1boot1: mmc1:0001 DG4064 partition 2 4.00 MiB [ 3.040368] EDID block is all zeroes [ 3.044252] [drm] Enabling DMM ywrap scrolling [ 3.053479] mmcblk1rpmb: mmc1:0001 DG4064 partition 3 4.00 MiB [ 3.073747] Console: switching to colour frame buffer device 128x48 [ 3.089853] omapdrm omapdrm.0: fb0: omapdrm frame buffer device [ 3.096760] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0 [ 3.104677] hctosys: unable to open rtc device (rtc0) [ 3.110451] vtt_fixed: supplied by evm_3v3_sd [ 3.115038] ldousb: disabling [ 3.118292] ALSA device list: [ 3.121268] No soundcards found. [ 3.170945] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 3.179124] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 3.195507] devtmpfs: mounted [ 3.199379] Freeing unused kernel memory: 2048K [ 3.499116] systemd[1]: System time before build time, advancing clock. [ 3.540656] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid) [ 3.562347] systemd[1]: Detected architecture arm. Welcome to Arago 2018.10! [ 3.609988] systemd[1]: Set hostname to <dra7xx-evm>. [ 3.923474] random: systemd: uninitialized urandom read (16 bytes read) [ 3.930279] systemd[1]: Listening on Syslog Socket. [ OK ] Listening on Syslog Socket. [ 3.956953] random: systemd: uninitialized urandom read (16 bytes read) [ 3.965086] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 3.997136] random: systemd: uninitialized urandom read (16 bytes read) [ 4.004988] systemd[1]: Created slice System Slice. [ OK ] Created slice System Slice. [ 4.037314] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 4.068349] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 4.097041] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ 4.137504] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ OK ] Listening on Journal Socket. [ OK ] Listening on Process Core Dump Socket. Mounting Kernel Debug File System... [ OK ] Created slice system-getty.slice. [ 4.295953] EDID block is all zeroes Starting Remount Root and Kernel File Systems... [ 4.343659] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ OK ] Started Forward Password Requests to Wall Directory Watch. [ OK ] Reached target Paths. [ OK ] Reached target Remote File Systems. [ OK ] Listening on Journal Socket (/dev/log). [ OK ] Listening on udev Kernel Socket. [ OK ] Reached target Slices. Starting Load Kernel Modules... [ 4.593279] cmemk: loading out-of-tree module taints kernel. Starting Journal Service... [ 4.599927] CMEMK module: reference Linux version 4.14.79 [ 4.607663] no physical memory specified [ 4.611629] cmemk initialized [ 4.622771] cryptodev: driver 1.9 loaded. Mounting POSIX Message Queue File System... [ OK ] Listening on Network Service Netlink Socket. [ OK ] Reached target Swap. Mounting Temporary Directory (/tmp)... [ OK ] Mounted Kernel Debug File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Temporary Directory (/tmp). [ OK ] Started Journal Service. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Started Load Kernel Modules. Mounting Kernel Configuration File System... Starting Apply Kernel Variables... Starting Create System Users... Starting Rebuild Hardware Database... Starting Flush Journal to Persistent Storage... [ OK ] Mounted Kernel Configuration File System. [ OK ] Started Apply Kernel Variables. [ OK ] Started Create System Users. [ 5.203712] systemd-journald[90]: Received request to flush runtime journal from PID 1 Starting Create Static Device Nodes in /dev... [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Reached target Local File Systems (Pre). Mounting /var/volatile... Mounting /media/ram... Starting udev Kernel Device Manager... [ OK ] Mounted /var/volatile. [ OK ] Mounted /media/ram. Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... Starting Rebuild Journal Catalog... Starting Rebuild Dynamic Linker Cache... [ OK ] Started udev Kernel Device Manager. [ OK ] Started Load/Save Random Seed. [ OK ] Started Create Volatile Files and Directories. [ OK ] Started Rebuild Journal Catalog. Starting Update UTMP about System Boot/Shutdown... Starting Network Time Synchronization... [ OK ] Started Rebuild Dynamic Linker Cache. [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started Rebuild Hardware Database. Starting udev Coldplug all Devices... Starting Update is Completed... [ OK ] Started Update is Completed. [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Time Synchronized. [ OK ] Started udev Coldplug all Devices. [ OK ] Reached target System Initialization. [ OK ] Started Daily Cleanup of Temporary Directories. Starting Network Service... [ OK ] Listening on dropbear.socket. [ OK ] Started Daily rotation of log files. [ OK ] Reached target Timers. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Listening on RPCbind Server Activation Socket. [ 7.394744] at24 2-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write [ 7.402557] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2 [ 7.402764] omap-des 480a5000.des: will run requests pump with realtime priority [ 7.409239] CAN device driver interface [ OK ] Reached target Sockets. [ 7.456397] ov1063x: probe of 2-0037 failed with error -121 [ 7.476018] at24 2-0054: 256 byte 24c02 EEPROM, writable, 1 bytes/write [ 7.492988] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=91) [ 7.493682] c_can_platform 48480000.can: c_can_platform device registered (regs=fa480000, irq=92) [ OK ] Reached target Basic System. [ OK ] Reached target Containers. [ 7.591538] omap_rtc 48838000.rtc: registered as rtc0 [ 7.598920] at24 4-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write [ 7.600127] at24 4-0054: 256 byte 24c02 EEPROM, writable, 1 bytes/write [ OK ] Started Periodic Command Scheduler. [ OK ] Started Hardware RNG Entropy Gatherer Daemon.[ 7.680831] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin Starting Print notice about GPLv3 packages... [ 7.727067] vpe 489d0000.vpe: Device registered as /dev/video0 [ 7.733405] SCSI subsystem initialized [ 7.746718] net eth0: initializing cpsw version 1.15 (0) [ 7.763998] random: crng init done [ 7.764002] random: 7 urandom warning(s) missed due to ratelimiting [ 7.767157] Generic PHY fixed-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:00, irq=POLL) [ 7.827808] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 7.833647] vip 48970000.vip: loading firmware vpdma-1b8.bin [ 7.856901] vip 48970000.vip: VPDMA firmware loaded [ 7.890463] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 7.895964] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3 [ 7.985481] net eth1: initializing cpsw version 1.15 (0) [ 7.992822] libphy: PHY not found [ 7.992829] net eth1: phy "" not found on slave 1, err -19 [ 8.002976] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 8.033268] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3 [ 8.040898] omap-aes 4b500000.aes: will run requests pump with realtime priority [ 8.103149] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3 [ 8.120067] omap-aes 4b700000.aes: will run requests pump with realtime priority [ 8.137504] [drm] Initialized pvr 1.14.3699939 20110701 for 56000000.gpu on minor 1 [ OK ] Started System Logging Service. Starting TI IPC Daemon... Starting Login Service... Starting uim-sysfs.service... [ OK ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf. [ 8.337697] ahci 4a140000.sata: forcing port_map 0x0 -> 0x1 [ 8.381367] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 8.434687] ahci 4a140000.sata: flags: 64bit ncq sntf pm led clo only pmp pio slum part ccc apst [ OK ] Started Job spooling tools. Starting RPC Bind Service... [ OK ] Started D-Bus System Message Bus. [ 8.567674] scsi host0: ahci [ 8.600522] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 81 [ 8.806904] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 8.814860] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 8.864731] extcon-usb-gpio: probe of extcon_usb2 failed with error -16 [ 8.884273] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 8.958178] ata1: SATA link down (SStatus 0 SControl 300) [ 8.968261] NET: Registered protocol family 15 [ OK ] Started Kernel Logging Service. [ 9.090791] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok [ 9.114555] OF: /sound0/simple-audio-card,cpu: could not get #sound-dai-cells for /ocp/mcasp@48468000 [ 9.114562] asoc-simple-card sound0: parse error -22 [ 9.114578] asoc-simple-card: probe of sound0 failed with error -22 [ OK ] Started Network Service. [ OK ] Started TI IPC Daemon. [ OK ] Started RPC Bind Service. [ OK ] Found device /dev[ 9.256958] omap-hdmi-audio omap-hdmi-audio.0.auto: ASoC: no DMI vendor name! /ttyS0. [ 9.272256] Initializing XFRM netlink socket [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Reached target Network. Starting Enable and configure wl18xx bluetooth stack... Starting Permit User Sessions... Starting Lightning Fast Webserver With Light System Requirements... Starting Network Name Resolution... [ OK ] Started Permit User Sessions. [ OK ] Started Login Service. [ OK ] Started Lightning Fast Webserver With Light System Requirements. [ OK ] Started Enable and configure wl18xx bluetooth stack. [ OK ] Started Network Name Resolution. [ 10.695801] usbcore: registered new interface driver usbfs [ 10.710407] usbcore: registered new interface driver hub [ 10.725052] usbcore: registered new device driver usb [ 10.753614] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 10.761407] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1 [ 10.788583] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010 [ 10.805182] xhci-hcd xhci-hcd.1.auto: irq 180, io mem 0x48890000 [ 10.825054] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 10.832963] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 10.847879] usb usb1: Product: xHCI Host Controller [ 10.852791] usb usb1: Manufacturer: Linux 4.14.79-g3438de3474 xhci-hcd [ 10.876863] usb usb1: SerialNumber: xhci-hcd.1.auto [ 10.882242] hub 1-0:1.0: USB hub found [ 10.886423] hub 1-0:1.0: 1 port detected [ 10.897235] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 10.902770] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2 [ 10.926863] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed [ 10.948104] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 10.965546] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003 [ 10.977634] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 10.996306] usb usb2: Product: xHCI Host Controller [ 11.010360] usb usb2: Manufacturer: Linux 4.14.79-g3438de3474 xhci-hcd [ 11.025039] usb usb2: SerialNumber: xhci-hcd.1.auto [ 11.037776] hub 2-0:1.0: USB hub found [ 11.047057] hub 2-0:1.0: 1 port detected [ OK ] Reached target Sound Card. [ OK ] Reached target Host and Network Name Lookups. [ OK ] Started NFS status monitor for NFSv2/3 locking.. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. Starting Synchronize System and HW clocks... [ OK ] Started Synchronize System and HW clocks. [ OK ] Started uim-sysfs.service. Starting rc.pvr.service... [ 11.690792] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ] [ OK ] Started rc.pvr.service. Starting weston.service... *************************************************************** *************************************************************** NOTICE: This file system contains the following GPLv3 packages: autoconf bash-dev bash binutils-dev binutils bison-dev bison cifs-utils cpio cpp-symlinks cpp dosfstools elfutils-dev elfutils g++-symlinks g++ gawk gcc-symlinks gcc gdb gdbc6x gdbserver gettext glmark2 gstreamer1.0-libav gzip libasm1 libcairo-perf-utils libdw1 libelf1 libgdbm-compat4 libgdbm-dev libgdbm4 libgettextlib libgettextsrc libgmp10 libidn11 libmpc3 libmpfr4 libreadline-dev libreadline7 libunistring2 m4-dev m4 make nettle parted python3-pycairo swig-dev swig which 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 *************************************************************** *************************************************************** [ OK ] Started Print notice about GPLv3 packages. [ OK ] Started weston.service. Starting telnetd.service... [ OK ] Started telnetd.service. Starting thttpd.service... [ OK ] Started thttpd.service. Starting rng-tools.service... [ OK ] Started rng-tools.service. Starting gdbserverproxy.service... [ OK ] Started gdbserverproxy.service. Starting matrix-gui-2.0.service... [ OK ] Started matrix-gui-2.0.service. Starting thermal-zone-init.service... [ OK ] Started thermal-zone-init.service. [ OK ] Reached target Multi-User System. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org dra7xx-evm ttyS0 Arago 2018.10 dra7xx-evm ttyS0 dra7xx-evm login:
root@dra7xx-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: 64 Broadcast Tx Frames: 27 Multicast Tx Frames: 37 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: 12656 Rx + Tx 64 Octet Frames: 0 Rx + Tx 65-127 Octet Frames: 37 Rx + Tx 128-255 Octet Frames: 0 Rx + Tx 256-511 Octet Frames: 27 Rx + Tx 512-1023 Octet Frames: 0 Rx + Tx 1024-Up Octet Frames: 0 Net Octets: 12656 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: 64 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: 0 Tx DMA chan 0: empty_dequeue: 64 Tx DMA chan 0: busy_dequeue: 0 Tx DMA chan 0: good_dequeue: 64 Tx DMA chan 0: requeue: 0 Tx DMA chan 0: teardown_dequeue: 0 root@dra7xx-evm:~# ethtool eth0 Settings for eth0: Supported ports: [ TP AUI BNC MII FIBRE ] Supported link modes: 1000baseT/Half 1000baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 1000baseT/Half 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 1000baseT/Full Link partner advertised pause frame use: No Link partner advertised auto-negotiation: No Link partner advertised FEC modes: Not reported Speed: 1000Mb/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@dra7xx-evm:~#
root@dra7xx-evm:/mnt# ./memread.sh try to get 0x4A003650 10000 try to get 0x4A003654 10000 try to get 0x4A003658 10000 try to get 0x4A00365C 10000 try to get 0x4A003660 10000 try to get 0x4A003664 10000 try to get 0x4A003668 50000 try to get 0x4A00366C 50000 try to get 0x4A003670 50000 try to get 0x4A003674 50000 try to get 0x4A003678 50000 try to get 0x4A00367C 50000 root@dra7xx-evm:/mnt# omapconf read 0x48485288 00000000 omapconf: powerdm_deinit(): cpu not supported!!! omapconf: clockdm_deinit(): cpu not supported!!! root@dra7xx-evm:/mnt# omapconf read 0x48484D84 000000A1 omapconf: powerdm_deinit(): cpu not supported!!! omapconf: clockdm_deinit(): cpu not supported!!! root@dra7xx-evm:/mnt#
For u-boot, mac related configuration is here. mux_data.h is update with new pad configuration and pad IO delay. However, pad IO delay is genrated by TI pin mux tool and not changed.
For Linux configuration, mac related dts is shown below
Trails below are already been done but clock is still 2.5MHz.
- change linux dts, phy-mode = "rgmii-id", probing at linux terminal;
- change linux dts, change fixed-link.speed to 10, 100, 1000, , probing at linux terminal
- change uboot dts, add fixed-link and remove PHY properties and phy-mode = "rgmii-rxid" , probing at uboot terminal
Hope someone share me some insights. Thanks very much.
Best Regards,
Daniel