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.

PROCESSOR-SDK-AM335X: Failing to ping using IPV6 ethernet eth0 in a AM335x based custom board after upgrading to 6.1 kernel

Part Number: PROCESSOR-SDK-AM335X


Tool/software:

Hi there,


I am using an yocto setup where two different images are generated 

  1. AM335x-sk based on am335x-evmsk.dts
  2. AM335x-custom 

While I am using 5.10-rt kernel for those images. Everything is working fine.

But while shifting to 6.1-rt kernel we are able to ping the IPV6 of eth0 once connected directly to a PC but not in custom board.

I am attaching the decompressed dts file in here specifically the ethernet related part in here.

 

target-module@100000 {
    compatible = "ti,sysc-omap4-simple\0ti,sysc";
    reg = <0x101200 0x04 0x101208 0x04 0x101204 0x04>;
    reg-names = "rev\0sysc\0syss";
    ti,sysc-mask = <0x00>;
    ti,sysc-midle = <0x00 0x01>;
    ti,sysc-sidle = <0x00 0x01>;
    ti,syss-mask = <0x01>;
    clocks = <0x51 0x14 0x00>;
    clock-names = "fck";
    #address-cells = <0x01>;
    #size-cells = <0x01>;
    ranges = <0x00 0x100000 0x8000>;

    ethernet@0 {
        compatible = "ti,am335x-cpsw\0ti,cpsw";
        clocks = <0x52 0x53>;
        clock-names = "fck\0cpts";
        cpdma_channels = <0x08>;
        ale_entries = <0x400>;
        bd_ram_size = <0x2000>;
        mac_control = <0x20>;
        slaves = <0x02>;
        active_slave = <0x00>;
        cpts_clock_mult = <0x80000000>;
        cpts_clock_shift = <0x1d>;
        reg = <0x00 0x800 0x1200 0x100>;
        #address-cells = <0x01>;
        #size-cells = <0x01>;
        interrupts = <0x28 0x29 0x2a 0x2b>;
        ranges = <0x00 0x00 0x8000>;
        syscon = <0x06>;
        status = "okay";
        pinctrl-names = "default\0sleep";
        pinctrl-0 = <0x54>;
        pinctrl-1 = <0x55>;
        dual_emac;
        phandle = <0xe1>;

        mdio@1000 {
            compatible = "ti,cpsw-mdio\0ti,davinci_mdio";
            clocks = <0x51 0x14 0x00>;
            clock-names = "fck";
            #address-cells = <0x01>;
            #size-cells = <0x00>;
            bus_freq = <0xf4240>;
            reg = <0x1000 0x100>;
            status = "okay";
            pinctrl-names = "default\0sleep";
            pinctrl-0 = <0x56>;
            pinctrl-1 = <0x57>;
            phandle = <0xe2>;

            ethernet-phy@1 {
                reg = <0x01>;
                phandle = <0x59>;
            };

            ethernet-phy@3 {
                reg = <0x03>;
                phandle = <0x5a>;
            };
        };

        slave@200 {
            mac-address = [00 00 00 00 00 00];
            phys = <0x58 0x01 0x01>;
            phy-handle = <0x59>;
            phy-mode = "mii";
            dual_emac_res_vlan = <0x01>;
            phandle = <0xe3>;
        };

        slave@300 {
            mac-address = [00 00 00 00 00 00];
            phys = <0x58 0x02 0x01>;
            phy-handle = <0x5a>;
            phy-mode = "mii";
            dual_emac_res_vlan = <0x02>;
            phandle = <0xe4>;
        };
    };

    switch@0 {
        compatible = "ti,am335x-cpsw-switch\0ti,cpsw-switch";
        reg = <0x00 0x4000>;
        ranges = <0x00 0x00 0x4000>;
        clocks = <0x52>;
        clock-names = "fck";
        #address-cells = <0x01>;
        #size-cells = <0x01>;
        syscon = <0x06>;
        status = "disabled";
        interrupts = <0x28 0x29 0x2a 0x2b>;
        interrupt-names = "rx_thresh\0rx\0tx\0misc";
        phandle = <0xe5>;

        ethernet-ports {
            #address-cells = <0x01>;
            #size-cells = <0x00>;

            port@1 {
                reg = <0x01>;
                label = "port1";
                mac-address = [00 00 00 00 00 00];
                phys = <0x58 0x01 0x01>;
                phandle = <0xe6>;
            };

            port@2 {
                reg = <0x02>;
                label = "port2";
                mac-address = [00 00 00 00 00 00];
                phys = <0x58 0x02 0x01>;
                phandle = <0xe7>;
            };
        };

        mdio@1000 {
            compatible = "ti,cpsw-mdio\0ti,davinci_mdio";
            clocks = <0x52>;
            clock-names = "fck";
            #address-cells = <0x01>;
            #size-cells = <0x00>;
            bus_freq = <0xf4240>;
            reg = <0x1000 0x100>;
            phandle = <0xe8>;
        };

        cpts {
            clocks = <0x53>;
            clock-names = "cpts";
        };
    };
};

Working sk board's decompressed dts file ethernet part is in here

target-module@100000 {
	compatible = "ti,sysc-omap4-simple\0ti,sysc";
	reg = <0x101200 0x04 0x101208 0x04 0x101204 0x04>;
	reg-names = "rev\0sysc\0syss";
	ti,sysc-mask = <0x00>;
	ti,sysc-midle = <0x00 0x01>;
	ti,sysc-sidle = <0x00 0x01>;
	ti,syss-mask = <0x01>;
	clocks = <0x50 0x14 0x00>;
	clock-names = "fck";
	#address-cells = <0x01>;
	#size-cells = <0x01>;
	ranges = <0x00 0x100000 0x8000>;

	ethernet@0 {
		compatible = "ti,am335x-cpsw\0ti,cpsw";
		clocks = <0x51 0x52>;
		clock-names = "fck\0cpts";
		cpdma_channels = <0x08>;
		ale_entries = <0x400>;
		bd_ram_size = <0x2000>;
		mac_control = <0x20>;
		slaves = <0x02>;
		active_slave = <0x00>;
		cpts_clock_mult = <0x80000000>;
		cpts_clock_shift = <0x1d>;
		reg = <0x00 0x800 0x1200 0x100>;
		#address-cells = <0x01>;
		#size-cells = <0x01>;
		interrupts = <0x28 0x29 0x2a 0x2b>;
		ranges = <0x00 0x00 0x8000>;
		syscon = <0x06>;
		status = "disabled";
		phandle = <0xe6>;

		mdio@1000 {
			compatible = "ti,cpsw-mdio\0ti,davinci_mdio";
			clocks = <0x50 0x14 0x00>;
			clock-names = "fck";
			#address-cells = <0x01>;
			#size-cells = <0x00>;
			bus_freq = <0xf4240>;
			reg = <0x1000 0x100>;
			status = "disabled";
			phandle = <0xe7>;
		};

		slave@200 {
			mac-address = [00 00 00 00 00 00];
			phys = <0x53 0x01 0x01>;
			phandle = <0xe8>;
		};

		slave@300 {
			mac-address = [00 00 00 00 00 00];
			phys = <0x53 0x02 0x01>;
			phandle = <0xe9>;
		};
	};

	switch@0 {
		compatible = "ti,am335x-cpsw-switch\0ti,cpsw-switch";
		reg = <0x00 0x4000>;
		ranges = <0x00 0x00 0x4000>;
		clocks = <0x51>;
		clock-names = "fck";
		#address-cells = <0x01>;
		#size-cells = <0x01>;
		syscon = <0x06>;
		status = "okay";
		interrupts = <0x28 0x29 0x2a 0x2b>;
		interrupt-names = "rx_thresh\0rx\0tx\0misc";
		pinctrl-names = "default\0sleep";
		pinctrl-0 = <0x54>;
		pinctrl-1 = <0x55>;
		phandle = <0xea>;

		ethernet-ports {
			#address-cells = <0x01>;
			#size-cells = <0x00>;

			port@1 {
				reg = <0x01>;
				label = "port1";
				mac-address = [00 00 00 00 00 00];
				phys = <0x53 0x01 0x01>;
				phy-handle = <0x56>;
				phy-mode = "rgmii-id";
				ti,dual-emac-pvid = <0x01>;
				phandle = <0xeb>;
			};

			port@2 {
				reg = <0x02>;
				label = "port2";
				mac-address = [00 00 00 00 00 00];
				phys = <0x53 0x02 0x01>;
				phy-handle = <0x57>;
				phy-mode = "rgmii-id";
				ti,dual-emac-pvid = <0x02>;
				phandle = <0xec>;
			};
		};

		mdio@1000 {
			compatible = "ti,cpsw-mdio\0ti,davinci_mdio";
			clocks = <0x51>;
			clock-names = "fck";
			#address-cells = <0x01>;
			#size-cells = <0x00>;
			bus_freq = <0xf4240>;
			reg = <0x1000 0x100>;
			pinctrl-names = "default\0sleep";
			pinctrl-0 = <0x58>;
			pinctrl-1 = <0x59>;
			phandle = <0xed>;

			ethernet-phy@0 {
				reg = <0x00>;
				phandle = <0x56>;
			};

			ethernet-phy@1 {
				reg = <0x01>;
				phandle = <0x57>;
			};
		};

		cpts {
			clocks = <0x52>;
			clock-names = "cpts";
		};
	};
};

 

The boot logs of custom board is here.

Rebooting... [ 7224.167392] reboot: Restarting system

U-Boot SPL 2020.01-g2781231a33 (Mar 26 2021 - 17:56:23 +0000)
Trying to boot from MMC2


U-Boot 2020.01-g2781231a33 (Mar 26 2021 - 17:56:23 +0000)

CPU  : AM335X-GP rev 2.1
Model: Platforms Edwards 4-CPU
DRAM:  256 MiB
WDT:   Started with servicing (60s timeout)
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... OK
Net:   
Warning: ethernet@4a100000 MAC addresses don't match:
Address in ROM is          a8:10:87:bc:53:b8
Address in environment is  00:b0:19:73:eb:27
eth0: ethernet@4a100000
Warning: usb_ether MAC addresses don't match:
Address in ROM is          de:ad:be:ef:00:01
Address in environment is  00:b0:19:73:eb:28
, eth1: usb_ether
ROOTFS_A exist
Saving Environment to FAT... OK
7700992 bytes read in 1307 ms (5.6 MiB/s)
98460 bytes read in 22 ms (4.3 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8df1a000, end 8df3509b ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.1.128-rt49-ti-rt-g62b55a492d84 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 11.5.0, GNU ld (GNU Binutils) 2.38.20220708) #1 PREEMPT_RT Mon Mar  3 07:30:06 UTC 2025
[    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: Platforms Edwards 4-CPU v. 00.01.03
[    0.000000] Memory policy: Data cache writeback
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 64 MiB at 0x89800000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000008fdfffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000008fdfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fdfffff]
[    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: 64516
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=00000000-02 rootfstype=ext4 rootwait rw ip=off lpj=3590144 video=/dev/fb0:480x640@60 fbcon=rotate:1 threadirqs actual_slot=ROOTFS_A
[    0.000000] Unknown kernel command line parameters "threadirqs fbcon=rotate:1 actual_slot=ROOTFS_A", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 175928K/260096K available (10223K kernel code, 815K rwdata, 3884K rodata, 384K init, 298K bss, 18632K reserved, 65536K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU_SOFTIRQ processing moved to rcuc kthreads.
[    0.000000] 	No expedited grace period (rcu_normal_after_boot).
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
[    0.000002] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000025] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000497] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
[    0.002119] Console: colour dummy device 80x30
[    0.002167] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.002173] This ensures that you still see kernel messages. Please
INIT: [    0.002176] update your kernel commandline.
version 3.01 booting[    0.002208] Calibrating delay loop (skipped) preset value.. 7180.28 BogoMIPS (lpj=3590144)
[    0.002225] CPU: Testing write buffer coherency: ok

[    0.002298] CPU0: Spectre v2: using BPIALL workaround
[    0.002306] pid_max: default: 32768 minimum: 301
[    0.002410] LSM: Security Framework initializing
[    0.002620] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002640] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.004240] Setting up static identity map for 0x80008240 - 0x800082b8
[    0.004467] rcu: Hierarchical SRCU implementation.
[    0.004474] rcu: 	Max phase no-delay instances is 400.
[    0.006484] EFI services will not be available.
[    0.007165] devtmpfs: initialized
[    0.026807] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.027050] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.027079] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
[    0.033248] pinctrl core: initialized pinctrl subsystem
[    0.034322] DMI not present or invalid.
[    0.035171] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.037607] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.038129] audit: initializing netlink subsys (disabled)
[    0.039311] thermal_sys: Registered thermal governor 'step_wise'
[    0.039623] audit: type=2000 audit(0.037:1): state=initialized audit_enabled=0 res=1
[    0.055938] No ATAGs?
[    0.073185] iommu: Default domain type: Translated 
[    0.073205] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.074996] SCSI subsystem initialized
[    0.075636] usbcore: registered new interface driver usbfs
[    0.075702] usbcore: registered new interface driver hub
[    0.075749] usbcore: registered new device driver usb
[    0.076248] pps_core: LinuxPPS API ver. 1 registered
[    0.076256] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.076278] PTP clock support registered
[    0.076434] EDAC MC: Ver: 3.0.0
[    0.079235] clocksource: Switched to clocksource dmtimer
[    0.090264] NET: Registered PF_INET protocol family
[    0.090584] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.091784] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.091822] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.091837] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.091865] TCP bind hash table entries: 2048 (order: 4, 65536 bytes, linear)
Framebuffer /dev/fb0 not detected
Boot splashscreen disabled
[    0.091954] TCP: Hash tables configured (established 2048 bind 2048)
[    0.092096] UDP hash table entries: 256 (order: 1, 12288 bytes, linear)
[    0.092123] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes, linear)
Starting board_start
[    0.092350] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.092872] RPC: Registered named UNIX socket transport module.
[    0.092885] RPC: Registered udp transport module.
[    0.092888] RPC: Registered tcp transport module.
[    0.092891] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.092903] PCI: CLS 0 bytes, default 64
[    0.093902] Initialise system trusted keyrings
net.ipv6.conf.default.hop_limit = 128[    0.094335] workingset: timestamp_bits=30 max_order=16 bucket_order=0

[    0.102615] squashfs: version 4.0 (2009/01/31) Phillip Lougher
net.ipv6.conf.all.hop_limit = 128[    0.103562] NFS: Registering the id_resolver key type

