Skip to content

Instantly share code, notes, and snippets.

@warpme
Created December 18, 2024 12:14
Show Gist options
  • Save warpme/6c98d678223a0e4aeb52ae97aad758e4 to your computer and use it in GitHub Desktop.
Save warpme/6c98d678223a0e4aeb52ae97aad758e4 to your computer and use it in GitHub Desktop.
gmac1 dt additions:
diff --speed-large-files --no-dereference --minimal -Naur linux-6.12.4/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi linux-6.12.4/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
--- linux-6.12.4/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi 2024-12-17 16:00:39.127051177 +0100
+++ linux-6.12.4/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi 2024-12-18 12:33:17.756857967 +0100
@@ -7,6 +7,8 @@
#include <dt-bindings/clock/sun55i-a523-r-ccu.h>
#include <dt-bindings/reset/sun55i-a523-ccu.h>
#include <dt-bindings/reset/sun55i-a523-r-ccu.h>
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/gpio/sun4i-gpio.h>
/ {
interrupt-parent = <&gic>;
@@ -110,6 +112,28 @@
allwinner,pinmux = <2>;
function = "uart0";
};
+
+ /omit-if-no-ref/
+ gmac1_pins_default: gmac1@0 {
+ pins = "PJ0", "PJ1", "PJ2", "PJ3",
+ "PJ4", "PJ5", "PJ6", "PJ7",
+ "PJ8", "PJ9", "PJ10", "PJ11",
+ "PJ12","PJ13", "PJ14", "PJ15";
+ allwinner,pinmux = <5>;
+ function = "gmac1";
+ drive-strength = <40>;
+ bias-pull-up;
+ };
+
+ /omit-if-no-ref/
+ gmac1_pins_sleep: gmac1@1 {
+ pins = "PJ0", "PJ1", "PJ2", "PJ3",
+ "PJ4", "PJ5", "PJ6", "PJ7",
+ "PJ8", "PJ9", "PJ10", "PJ11",
+ "PJ12","PJ13", "PJ14", "PJ15";
+ allwinner,pinmux = <0>;
+ function = "gpio_in";
+ };
};
ccu: clock@2001000 {
@@ -380,5 +404,58 @@
clock-names = "bus", "hosc", "ahb";
#clock-cells = <1>;
};
+
+ gmac1: ethernet@4510000 {
+ compatible = "allwinner,sunxi-gmac-200", "snps,dwmac-4.20a";
+ reg = <0x04510000 0x10000>,
+ <0x03000034 0x4>;
+ interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "macirq";
+ clocks = <&ccu CLK_BUS_EMAC1>, <&ccu CLK_MBUS_EMAC1>, <&ccu CLK_EMAC1_25M>;
+ clock-names = "stmmaceth", "pclk", "phy25m";
+ resets = <&ccu RST_BUS_EMAC1>;
+ reset-names = "stmmaceth";
+ phy-handle = <&gmac1_phy0>;
+ //power-domains = <&pd1 A523_PCK_VO1>;
+ status = "disabled";
+
+ snps,fixed-burst;
+
+ snps,axi-config = <&gmac1_stmmac_axi_setup>;
+ snps,mtl-rx-config = <&gmac1_mtl_rx_setup>;
+ snps,mtl-tx-config = <&gmac1_mtl_tx_setup>;
+
+ gmac1_stmmac_axi_setup: stmmac-axi-config {
+ snps,wr_osr_lmt = <0xf>;
+ snps,rd_osr_lmt = <0xf>;
+ snps,blen = <256 128 64 32 16 8 4>;
+ };
+
+ gmac1_mtl_rx_setup: rx-queues-config {
+ snps,rx-queues-to-use = <1>;
+ queue0 {};
+ };
+
+ gmac1_mtl_tx_setup: tx_queues-config {
+ snps,tx-queues-to-use = <1>;
+ queue0 {};
+ };
+
+ mdio1: mdio1@1 {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ gmac1_phy0: ethernet-phy@1 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <0x1>;
+ max-speed = <1000>; /* Max speed capability */
+ reset-gpios = <&pio PJ 27 GPIO_ACTIVE_LOW>;
+ /* PHY datasheet rst time */
+ reset-assert-us = <10000>;
+ reset-deassert-us = <150000>;
+ };
+ };
+ };
};
};
diff --speed-large-files --no-dereference --minimal -Naur linux-6.12.4/arch/arm64/boot/dts/allwinner/sun55i-h728-x96q-pro-plus.dts linux-6.12.4/arch/arm64/boot/dts/allwinner/sun55i-h728-x96q-pro-plus.dts
--- linux-6.12.4/arch/arm64/boot/dts/allwinner/sun55i-h728-x96q-pro-plus.dts 2024-12-17 16:00:39.143717844 +0100
+++ linux-6.12.4/arch/arm64/boot/dts/allwinner/sun55i-h728-x96q-pro-plus.dts 2024-12-18 13:05:53.666910296 +0100
@@ -6,6 +6,7 @@
#include "sun55i-a523.dtsi"
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/gpio/sun4i-gpio.h>
/ {
model = "hechuang,x96-pro-plus";
@@ -279,3 +280,23 @@
&usbphy {
status = "okay";
};
+
+&gmac1 {
+ phy-mode = "rgmii";
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&gmac1_pins_default>;
+ pinctrl-1 = <&gmac1_pins_sleep>;
+ aw,soc-phy25m;
+ tx-delay = <2>;
+ rx-delay = <5>;
+ dwmac3v3-supply = <&reg_cldo3>;
+ //in vendor dt it is clod4 phy3v3-supply = <&reg_cldo4>;
+ status = "okay";
+
+ mdio1: mdio1@1 {
+ gmac1_phy0: ethernet-phy@1 {
+ //reset-gpios = <&pio PJ 16 GPIO_ACTIVE_LOW>;
+ };
+ };
+};
+
bootlog:
[ 0.000485][.[36mI.[37m] _____ _ _____ _ _
[ 0.006583][.[36mI.[37m] | __|_ _| |_ ___ ___| | |_| |_
[ 0.012685][.[36mI.[37m] |__ | | | _| -_| _| -| | _|
[ 0.018829][.[36mI.[37m] |_____|_ |_| |___|_| |__|__|_|_|
[ 0.024957][.[36mI.[37m] |___|
[ 0.031075][.[36mI.[37m] ***********************************
[ 0.037220][.[36mI.[37m] SyterKit v0.3.0 Commit:
[ 0.042411][.[36mI.[37m] github.com/YuzukiHD/SyterKit
[ 0.048556][.[36mI.[37m] ***********************************
[ 0.054657][.[36mI.[37m] Built by: arm-none-eabi-gcc 14.1.0
[ 0.060767][.[36mI.[37m]
[ 0.063600][.[36mI.[37m] Model: H728 board.
[ 0.068126][.[36mI.[37m] Core: Arm Octa-Core Cortex-A55 v65 r2p0
[ 0.074617][.[36mI.[37m] Chip SID = 0300ff008170482475b09010407c22d6
[ 0.081490][.[36mI.[37m] Chip type = UNKNOW Chip Version = 2
[ 0.089034][.[36mI.[37m] PMU: Found AXP717 PMU, Addr 0x34
[ 0.095924][.[36mI.[37m] PMU: Found AXP323 PMU
[ 0.109307][.[36mI.[37m] DRAM BOOT DRIVE INFO: V0.6581
[ 0.114701][.[36mI.[37m] Set DRAM Voltage to 1500mv
[ 0.119847][.[36mI.[37m] DRAM_VCC set to 1500 mv
[ 0.185324][.[36mI.[37m] DRAM retraining ten
[ 0.249841][.[36mI.[37m] DRAM retraining ten
[ 0.262212][.[36mI.[37m] [AUTO DEBUG]32bit,1 ranks training success!
[ 0.280582][.[36mI.[37m] Soft Training Version: T2.0
[ 4.072530][.[36mI.[37m] [SOFT TRAINING] CLK=792M Stable memtest pass
[ 4.079380][.[36mI.[37m] DRAM CLK =792 MHZ
[ 4.083736][.[36mI.[37m] DRAM Type =3 (3:DDR3,4:DDR4,6:LPDDR2,7:LPDDR3,8:LPDDR4)
[ 4.094690][.[36mI.[37m] DRAM SIZE =4096 MBytes, para1 = 310b, para2 = 10000000, tpr13 = 6441
[ 4.105023][.[36mI.[37m] DRAM simple test OK.
[ 4.109625][.[36mI.[37m] Init DRAM Done, DRAM Size = 4096M
[ 4.135267][.[36mI.[37m] SMHC: sdhci0 controller initialized
[ 4.150792][.[36mI.[37m] Capacity: 14.43GB
[ 4.155428][.[36mI.[37m] SHMC: SD card detected
[ 4.165189][.[36mI.[37m] FATFS: read bl31.bin addr=48000000
[ 4.182121][.[36mI.[37m] FATFS: read in 9ms at 8.55MB/S
[ 4.187786][.[36mI.[37m] FATFS: read scp.bin addr=48100000
[ 4.209474][.[36mI.[37m] FATFS: read in 16ms at 11.00MB/S
[ 4.215330][.[36mI.[37m] FATFS: read extlinux/extlinux.conf addr=40020000
[ 4.226694][.[36mI.[37m] FATFS: read in 1ms at 0.24MB/S
[ 4.233148][.[36mI.[37m] FATFS: read /Image addr=40800000
[ 6.547583][.[36mI.[37m] FATFS: read in 2309ms at 13.12MB/S
[ 6.553620][.[36mI.[37m] FATFS: read /dtbs/allwinner/sun55i-h728-x96q-pro-plus.dtb addr=40400000
[ 6.573438][.[36mI.[37m] FATFS: read in 3ms at 3.71MB/S
[ 6.579097][.[36mI.[37m] FATFS: read /initrd.img addr=45000000
[ 6.586047][.[33mW.[37m] FATFS: open, filename: [/initrd.img]: error 4
[ 6.593078][.[33mW.[37m] Initrd not find, ramdisk not load.
[ 6.615949][.[31mE.[37m] FDT: Could not find nodeoffset for used ext pmu:reg-axp1530
[ 6.678479][.[33mW.[37m] FDT: bootargs is null, using extlinux.conf append.
[ 6.738871][.[36mI.[37m] EXTLINUX: load extlinux done, now booting...
[ 6.745884][.[36mI.[37m] ATF: Kernel addr: 0x40800000
[ 6.751423][.[36mI.[37m] ATF: Kernel DTB addr: 0x40400000
[ 6.757355][.[36mI.[37m] disable mmu ok...
[ 6.761915][.[36mI.[37m] disable dcache ok...
[ 6.766758][.[36mI.[37m] disable icache ok...
[ 6.771601][.[36mI.[37m] free interrupt ok...
NOTICE: BL31: v2.5(debug):9241004a9
NOTICE: BL31: Built : 13:37:46, Nov 16 2023
NOTICE: BL31: No DTB found.
NOTICE: [SCP] :wait arisc ready....
NOTICE: [SCP] :arisc version: []
NOTICE: [SCP] :arisc startup ready
NOTICE: [SCP] :arisc startup notify message feedback
NOTICE: [SCP] :sunxi-arisc driver is starting
ERROR: Error initializing runtime service opteed_fast
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x0000000048000000..0x000000004801ffff (128 KiB) nomap non-reusable secmon@48000000
[ 0.000000] OF: reserved mem: 0x0000000048100000..0x000000004813ffff (256 KiB) nomap non-reusable secmon@48100000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-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 0x0000000040000000-0x0000000047ffffff]
[ 0.000000] node 0: [mem 0x0000000048000000-0x000000004801ffff]
[ 0.000000] node 0: [mem 0x0000000048020000-0x00000000480fffff]
[ 0.000000] node 0: [mem 0x0000000048100000-0x000000004813ffff]
[ 0.000000] node 0: [mem 0x0000000048140000-0x000000013fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000013fffffff]
[ 0.000000] cma: Reserved 64 MiB at 0x00000000fc000000 on node -1
[ 0.000000] No bootconfig data provided, so skipping bootconfig
[ 0.000000] percpu: Embedded 33 pages/cpu s95832 r8192 d31144 u135168
[ 0.000000] pcpu-alloc: s95832 r8192 d31144 u135168 alloc=33*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: Virtualization Host Extensions
[ 0.000000] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0x02500000 clk_ignore_unused console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p2 rootwait rw mac0_addr=90:24:48:00:10:FF mac1_addr=90:24:48:00:11:FF
[ 0.000000] Unknown kernel command line parameters "mac0_addr=90:24:48:00:10:FF mac1_addr=90:24:48:00:11:FF", 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] Built 1 zonelists, mobility grouping on. Total pages: 1048576
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 1.
[ 0.000000] software IO TLB: mapped [mem 0x00000000f8000000-0x00000000fc000000] (64MB)
[ 0.000000] SLUB: HWalign=64, Order=0-1, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 56382 entries in 221 pages
[ 0.000000] ftrace: allocated 221 pages with 6 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: .RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] .Trampoline variant of Tasks RCU enabled.
[ 0.000000] .Rude variant of Tasks RCU enabled.
[ 0.000000] .Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[ 0.000000] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[ 0.000000] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: enabling workaround for GICv3: non-coherent attribute
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 256 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: GICv3 features: 16 PPIs
[ 0.000000] GICv3: GICD_CTRL.DS=0, SCR_EL3.FIQ=0
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000003460000
[ 0.000000] ITS [mem 0x03440000-0x0345ffff]
[ 0.000000] GIC: enabling workaround for ITS: non-coherent attribute
[ 0.000000] ITS@0x0000000003440000: allocated 8192 Devices @1001e0000 (indirect, esz 8, psz 64K, shr 0)
[ 0.000000] ITS@0x0000000003440000: allocated 32768 Interrupt Collections @1001f0000 (flat, esz 2, psz 64K, shr 0)
[ 0.000000] ITS: using cache flushing for cmd queue
[ 0.000000] GICv3: using LPI property table @0x0000000100200000
[ 0.000000] GIC: using cache flushing for LPI property table
[ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000100210000
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008661] Console: colour dummy device 80x25
[ 0.013355] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[ 0.024111] pid_max: default: 32768 minimum: 301
[ 0.029095] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.036858] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.045774] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.053510] rcu: Hierarchical SRCU implementation.
[ 0.058527] rcu: .Max phase no-delay instances is 1000.
[ 0.065372] EFI services will not be available.
[ 0.070268] smp: Bringing up secondary CPUs ...
[ 0.075047] smp: Brought up 1 node, 1 CPU
[ 0.079263] SMP: Total of 1 processors activated.
[ 0.084213] CPU: All CPU(s) started at EL2
[ 0.088515] CPU features: detected: 32-bit EL0 Support
[ 0.093907] CPU features: detected: 32-bit EL1 Support
[ 0.099290] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[ 0.108306] CPU features: detected: Common not Private translations
[ 0.114882] CPU features: detected: CRC32 instructions
[ 0.120268] CPU features: detected: RCpc load-acquire (LDAPR)
[ 0.126298] CPU features: detected: LSE atomic instructions
[ 0.132155] CPU features: detected: Privileged Access Never
[ 0.138002] CPU features: detected: RAS Extension Support
[ 0.143662] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[ 0.150996] alternatives: applying system-wide alternatives
[ 0.159616] Memory: 3947464K/4194304K available (16512K kernel code, 3728K rwdata, 7248K rodata, 2624K init, 591K bss, 177752K reserved, 65536K cma-reserved)
[ 0.175154] devtmpfs: initialized
[ 0.181824] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 0.192064] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.201130] 25024 pages in range for non-PLT usage
[ 0.201145] 516544 pages in range for PLT usage
[ 0.206352] pinctrl core: initialized pinctrl subsystem
[ 0.217530] DMI not present or invalid.
[ 0.222055] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.229476] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.237008] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.245350] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.253701] audit: initializing netlink subsys (disabled)
[ 0.259524] audit: type=2000 audit(0.126:1): state=initialized audit_enabled=0 res=1
[ 0.268465] thermal_sys: Registered thermal governor 'fair_share'
[ 0.268472] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.274886] thermal_sys: Registered thermal governor 'step_wise'
[ 0.281202] thermal_sys: Registered thermal governor 'user_space'
[ 0.287536] cpuidle: using governor ladder
[ 0.298226] cpuidle: using governor menu
[ 0.302426] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.309570] ASID allocator initialised with 65536 entries
[ 0.315515] Serial: AMBA PL011 UART driver
[ 0.321931] /soc/clock@2001000: Fixed dependency cycle(s) with /soc/rtc@7090000
[ 0.329666] /soc/interrupt-controller@3400000: Fixed dependency cycle(s) with /soc/interrupt-controller@3400000
[ 0.340350] /soc/clock-controller@7010000: Fixed dependency cycle(s) with /soc/clock@2001000
[ 0.349208] /soc/clock-controller@7010000: Fixed dependency cycle(s) with /soc/rtc@7090000
[ 0.357967] /soc/rtc@7090000: Fixed dependency cycle(s) with /soc/clock-controller@7010000
[ 0.367142] /soc/clock@2001000: Fixed dependency cycle(s) with /soc/rtc@7090000
[ 0.377271] /soc/clock-controller@7010000: Fixed dependency cycle(s) with /soc/clock@2001000
[ 0.386203] /soc/clock-controller@7010000: Fixed dependency cycle(s) with /soc/rtc@7090000
[ 0.395299] /soc/i2c@7081400: Fixed dependency cycle(s) with /soc/pinctrl@7022000/r-i2c-pins
[ 0.404503] /soc/clock-controller@7010000: Fixed dependency cycle(s) with /soc/rtc@7090000
[ 0.413311] /soc/clock@2001000: Fixed dependency cycle(s) with /soc/rtc@7090000
[ 0.421127] /soc/rtc@7090000: Fixed dependency cycle(s) with /soc/clock-controller@7010000
[ 0.437250] cryptd: max_cpu_qlen set to 1000
[ 0.448664] ACPI: Interpreter disabled.
[ 0.456247] iommu: Default domain type: Translated
[ 0.467968] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.481650] SCSI subsystem initialized
[ 0.488976] libata version 3.00 loaded.
[ 0.496573] usbcore: registered new interface driver usbfs
[ 0.509068] usbcore: registered new interface driver hub
[ 0.521369] usbcore: registered new device driver usb
[ 0.533691] pps_core: LinuxPPS API ver. 1 registered
[ 0.542250] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.561860] PTP clock support registered
[ 0.569502] scmi_core: SCMI protocol bus registered
[ 0.581579] Advanced Linux Sound Architecture Driver Initialized.
[ 0.595529] clocksource: Switched to clocksource arch_sys_counter
[ 0.609340] pnp: PnP ACPI: disabled
[ 0.633801] NET: Registered PF_INET protocol family
[ 0.645745] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.665761] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.682228] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.698880] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.715687] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 0.732894] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.745616] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.762249] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.775678] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.789307] RPC: Registered named UNIX socket transport module.
[ 0.802201] RPC: Registered udp transport module.
[ 0.812205] RPC: Registered tcp transport module.
[ 0.822201] RPC: Registered tcp-with-tls transport module.
[ 0.832200] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.845536] NET: Registered PF_XDP protocol family
[ 0.855545] PCI: CLS 0 bytes, default 64
[ 0.873737] kvm [1]: nv: 554 coarse grained trap handlers
[ 0.885992] kvm [1]: IPA Size Limit: 40 bits
[ 0.895546] kvm [1]: GICv3: no GICV resource entry
[ 0.905534] kvm [1]: disabling GICv2 emulation
[ 0.915555] kvm [1]: GIC system register CPU interface enabled
[ 0.928887] kvm [1]: vgic interrupt IRQ9
[ 0.935568] kvm [1]: VHE mode initialized successfully
[ 1.308409] Initialise system trusted keyrings
[ 1.313298] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 1.320580] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.327016] NFS: Registering the id_resolver key type
[ 1.332357] Key type id_resolver registered
[ 1.336746] Key type id_legacy registered
[ 1.340981] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.348029] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.402543] NET: Registered PF_ALG protocol family
[ 1.407566] Key type asymmetric registered
[ 1.411868] Asymmetric key parser 'x509' registered
[ 1.417003] Asymmetric key parser 'pkcs8' registered
[ 1.422208] Key type pkcs7_test registered
[ 1.426567] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.434451] io scheduler mq-deadline registered
[ 1.439209] io scheduler kyber registered
[ 1.443437] io scheduler bfq registered
[ 1.451505] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.467161] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.476085] Serial: AMBA driver
[ 1.487636] usbcore: registered new interface driver uas
[ 1.493281] usbcore: registered new interface driver usb-storage
[ 1.500154] mousedev: PS/2 mouse device common for all mice
[ 1.507374] sun6i-rtc 7090000.rtc: registered as rtc0
[ 1.512724] sun6i-rtc 7090000.rtc: setting system clock to 2024-12-18T12:06:53 UTC (1734523613)
[ 1.523862] sdhci: Secure Digital Host Controller Interface driver
[ 1.530356] sdhci: Copyright(c) Pierre Ossman
[ 1.535083] Synopsys Designware Multimedia Card Interface Driver
[ 1.542144] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.550003] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 (0,8000003f) counters available
[ 1.559988] watchdog: NMI not fully supported
[ 1.566370] NET: Registered PF_PACKET protocol family
[ 1.571700] watchdog: Hard watchdog permanently disabled
[ 1.577453] Key type dns_resolver registered
[ 1.592601] registered taskstats version 1
[ 1.597165] Loading compiled-in X.509 certificates
[ 1.603225] zswap: loaded using pool zstd/zsmalloc
[ 1.623891] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 1.635649] sun55i-a523-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver
[ 1.644991] ehci-platform 4101000.usb: EHCI Host Controller
[ 1.650952] ehci-platform 4101000.usb: new USB bus registered, assigned bus number 1
[ 1.661127] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests (id=vbus)
[ 1.672364] ehci-platform 4200000.usb: EHCI Host Controller
[ 1.678498] ehci-platform 4101000.usb: irq 83, io mem 0x04101000
[ 1.684846] ehci-platform 4200000.usb: new USB bus registered, assigned bus number 2
[ 1.694577] ohci-platform 4200400.usb: Generic Platform OHCI controller
[ 1.701657] ehci-platform 4200000.usb: irq 84, io mem 0x04200000
[ 1.707991] ohci-platform 4200400.usb: new USB bus registered, assigned bus number 3
[ 1.716116] ehci-platform 4101000.usb: USB 2.0 started, EHCI 1.00
[ 1.722610] ohci-platform 4200400.usb: irq 87, io mem 0x04200400
[ 1.729184] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 1.737855] ehci-platform 4200000.usb: USB 2.0 started, EHCI 1.00
[ 1.744244] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.751873] usb usb1: Product: EHCI Host Controller
[ 1.756994] usb usb1: Manufacturer: Linux 6.12.4 ehci_hcd
[ 1.762664] usb usb1: SerialNumber: 4101000.usb
[ 1.767944] hub 1-0:1.0: USB hub found
[ 1.771916] hub 1-0:1.0: 1 port detected
[ 1.776568] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 1.785297] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.792899] usb usb2: Product: EHCI Host Controller
[ 1.802577] usb usb2: Manufacturer: Linux 6.12.4 ehci_hcd
[ 1.808252] usb usb2: SerialNumber: 4200000.usb
[ 1.813441] hub 2-0:1.0: USB hub found
[ 1.817441] hub 2-0:1.0: 1 port detected
[ 1.822015] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12
[ 1.830732] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.838334] usb usb3: Product: Generic Platform OHCI controller
[ 1.845545] usb usb3: Manufacturer: Linux 6.12.4 ohci_hcd
[ 1.851202] usb usb3: SerialNumber: 4200400.usb
[ 1.856076] ohci-platform 4101400.usb: Generic Platform OHCI controller
[ 1.863218] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
[ 1.869739] hub 3-0:1.0: USB hub found
[ 1.873728] hub 3-0:1.0: 1 port detected
[ 1.878307] ohci-platform 4101400.usb: new USB bus registered, assigned bus number 4
[ 1.886454] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 5
[ 1.894890] ohci-platform 4101400.usb: irq 85, io mem 0x04101400
[ 1.901384] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 1.910096] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.917690] usb usb5: Product: MUSB HDRC host driver
[ 1.922902] usb usb5: Manufacturer: Linux 6.12.4 musb-hcd
[ 1.928555] usb usb5: SerialNumber: musb-hdrc.2.auto
[ 1.934192] hub 5-0:1.0: USB hub found
[ 1.938190] hub 5-0:1.0: 1 port detected
[ 1.946352] sun55i-a523-r-pinctrl 7022000.pinctrl: supply vcc-pl not found, using dummy regulator
[ 1.956686] axp20x-i2c 0-0034: AXP20x variant AXP717 found
[ 1.966850] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12
[ 1.975664] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.983310] usb usb4: Product: Generic Platform OHCI controller
[ 1.989570] usb usb4: Manufacturer: Linux 6.12.4 ohci_hcd
[ 1.995263] usb usb4: SerialNumber: 4101400.usb
[ 2.000538] hub 4-0:1.0: USB hub found
[ 2.004542] hub 4-0:1.0: 1 port detected
[ 2.013199] axp717-adc: Failed to locate of_node [id: -2]
[ 2.019436] axp20x-usb-power-supply: Failed to locate of_node [id: -2]
[ 2.026602] axp20x-battery-power-supply: Failed to locate of_node [id: -2]
[ 2.034322] axp20x-i2c 0-0034: AXP20X driver loaded
[ 2.040426] vdd-dram: Bringing 1160000uV into 1500000-1500000uV
[ 2.046719] axp20x-i2c 0-0036: AXP20x variant AXP323 found
[ 2.056093] axp20x-i2c 0-0036: AXP20X driver loaded
[ 2.065597] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 2.079132] vcc-pc: Bringing 2100000uV into 1800000-1800000uV
[ 2.092260] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 2.103673] sun55i-a523-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[ 2.112340] printk: legacy console [ttyS0] disabled
[ 2.117907] 2500000.serial: ttyS0 at MMIO 0x2500000 (irq = 467, base_baud = 1500000) is a 16550A
[ 2.127221] printk: legacy console [ttyS0] enabled
[ 2.127221] printk: legacy console [ttyS0] enabled
[ 2.137069] printk: legacy bootconsole [uart8250] disabled
[ 2.137069] printk: legacy bootconsole [uart8250] disabled
[ 2.161489] sunxi-mmc 4020000.mmc: Got CD GPIO
[ 2.166301] clk: Not disabling unused clocks
[ 2.170731] PM: genpd: Disabling unused power domains
[ 2.176019] ALSA device list:
[ 2.179022] No soundcards found.
[ 2.201277] sunxi-mmc 4020000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[ 2.210304] Waiting for root device /dev/mmcblk0p2...
[ 2.248686] usb 1-1: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 1.00
[ 2.256897] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.264925] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.272075] usb 1-1: Product: AX88179
[ 2.275784] usb 1-1: Manufacturer: ASIX Elec. Corp.
[ 2.280866] usb 1-1: SerialNumber: 000000000004B2
[ 2.280961] mmc0: new high speed SDHC card at address 1234
[ 2.292097] mmcblk0: mmc0:1234 SA16G 14.4 GiB
[ 2.299917] mmcblk0: p1 p2 p3
[ 2.532892] EXT4-fs (mmcblk0p2): recovery complete
[ 2.543305] EXT4-fs (mmcblk0p2): mounted filesystem 73292a5f-63ec-4cfb-9d04-fbe0e55f962f r/w with ordered data mode. Quota mode: disabled.
[ 2.555789] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.564142] devtmpfs: mounted
[ 2.571171] Freeing unused kernel memory: 2624K
[ 2.575914] Run /sbin/init as init process
[ 2.580030] with arguments:
[ 2.583011] /sbin/init
[ 2.585727] with environment:
[ 2.588876] HOME=/
[ 2.591234] TERM=linux
[ 2.593948] mac0_addr=90:24:48:00:10:FF
[ 2.598138] mac1_addr=90:24:48:00:11:FF
[ 3.561403] udevd[114]: starting version 3.2.14
[ 4.405550] random: crng init done
[ 4.443035] udevd[115]: starting eudev-3.2.14
[ 4.569751] sunxi-wdt 2050000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 5.446369] ax88179_178a 1-1:1.0 eth0: register 'ax88179_178a' at usb-4101000.usb-1, ASIX AX88179 USB 3.0 Gigabit Ethernet, 74:da:38:4a:06:02
[ 5.459219] usbcore: registered new interface driver ax88179_178a
[ 11.197952] loop: module loaded
[ 13.028415] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 13.542579] ax88179_178a 1-1:1.0 eth0: ax88179 - Link status is: 1
[ 32.315589] vcc-pg-wifi-lvds: disabling
[ 32.319827] vcc-cvp-pk-vid1v8: disabling
[ 245.078441] ------------[ cut here ]------------
[ 245.083070] WARNING: CPU: 0 PID: 3029 at drivers/pinctrl/sunxi/pinctrl-sunxi.c:864 sunxi_pmx_request+0x154/0x1b8
[ 245.093241] Modules linked in: sunxi_stmmac(+) rpcsec_gss_krb5 auth_rpcgss nls_ascii nls_cp437 vfat fat uinput loop crct10dif_ce ax88179_178a usbnet sunxi_wdt overlay
[ 245.108127] CPU: 0 UID: 0 PID: 3029 Comm: modprobe Not tainted 6.12.4 #14
[ 245.114908] Hardware name: hechuang,x96-pro-plus (DT)
[ 245.119951] pstate: 20400009 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 245.126904] pc : sunxi_pmx_request+0x154/0x1b8
[ 245.131344] lr : sunxi_pmx_request+0x3c/0x1b8
[ 245.135695] sp : ffff800082c6b7d0
[ 245.139006] x29: ffff800082c6b7f0 x28: ffff800079f0f6b8 x27: 0000000000000000
[ 245.146138] x26: 0000000000000000 x25: ffff0000c11c5b10 x24: 0000000000000000
[ 245.153269] x23: ffff0000c6187060 x22: 0000000000000120 x21: 0000000000000120
[ 245.160401] x20: ffff0000c11c5a80 x19: 0000000000000090 x18: ffffffffffffffff
[ 245.167532] x17: 0000000000000018 x16: 0000000000034410 x15: ffffffffffffffff
[ 245.174663] x14: ffff0000c20b8cc8 x13: ffff0000c20b8cca x12: 652e303030303135
[ 245.181795] x11: 0000000000000040 x10: ffff0000c11d0260 x9 : ffff800080799074
[ 245.188926] x8 : ffff0000c0deddd0 x7 : 0000000000000000 x6 : 0000000000000000
[ 245.196057] x5 : ffff0000c0dedda8 x4 : ffff0000c0deded0 x3 : 0000000000000000
[ 245.203189] x2 : ffff0000c11b5000 x1 : 0000000000000009 x0 : 0000000000000009
[ 245.210320] Call trace:
[ 245.212764] sunxi_pmx_request+0x154/0x1b8
[ 245.216857] pin_request+0x184/0x280
[ 245.220432] pinmux_enable_setting+0xa8/0x270
[ 245.224786] pinctrl_commit_state+0x94/0x1e0
[ 245.229052] pinctrl_select_state+0x20/0x40
[ 245.233232] pinctrl_bind_pins+0x1ec/0x280
[ 245.237327] really_probe+0x5c/0x3a0
[ 245.240901] __driver_probe_device+0x80/0x160
[ 245.245255] driver_probe_device+0x40/0x128
[ 245.249434] __driver_attach+0xc0/0x1f0
[ 245.253267] bus_for_each_dev+0x7c/0xe0
[ 245.257099] driver_attach+0x28/0x40
[ 245.260672] bus_add_driver+0x110/0x240
[ 245.264504] driver_register+0x6c/0x128
[ 245.268337] __platform_driver_register+0x28/0x40
[ 245.273038] sunxi_dwmac_driver_init+0x24/0xff8 [sunxi_stmmac]
[ 245.278873] do_one_initcall+0x48/0x300
[ 245.282706] do_init_module+0x60/0x240
[ 245.286454] load_module+0x790/0x910
[ 245.290028] init_module_from_file+0x8c/0xd8
[ 245.294295] __arm64_sys_finit_module+0x248/0x358
[ 245.298995] do_el0_svc+0x70/0x100
[ 245.302397] el0_svc+0x38/0x160
[ 245.305538] el0t_64_sync_handler+0x118/0x128
[ 245.309891] el0t_64_sync+0x190/0x198
[ 245.313551] ---[ end trace 0000000000000000 ]---
[ 245.318729] sun55i-a523-pinctrl 2000000.pinctrl: error -EINVAL: pin-288 (4510000.ethernet)
[ 245.327246] sun55i-a523-pinctrl 2000000.pinctrl: error -EINVAL: could not request pin 288 (PJ0) from group PJ0 on device 2000000.pinctrl
[ 245.339705] dwmac-sunxi 4510000.ethernet: Error applying setting, reverse things back
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment