This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
I would like to know if the CPSW configuration support two different PHY mode on the same CPSW ?
Our Hardware engineer connected the Atheros 8031 and SMSC LAN8710 to our Sitara processor.
/var/log/dmesg:[ 1.220301] davinci_mdio 4a101000.mdio: phy[2]: device 4a101000.mdio:02, driver SMSC LAN8710/LAN8720
/var/log/dmesg:[ 1.220315] davinci_mdio 4a101000.mdio: phy[4]: device 4a101000.mdio:04, driver Atheros 8031 ethernet
I am trying to configure the DTS in order to have both PHY working, one on ETH0 and one on ETH1 but I dont know how to proceed.
I have reused the cpsw_emac section of the am335x-evm-sk and the Atheros started to work, but for the SMSC LAN8710 I used the cpsw_emac section of the bone-common.dtsi and I dont see link on eth1
is there some one which can guide me about those two questions ?
1. Is this design can work ?
2. if Yes, how the cpsw_emac DTS section should look like ?
3. How the pin definition cpsw_default: should look like ?
4. Is the dual_emac mode has to be enabled ?
thanks in advance
Yes thank you.
Just for confirmation, you're saying thRGMII and RMII on the same CPSW,
Actually I have this in my DTS:
&mac { pinctrl-names = "default", "sleep"; pinctrl-0 = <&cpsw_default>; pinctrl-1 = <&cpsw_sleep>; dual_emac = <0>; status = "okay"; }; &davinci_mdio { pinctrl-names = "default", "sleep"; pinctrl-0 = <&davinci_mdio_default>; pinctrl-1 = <&davinci_mdio_sleep>; status = "okay"; }; &cpsw_emac0 { phy_id = <&davinci_mdio>, <4>; phy-mode = "rgmii-txid"; dual_emac_res_vlan = <1>; }; &cpsw_emac1 { phy_id = <&davinci_mdio>, <2>; phy-mode = "rgmii-txid"; dual_emac_res_vlan = <2>; };
and somehow things started to work.
root@linux:~# mii-tool -v eth1 eth1: negotiated 1000baseT-HD flow-control, link ok product info: vendor 00:01:f0, model 15 rev 1 basic mode: autonegotiation enabled basic status: autonegotiation complete, link ok capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control root@linux:~# mii-tool -v eth0 eth0: negotiated 100baseTx-FD, link ok product info: vendor 00:13:74, model 7 rev 4 basic mode: autonegotiation enabled basic status: autonegotiation complete, link ok capabilities: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD link partner: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
And pinmux conf remaint the same:
cpsw_default: cpsw_default { pinctrl-single,pins = < /* Slave 1 */ 0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */ 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */ 0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd3.rgmii1_td3 */ 0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd2.rgmii1_td2 */ 0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */ 0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */ 0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */ 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rgmii1_rclk */ 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd3.rgmii1_rd3 */ 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd2.rgmii1_rd2 */ 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */ 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */ /* Slave 2 */ 0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a0.rgmii2_tctl */ 0x44 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a1.rgmii2_rctl */ 0x48 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a2.rgmii2_td3 */ 0x4c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a3.rgmii2_td2 */ 0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a4.rgmii2_td1 */ 0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a5.rgmii2_td0 */ 0x58 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_a6.rgmii2_tclk */ 0x5c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a7.rgmii2_rclk */ 0x60 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a8.rgmii2_rd3 */ 0x64 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a9.rgmii2_rd2 */ 0x68 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a10.rgmii2_rd1 */ 0x6c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* gpmc_a11.rgmii2_rd0 */ >;
is it making sense ???
Part Number: PROCESSOR-SDK-AM335X
Tool/software: Linux
Hi,
I need help to debug my issue.
I have read dozen of threads on configuring RGMII and MII on U-boot and DTS in the TI forum, I have tried all of them, nothing is helping.
My issue is as following:
Our board is based EVMSK for everything except the ETH1 which is SMSC LAN8710 (used in the design of BBB).
My DTS is as following:
cpsw_default: cpsw_default {
pinctrl-single,pins = <
/* Slave 1 */
0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */
0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */
0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd3.rgmii1_td3 */
0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd2.rgmii1_td2 */
0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */
0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */
0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */
0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rgmii1_rclk */
0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd3.rgmii1_rd3 */
0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd2.rgmii1_rd2 */
0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */
0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */
0x78 ( PIN_INPUT | MUX_MODE1 ) /* (U18) gpmc_be1n.gmii2_col */
0x70 ( PIN_INPUT | MUX_MODE1 ) /* (T17) gpmc_wait0.gmii2_crs */
0x74 ( PIN_INPUT | MUX_MODE1 ) /* (U17) gpmc_wpn.gmii2_rxer */
/* Slave 2 */
0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a0.gmii2_tctl */
0x44 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a1.gmii2_rctl */
0x48 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a2.gmii2_td3 */
0x4c (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a3.gmii2_td2 */
0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a4.gmii2_td1 */
0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a5.gmii2_td0 */
0x58 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a6.gmii2_tclk */
0x5c (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a7.gmii2_rclk */
0x60 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a8.gmii2_rd3 */
0x64 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a9.gmii2_rd2 */
0x68 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a10.gmii2_rd1 */
0x6c (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a11.gmii2_rd0 */
>;
};
&mac {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_default>;
pinctrl-1 = <&cpsw_sleep>;
dual_emac = <0>;
status = "okay";
};
&davinci_mdio {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
status = "okay";
};
&cpsw_emac0 {
phy_id = <&davinci_mdio>, <4>;
phy-mode = "rgmii-txid";
};
&cpsw_emac1 {
phy_id = <&davinci_mdio>, <5>; // the PHY IS 0x02 in the design, but we changed the PHY ADDR to 0x5 during our test
phy-mode = "mii";
};
The result is that I see LINK UP on eth1 but no ping and no traffic is getting out neither received and suddenly the KERNEL reports a WARNING which also made ETH0 not working anymore.
[ 632.563942] device eth0 entered promiscuous mode
[ 632.612187] device eth0 left promiscuous mode
[ 640.634085] device eth1 entered promiscuous mode
[ 648.024063] ------------[ cut here ]------------
[ 648.024160] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:303 dev_watchdog+0x2a4/0x2c8()
[ 648.024185] NETDEV WATCHDOG: eth0 (cpsw): transmit queue 0 timed out
[ 648.024204] Modules linked in: bluetooth ipv6 omap_rng rng_core rtc_omap omap_wdt uio_pdrv_genirq uio vs88ut_fpga(O)
[ 648.024312] CPU: 0 PID: 0 Comm: swapper Tainted: G O 4.1.19-kramer-bone20-tisdk_vs88ut-001 #30
[ 648.024333] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 648.024351] Backtrace:
[ 648.024417] [<c0012af8>] (dump_backtrace) from [<c0012d18>] (show_stack+0x18/0x1c)
[ 648.024437] r7:c08225ec r6:0000012f r5:00000009 r4:00000000
[ 648.024501] [<c0012d00>] (show_stack) from [<c063fd80>] (dump_stack+0x20/0x28)
[ 648.024553] [<c063fd60>] (dump_stack) from [<c0036704>] (warn_slowpath_common+0x7c/0xb4)
[ 648.024593] [<c0036688>] (warn_slowpath_common) from [<c0036774>] (warn_slowpath_fmt+0x38/0x40)
[ 648.024613] r8:ffffffff r7:c08eb6eb r6:c08baad0 r5:00000000 r4:c08225b0
[ 648.024675] [<c0036740>] (warn_slowpath_fmt) from [<c058a934>] (dev_watchdog+0x2a4/0x2c8)
[ 648.024695] r3:cd9bf800 r2:c08225b0
[ 648.024719] r4:cd9bf800
[ 648.024769] [<c058a690>] (dev_watchdog) from [<c00766dc>] (call_timer_fn+0x2c/0xa4)
[ 648.024788] r9:c08baad0 r8:00200200 r7:00000000 r6:c08ade38 r5:c058a690 r4:00000101
[ 648.024858] [<c00766b0>] (call_timer_fn) from [<c0076b68>] (run_timer_softirq+0x234/0x2d4)
[ 648.024877] r6:c08ade38 r5:c0900b40 r4:cd9bfa38
[ 648.024935] [<c0076934>] (run_timer_softirq) from [<c0039668>] (__do_softirq+0xec/0x218)
[ 648.024953] r10:00000101 r9:40000001 r8:c08eed80 r7:c08ac000 r6:c08eed84 r5:00000001
[ 648.024999] r4:00000000
[ 648.025038] [<c003957c>] (__do_softirq) from [<c0039a3c>] (irq_exit+0xa8/0x100)
[ 648.025057] r10:00000001 r9:c08ae110 r8:cd806000 r7:00000001 r6:00000000 r5:c08c4954
[ 648.025102] r4:00000000
[ 648.025149] [<c0039994>] (irq_exit) from [<c0068874>] (__handle_domain_irq+0x58/0xb0)
[ 648.025167] r5:c08c4954 r4:00000000
[ 648.025210] [<c006881c>] (__handle_domain_irq) from [<c0009470>] (omap_intc_handle_irq+0xbc/0xcc)
[ 648.025228] r9:c08ae110 r8:00000000 r7:00000044 r6:c08adf20 r5:c0916940 r4:c08c4bc0
[ 648.025300] [<c00093b4>] (omap_intc_handle_irq) from [<c0645240>] (__irq_svc+0x40/0x74)
[ 648.025323] Exception stack(0xc08adf20 to 0xc08adf68)
[ 648.025358] df20: 00000001 00000000 00000000 c001ffa0 c08ac000 c08ae110 00000000 00000000
[ 648.025392] df40: 00000000 c08ae110 00000001 c08adf74 c08adf78 c08adf68 c00101fc c0010200
[ 648.025414] df60: 60000013 ffffffff
[ 648.025430] r7:c08adf54 r6:ffffffff r5:60000013 r4:c0010200
[ 648.025504] [<c00101c8>] (arch_cpu_idle) from [<c00603a0>] (cpu_startup_entry+0x194/0x214)
[ 648.025542] [<c006020c>] (cpu_startup_entry) from [<c063cbe4>] (rest_init+0x78/0x90)
[ 648.025560] r7:c08ae000
[ 648.025611] [<c063cb6c>] (rest_init) from [<c0868c8c>] (start_kernel+0x354/0x3c4)
[ 648.025629] r5:c08ee000 r4:c08ee050
[ 648.025675] [<c0868938>] (start_kernel) from [<80008078>] (0x80008078)
[ 648.025697] ---[ end trace c818a663baccaf67 ]---
[ 677.197982] device eth1 left promiscuous mode
So, I need guidance to debug and how to check the validity of the PHY, it can be in u-boot or Linux, I have debugged the PHY register in both of them the issue remain the same.
I almost sure the issue is somewhere in the hardware design, but I need your help to find the root cause.
BTW, Strangely, when I declare "rgmii" for the ETH1, things starts to work but some packets are dropped..... very strange, the PHY is physically configured and connected using MII.....I am lost !
Any direction, advice is welcome ,
thank you very much in advance.
We are using Ubuntu for ARM, and Kernel release 4.1.19-bone20 and also u-boot from the source of RobertNelson for BBB.
Below attached what you ask for, boot log + ethtool output + dmesg:
Checking for: mmc 1:1 /uEnv.txt ... Checking for: /boot.scr ... Checking for: /boot/boot.scr ... Checking for: /boot/uEnv.txt ... 918 bytes read in 34 ms (26.4 KiB/s) Loaded environment from mmc 1:1 /boot/uEnv.txt Checking if uname_r is set in /boot/uEnv.txt... Running uname_boot ... loading /boot/vmlinuz-4.1.19--bone20-tisdk_ ... 3305464 bytes read in 229 ms (13.8 MiB/s) loading /boot/dtbs/4.1.19--bone20-tisdk_/am335x-evmsk.dtb ... 58189 bytes read in 84 ms (675.8 KiB/s) debug: [console=ttyO0,115200n8 ksupport root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait oops=panic panic=-1] ... debug: [bootz 0x82000000 - 0x88000000] ... Kernel image @ 0x82000000 [ 0x000000 - 0x326ff8 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Using Device Tree in place at 88000000, end 8801134c Starting kernel ... [ 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.19--bone20-tisdk_-001 (sweiss@ubuntu-obelix) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #30 PREEMPT Thu Feb 16 16:10:40 IST 2017 [ 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] Machine model: AM335x VS-88UT 3.59t [ 0.000000] cma: Reserved 24 MiB at 0x8e800000 [ 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: 64960 [ 0.000000] Kernel command line: console=ttyO0,115200n8 ksupport root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait oops=panic panic=-1 [ 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: 225364K/262144K available (6403K kernel code, 255K rwdata, 2168K rodata, 272K init, 233K bss, 12204K 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 : 0xd0800000 - 0xff000000 ( 744 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 - 0xc08670ac (8573 kB) [ 0.000000] .init : 0xc0868000 - 0xc08ac000 ( 272 kB) [ 0.000000] .data : 0xc08ac000 - 0xc08ebd68 ( 256 kB) [ 0.000000] .bss : 0xc08ee000 - 0xc0928778 ( 234 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.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000040] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000052] OMAP clocksource: timer1 at 24000000 Hz [ 0.000243] Console: colour dummy device 80x30 [ 0.000271] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.000277] This ensures that you still see kernel messages. Please [ 0.000283] update your kernel commandline. [ 0.000302] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216) [ 0.089087] pid_max: default: 32768 minimum: 301 [ 0.089191] Security Framework initialized [ 0.089245] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.089256] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.089967] Initializing cgroup subsys blkio [ 0.089994] Initializing cgroup subsys memory [ 0.090040] Initializing cgroup subsys devices [ 0.090057] Initializing cgroup subsys freezer [ 0.090072] Initializing cgroup subsys perf_event [ 0.090101] CPU: Testing write buffer coherency: ok [ 0.090519] Setting up static identity map for 0x80008200 - 0x80008270 [ 0.092401] devtmpfs: initialized [ 0.108527] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.120905] omap_hwmod: tptc0 using broken dt data from edma [ 0.121059] omap_hwmod: tptc1 using broken dt data from edma [ 0.121185] omap_hwmod: tptc2 using broken dt data from edma [ 0.126004] omap_hwmod: debugss: _wait_target_disable failed [ 0.181062] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.183482] pinctrl core: initialized pinctrl subsystem [ 0.184845] NET: Registered protocol family 16 [ 0.187177] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.209080] cpuidle: using governor ladder [ 0.239068] cpuidle: using governor menu [ 0.241969] omap_gpio 44e07000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_cpld_cs_pins_default, deferring probe [ 0.242282] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_wl12xx_gpio, deferring probe [ 0.242570] omap_gpio 481ac000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio2_jtag_pins_default, deferring probe [ 0.242841] omap_gpio 481ae000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio3_fpga_rst_pins, deferring probe [ 0.250758] No ATAGs? [ 0.250793] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.288029] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver [ 0.291934] vgaarb: loaded [ 0.292498] SCSI subsystem initialized [ 0.293024] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe [ 0.293081] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c2_pins_default, deferring probe [ 0.293209] media: Linux media interface: v0.10 [ 0.293281] Linux video capture interface: v2.00 [ 0.293333] pps_core: LinuxPPS API ver. 1 registered [ 0.293341] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.293373] PTP clock support registered [ 0.294091] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.294387] Advanced Linux Sound Architecture Driver Initialized. [ 0.295322] Switched to clocksource timer1 [ 0.306531] NET: Registered protocol family 2 [ 0.307423] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.307458] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.307487] TCP: Hash tables configured (established 2048 bind 2048) [ 0.307571] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.307590] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.307762] NET: Registered protocol family 1 [ 0.308172] RPC: Registered named UNIX socket transport module. [ 0.308188] RPC: Registered udp transport module. [ 0.308194] RPC: Registered tcp transport module. [ 0.308201] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.309161] CPU PMU: Failed to parse /pmu/interrupt-affinity[0] [ 0.309209] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 0.311128] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.311221] audit: initializing netlink subsys (disabled) [ 0.311289] audit: type=2000 audit(0.290:1): initialized [ 0.319239] VFS: Disk quotas dquot_6.6.0 [ 0.319461] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.321711] NFS: Registering the id_resolver key type [ 0.321787] Key type id_resolver registered [ 0.321796] Key type id_legacy registered [ 0.321867] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.324547] NET: Registered protocol family 38 [ 0.324621] io scheduler noop registered [ 0.324636] io scheduler deadline registered [ 0.324696] io scheduler cfq registered (default) [ 0.325935] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 0.328233] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.331936] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 26, base_baud = 3000000) is a 8250 [ 1.034054] console [ttyS0] enabled [ 1.038498] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 27, base_baud = 3000000) is a 8250 [ 1.048258] [drm] Initialized drm 1.1.0 20060810 [ 1.064055] brd: module loaded [ 1.072458] loop: module loaded [ 1.076841] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.088910] mousedev: PS/2 mouse device common for all mice [ 1.094628] i2c /dev entries driver [ 1.100035] omap_hsmmc 481d8000.mmc: unable to get vmmc regulator -517 [ 1.106992] ledtrig-cpu: registered to indicate activity on CPUs [ 1.113320] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2 [ 1.120383] omap-sham 53100000.sham: hw accel on OMAP rev 4.3 [ 1.126370] omap-sham 53100000.sham: initialization failed. [ 1.132014] omap-sham: probe of 53100000.sham failed with error -22 [ 1.140477] oprofile: using arm/armv7 [ 1.144534] Initializing XFRM netlink socket [ 1.149087] NET: Registered protocol family 17 [ 1.153601] NET: Registered protocol family 15 [ 1.158272] Key type dns_resolver registered [ 1.162861] omap_voltage_late_init: Voltage driver support not added [ 1.169688] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517 [ 1.178523] cpu cpu0: cpu0 clock notifier not ready, retry [ 1.184248] ThumbEE CPU extension supported. [ 1.188621] Registering SWP/SWPB emulation handler [ 1.196451] OMAP GPIO hardware version 0.1 [ 1.204260] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 1.225523] tps65910 0-002d: No interrupt support, no core IRQ [ 1.254964] tps65910-rtc tps65910-rtc: IRQ is not free. [ 1.260294] tps65910-rtc: probe of tps65910-rtc failed with error -22 [ 1.267022] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 1.273901] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz [ 1.280289] omap_hsmmc 48060000.mmc: Got CD GPIO [ 1.285381] vmmc: supplied by vbat [ 1.326716] vmmc: Restricting voltage, 3300000-1950000uV [ 1.332065] omap_hsmmc 481d8000.mmc: could not set regulator OCR (-22) [ 1.375672] vdd_mpu: supplied by vbat [ 1.379540] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1260000]:-22 [ 1.389788] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1260000]:-22 [ 1.449302] mmc1: MAN_BKOPS_EN bit is not set [ 1.457406] mmc1: new high speed MMC card at address 0001 [ 1.463389] mmcblk0: mmc1:0001 MMC04G 3.60 GiB [ 1.468025] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6 [ 1.474149] davinci_mdio 4a101000.mdio: detected phy mask c780ffcf [ 1.480575] mmcblk0boot0: mmc1:0001 MMC04G partition 1 16.0 MiB [ 1.487034] mmcblk0boot1: mmc1:0001 MMC04G partition 2 16.0 MiB [ 1.501600] libphy: 4a101000.mdio: probed [ 1.505874] mmcblk0: p1 p2 p3 p4 < p5 p6 p7 > [ 1.510610] davinci_mdio 4a101000.mdio: phy[4]: device 4a101000.mdio:04, driver Atheros 8031 ethernet [ 1.522844] davinci_mdio 4a101000.mdio: phy[5]: device 4a101000.mdio:05, driver SMSC LAN8710/LAN8720 [ 1.532141] davinci_mdio 4a101000.mdio: phy[16]: device 4a101000.mdio:10, driver unknown [ 1.540323] davinci_mdio 4a101000.mdio: phy[17]: device 4a101000.mdio:11, driver unknown [ 1.548522] davinci_mdio 4a101000.mdio: phy[18]: device 4a101000.mdio:12, driver unknown [ 1.556676] davinci_mdio 4a101000.mdio: phy[19]: device 4a101000.mdio:13, driver unknown [ 1.564803] davinci_mdio 4a101000.mdio: phy[20]: device 4a101000.mdio:14, driver unknown [ 1.572946] davinci_mdio 4a101000.mdio: phy[21]: device 4a101000.mdio:15, driver unknown [ 1.581088] davinci_mdio 4a101000.mdio: phy[22]: device 4a101000.mdio:16, driver unknown [ 1.589229] davinci_mdio 4a101000.mdio: phy[27]: device 4a101000.mdio:1b, driver unknown [ 1.597371] davinci_mdio 4a101000.mdio: phy[29]: device 4a101000.mdio:1d, driver unknown [ 1.606429] cpsw 4a100000.ethernet: Detected MACID = ec:24:b8:d1:58:6d [ 1.613967] cpsw 4a100000.ethernet: cpsw: Detected MACID = ec:24:b8:d1:58:6f [ 1.622039] hctosys: unable to open rtc device (rtc0) [ 1.627188] of_cfs_init [ 1.629745] of_cfs_init: OK [ 1.636898] lis3_reg: disabling [ 1.640186] ALSA device list: [ 1.643164] No soundcards found. [ 1.652536] EXT4-fs (mmcblk0p1): INFO: recovery required on readonly filesystem [ 1.660099] EXT4-fs (mmcblk0p1): write access will be enabled during recovery [ 2.699753] EXT4-fs (mmcblk0p1): recovery complete [ 2.709060] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) [ 2.717407] VFS: Mounted root (ext4 filesystem) readonly on device 179:1. [ 2.725660] devtmpfs: mounted [ 2.729587] Freeing unused kernel memory: 272K (c0868000 - c08ac000) Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory [ 3.289234] random: init urandom read with 31 bits of entropy available [ 3.666285] init: plymouth-upstart-bridge main process (83) terminated with status 1 [ 3.699028] init: plymouth-upstart-bridge main process ended, respawning [ 3.838838] init: ureadahead main process (86) terminated with status 5 [ 3.859106] init: plymouth-upstart-bridge main process (94) terminated with status 1 [ 3.871591] init: plymouth-upstart-bridge main process ended, respawning [ 4.330494] init: mounted-proc main process (110) terminated with status 1 * Starting Mount filesystems on boot [ OK ] * Stopping Send an event to indicate plymouth is up [ OK ] * Starting Populate and link to /run filesystem [ OK ] * Stopping Populate and link to /run filesystem [ OK ] * Stopping Track if upstart is running in a container [ OK ] * Starting Initialize or finalize resolvconf [ OK ] * Starting set console keymap [ OK ] * Starting Signal sysvinit that virtual filesystems are mounted [ OK ] * Starting Signal sysvinit that virtual filesystems are mounted [ OK ] * Starting Bridge udev events into upstart [ OK ] * Stopping set console keymap [ OK ] * Starting Signal sysvinit that remote filesystems are mounted [ OK ] * Starting device node and kernel event manager [ OK ] * Starting load modules from /etc/modules [ OK ] * Starting cold plug devices [ OK ] * Starting log initial device creation [ OK ] * Stopping load modules from /etc/modules [ OK ] * Stopping cold plug devices [ OK ] * Starting Signal sysvinit that the rootfs is mounted [ OK ] * Stopping log initial device creation [ OK ] * Starting configure network device security [ OK ] * Starting configure network device security [ OK ] * Starting set console font [ OK ] * Starting configure network device [ OK ] * Stopping set console font [ OK ] * Starting userspace bootsplash [ OK ] * Stopping userspace bootsplash [ OK ] * Starting Send an event to indicate plymouth is up [ OK ] * Stopping Send an event to indicate plymouth is up [ OK ] * Starting Clean /tmp directory [ OK ] * Starting configure network device security [ OK ] * Stopping Clean /tmp directory [ OK ] * Starting configure network device [ OK ] * Starting Mount network filesystems [ OK ] * Stopping Read required files in advance (for other mountpoints) [ OK ] * Stopping Mount network filesystems [ OK ] * Starting Signal sysvinit that local filesystems are mounted [ OK ] * Starting configure network device security [ OK ] * Stopping Mount filesystems on boot [ OK ] * Starting D-Bus system message bus [ OK ] * Starting flush early job output to logs [ OK ] * Starting System V initialisation compatibility [ OK ] * Starting configure network device [ OK ] * Stopping flush early job output to logs [ OK ] * Starting NetBIOS name server [ OK ] * Stopping System V initialisation compatibility [ OK ] * Starting system logging daemon [ OK ] * Starting configure virtual network devices [ OK ] * Starting System V runlevel compatibility [ OK ] * Starting deferred execution scheduler [ OK ] * Starting regular background program processing daemon [ OK ] * Starting ACPI daemon [ OK ] * Starting save kernel messages [ OK ] * Stopping save kernel messages [ OK ] * Loading cpufreq kernel modules... [ OK ] * Starting OpenSSH server [ OK ] * Starting mDNS/DNS-SD daemon [ OK ] * CPU0... [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated * CPUFreq Utilities: Setting ondemand CPUFreq governor... * Start[fail]load cups, upon starting avahi-daemon to make sure remote queues are populated [ OK ] udhcpd: Disabled. Edit /etc/default/udhcpd to enable it. * Starting NTP server ntpd [ OK ] * Starting Bridge file events into upstart [ OK ] Starting Tech Support Mode serial start/running, process 781 * Stopping System V runlevel compatibility [ OK ] ttyS0 Ubuntu 14.04.3 LTS login: root Password: Last login: Mon Sep 7 21:40:37 UTC 2015 on ttyS0 Welcome to Electronics LTD root@:~# ifconfig eth1 Link encap:Ethernet HWaddr ec:24:b8:d1:58:6f inet addr:203.0.113.50 Bcast:203.0.113.255 Mask:255.255.255.0 inet6 addr: fe80::ee24:b8ff:fed1:586f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:320 errors:0 dropped:0 overruns:0 frame:0 TX packets:50 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:39057 (39.0 KB) TX bytes:6535 (6.5 KB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) root@:~# ping 203.0.113.52 PING 203.0.113.52 (203.0.113.52) 56(84) bytes of data. ^C --- 203.0.113.52 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms root@:~# ethtool eth1 Settings for eth1: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Advertised pause frame use: Symmetric Receive-only Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Link partner advertised pause frame use: Symmetric Link partner advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: MII PHYAD: 5 Transceiver: external Auto-negotiation: on Supports Wake-on: d Wake-on: d Current message level: 0x00000000 (0) Link detected: yes root@:~# ethtool -S eth1 NIC statistics: Good Rx Frames: 1391 Broadcast Rx Frames: 391 Multicast Rx Frames: 994 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: 262196 Good Tx Frames: 0 Broadcast Tx Frames: 0 Multicast Tx Frames: 0 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: 0 Rx + Tx 64 Octet Frames: 272 Rx + Tx 65-127 Octet Frames: 320 Rx + Tx 128-255 Octet Frames: 589 Rx + Tx 256-511 Octet Frames: 197 Rx + Tx 512-1023 Octet Frames: 11 Rx + Tx 1024-Up Octet Frames: 2 Net Octets: 262196 Rx Start of Frame Overruns: 0 Rx Middle of Frame Overruns: 0 Rx DMA Overruns: 0 Rx DMA chan: head_enqueue: 1 Rx DMA chan: tail_enqueue: 454 Rx DMA chan: pad_enqueue: 0 Rx DMA chan: misqueued: 0 Rx DMA chan: desc_alloc_fail: 0 Rx DMA chan: pad_alloc_fail: 0 Rx DMA chan: runt_receive_buf: 0 Rx DMA chan: runt_transmit_buf: 0 Rx DMA chan: empty_dequeue: 0 Rx DMA chan: busy_dequeue: 766 Rx DMA chan: good_dequeue: 391 Rx DMA chan: requeue: 0 Rx DMA chan: teardown_dequeue: 0 Tx DMA chan: head_enqueue: 53 Tx DMA chan: tail_enqueue: 0 Tx DMA chan: pad_enqueue: 0 Tx DMA chan: misqueued: 0 Tx DMA chan: desc_alloc_fail: 0 Tx DMA chan: pad_alloc_fail: 0 Tx DMA chan: runt_receive_buf: 0 Tx DMA chan: runt_transmit_buf: 3 Tx DMA chan: empty_dequeue: 978 Tx DMA chan: busy_dequeue: 0 Tx DMA chan: good_dequeue: 53 Tx DMA chan: requeue: 53 Tx DMA chan: teardown_dequeue: 0 root@:~# ethtool -S eth1 NIC statistics: Good Rx Frames: 1700 Broadcast Rx Frames: 468 Multicast Rx Frames: 1224 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: 319797 Good Tx Frames: 0 Broadcast Tx Frames: 0 Multicast Tx Frames: 0 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: 0 Rx + Tx 64 Octet Frames: 329 Rx + Tx 65-127 Octet Frames: 402 Rx + Tx 128-255 Octet Frames: 714 Rx + Tx 256-511 Octet Frames: 239 Rx + Tx 512-1023 Octet Frames: 13 Rx + Tx 1024-Up Octet Frames: 3 Net Octets: 319797 Rx Start of Frame Overruns: 0 Rx Middle of Frame Overruns: 0 Rx DMA Overruns: 0 Rx DMA chan: head_enqueue: 1 Rx DMA chan: tail_enqueue: 531 Rx DMA chan: pad_enqueue: 0 Rx DMA chan: misqueued: 0 Rx DMA chan: desc_alloc_fail: 0 Rx DMA chan: pad_alloc_fail: 0 Rx DMA chan: runt_receive_buf: 0 Rx DMA chan: runt_transmit_buf: 0 Rx DMA chan: empty_dequeue: 0 Rx DMA chan: busy_dequeue: 917 Rx DMA chan: good_dequeue: 468 Rx DMA chan: requeue: 0 Rx DMA chan: teardown_dequeue: 0 Tx DMA chan: head_enqueue: 53 Tx DMA chan: tail_enqueue: 0 Tx DMA chan: pad_enqueue: 0 Tx DMA chan: misqueued: 0 Tx DMA chan: desc_alloc_fail: 0 Tx DMA chan: pad_alloc_fail: 0 Tx DMA chan: runt_receive_buf: 0 Tx DMA chan: runt_transmit_buf: 3 Tx DMA chan: empty_dequeue: 1129 Tx DMA chan: busy_dequeue: 0 Tx DMA chan: good_dequeue: 53 Tx DMA chan: requeue: 53 Tx DMA chan: teardown_dequeue: 0 root@:~# dmesg [ 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.19--bone20-tisdk_-001 (sweiss@ubuntu-obelix) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #30 PREEMPT Thu Feb 16 16:10:40 IST 2017 [ 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] Machine model: AM335x VS-88UT 3.59t [ 0.000000] cma: Reserved 24 MiB at 0x8e800000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 65536 [ 0.000000] free_area_init_node: node 0, pgdat c08e9ca0, node_mem_map ce5ad000 [ 0.000000] Normal zone: 576 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 65536 pages, LIFO batch:15 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.1 (sgx neon ) [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64960 [ 0.000000] Kernel command line: console=ttyO0,115200n8 ksupport root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait oops=panic panic=-1 [ 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: 225364K/262144K available (6403K kernel code, 255K rwdata, 2168K rodata, 272K init, 233K bss, 12204K 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 : 0xd0800000 - 0xff000000 ( 744 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 - 0xc08670ac (8573 kB) [ 0.000000] .init : 0xc0868000 - 0xc08ac000 ( 272 kB) [ 0.000000] .data : 0xc08ac000 - 0xc08ebd68 ( 256 kB) [ 0.000000] .bss : 0xc08ee000 - 0xc0928778 ( 234 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.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000040] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000052] OMAP clocksource: timer1 at 24000000 Hz [ 0.000243] Console: colour dummy device 80x30 [ 0.000271] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.000277] This ensures that you still see kernel messages. Please [ 0.000283] update your kernel commandline. [ 0.000302] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216) [ 0.089087] pid_max: default: 32768 minimum: 301 [ 0.089191] Security Framework initialized [ 0.089245] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.089256] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.089967] Initializing cgroup subsys blkio [ 0.089994] Initializing cgroup subsys memory [ 0.090040] Initializing cgroup subsys devices [ 0.090057] Initializing cgroup subsys freezer [ 0.090072] Initializing cgroup subsys perf_event [ 0.090101] CPU: Testing write buffer coherency: ok [ 0.090519] Setting up static identity map for 0x80008200 - 0x80008270 [ 0.092401] devtmpfs: initialized [ 0.108527] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.120905] omap_hwmod: tptc0 using broken dt data from edma [ 0.121059] omap_hwmod: tptc1 using broken dt data from edma [ 0.121185] omap_hwmod: tptc2 using broken dt data from edma [ 0.126004] omap_hwmod: debugss: _wait_target_disable failed [ 0.181062] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.183482] pinctrl core: initialized pinctrl subsystem [ 0.184845] NET: Registered protocol family 16 [ 0.187177] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.209080] cpuidle: using governor ladder [ 0.239068] cpuidle: using governor menu [ 0.241969] omap_gpio 44e07000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_cpld_cs_pins_default, deferring probe [ 0.242282] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_wl12xx_gpio, deferring probe [ 0.242570] omap_gpio 481ac000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio2_jtag_pins_default, deferring probe [ 0.242841] omap_gpio 481ae000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio3_fpga_rst_pins, deferring probe [ 0.250758] No ATAGs? [ 0.250793] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.288029] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver [ 0.288540] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]' [ 0.288865] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@1[0]' [ 0.289362] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@3[0]' - status (-517) [ 0.291934] vgaarb: loaded [ 0.292498] SCSI subsystem initialized [ 0.293024] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe [ 0.293081] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c2_pins_default, deferring probe [ 0.293209] media: Linux media interface: v0.10 [ 0.293281] Linux video capture interface: v2.00 [ 0.293333] pps_core: LinuxPPS API ver. 1 registered [ 0.293341] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.293373] PTP clock support registered [ 0.294091] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.294387] Advanced Linux Sound Architecture Driver Initialized. [ 0.295322] Switched to clocksource timer1 [ 0.306531] NET: Registered protocol family 2 [ 0.307423] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.307458] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.307487] TCP: Hash tables configured (established 2048 bind 2048) [ 0.307571] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.307590] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.307762] NET: Registered protocol family 1 [ 0.308172] RPC: Registered named UNIX socket transport module. [ 0.308188] RPC: Registered udp transport module. [ 0.308194] RPC: Registered tcp transport module. [ 0.308201] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.308241] PCI: CLS 0 bytes, default 64 [ 0.309161] CPU PMU: Failed to parse /pmu/interrupt-affinity[0] [ 0.309209] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 0.311128] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.311221] audit: initializing netlink subsys (disabled) [ 0.311289] audit: type=2000 audit(0.290:1): initialized [ 0.319239] VFS: Disk quotas dquot_6.6.0 [ 0.319461] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.321711] NFS: Registering the id_resolver key type [ 0.321787] Key type id_resolver registered [ 0.321796] Key type id_legacy registered [ 0.321867] jffs2: version 2.2. (NAND) (SUMMARY) \xffffffc2\xffffffa9\xffffffa9 2001-2006 Red Hat, Inc. [ 0.324547] NET: Registered protocol family 38 [ 0.324621] io scheduler noop registered [ 0.324636] io scheduler deadline registered [ 0.324696] io scheduler cfq registered (default) [ 0.325935] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 0.328233] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.331936] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 26, base_baud = 3000000) is a 8250 [ 1.034054] console [ttyS0] enabled [ 1.038498] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 27, base_baud = 3000000) is a 8250 [ 1.048258] [drm] Initialized drm 1.1.0 20060810 [ 1.064055] brd: module loaded [ 1.072458] loop: module loaded [ 1.076841] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.088910] mousedev: PS/2 mouse device common for all mice [ 1.094628] i2c /dev entries driver [ 1.099367] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd [ 1.099390] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.099423] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (-517) [ 1.099436] omap_hsmmc 48060000.mmc: lookup for GPIO cd failed [ 1.099639] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd [ 1.099652] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup [ 1.099664] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]' [ 1.099675] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]' [ 1.099685] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup [ 1.099695] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed [ 1.099708] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp [ 1.099718] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup [ 1.099727] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]' [ 1.099737] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]' [ 1.099746] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup [ 1.099756] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed [ 1.100035] omap_hsmmc 481d8000.mmc: unable to get vmmc regulator -517 [ 1.106992] ledtrig-cpu: registered to indicate activity on CPUs [ 1.113320] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2 [ 1.120383] omap-sham 53100000.sham: hw accel on OMAP rev 4.3 [ 1.126370] omap-sham 53100000.sham: initialization failed. [ 1.132014] omap-sham: probe of 53100000.sham failed with error -22 [ 1.140477] oprofile: using arm/armv7 [ 1.144534] Initializing XFRM netlink socket [ 1.149087] NET: Registered protocol family 17 [ 1.153601] NET: Registered protocol family 15 [ 1.158272] Key type dns_resolver registered [ 1.162861] omap_voltage_late_init: Voltage driver support not added [ 1.169688] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517 [ 1.178523] cpu cpu0: cpu0 clock notifier not ready, retry [ 1.184248] ThumbEE CPU extension supported. [ 1.188621] Registering SWP/SWPB emulation handler [ 1.196236] gpiochip_add: registered GPIOs 0 to 31 on device: gpio [ 1.196451] OMAP GPIO hardware version 0.1 [ 1.200999] gpiochip_add: registered GPIOs 32 to 63 on device: gpio [ 1.201541] gpiochip_add: registered GPIOs 64 to 95 on device: gpio [ 1.202082] gpiochip_add: registered GPIOs 96 to 127 on device: gpio [ 1.202452] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@3[0]' - status (0) [ 1.204260] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 1.225523] tps65910 0-002d: No interrupt support, no core IRQ [ 1.231781] tps65910-gpio tps65910-gpio: ti,en-gpio-sleep not specified [ 1.231800] gpiochip_find_base: found new base at 506 [ 1.231935] gpiochip_add: registered GPIOs 506 to 511 on device: tps65910 [ 1.254964] tps65910-rtc tps65910-rtc: IRQ is not free. [ 1.260294] tps65910-rtc: probe of tps65910-rtc failed with error -22 [ 1.267022] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 1.273901] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz [ 1.280211] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd [ 1.280228] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.280260] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0) [ 1.280289] omap_hsmmc 48060000.mmc: Got CD GPIO [ 1.284932] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp [ 1.284942] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup [ 1.284953] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]' [ 1.284965] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]' [ 1.284974] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup [ 1.284985] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed [ 1.285381] vmmc: supplied by vbat [ 1.326252] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd [ 1.326277] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup [ 1.326292] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]' [ 1.326305] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]' [ 1.326315] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup [ 1.326326] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed [ 1.326339] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp [ 1.326349] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup [ 1.326359] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]' [ 1.326368] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]' [ 1.326377] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup [ 1.326387] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed [ 1.326716] vmmc: Restricting voltage, 3300000-1950000uV [ 1.332065] omap_hsmmc 481d8000.mmc: could not set regulator OCR (-22) [ 1.375672] vdd_mpu: supplied by vbat [ 1.379540] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1260000]:-22 [ 1.389788] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1260000]:-22 [ 1.449302] mmc1: MAN_BKOPS_EN bit is not set [ 1.457406] mmc1: new high speed MMC card at address 0001 [ 1.463389] mmcblk0: mmc1:0001 MMC04G 3.60 GiB [ 1.468025] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6 [ 1.474149] davinci_mdio 4a101000.mdio: detected phy mask c780ffcf [ 1.480575] mmcblk0boot0: mmc1:0001 MMC04G partition 1 16.0 MiB [ 1.487034] mmcblk0boot1: mmc1:0001 MMC04G partition 2 16.0 MiB [ 1.493886] Atheros 8031 ethernet 4a101000.mdio:04: GPIO lookup for consumer reset [ 1.493906] Atheros 8031 ethernet 4a101000.mdio:04: using lookup tables for GPIO lookup [ 1.493918] Atheros 8031 ethernet 4a101000.mdio:04: lookup for GPIO reset failed [ 1.501600] libphy: 4a101000.mdio: probed [ 1.505874] mmcblk0: p1 p2 p3 p4 < p5 p6 p7 > [ 1.510610] davinci_mdio 4a101000.mdio: phy[4]: device 4a101000.mdio:04, driver Atheros 8031 ethernet [ 1.522844] davinci_mdio 4a101000.mdio: phy[5]: device 4a101000.mdio:05, driver SMSC LAN8710/LAN8720 [ 1.532141] davinci_mdio 4a101000.mdio: phy[16]: device 4a101000.mdio:10, driver unknown [ 1.540323] davinci_mdio 4a101000.mdio: phy[17]: device 4a101000.mdio:11, driver unknown [ 1.548522] davinci_mdio 4a101000.mdio: phy[18]: device 4a101000.mdio:12, driver unknown [ 1.556676] davinci_mdio 4a101000.mdio: phy[19]: device 4a101000.mdio:13, driver unknown [ 1.564803] davinci_mdio 4a101000.mdio: phy[20]: device 4a101000.mdio:14, driver unknown [ 1.572946] davinci_mdio 4a101000.mdio: phy[21]: device 4a101000.mdio:15, driver unknown [ 1.581088] davinci_mdio 4a101000.mdio: phy[22]: device 4a101000.mdio:16, driver unknown [ 1.589229] davinci_mdio 4a101000.mdio: phy[27]: device 4a101000.mdio:1b, driver unknown [ 1.597371] davinci_mdio 4a101000.mdio: phy[29]: device 4a101000.mdio:1d, driver unknown [ 1.606429] cpsw 4a100000.ethernet: Detected MACID = ec:24:b8:d1:58:6d [ 1.613967] cpsw 4a100000.ethernet: cpsw: Detected MACID = ec:24:b8:d1:58:6f [ 1.622039] hctosys: unable to open rtc device (rtc0) [ 1.627188] of_cfs_init [ 1.629745] of_cfs_init: OK [ 1.636898] lis3_reg: disabling [ 1.640186] ALSA device list: [ 1.643164] No soundcards found. [ 1.652536] EXT4-fs (mmcblk0p1): INFO: recovery required on readonly filesystem [ 1.660099] EXT4-fs (mmcblk0p1): write access will be enabled during recovery [ 2.699753] EXT4-fs (mmcblk0p1): recovery complete [ 2.709060] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) [ 2.717407] VFS: Mounted root (ext4 filesystem) readonly on device 179:1. [ 2.725660] devtmpfs: mounted [ 2.729587] Freeing unused kernel memory: 272K (c0868000 - c08ac000) [ 3.289234] random: init urandom read with 31 bits of entropy available [ 3.666285] init: plymouth-upstart-bridge main process (83) terminated with status 1 [ 3.699028] init: plymouth-upstart-bridge main process ended, respawning [ 3.838838] init: ureadahead main process (86) terminated with status 5 [ 3.859106] init: plymouth-upstart-bridge main process (94) terminated with status 1 [ 3.871591] init: plymouth-upstart-bridge main process ended, respawning [ 4.330494] init: mounted-proc main process (110) terminated with status 1 [ 5.732214] systemd-udevd[189]: starting version 204 [ 6.377072] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 6.450393] omap_rtc 44e3e000.rtc: already running [ 6.459906] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc1 [ 6.680821] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20 [ 8.557762] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro [ 9.005477] random: nonblocking pool is initialized [ 9.585101] net eth1: initializing cpsw version 1.12 (0) [ 9.588711] net eth1: phy found : id is : 0x7c0f1 [ 9.609360] net eth1: BQL enabled [ 10.133062] EXT4-fs (mmcblk0p7): recovery complete [ 10.136306] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: errors=remount-ro [ 10.338679] EXT4-fs (mmcblk0p5): recovery complete [ 10.338728] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: errors=remount-ro [ 10.715983] EXT4-fs (mmcblk0p6): recovery complete [ 10.719297] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: errors=remount-ro [ 13.746161] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx [ 16.824119] NET: Registered protocol family 10 [ 17.982327] init: avahi-daemon main process (716) terminated with status 127 [ 17.982442] init: avahi-daemon main process ended, respawning [ 18.261095] init: avahi-cups-reload main process (723) terminated with status 1 [ 19.697259] init: plymouth-upstart-bridge main process ended, respawning root@:~#
thanks!
One of our HW engineer found my mistake: TCLK had to be defined as INPUT and not OUTPUT
WRONG: 0x58 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a6.gmii2_tclk */
the right configuration is:
0x58 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a6.gmii2_tclk */
the full Pinmux for MIi2 is:
0x78 ( PIN_INPUT | MUX_MODE1 ) /* (U18) gpmc_be1n.gmii2_col */
0x70 ( PIN_INPUT | MUX_MODE1 ) /* (T17) gpmc_wait0.gmii2_crs */
0x74 ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (U17) gpmc_wpn.gmii2_rxer */
/* Slave 2 */
0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a0.GMII2_TXEN */
0x44 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a1.GMII2_RXDV */
0x48 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a2.gmii2_td3 */
0x4c (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a3.gmii2_td2 */
0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a4.gmii2_td1 */
0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a5.gmii2_td0 */
0x58 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a6.gmii2_tclk */
0x5c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a7.gmii2_rclk */
0x60 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a8.gmii2_rd3 */
0x64 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a9.gmii2_rd2 */
0x68 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a10.gmii2_rd1 */
0x6c (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a11.gmii2_rd0 */
thanks for your help !