[    0.103661] Key type id_resolver registered
[    0.103666] Key type id_legacy registered
[    0.103781] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.103791] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.103843] ntfs: driver 2.1.32 [Flags: R/O].
[    0.104835] NET: Registered PF_ALG protocol family
[    0.104857] Key type asymmetric registered
[    0.104863] Asymmetric key parser 'x509' registered
[    0.105054] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.105065] io scheduler mq-deadline registered
[    0.105071] io scheduler kyber registered
[    0.177006] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    0.179831] STMicroelectronics ASC driver initialized
[    0.195081] brd: module loaded
[    0.202342] loop: module loaded
[    0.208796] CAN device driver interface
[    0.209303] e1000e: Intel(R) PRO/1000 Network Driver
[    0.209307] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.209412] igb: Intel(R) Gigabit Ethernet Network Driver
[    0.209417] igb: Copyright (c) 2007-2014 Intel Corporation.
[    0.210271] pegasus: Pegasus/Pegasus II USB Ethernet driver
[    0.210336] usbcore: registered new interface driver pegasus
[    0.210390] usbcore: registered new interface driver asix
[    0.210433] usbcore: registered new interface driver ax88179_178a
[    0.210470] usbcore: registered new interface driver cdc_ether
[    0.210518] usbcore: registered new interface driver smsc75xx
[    0.210573] usbcore: registered new interface driver smsc95xx
[    0.210610] usbcore: registered new interface driver net1080
[    0.210645] usbcore: registered new interface driver cdc_subset
[    0.210681] usbcore: registered new interface driver zaurus
[    0.210740] usbcore: registered new interface driver cdc_ncm
[    0.211557] usbcore: registered new interface driver usblp
[    0.211622] usbcore: registered new interface driver usb-storage
[    0.211938] UDC core: printer: couldn't find an available UDC
[    0.212677] i2c_dev: i2c /dev entries driver
[    0.214055] sdhci: Secure Digital Host Controller Interface driver
[    0.214061] sdhci: Copyright(c) Pierre Ossman
[    0.214257] Synopsys Designware Multimedia Card Interface Driver
[    0.214431] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.215323] usbcore: registered new interface driver usbhid
[    0.215332] usbhid: USB HID core driver
[    0.218107] NET: Registered PF_INET6 protocol family
[    0.219815] Segment Routing with IPv6
[    0.219877] In-situ OAM (IOAM) with IPv6
[    0.219970] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.220915] NET: Registered PF_PACKET protocol family
[    0.220926] can: controller area network core
[    0.221023] NET: Registered PF_CAN protocol family
[    0.221376] Key type dns_resolver registered
[    0.221556] ThumbEE CPU extension supported.
[    0.221578] Registering SWP/SWPB emulation handler
[    0.222125] omap_voltage_late_init: Voltage driver support not added
[    0.222960] Loading compiled-in X.509 certificates
[    0.344685] alg: No test for pkcs1pad(rsa,sha1) (pkcs1pad(rsa-generic,sha1))
[    0.352171] Loaded X.509 cert 'Build time autogenerated kernel key: 44b9d5334ab9920ad7bc98231ff7d78fa15a8e91'
[    0.410954] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    0.416867] ti-sysc: probe of 44e31000.target-module failed with error -16
[    0.444440] tps65910 1-002d: No interrupt support, no core IRQ
[    0.467596] at24 1-0050: supply vcc not found, using dummy regulator
[    0.469013] at24 1-0050: 2048 byte 24c16 EEPROM, writable, 16 bytes/write
[    0.469122] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[    0.476013] ti-sysc: probe of 48040000.target-module failed with error -16
[    0.490971] gpio gpiochip1: (gpio-0-31): not an immutable chip, please consider fixing it!
[    0.491655] OMAP GPIO hardware version 0.1
[    0.494980] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.501651] at24 2-0050: supply vcc not found, using dummy regulator
[    0.503068] at24 2-0050: 2048 byte 24c16 EEPROM, writable, 16 bytes/write
[    0.503169] i2c i2c-2: Failed to register i2c client 24c16 at 0x51 (-16)
[    0.503180] i2c i2c-2: of_i2c: Failure registering /ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/sfp1@51
[    0.503202] i2c i2c-2: Failed to create I2C device for /ocp/interconnect@48000000/segment@100000/target-module@9c000/i2c@0/sfp1@51
[    0.503591] at24 2-005f: supply vcc not found, using dummy regulator
[    0.504920] at24 2-005f: 2048 byte 24c16 EEPROM, writable, 16 bytes/write
[    0.505018] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    0.511270] gpio gpiochip2: (gpio-32-63): not an immutable chip, please consider fixing it!
[    0.515092] gpio gpiochip3: (gpio-64-95): not an immutable chip, please consider fixing it!
[    0.519705] c_can_platform 481d0000.can: c_can_platform device registered (regs=(ptrval), irq=29)
[    0.523739] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
[    0.524416] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[    0.524747] sdhci-omap 481d8000.mmc: using old ti,non-removable property
[    0.538007] omap_rng 48310000.rng: Random Number Generator ver. 20
[    0.543459] random: crng init done
[    0.580252] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    0.585128] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver TI DP83620 10/100 Mbps PHY
[    0.585148] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver TI DP83620 10/100 Mbps PHY
[    0.585961] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    0.585976] cpsw 4a100000.ethernet: ALE Table size 1024
[    0.586099] cpsw 4a100000.ethernet: cpts: overflow check period 5000 (jiffies)
[    0.586154] cpsw 4a100000.ethernet: Detected MACID = a8:10:87:bc:53:b8
[    0.587721] cpsw 4a100000.ethernet: cpsw: Detected MACID = a8:10:87:bc:53:ba
[    0.599818] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
[    0.599853] edma 49000000.dma: TI EDMA DMA engine driver
[    0.627207] l3-aon-clkctrl:0000:0: failed to disable
[    0.628155] gpio gpiochip4: (gpio-96-127): not an immutable chip, please consider fixing it!
[    0.630617] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 37, base_baud = 3000000) is a 8250
[    0.630934] printk: console [ttyS0] enabled
[    0.632478] printk: console [ttyS0] printing thread started
[    0.636534] at24 0-0050: supply vcc not found, using dummy regulator
[    0.637949] at24 0-0050: 2048 byte 24c16 EEPROM, writable, 16 bytes/write
[    0.638051] i2c i2c-0: Failed to register i2c client 24c16 at 0x51 (-16)
[    0.638063] i2c i2c-0: of_i2c: Failure registering /ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0/sfp0@51
[    0.638084] i2c i2c-0: Failed to create I2C device for /ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0/sfp0@51
[    0.638448] at24 0-005f: supply vcc not found, using dummy regulator
[    0.649298] at24 0-005f: 2048 byte 24c16 EEPROM, writable, 16 bytes/write
[    0.649409] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
[    0.651628] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
[    0.652347] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[    0.655941] clk: Disabling unused clocks
[    0.692697] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using External DMA
[    0.693519] Waiting for root device PARTUUID=00000000-02...
[    0.744629] mmc1: new high speed MMC card at address 0001
[    0.749736] mmcblk1: mmc1:0001 M52516 14.3 GiB 
[    0.752461]  mmcblk1: p1 p2 p3 p4
[    0.753958] mmcblk1boot0: mmc1:0001 M52516 4.00 MiB 
[    0.755860] mmcblk1boot1: mmc1:0001 M52516 4.00 MiB 
[    0.764498] mmcblk1rpmb: mmc1:0001 M52516 4.00 MiB, chardev (243:0)
[    0.797533] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: disabled.
Starting udev
[    0.797652] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    0.802879] devtmpfs: mounted
[    0.803359] Freeing unused kernel image (initmem) memory: 384K
[    0.803374] Kernel memory protection not selected by kernel config.
[    0.803397] Run /sbin/init as init process
[    2.451386] udevd[161]: starting version 3.2.10
[    2.538107] udevd[162]: starting eudev-3.2.10
[    2.827556] Initializing MS/TP network device driver version 1.02-003
[    3.112725] remoteproc remoteproc0: wkup_m3 is available
[    3.380932] omap_rtc 44e3e000.rtc: already running
[    3.439836] omap_rtc 44e3e000.rtc: registered as rtc0
[    3.439893] omap_rtc 44e3e000.rtc: setting system clock to 2025-03-14T15:35:42 UTC (1741966542)
[    3.452053] am335x-phy-driver 47401300.usb-phy: supply vcc not found, using dummy regulator
[    3.464112] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    3.466554] am335x-phy-driver 47401300.usb-phy: dummy supplies not allowed for exclusive requests
[    3.480713] am335x-phy-driver 47401b00.usb-phy: supply vcc not found, using dummy regulator
[    3.481096] am335x-phy-driver 47401b00.usb-phy: dummy supplies not allowed for exclusive requests
[    3.490592] remoteproc remoteproc0: powering up wkup_m3
[    3.511549] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 230344
[    3.511830] remoteproc remoteproc0: remote processor wkup_m3 is now up
[    3.511895] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[    3.660388] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[    3.660474] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[    3.661676] hub 1-0:1.0: USB hub found
[    3.661725] hub 1-0:1.0: 1 port detected
[    3.667415] printer gadget.0: printer ready
[    3.773405] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    3.773485] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[    3.774672] hub 2-0:1.0: USB hub found
[    3.774728] hub 2-0:1.0: 1 port detected
[    3.881018] tps65910-rtc tps65910-rtc: registered as rtc1
[    4.441913] pwm-backlight backlight: supply power not found, using dummy regulator
[    4.523685] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
[    4.524068] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0
[    4.592768] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[    4.612968] tilcdc 4830e000.lcdc: [drm] fb0: tilcdcdrmfb frame buffer device
[    5.562702] pvrsrvkm: loading out-of-tree module taints kernel.
[    5.569507] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    5.578699] omap-sham 53100000.sham: will run requests pump with realtime priority
[    5.631579] PM: bootloader does not support rtc-only!
[    5.759885] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.gpu on minor 1
[    5.799836] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    5.814320] omap-aes 53500000.aes: will run requests pump with realtime priority
[    6.039364] cryptd: max_cpu_qlen set to 1000
[    6.140400] net eth1: initializing cpsw version 1.12 (0)
[    6.201595] TI DP83620 10/100 Mbps PHY 4a101000.mdio:03: attached PHY driver (mii_bus:phy_addr=4a101000.mdio:03, irq=POLL)
[    6.203200] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
[    6.241669] cpsw 4a100000.ethernet: initializing cpsw version 1.12 (0)
[    6.299706] TI DP83620 10/100 Mbps PHY 4a101000.mdio:01: attached PHY driver (mii_bus:phy_addr=4a101000.mdio:01, irq=POLL)
[    6.302691] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[    6.462185] EXT4-fs (mmcblk1p3): mounting ext3 file system using the ext4 subsystem
[    6.485325] EXT4-fs (mmcblk1p4): mounting ext3 file system using the ext4 subsystem
[    6.545811] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Quota mode: disabled.
[    6.597841] EXT4-fs (mmcblk1p4): mounted filesystem with ordered data mode. Quota mode: disabled.
[    7.700002] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
[    7.712935] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[    9.263387] device eth0 entered promiscuous mode
[    9.272793] net eth1: promiscuity not disabled as the other interface is still in promiscuity mode
[    9.273657] device eth1 entered promiscuous mode
[    9.555571] TI-am335x-tsc TI-am335x-tsc.0.auto: ti,charge-delay not specified
[    9.569953] input: ti-tsc as /devices/platform/ocp/44c00000.interconnect/44c00000.interconnect:segment@200000/44e0d000.target-module/44e0d000.tscadc/TI-am335x-tsc.0.auto/input/input0
[   10.351622] device lo entered promiscuous mode
[   10.898101] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: disabled.
[   10.993359] UDC core: g_ether: couldn't find an available UDC
ETH0_MAC = 00:b0:19:73:eb:27
ETH1_MAC = 00:b0:19:73:eb:28
USB0_MAC = 00:b0:19:73:eb:29
USB1_MAC = 00:b0:19:73:eb:2a
/etc/rcS.d/S05oneStartScript.sh: line 151: /etc/zebra.base: No such file or directory
net.ipv6.conf.default.hop_limit = 128
net.ipv6.conf.all.hop_limit = 128
net.ipv6.conf.default.autoconf = 0
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.default.forwarding = 1
sysctl: setting key "net.ipv6.conf.all.mc_forwarding"
net.ipv6.conf.all.forwarding = 1
sysctl: cannot stat /proc/sys/net/ipv6/conf/wlan1/forwarding: No such file or directory
/etc/rcS.d/S05oneStartScript.sh: line 198: /usr/sbin/pim6dd: No such file or directory
starting /home/root/web/webserver with 5 client 
OK
Error 30 fault detected [no subcode]
"SSL/TLS error"
Detail: Can't find or read certificate in private key PEM file
Error: Length only valid for I2C block data!
Usage: i2cget [-f] [-y] [-a] I2CBUS CHIP-ADDRESS [DATA-ADDRESS [MODE [LENGTH]]]
  I2CBUS is an integer or an I2C bus name
  ADDRESS is an integer (0x08 - 0x77, or 0x00 - 0x7f if -a is given)
  MODE is one of:
    b (read byte data, default)
    w (read word data)
    c (write byte/read byte)
    s (read SMBus block data)
    i (read I2C block data)
    Append p for SMBus PEC
  LENGTH is the I2C block data length (between 1 and 32, default 32)
