Clearfog pro : how use the switch and eth1

Hy, Here i come again :slight_smile:

Another question : i tried to use the 6 ports switch.

When i do the command line ip addr i have :

debian@sr-cn913x:/etc/network/interfaces.d$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 2048
    link/ether 92:a1:44:f1:1d:a9 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 2048
    link/ether fe:d6:34:e0:9b:47 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fcd6:34ff:fee0:9b47/64 scope link
       valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 2048
    link/ether b6:2d:3a:a2:5d:b1 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.55/24 brd 192.168.1.255 scope global dynamic eth2
       valid_lft 86352sec preferred_lft 86352sec
    inet6 2a01:cb1d:282:f300:b42d:3aff:fea2:5db1/64 scope global dynamic mngtmpaddr
       valid_lft 1799sec preferred_lft 599sec
    inet6 fe80::b42d:3aff:fea2:5db1/64 scope link
       valid_lft forever preferred_lft forever
5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:1e:10:1f:00:00 brd ff:ff:ff:ff:ff:ff

In the DTS, there is eth0(cage sfp), eth2(port next to cage sfp) and eth1 with lan1,2,3,4,5,6, no eth3
What is the eth3?

How active,configure lan1-6 in etc/network/interfaces?

Thank you by advance :slight_smile:

Hy again ^^

I have found the answer for the eth3 : i have an Airbox 4G plugged in the USB.

One less question ^^

Could you please post a link to a pastebin with your full dmesg logs?

1 Like

Hy,
Thanks to answer me

Here the Dmesg logs

with my custom linux(buildroot), or the debian downloaded in the git of solidrun, i donā€™t see lan0 lan1ā€¦ in /sys/class/net/

Hy again,

I think i found the problem :

[ 9.881703] mv88e6085: probe of f212a200.mdio-mii:04 failed with error -110

Because if a driver or the DTS?

Hy again ^^

I have tried with Ubuntu build with cn913x_build.
Same problem.
Always :

mv88e6085: probe of f212a200.mdio-mii:04 failed with error -110

But when a i do the command Line lsmod i see the module mv88e6xxx.

I tried to give a static ip adresse to eth1. No more good.

Some has an Idea please :slight_smile:

Hy.
One Question :slight_smile: :

Someone has a Clearfog pro with thƩ som cn9130?
If yes, Can he/she post his/her dmesg?

It is to compare with mine, to try to find where is my problĆØme.

Thanks by advance.

Sorry about the delays. I am taking a look at it.

You are super ^^ thanks you

hy,

lil up if someone can post his dmesg ( clearfog pro).

It allows me to compare (modules load, etcā€¦)

Thank you :slight_smile:

Hello @doudootiana , I have the same problem with ethX switch Lan, this is my dmesg, Were you able to solve?:

[Jan24 16:17] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ +0.000000] Linux version 5.15.0-00016-gcf1adf7da302 (neo@478278420f08) (aarch64-linux-gnu-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #2 SMP PREEMPT Mon Jan 23 18:48:08 UTC 2023
[ +0.000000] Machine model: SolidRun CN9130 based SOM Clearfog Pro
[ +0.000000] efi: UEFI not found.
[ +0.000000] NUMA: No NUMA configuration found
[ +0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000013fffffff]
[ +0.000000] NUMA: NODE_DATA [mem 0x13f7d6c00-0x13f7d8fff]
[ +0.000000] Zone ranges:
[ +0.000000] DMA [mem 0x0000000000000000-0x00000000ffffffff]
[ +0.000000] DMA32 empty
[ +0.000000] Normal [mem 0x0000000100000000-0x000000013fffffff]
[ +0.000000] Movable zone start for each node
[ +0.000000] Early memory node ranges
[ +0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ +0.000000] node 0: [mem 0x0000000004000000-0x00000000041fffff]
[ +0.000000] node 0: [mem 0x0000000004200000-0x00000000bfffffff]
[ +0.000000] node 0: [mem 0x0000000100000000-0x000000013fffffff]
[ +0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000013fffffff]
[ +0.000000] cma: Reserved 256 MiB at 0x00000000b0000000
[ +0.000000] psci: probing for conduit method from DT.
[ +0.000000] psci: PSCIv1.1 detected in firmware.
[ +0.000000] psci: Using standard PSCI v0.2 function IDs
[ +0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ +0.000000] psci: SMC Calling Convention v1.2
[ +0.000000] percpu: Embedded 20 pages/cpu s41240 r8192 d32488 u81920
[ +0.000000] pcpu-alloc: s41240 r8192 d32488 u81920 alloc=20*4096
[ +0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ +0.000000] Detected PIPT I-cache on CPU0
[ +0.000000] CPU features: detected: Spectre-v2
[ +0.000000] CPU features: detected: Spectre-v3a
[ +0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ +0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1032192
[ +0.000000] Policy zone: Normal
[ +0.000000] Kernel command line: console=ttyS0,115200 root=PARTUUID=30303030-01 rootfstype=ext4 rw rootwait cma=256M
[ +0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ +0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ +0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ +0.000000] software IO TLB: mapped [mem 0x00000000ac000000-0x00000000b0000000] (64MB)
[ +0.000000] Memory: 3749888K/4194304K available (15232K kernel code, 3082K rwdata, 8332K rodata, 6208K init, 500K bss, 182272K reserved, 262144K cma-reserved)
[ +0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ +0.000000] rcu: Preemptible hierarchical RCU implementation.
[ +0.000000] rcu: RCU event tracing is enabled.
[ +0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ +0.000000] Trampoline variant of Tasks RCU enabled.
[ +0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ +0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ +0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ +0.000000] GIC: Adjusting CPU interface base to 0x00000000f022f000
[ +0.000000] Root IRQ handler: gic_handle_irq
[ +0.000000] GIC: Using split EOI/Deactivate mode
[ +0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:160, num:32)
[ +0.000000] GICv2m: range[mem 0xf0280000-0xf0280fff], SPI[160:191]
[ +0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:192, num:32)
[ +0.000000] GICv2m: range[mem 0xf0290000-0xf0290fff], SPI[192:223]
[ +0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:224, num:32)
[ +0.000000] GICv2m: range[mem 0xf02a0000-0xf02a0fff], SPI[224:255]
[ +0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:256, num:32)
[ +0.000000] GICv2m: range[mem 0xf02b0000-0xf02b0fff], SPI[256:287]
[ +0.000000] random: get_random_bytes called from start_kernel+0x484/0x674 with crng_init=0
[ +0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[ +0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[ +0.000000] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[ +0.000000] Console: colour dummy device 80x25
[ +0.000041] Calibrating delay loop (skipped), value calculated using timer frequencyā€¦ 50.00 BogoMIPS (lpj=100000)
[ +0.000007] pid_max: default: 32768 minimum: 301
[ +0.000025] LSM: Security Framework initializing
[ +0.000037] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ +0.000018] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ +0.000614] rcu: Hierarchical SRCU implementation.
[ +0.000612] EFI services will not be available.
[ +0.000094] smp: Bringing up secondary CPUs ā€¦
[ +0.000411] Detected PIPT I-cache on CPU1
[ +0.000036] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[ +0.000432] Detected PIPT I-cache on CPU2
[ +0.000024] CPU2: Booted secondary processor 0x0000000100 [0x410fd083]
[ +0.000429] Detected PIPT I-cache on CPU3
[ +0.000017] CPU3: Booted secondary processor 0x0000000101 [0x410fd083]
[ +0.000034] smp: Brought up 1 node, 4 CPUs
[ +0.000012] SMP: Total of 4 processors activated.
[ +0.000004] CPU features: detected: 32-bit EL0 Support
[ +0.000002] CPU features: detected: 32-bit EL1 Support
[ +0.000004] CPU features: detected: CRC32 instructions
[ +0.007628] CPU: All CPU(s) started at EL2
[ +0.000020] alternatives: patching kernel code
[ +0.000874] devtmpfs: initialized
[ +0.001715] KASLR disabled due to lack of seed
[ +0.000068] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ +0.000009] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ +0.002204] pinctrl core: initialized pinctrl subsystem
[ +0.000398] DMI not present or invalid.
[ +0.000225] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ +0.000629] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ +0.000100] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ +0.000120] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ +0.000037] audit: initializing netlink subsys (disabled)
[ +0.000064] audit: type=2000 audit(0.016:1): state=initialized audit_enabled=0 res=1
[ +0.000380] thermal_sys: Registered thermal governor ā€˜step_wiseā€™
[ +0.000004] thermal_sys: Registered thermal governor ā€˜power_allocatorā€™
[ +0.000252] cpuidle: using governor menu
[ +0.000089] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ +0.000042] ASID allocator initialised with 65536 entries
[ +0.000484] Serial: AMBA PL011 UART driver
[ +0.011430] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ +0.000007] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ +0.000004] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ +0.000003] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ +0.000496] cryptd: max_cpu_qlen set to 1000
[ +0.000977] ACPI: Interpreter disabled.
[ +0.001059] ap0_sd_vccq: Bringing 3300000uV into 1800000-1800000uV
[ +0.000289] iommu: Default domain type: Translated
[ +0.000005] iommu: DMA domain TLB invalidation policy: strict mode
[ +0.000110] vgaarb: loaded
[ +0.000102] SCSI subsystem initialized
[ +0.000056] libata version 3.00 loaded.
[ +0.000076] usbcore: registered new interface driver usbfs
[ +0.000017] usbcore: registered new interface driver hub
[ +0.000013] usbcore: registered new device driver usb
[ +0.000497] pps_core: LinuxPPS API ver. 1 registered
[ +0.000005] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ +0.000006] PTP clock support registered
[ +0.000053] EDAC MC: Ver: 3.0.0
[ +0.000622] FPGA manager framework
[ +0.000030] Advanced Linux Sound Architecture Driver Initialized.
[ +0.000377] clocksource: Switched to clocksource arch_sys_counter
[ +0.000063] VFS: Disk quotas dquot_6.6.0
[ +0.000022] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ +0.000070] pnp: PnP ACPI: disabled
[ +0.002259] NET: Registered PF_INET protocol family
[ +0.000129] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ +0.000830] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ +0.000030] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ +0.000108] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[ +0.000206] TCP: Hash tables configured (established 32768 bind 32768)
[ +0.000063] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ +0.000047] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ +0.000093] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ +0.000224] RPC: Registered named UNIX socket transport module.
[ +0.000007] RPC: Registered udp transport module.
[ +0.000002] RPC: Registered tcp transport module.
[ +0.000003] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ +0.000006] PCI: CLS 0 bytes, default 64
[ +0.000350] kvm [1]: IPA Size Limit: 44 bits
[ +0.000537] kvm [1]: vgic interrupt IRQ9
[ +0.000065] kvm [1]: Hyp mode initialized successfully
[ +0.001563] Initialise system trusted keyrings
[ +0.000068] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[ +0.002366] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ +0.000243] NFS: Registering the id_resolver key type
[ +0.000012] Key type id_resolver registered
[ +0.000003] Key type id_legacy registered
[ +0.000031] nfs4filelayout_init: NFSv4 File Layout Driver Registeringā€¦
[ +0.000004] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registeringā€¦
[ +0.000063] 9p: Installing v9fs 9p2000 file system support
[ +0.019766] Key type asymmetric registered
[ +0.000005] Asymmetric key parser ā€˜x509ā€™ registered
[ +0.000032] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ +0.000005] io scheduler mq-deadline registered
[ +0.000003] io scheduler kyber registered
[ +0.004288] armada-ap806-pinctrl f06f4000.system-controller:pinctrl: registered pinctrl driver
[ +0.000367] armada-cp110-pinctrl f2440000.system-controller:pinctrl: registered pinctrl driver
[ +0.002540] EINJ: ACPI disabled.
[ +0.003988] mv_xor_v2 f0400000.xor: Marvell Version 2 XOR driver
[ +0.000293] mv_xor_v2 f0420000.xor: Marvell Version 2 XOR driver
[ +0.000300] mv_xor_v2 f0440000.xor: Marvell Version 2 XOR driver
[ +0.000295] mv_xor_v2 f0460000.xor: Marvell Version 2 XOR driver
[ +0.000466] mv_xor_v2 f26a0000.xor: Marvell Version 2 XOR driver
[ +0.000305] mv_xor_v2 f26c0000.xor: Marvell Version 2 XOR driver
[ +0.004263] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ +0.000841] printk: console [ttyS0] disabled
[ +0.020130] f0512000.serial: ttyS0 at MMIO 0xf0512000 (irq = 16, base_baud = 12500000) is a 16550A
[ +0.982496] printk: console [ttyS0] enabled
[ +0.004817] SuperH (H)SCI(F) driver initialized
[ +0.004824] msm_serial: driver initialized
[ +0.007279] loop: module loaded
[ +0.003696] megasas: 07.717.02.00-rc1
[ +0.004083] ahci f2540000.sata: supply ahci not found, using dummy regulator
[ +0.007141] ahci f2540000.sata: supply phy not found, using dummy regulator
[ +0.007475] platform f2540000.sata:sata-port@0: supply target not found, using dummy regulator
[ +0.009023] platform f2540000.sata:sata-port@1: supply target not found, using dummy regulator
[ +0.008766] ahci f2540000.sata: masking port_map 0x3 ā†’ 0x3
[ +0.005630] ahci f2540000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[ +0.008566] ahci f2540000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[ +0.008673] scsi host0: ahci
[ +0.003095] scsi host1: ahci
[ +0.002949] ata1: SATA max UDMA/133 mmio [mem 0xf2540000-0xf256ffff] port 0x100 irq 25
[ +0.007962] ata2: SATA max UDMA/133 mmio [mem 0xf2540000-0xf256ffff] port 0x180 irq 25
[ +0.010505] spi-nor spi2.0: s25fl064k (8192 Kbytes)
[ +0.010153] spi-nor spi2.1: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[ +0.006920] spi-nor: probe of spi2.1 failed with error -2
[ +0.006309] libphy: Fixed MDIO Bus: probed
[ +0.004865] tun: Universal TUN/TAP device driver, 1.6
[ +0.005514] thunder_xcv, ver 1.0
[ +0.003258] thunder_bgx, ver 1.0
[ +0.003261] nicpf, ver 1.0
[ +0.003363] hclge is initializing
[ +0.003343] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[ +0.007255] hns3: Copyright (c) 2017 Huawei Corporation.
[ +0.005363] e1000: Intel(R) PRO/1000 Network Driver
[ +0.004902] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ +0.005789] e1000e: Intel(R) PRO/1000 Network Driver
[ +0.004987] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ +0.005958] igb: Intel(R) Gigabit Ethernet Network Driver
[ +0.005423] igb: Copyright (c) 2007-2014 Intel Corporation.
[ +0.005607] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ +0.006296] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ +0.006165] libphy: orion_mdio_bus: probed
[ +0.005403] mvpp2 f2000000.ethernet: using 8 per-cpu buffers
[ +0.011511] sky2: driver version 1.30
[ +0.004351] VFIO - User Level meta-driver version: 0.3
[ +0.006172] ehci_hcd: USB 2.0 ā€˜Enhancedā€™ Host Controller (EHCI) Driver
[ +0.006571] ehci-pci: EHCI PCI platform driver
[ +0.004492] ehci-platform: EHCI generic platform driver
[ +0.005324] ehci-orion: EHCI orion driver
[ +0.004090] ehci-exynos: EHCI Exynos driver
[ +0.004253] ohci_hcd: USB 1.1 ā€˜Openā€™ Host Controller (OHCI) Driver
[ +0.006218] ohci-pci: OHCI PCI platform driver
[ +0.004479] ohci-platform: OHCI generic platform driver
[ +0.005311] ohci-exynos: OHCI Exynos driver
[ +0.004457] xhci-hcd f2500000.usb: xHCI Host Controller
[ +0.005264] xhci-hcd f2500000.usb: new USB bus registered, assigned bus number 1
[ +0.007486] xhci-hcd f2500000.usb: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[ +0.009203] xhci-hcd f2500000.usb: irq 26, io mem 0xf2500000
[ +0.005752] xhci-hcd f2500000.usb: xHCI Host Controller
[ +0.005253] xhci-hcd f2500000.usb: new USB bus registered, assigned bus number 2
[ +0.007433] xhci-hcd f2500000.usb: Host supports USB 3.0 SuperSpeed
[ +0.006518] hub 1-0:1.0: USB hub found
[ +0.003783] hub 1-0:1.0: 1 port detected
[ +0.004070] usb usb2: We donā€™t know the algorithms for LPM for this host, disabling LPM.
[ +0.008295] hub 2-0:1.0: USB hub found
[ +0.003779] hub 2-0:1.0: 1 port detected
[ +0.004135] xhci-hcd f2510000.usb: xHCI Host Controller
[ +0.005257] xhci-hcd f2510000.usb: new USB bus registered, assigned bus number 3
[ +0.007480] xhci-hcd f2510000.usb: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[ +0.009194] xhci-hcd f2510000.usb: irq 27, io mem 0xf2510000
[ +0.005751] xhci-hcd f2510000.usb: xHCI Host Controller
[ +0.005253] xhci-hcd f2510000.usb: new USB bus registered, assigned bus number 4
[ +0.007432] xhci-hcd f2510000.usb: Host supports USB 3.0 SuperSpeed
[ +0.006481] hub 3-0:1.0: USB hub found
[ +0.003782] hub 3-0:1.0: 1 port detected
[ +0.004050] usb usb4: We donā€™t know the algorithms for LPM for this host, disabling LPM.
[ +0.008289] hub 4-0:1.0: USB hub found
[ +0.000479] ata2: SATA link down (SStatus 0 SControl 300)
[ +0.003302] hub 4-0:1.0: 1 port detected
[ +0.005431] ata1: SATA link down (SStatus 0 SControl 300)
[ +0.004296] usbcore: registered new interface driver usb-storage
[ +0.011127] usbcore: registered new interface driver ftdi_sio
[ +0.005781] usbserial: USB Serial support registered for FTDI USB Serial Device
[ +0.007391] usbcore: registered new interface driver option
[ +0.005604] usbserial: USB Serial support registered for GSM modem (1-port)
[ +0.008307] armada38x-rtc f2284000.rtc: registered as rtc0
[ +0.005527] armada38x-rtc f2284000.rtc: setting system clock to 2106-02-06T21:26:56 UTC (4294934816)
[ +0.009688] i2c_dev: i2c /dev entries driver
[ +0.005035] pca953x 0-0020: supply vcc not found, using dummy regulator
[ +0.006703] pca953x 0-0020: using no AI
[ +0.005002] gpio-496 (pcie1.0-clkreq): hogged as input
[ +0.006201] gpio-499 (pcie1.0-w-disable): hogged as output/low
[ +0.006167] gpio-500 (pcie2.0-clkreq): hogged as input
[ +0.005779] gpio-503 (pcie2.0-w-disable): hogged as output/low
[ +0.006167] gpio-501 (usb3-current-limit): hogged as input
[ +0.006128] gpio-502 (usb3-power): hogged as output/high
[ +0.006790] gpio-507 (m.2 devslp): hogged as output/low
[ +0.005439] at24 0-0053: supply vcc not found, using dummy regulator
[ +0.006893] at24 0-0053: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[ +0.008058] mcp3021 0-004c: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[ +0.026537] sbsa-gwdt f0610000.watchdog: Initialized with 10s timeout @ 25000000 Hz, action=0.
[ +0.010715] sdhci: Secure Digital Host Controller Interface driver
[ +0.006216] sdhci: Copyright(c) Pierre Ossman
[ +0.004787] Synopsys Designware Multimedia Card Interface Driver
[ +0.006606] sdhci-pltfm: SDHCI platform and OF driver helper
[ +0.006755] ledtrig-cpu: registered to indicate activity on CPUs
[ +0.006758] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ā€¦
[ +0.006826] usbcore: registered new interface driver usbhid
[ +0.005608] usbhid: USB HID core driver
[ +0.006777] NET: Registered PF_PACKET protocol family
[ +0.005147] mmc0: SDHCI controller on f06e0000.sdhci [f06e0000.sdhci] using ADMA 64-bit
[ +0.000010] 9pnet: Installing 9P2000 support
[ +0.012376] Key type dns_resolver registered
[ +0.004457] Loading compiled-in X.509 certificates
[ +0.006944] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ +0.011293] gpio-59 (phy_reset): hogged as output/high
[ +0.006105] armada8k-pcie f2620000.pcie: host bridge /cp0/pcie@f2620000 ranges:
[ +0.007401] armada8k-pcie f2620000.pcie: MEM 0x00e0000000ā€¦0x00e0efffff ā†’ 0x00e0000000
[ +0.008516] armada8k-pcie f2620000.pcie: iATU unroll: disabled
[ +0.005868] armada8k-pcie f2620000.pcie: Detected iATU regions: 8 outbound, 8 inbound
[ +0.030595] mmc0: new HS200 MMC card at address 0001
[ +0.005431] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[ +0.005891] mmcblk0: p1
[ +0.002889] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB
[ +0.005692] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB
[ +0.005561] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (511:0)
[ +0.952090] armada8k-pcie f2620000.pcie: Phy link never came up
[ +0.006176] armada8k-pcie f2620000.pcie: PCI host bridge to bus 0000:00
[ +0.006721] pci_bus 0000:00: root bus resource [bus 00-ff]
[ +0.005560] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe0efffff]
[ +0.006928] pci 0000:00:00.0: [11ab:0110] type 01 class 0x060400
[ +0.006048] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ +0.006344] pci 0000:00:00.0: supports D1 D2
[ +0.004307] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ +0.006929] pci 0000:00:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff]
[ +0.006842] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ +0.363865] pcieport 0000:00:00.0: PME: Signaling with IRQ 42
[ +0.006267] armada8k-pcie f2640000.pcie: host bridge /cp0/pcie@f2640000 ranges:
[ +0.007386] armada8k-pcie f2640000.pcie: MEM 0x00e1000000ā€¦0x00e1efffff ā†’ 0x00e1000000
[ +0.008505] armada8k-pcie f2640000.pcie: iATU unroll: disabled
[ +0.005866] armada8k-pcie f2640000.pcie: Detected iATU regions: 8 outbound, 8 inbound
[ +1.008214] armada8k-pcie f2640000.pcie: Phy link never came up
[ +0.006177] armada8k-pcie f2640000.pcie: PCI host bridge to bus 0001:00
[ +0.006714] pci_bus 0001:00: root bus resource [bus 00-ff]
[ +0.005513] pci_bus 0001:00: root bus resource [mem 0xe1000000-0xe1efffff]
[ +0.006929] pci 0001:00:00.0: [11ab:0110] type 01 class 0x060400
[ +0.006042] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ +0.006348] pci 0001:00:00.0: supports D1 D2
[ +0.004291] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[ +0.006895] pci 0001:00:00.0: BAR 0: assigned [mem 0xe1000000-0xe10fffff]
[ +0.006829] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ +0.363839] pcieport 0001:00:00.0: PME: Signaling with IRQ 44
[ +0.006336] libphy: SFP I2C Bus: probed
[ +0.004872] sfp sfp-eth@0: Host maximum power 2.0W
[ +0.007627] mvpp2 f2000000.ethernet: using 8 per-cpu buffers
[ +0.025152] mvpp2 f2000000.ethernet eth0: Using random mac address ae:5d:2e:74:82:b7
[ +0.010516] mvpp2 f2000000.ethernet eth1: Using random mac address 5e:aa:b5:39:ec:0b
[ +0.009276] mvpp2 f2000000.ethernet eth2: Using random mac address 0e:78:ed:69:b7:fd
[ +0.035235] xenon-sdhci f2780000.sdhci: Got CD GPIO
[ +0.000098] input: keys as /devices/platform/keys/input/input0
[ +0.011056] ALSA device list:
[ +0.002986] No soundcards found.
[ +0.021486] mmc1: SDHCI controller on f2780000.sdhci [f2780000.sdhci] using ADMA 64-bit
[ +0.021709] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ +0.009884] VFS: Mounted root (ext4 filesystem) on device 179:1.
[ +0.007101] devtmpfs: mounted
[ +0.002773] mmc1: new high speed SDXC card at address 0001
[ +0.001447] Freeing unused kernel memory: 6208K
[ +0.004833] mmcblk1: mmc1:0001 EC2QT 59.6 GiB
[ +0.004091] Run /sbin/init as init process
[ +0.005985] mmcblk1: p1 p2
[ +0.002514] with arguments:
[ +0.000002] /sbin/init
[ +0.000001] with environment:
[ +0.000001] HOME=/
[ +0.002814] TERM=linux
[ +0.025631] random: fast init done
[ +0.091353] systemd[1]: systemd 245.4-4ubuntu3.19 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[ +0.022868] systemd[1]: Detected architecture arm64.
[ +0.040731] systemd[1]: Set hostname to .
[ +0.159999] random: systemd: uninitialized urandom read (16 bytes read)
[ +0.006787] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[ +0.012452] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[ +0.009647] systemd[1]: Created slice system-getty.slice.
[ +0.022611] random: systemd: uninitialized urandom read (16 bytes read)
[ +0.008131] systemd[1]: Created slice system-modprobe.slice.
[ +0.019818] random: systemd: uninitialized urandom read (16 bytes read)
[ +0.007436] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ +0.021308] systemd[1]: Created slice User and Session Slice.
[ +0.023615] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ +0.023912] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ +0.023873] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[ +0.011780] systemd[1]: Reached target Local Encrypted Volumes.
[ +0.020080] systemd[1]: Reached target Paths.
[ +0.020061] systemd[1]: Reached target Remote File Systems.
[ +0.019995] systemd[1]: Reached target Slices.
[ +0.019907] systemd[1]: Reached target Swap.
[ +0.020421] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ +0.024704] systemd[1]: Listening on Journal Audit Socket.
[ +0.023499] systemd[1]: Listening on Journal Socket (/dev/log).
[ +0.024053] systemd[1]: Listening on Journal Socket.
[ +0.019613] systemd[1]: Listening on udev Control Socket.
[ +0.020132] systemd[1]: Listening on udev Kernel Socket.
[ +0.024562] systemd[1]: Mounting Huge Pages File Systemā€¦
[ +0.021727] systemd[1]: Mounting POSIX Message Queue File Systemā€¦
[ +0.025069] systemd[1]: Mounting Kernel Debug File Systemā€¦
[ +0.020764] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[ +0.010529] systemd[1]: Starting Journal Serviceā€¦
[ +0.021213] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
[ +0.013209] systemd[1]: Starting Load Kernel Module chromeos_pstoreā€¦
[ +0.027939] systemd[1]: Starting Load Kernel Module drmā€¦
[ +0.022668] systemd[1]: Condition check resulted in Load Kernel Module efi_pstore being skipped.
[ +0.010570] systemd[1]: Starting Load Kernel Module pstore_blkā€¦
[ +0.025156] systemd[1]: Starting Load Kernel Module pstore_zoneā€¦
[ +0.023949] systemd[1]: Starting Load Kernel Module ramoopsā€¦
[ +0.032424] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ +0.011615] systemd[1]: Starting Load Kernel Modulesā€¦
[ +0.026806] systemd[1]: Starting Remount Root and Kernel File Systemsā€¦
[ +0.023139] systemd[1]: Starting udev Coldplug all Devicesā€¦
[ +0.021739] systemd[1]: Started Journal Service.
[ +0.255773] systemd-journald[158]: Received client request to flush runtime journal.
[Jan24 16:18] random: crng init done
[ +0.000007] random: 7 urandom warning(s) missed due to ratelimiting
[ +22.976987] mvpp2 f2000000.ethernet eth2: PHY [f212a200.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[ +0.000121] mvpp2 f2000000.ethernet eth2: configuring for phy/rgmii-id link mode
[ +0.038987] mvpp2 f2000000.ethernet eth1: configuring for fixed/sgmii link mode
[ +0.000047] mvpp2 f2000000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[ +0.034583] mvpp2 f2000000.ethernet eth0: configuring for inband/10gbase-r link mode
[ +4.006012] mvpp2 f2000000.ethernet eth2: Link is Up - 1Gbps/Full - flow control rx/tx
[ +0.255311] cp0_sd_vccq: disabling
[Jan24 16:27] mvpp2 f2000000.ethernet eth2: Link is Down
[Jan24 16:33] mvpp2 f2000000.ethernet eth2: Link is Up - 1Gbps/Full - flow control rx/tx

1 Like

Hy,
Sorry to answer only now.

Have you a pro or base clearfog?

Next to the usb port, you have the boardā€™s version : for me clearfog-A1 v2.2

If you have the V2.1, you have to do some hardware modifications.

Hello,
of course Iā€™m glad you answered and thank you.

I have SolidRun ClearFog-A1 PRO Rev-2.2 version

^^

Do you use openwrt or another distrib Linux?

I use a custom linux, from Buildroot.
I have built my kernel.
If it can help you, i can share my dmesg, defconfig and the dts used.
i will post them when i come home

It would be greatā€¦

My first choice would have been Ipfire, but Openwrt would be fine too.

At the moment to start and learn Iā€™m trying directly with cn913x_build so Ubuntu focal.
In this way, however, I can work with the system but I canā€™t find the 5 Lan ports (the LED doesnā€™t even light up when I insert the cable), the only port that works is the eth2 rj45 WAN.

Checking lsmod I canā€™t find any modules, maybe thatā€™s the problem?

root@localhost:~# lsmod
Module | Size | Used by

root@localhost:~# uname -r
5.15.0-00018-g15583474fea9

Hy again

Here my lsmod ouput :

# lsmod
Module                  Size  Used by
tag_dsa                16384  1
mv88e6xxx             155648  0
dsa_core              118784  2 tag_dsa,mv88e6xxx
bridge                286720  3 tag_dsa,mv88e6xxx,dsa_core
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
crct10dif_ce           16384  1
omap_rng               16384  0
rng_core               20480  2 omap_rng
ipv6                  462848  23 bridge

Here my dmesg :

dmesg

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 6.1.0-diagbox (root@workstation) (aarch64-linux-gnu-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #1 SMP PREEMPT Mon Jan 23 22:56:09 CET 2023
[ 0.000000] Machine model: SolidRun CN9130 based SOM Clearfog Pro
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options ā€˜ā€™)
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000013fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x13f7cea00-0x13f7d0fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x000000013fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] node 0: [mem 0x0000000004000000-0x00000000041fffff]
[ 0.000000] node 0: [mem 0x0000000004200000-0x00000000bfffffff]
[ 0.000000] node 0: [mem 0x0000000100000000-0x000000013fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000013fffffff]
[ 0.000000] cma: Reserved 32 MiB at 0x00000000be000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 20 pages/cpu s43496 r8192 d30232 u81920
[ 0.000000] pcpu-alloc: s43496 r8192 d30232 u81920 alloc=20*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: Spectre-v2
[ 0.000000] CPU features: detected: Spectre-v3a
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] CPU features: detected: ARM erratum 1742098
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Fallback order for Node 0: 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1032192
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: board=pro earlycon=uart8250,mmio32,0x11002000 debug=7 initrd=0x9000000,550M
[ 0.000000] Unknown kernel command line parameters ā€œboard=proā€, will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x00000000ba000000-0x00000000be000000] (64MB)
[ 0.000000] Memory: 3426528K/4194304K available (13632K kernel code, 1428K rwdata, 4596K rodata, 2624K init, 535K bss, 735008K reserved, 32768K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f022f000
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:160, num:32)
[ 0.000000] GICv2m: range[mem 0xf0280000-0xf0280fff], SPI[160:191]
[ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:192, num:32)
[ 0.000000] GICv2m: range[mem 0xf0290000-0xf0290fff], SPI[192:223]
[ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:224, num:32)
[ 0.000000] GICv2m: range[mem 0xf02a0000-0xf02a0fff], SPI[224:255]
[ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:256, num:32)
[ 0.000000] GICv2m: range[mem 0xf02b0000-0xf02b0fff], SPI[256:287]
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[ 0.000000] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[ 0.000184] Console: colour dummy device 80x25
[ 0.000203] printk: console [tty0] enabled
[ 0.000220] printk: bootconsole [uart8250] disabled
[ 0.000270] Calibrating delay loop (skipped), value calculated using timer frequencyā€¦ 50.00 BogoMIPS (lpj=100000)
[ 0.000279] pid_max: default: 32768 minimum: 301
[ 0.000307] LSM: Security Framework initializing
[ 0.000355] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000367] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.001015] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.001025] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.001060] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.001138] rcu: Hierarchical SRCU implementation.
[ 0.001142] rcu: Max phase no-delay instances is 1000.
[ 0.001443] EFI services will not be available.
[ 0.001548] smp: Bringing up secondary CPUs ā€¦
[ 0.001975] Detected PIPT I-cache on CPU1
[ 0.002037] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[ 0.002493] Detected PIPT I-cache on CPU2
[ 0.002548] CPU2: Booted secondary processor 0x0000000100 [0x410fd083]
[ 0.002985] Detected PIPT I-cache on CPU3
[ 0.003024] CPU3: Booted secondary processor 0x0000000101 [0x410fd083]
[ 0.003056] smp: Brought up 1 node, 4 CPUs
[ 0.003079] SMP: Total of 4 processors activated.
[ 0.003085] CPU features: detected: 32-bit EL0 Support
[ 0.003088] CPU features: detected: 32-bit EL1 Support
[ 0.003093] CPU features: detected: CRC32 instructions
[ 0.003131] CPU: All CPU(s) started at EL2
[ 0.003145] alternatives: applying system-wide alternatives
[ 0.004179] devtmpfs: initialized
[ 0.006576] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.006595] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.006898] pinctrl core: initialized pinctrl subsystem
[ 0.007120] DMI not present or invalid.
[ 0.007404] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.007855] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.008025] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.008149] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.008178] audit: initializing netlink subsys (disabled)
[ 0.008245] audit: type=2000 audit(0.008:1): state=initialized audit_enabled=0 res=1
[ 0.008401] thermal_sys: Registered thermal governor ā€˜step_wiseā€™
[ 0.008405] thermal_sys: Registered thermal governor ā€˜power_allocatorā€™
[ 0.008428] cpuidle: using governor menu
[ 0.008453] NET: Registered PF_QIPCRTR protocol family
[ 0.008524] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.008569] ASID allocator initialised with 65536 entries
[ 0.008768] Serial: AMBA PL011 UART driver
[ 0.013916] KASLR disabled due to lack of seed
[ 0.017255] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.017264] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.017270] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.017275] HugeTLB: 508 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.017280] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.017284] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.017289] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.017293] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.017903] ACPI: Interpreter disabled.
[ 0.018451] ap0_sd_vccq: Bringing 3300000uV into 1800000-1800000uV
[ 0.018680] iommu: Default domain type: Translated
[ 0.018688] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.018793] SCSI subsystem initialized
[ 0.018849] libata version 3.00 loaded.
[ 0.018932] usbcore: registered new interface driver usbfs
[ 0.018948] usbcore: registered new interface driver hub
[ 0.018962] usbcore: registered new device driver usb
[ 0.019080] usb_phy_generic cp0_usb3_phy@0: dummy supplies not allowed for exclusive requests
[ 0.019165] usb_phy_generic cp0_usb3_phy@1: dummy supplies not allowed for exclusive requests
[ 0.019323] pps_core: LinuxPPS API ver. 1 registered
[ 0.019328] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.019337] PTP clock support registered
[ 0.019393] EDAC MC: Ver: 3.0.0
[ 0.019704] FPGA manager framework
[ 0.019985] nfc: nfc_init: NFC Core ver 0.1
[ 0.020011] NET: Registered PF_NFC protocol family
[ 0.020093] vgaarb: loaded
[ 0.020235] clocksource: Switched to clocksource arch_sys_counter
[ 0.020329] VFS: Disk quotas dquot_6.6.0
[ 0.020355] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.020418] pnp: PnP ACPI: disabled
[ 0.022957] NET: Registered PF_INET protocol family
[ 0.023062] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.024453] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.024481] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.024492] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.024603] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 0.025034] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.025089] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.025139] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.025260] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.025455] RPC: Registered named UNIX socket transport module.
[ 0.025463] RPC: Registered udp transport module.
[ 0.025467] RPC: Registered tcp transport module.
[ 0.025471] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.025732] PCI: CLS 0 bytes, default 64
[ 0.025815] Unpacking initramfsā€¦
[ 0.036484] kvm [1]: IPA Size Limit: 44 bits
[ 0.036926] kvm [1]: vgic interrupt IRQ9
[ 0.036984] kvm [1]: Hyp mode initialized successfully
[ 0.037489] Initialise system trusted keyrings
[ 0.037593] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[ 0.040267] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.040534] NFS: Registering the id_resolver key type
[ 0.040551] Key type id_resolver registered
[ 0.040556] Key type id_legacy registered
[ 0.040589] nfs4filelayout_init: NFSv4 File Layout Driver Registeringā€¦
[ 0.040596] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registeringā€¦
[ 0.060344] Key type asymmetric registered
[ 0.060360] Asymmetric key parser ā€˜x509ā€™ registered
[ 0.060393] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[ 0.060400] io scheduler mq-deadline registered
[ 0.060404] io scheduler kyber registered
[ 0.062557] armada-ap806-pinctrl f06f4000.system-controller:pinctrl: registered pinctrl driver
[ 0.062948] armada-cp110-pinctrl f2440000.system-controller:pinctrl: registered pinctrl driver
[ 0.063891] EINJ: ACPI disabled.
[ 0.065255] mv_xor_v2 f0400000.xor: Marvell Version 2 XOR driver
[ 0.065520] mv_xor_v2 f0420000.xor: Marvell Version 2 XOR driver
[ 0.065797] mv_xor_v2 f0440000.xor: Marvell Version 2 XOR driver
[ 0.066065] mv_xor_v2 f0460000.xor: Marvell Version 2 XOR driver
[ 0.066502] mv_xor_v2 f26a0000.xor: Marvell Version 2 XOR driver
[ 0.066786] mv_xor_v2 f26c0000.xor: Marvell Version 2 XOR driver
[ 0.068681] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.089480] f0512000.serial: ttyS0 at MMIO 0xf0512000 (irq = 22, base_baud = 12500000) is a 16550A
[ 1.214302] printk: console [ttyS0] enabled
[ 1.221598] loop: module loaded
[ 1.225167] megasas: 07.719.03.00-rc1
[ 1.229398] ahci f2540000.sata: supply ahci not found, using dummy regulator
[ 1.236571] ahci f2540000.sata: supply phy not found, using dummy regulator
[ 1.243776] platform f2540000.sata:sata-port@0: supply target not found, using dummy regulator
[ 1.252602] platform f2540000.sata:sata-port@1: supply target not found, using dummy regulator
[ 1.261381] ahci f2540000.sata: masking port_map 0x3 ā†’ 0x3
[ 1.267017] ahci f2540000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[ 1.275588] ahci f2540000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[ 1.284369] scsi host0: ahci
[ 1.287472] scsi host1: ahci
[ 1.290444] ata1: SATA max UDMA/133 mmio [mem 0xf2540000-0xf256ffff] port 0x100 irq 23
[ 1.298404] ata2: SATA max UDMA/133 mmio [mem 0xf2540000-0xf256ffff] port 0x180 irq 23
[ 1.308438] spi-nor spi2.0: s25fl064k (8192 Kbytes)
[ 1.618405] ata2: SATA link down (SStatus 0 SControl 300)
[ 1.623871] ata1: SATA link down (SStatus 0 SControl 300)
[ 2.572828] Initramfs unpacking failed: invalid magic at start of compressed archive
[ 2.702997] Freeing initrd memory: 563200K
[ 2.711119] spi-nor spi2.1: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[ 2.719562] tun: Universal TUN/TAP device driver, 1.6
[ 2.727490] hwmon hwmon0: temp1_input not attached to any thermal zone
[ 2.734931] mvpp2 f2000000.ethernet: using 8 per-cpu buffers
[ 2.746365] sky2: driver version 1.30
[ 2.750189] VFIO - User Level meta-driver version: 0.3
[ 2.756344] xhci-hcd f2500000.usb: xHCI Host Controller
[ 2.761609] xhci-hcd f2500000.usb: new USB bus registered, assigned bus number 1
[ 2.769093] xhci-hcd f2500000.usb: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[ 2.778296] xhci-hcd f2500000.usb: irq 24, io mem 0xf2500000
[ 2.784051] xhci-hcd f2500000.usb: xHCI Host Controller
[ 2.789307] xhci-hcd f2500000.usb: new USB bus registered, assigned bus number 2
[ 2.796742] xhci-hcd f2500000.usb: Host supports USB 3.0 SuperSpeed
[ 2.803284] hub 1-0:1.0: USB hub found
[ 2.807073] hub 1-0:1.0: 1 port detected
[ 2.811148] usb usb2: We donā€™t know the algorithms for LPM for this host, disabling LPM.
[ 2.819455] hub 2-0:1.0: USB hub found
[ 2.823239] hub 2-0:1.0: 1 port detected
[ 2.827387] xhci-hcd f2510000.usb: xHCI Host Controller
[ 2.832657] xhci-hcd f2510000.usb: new USB bus registered, assigned bus number 3
[ 2.840131] xhci-hcd f2510000.usb: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[ 2.849324] xhci-hcd f2510000.usb: irq 25, io mem 0xf2510000
[ 2.855077] xhci-hcd f2510000.usb: xHCI Host Controller
[ 2.860333] xhci-hcd f2510000.usb: new USB bus registered, assigned bus number 4
[ 2.867767] xhci-hcd f2510000.usb: Host supports USB 3.0 SuperSpeed
[ 2.874265] hub 3-0:1.0: USB hub found
[ 2.878049] hub 3-0:1.0: 1 port detected
[ 2.882108] usb usb4: We donā€™t know the algorithms for LPM for this host, disabling LPM.
[ 2.890420] hub 4-0:1.0: USB hub found
[ 2.894203] hub 4-0:1.0: 1 port detected
[ 2.898350] usbcore: registered new interface driver usb-storage
[ 2.904428] usbcore: registered new interface driver ftdi_sio
[ 2.910212] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 2.917600] usbcore: registered new interface driver option
[ 2.923206] usbserial: USB Serial support registered for GSM modem (1-port)
[ 2.931079] armada38x-rtc f2284000.rtc: registered as rtc0
[ 2.936610] armada38x-rtc f2284000.rtc: setting system clock to 2101-08-16T18:00:16 UTC (4153658416)
[ 2.945965] i2c_dev: i2c /dev entries driver
[ 2.950700] pca953x 0-0020: supply vcc not found, using dummy regulator
[ 2.957406] pca953x 0-0020: using no AI
[ 2.962621] gpio-496 (pcie1.0-clkreq): hogged as input
[ 2.968824] gpio-499 (pcie1.0-w-disable): hogged as output/low
[ 2.974996] gpio-500 (pcie2.0-clkreq): hogged as input
[ 2.980779] gpio-503 (pcie2.0-w-disable): hogged as output/low
[ 2.986950] gpio-501 (usb3-current-limit): hogged as input
[ 2.993080] gpio-502 (usb3-power): hogged as output/high
[ 2.999874] gpio-507 (m.2 devslp): hogged as output/low
[ 3.005336] at24 0-0053: supply vcc not found, using dummy regulator
[ 3.012250] at24 0-0053: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[ 3.033516] sbsa-gwdt f0610000.watchdog: Initialized with 10s timeout @ 25000000 Hz, action=0.
[ 3.043635] sdhci: Secure Digital Host Controller Interface driver
[ 3.049865] sdhci: Copyright(c) Pierre Ossman
[ 3.054504] Synopsys Designware Multimedia Card Interface Driver
[ 3.060788] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.067027] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.073206] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ā€¦
[ 3.079880] usbcore: registered new interface driver usbhid
[ 3.085483] usbhid: USB HID core driver
[ 3.090112] ipip: IPv4 and MPLS over IPv4 tunneling driver
[ 3.095815] gre: GRE over IPv4 demultiplexor driver
[ 3.096252] mmc0: SDHCI controller on f06e0000.mmc [f06e0000.mmc] using ADMA 64-bit
[ 3.100724] NET: Registered PF_PACKET protocol family
[ 3.113516] Key type dns_resolver registered
[ 3.118024] registered taskstats version 1
[ 3.122164] Loading compiled-in X.509 certificates
[ 3.135480] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 3.144491] gpio-59 (phy_reset): hogged as output/high
[ 3.150238] armada8k-pcie f2620000.pcie: host bridge /cp0/pcie@f2620000 ranges:
[ 3.157630] armada8k-pcie f2620000.pcie: MEM 0x00e0000000ā€¦0x00e0efffff ā†’ 0x00e0000000
[ 3.166150] armada8k-pcie f2620000.pcie: iATU unroll: disabled
[ 3.172017] armada8k-pcie f2620000.pcie: iATU regions: 8 ob, 8 ib, align 64K, limit 4G
[ 3.175120] mmc0: new HS200 MMC card at address 0001
[ 3.185257] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[ 3.190808] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB
[ 3.196450] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB
[ 3.201966] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (234:0)
[ 4.180200] armada8k-pcie f2620000.pcie: Phy link never came up
[ 4.186372] armada8k-pcie f2620000.pcie: PCI host bridge to bus 0000:00
[ 4.193068] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 4.198615] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe0efffff]
[ 4.205591] pci 0000:00:00.0: [11ab:0110] type 01 class 0x060400
[ 4.211677] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 4.218112] pci 0000:00:00.0: supports D1 D2
[ 4.222440] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 4.230172] pci 0000:00:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff]
[ 4.237040] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 4.857054] pcieport 0000:00:00.0: PME: Signaling with IRQ 40
[ 4.863017] pcieport 0000:00:00.0: AER: enabled with IRQ 40
[ 4.868918] armada8k-pcie f2640000.pcie: host bridge /cp0/pcie@f2640000 ranges:
[ 4.876285] armada8k-pcie f2640000.pcie: MEM 0x00e1000000ā€¦0x00e1efffff ā†’ 0x00e1000000
[ 4.884800] armada8k-pcie f2640000.pcie: iATU unroll: disabled
[ 4.890667] armada8k-pcie f2640000.pcie: iATU regions: 8 ob, 8 ib, align 64K, limit 4G
[ 5.892320] armada8k-pcie f2640000.pcie: Phy link never came up
[ 5.898449] armada8k-pcie f2640000.pcie: PCI host bridge to bus 0001:00
[ 5.905114] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 5.910677] pci_bus 0001:00: root bus resource [mem 0xe1000000-0xe1efffff]
[ 5.917657] pci 0001:00:00.0: [11ab:0110] type 01 class 0x060400
[ 5.923780] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 5.930184] pci 0001:00:00.0: supports D1 D2
[ 5.934499] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[ 5.941596] pci 0001:00:00.0: BAR 0: assigned [mem 0xe1000000-0xe10fffff]
[ 5.948446] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ 6.568421] pcieport 0001:00:00.0: PME: Signaling with IRQ 41
[ 6.574374] pcieport 0001:00:00.0: AER: enabled with IRQ 41
[ 6.581149] sfp sfp-eth@0: Host maximum power 2.0W
[ 6.588395] mvpp2 f2000000.ethernet: using 8 per-cpu buffers
[ 6.613824] mvpp2 f2000000.ethernet eth0: Using random mac address 9e:3b:61:77:05:f4
[ 6.624355] mvpp2 f2000000.ethernet eth1: Using random mac address e2:27:b0:b4:88:1b
[ 6.633657] mvpp2 f2000000.ethernet eth2: Using random mac address 6a:9a:8a:fa:33:18
[ 6.731459] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 6.731670] xenon-sdhci f2780000.mmc: Got CD GPIO
[ 6.749342] cfg80211: Loaded X.509 cert ā€˜sforshee: 00b28ddf47aef9cea7ā€™
[ 6.772394] mmc1: SDHCI controller on f2780000.mmc [f2780000.mmc] using ADMA 64-bit
[ 6.781051] Freeing unused kernel memory: 2624K
[ 6.808296] Run /init as init process
[ 6.811976] with arguments:
[ 6.812874] mmc1: new high speed SDHC card at address 0001
[ 6.814959] /init
[ 6.820932] mmcblk1: mmc1:0001 00000 29.8 GiB
[ 6.822746] with environment:
[ 6.822749] HOME=/
[ 6.828433] mmcblk1: p1 p2 p3
[ 6.830374] TERM=linux
[ 6.838562] board=pro
[ 8.880238] random: crng init done
[ 8.949247] /dev/mmcblk0p1: Canā€™t open blockdev
[ 8.953831] /dev/mmcblk0p1: Canā€™t open blockdev
[ 8.958402] /dev/mmcblk0p1: Canā€™t open blockdev
[ 8.977762] /dev/mmcblk0p2: Canā€™t open blockdev
[ 8.982405] /dev/mmcblk0p2: Canā€™t open blockdev
[ 8.986998] /dev/mmcblk0p2: Canā€™t open blockdev
[ 9.005654] /dev/mmcblk0p3: Canā€™t open blockdev
[ 9.010279] /dev/mmcblk0p3: Canā€™t open blockdev
[ 9.014852] /dev/mmcblk0p3: Canā€™t open blockdev
[ 9.045143] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 9.055161] vfat filesystem being mounted at /os_sd supports timestamps until 2107 (0x10391447e)
[ 9.099400] EXT4-fs (mmcblk1p2): recovery complete
[ 9.105192] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 9.113785] ext4 filesystem being mounted at /gui_sd supports timestamps until 2038 (0x7fffffff)
[ 9.146254] EXT4-fs (mmcblk1p3): recovery complete
[ 9.151094] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Quota mode: none.
[ 9.159702] ext4 filesystem being mounted at /recovery_sd supports timestamps until 2038 (0x7fffffff)
[ 9.297285] udevd[217]: starting version 3.2.11
[ 9.312465] udevd[218]: starting eudev-3.2.11
[ 9.431724] omap_rng f2760000.trng: Random Number Generator ver. 203b34c
[ 9.442704] NET: Registered PF_INET6 protocol family
[ 9.449123] Segment Routing with IPv6
[ 9.452892] In-situ OAM (IOAM) with IPv6
[ 9.462353] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 9.479846] mv88e6085 f212a200.mdio-mii:04: switch 0x1760 detected: Marvell 88E6176, revision 1
[ 10.331553] mv88e6085 f212a200.mdio-mii:04: OF node /cp0/config-space@f2000000/mdio@12a200/switch@4/ports/port@5 of CPU port 5 lacks the required ā€œphy-modeā€ property
[ 10.359145] mv88e6085 f212a200.mdio-mii:04: configuring for fixed/ link mode
[ 10.371050] mv88e6085 f212a200.mdio-mii:04: Link is Up - 1Gbps/Full - flow control off
[ 10.440338] mv88e6085 f212a200.mdio-mii:04 lan4 (uninitialized): PHY [mv88e6xxx-0:00] driver [Marvell 88E1540] (irq=70)
[ 10.453609] mvpp2 f2000000.ethernet: all ports have a low MTU, switching to per-cpu buffers
[ 10.494282] mvpp2 f2000000.ethernet: using 8 per-cpu buffers
[ 10.552311] mv88e6085 f212a200.mdio-mii:04 lan3 (uninitialized): PHY [mv88e6xxx-0:01] driver [Marvell 88E1540] (irq=71)
[ 10.636361] mv88e6085 f212a200.mdio-mii:04 lan2 (uninitialized): PHY [mv88e6xxx-0:02] driver [Marvell 88E1540] (irq=72)
[ 10.720585] mv88e6085 f212a200.mdio-mii:04 lan1 (uninitialized): PHY [mv88e6xxx-0:03] driver [Marvell 88E1540] (irq=73)
[ 10.780355] mv88e6085 f212a200.mdio-mii:04 lan0 (uninitialized): PHY [mv88e6xxx-0:04] driver [Marvell 88E1540] (irq=74)
[ 10.794331] DSA: tree 0 setup
````Preformatted text`

For the kernel version, i use teh 6.1.0

i have adapted some patches found here :

and here my defconfig for the kernel

Hope it can help you :slight_smile:

1 Like

FYI, vanilla 6.x mainline kernels work well with the Clearfog Pro hardware inclusive of the marvell switch. No need to mess with that old 5.15 branch.

Iā€™m using alpine, which uses ifupdown for network management, but you should be able to adapt to your system of choice. Remember that eth1 is the phy, and the switch ports, defined by the DTB, are effectively virtual interfaces. You merely have to bridge it all together.

Hereā€™s a snap of my interfaces and kernel version:

For config, hereā€™s the script that creates my bridge:

#!/bin/sh

# parent phy should be up
ip link set up dev sphy

# bridge
ip link add name br0 type bridge

# bring up ifaces
ip link set up dev br0
ip link set up dev swi1
ip link set up dev swi2
ip link set up dev swi3
ip link set up dev swi4
ip link set up dev swi5

ip link set swi1 master br0
ip link set swi2 master br0
ip link set swi3 master br0
ip link set swi4 master br0
ip link set swi5 master br0

Note, Iā€™ve renamed my interfaces with udev. sphy = eth1, and swi[n] is lan[n]

Finally, just assign an address to br0:

ip addr add 192.168.1.2/24 dev br0

You can adjust switch features, such as STP with brctl or ip link

Hope this helps.

1 Like

Thanks davon,
my problem was that the kernel didnā€™t load the modules and therefore no network!

I fixed it with the depmod -a command

1 Like