EST4: Detected i2cget board type - 
/etc/rcS.d/S05oneStartScript.sh: line 369: [: ==: unary operator expected
/etc/rcS.d/S05oneStartScript.sh: line 369: [: ==: unary operator expected
/etc/rcS.d/S05oneStartScript.sh: line 369: [: ==: unary operator expected
/etc/rcS.d/S05oneStartScript.sh: line 369: [: ==: unary operator expected
/etc/rcS.d/S05oneStartScript.sh: line 369: [: ==: unary operator expected
/etc/rcS.d/S05oneStartScript.sh: line 369: [: ==: unary operator expected
/etc/rcS.d/S05oneStartScript.sh: line 369: [: ==: unary operator expected
/etc/rcS.d/S05oneStartScript.sh: line 369: [: ==: unary operator expected
/etc/rcS.d/S05oneStartScript.sh: line 369: [: ==: unary operator expected
/etc/rcS.d/S05oneStartScript.sh: line 369: [: ==: unary operator expected
Directory /lib/modules/6.1.128-rt49-ti-rt-g62b55a492d84/extra exists.
modprobe: FATAL: Module nf_nat_ipv6 not found in directory /lib/modules/6.1.128-rt49-ti-rt-g62b55a492d84
ALSA: Restoring mixer settings...
mkdir: cannot create directory '/run/media': File exists
starting /root/test/TestCases/Server_TestCases/Server.sh
OK
starting /etc/init.d/inotify_test.sh
OK
INIT: Entering runlevel: 5
Configuring network interfaces... ifup: interface lo already configured
ifup: interface eth0 already configured
ifup: interface eth1 already configured
usb0: ERROR while getting interface flags: No such device
usb1: ERROR while getting interface flags: No such device
wlan0: ERROR while getting interface flags: No such device
ifup: ignoring unknown interface wlan1
Starting system message bus: dbus.
[   15.586522] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
Loaded PowerVR consumer services.
Starting rpcbind daemon...done.
Starting Quagga daemons: zebra bgpd ripd ripngd ospfd ospf6d isisd.
Starting bluetooth: bluetoothd.
[   16.849732] Bluetooth: Core ver 2.22
[   16.854519] NET: Registered PF_BLUETOOTH protocol family
[   16.854539] Bluetooth: HCI device and connection manager initialized
[   16.854576] Bluetooth: HCI socket layer initialized
[   16.854588] Bluetooth: L2CAP socket layer initialized
[   16.854632] Bluetooth: SCO socket layer initialized
Starting ntpd: [   16.934053] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   16.934085] Bluetooth: BNEP filters: protocol multicast
[   16.934121] Bluetooth: BNEP socket layer initialized
done
starting rsyslogd ... done
 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
   ...done.
Starting crond: OK
Setting environment variables...Starting UI app... UI app started.
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
MESA: info: Loaded libpvr_dri_support.so

Carrier Linux Reference Distrbution 4.0.25 Node00b01973eb27 ttyS0

Node00b01973eb27 login: ls: cannot access '/dev/mmcblk0': No such file or directory
Upgrade : MMC1 EXIST
Version of Business Unit build = VARIANT="KIDDE-SMALLPANEL"
KIDDE Build
IPV6 Address is = 2001:db8::aa10:87ff:febc:53b8
Starting OpenBSD Secure Shell server: sshd
/etc/ssh/sshd_config line 122: Deprecated option UsePrivilegeSeparation
done.
Starting Server.py...
nohup: appending output to 'nohup.out'

And the custom board 

Can you suggest what things are missing which is causing this issue in custom board.

  • Hi,

    Any IPv6 issues would likely be due to network configuration and not due to driver issues. I see that the link up on both ports in the custom boot log. I also see several IPv6 configuration messages in the boot log. Since you have an SDK EVM are you able to make and confirm operation with an SD card using the wic image provided with the downloaded TI SDK that has the 6.1 kernel in it?

    Could you please restate this comment, I am not sure I am following it. Could you please describe which boards are being used, custom or SK EVM? Where is the ping being launched from.

    But while shifting to 6.1-rt kernel we are able to ping the IPV6 of eth0 once connected directly to a PC but not in custom board.

    Best Regards,

    Schuyler

  • Hi Schuyler,

    Thank you for the response. I have tested the yocto generated image on the EVM board. In there we are able to ping from PC to board using IPV6 for eth0

    To clarify the statement, 

    We are able to ping from PC to board in both 5.10-rt kernel and 6.1-rt kernel in the EVM (SK) board.

    But we are only able to ping from PC to board in 5.10-rt kernel, in 6.1-rt kernel the custom board, we are failing to ping properly

    As you mentioned the IPv6 issues are liked to be due to network configuration, what could be the configuration i must look into to find the cause behind this and resolve it


    Best Regards,

    Bhavesh

  • The issue we are seeing is before we even get to the network configuration portion.  The ethernet ports are not even initializing, the LEDs are not even illuminating to show the ports are active, regardless of what it says in the system log.

  • I did some more testing. I will lost out it below so.

    1. In the working setup of am335x-sk board i updated the pin wrongly in dts file and flashed the board i was able to see the same behavior as custom board.
      1. So my doubt goes into the dtb file in custom board with 6.1-rt kernel. something is updated in there which is causing this issue
    2. So i looked into the dts files decompressed from 6.1 and 5.10 kernel dtbs. I validated that those too. But didnt found anything special. Still I am looking into it. 

    The observation is once we are not able to ping. in that case we ae observing in ubuntu machine in network setting the port is stating it is 'connecting'  after some time it says timed out.