Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

机型适配请求 YSKJ-RK3399 #2673

Open
zakuwaki opened this issue Nov 28, 2024 · 13 comments
Open

机型适配请求 YSKJ-RK3399 #2673

zakuwaki opened this issue Nov 28, 2024 · 13 comments
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported

Comments

@ophub ophub added documentation Improvements or additions to documentation support This need is supported new box Research Fills in the Blanks labels Nov 28, 2024
@ophub
Copy link
Owner

ophub commented Nov 28, 2024

我添加到编译列表了,你到releases里下载测试下,最新的11月的tags里,反馈下结果。
dts在6.1.y和6.6.y里测试都可以正常编译。

@zakuwaki
Copy link
Author

zakuwaki commented Nov 29, 2024

可以正常启动,测试一切正常!谢谢大佬,感恩的心

内核启动日志

root@armbian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.1.119-ophub (root@fv-az1153-138) (aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 13.3.Rel1 (Build arm-13.24)) 13.3.1 20240614, GNU ld (Arm GNU Toolchain 13.3.Rel1 (Build arm-13.24)) 2.42.0.20240614) #1 SMP Tue Nov 26 23:07:35 EST 2024
[    0.000000] Machine model: RK3399 YSKJ Board
[    0.000000] efi: UEFI not found.
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] cma: Reserved 256 MiB at 0x00000000e1000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 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.0
[    0.000000] percpu: Embedded 29 pages/cpu s78184 r8192 d32408 u118784
[    0.000000] pcpu-alloc: s78184 r8192 d32408 u118784 alloc=29*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
[    0.000000] Kernel command line: root=UUID=5f3d4c39-9ae6-4758-b1a2-1c30c2a4b13b rootwait rootfstype=ext4 splash=verbose console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=85b8ac7f-ed99-4fd8-aeb2-fa3760df55ad usb-storage.quirks=  net.ifnames=0 max_loop=128 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    0.000000] Unknown kernel command line parameters "splash=verbose ubootpart=85b8ac7f-ed99-4fd8-aeb2-fa3760df55ad cgroup_enable=memory cgroup_memory=1", 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] Memory: 3670264K/4061184K available (18368K kernel code, 3942K rwdata, 15548K rodata, 6016K init, 923K bss, 128776K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    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=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    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: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @500000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000004f0000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000000580000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    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.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002148] Console: colour dummy device 80x25
[    0.002219] printk: console [tty1] enabled
[    0.002277] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.002296] pid_max: default: 32768 minimum: 301
[    0.002711] LSM: Security Framework initializing
[    0.002824] SELinux:  Initializing.
[    0.003361] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.003395] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.005638] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.006650] cblist_init_generic: Setting adjustable number of callback queues.
[    0.006660] cblist_init_generic: Setting shift to 3 and lim to 1.
[    0.006950] rcu: Hierarchical SRCU implementation.
[    0.006957] rcu: 	Max phase no-delay instances is 1000.
[    0.009057] Platform MSI: msi-controller@fee20000 domain created
[    0.009526] PCI/MSI: /interrupt-controller@fee00000/msi-controller@fee20000 domain created
[    0.010296] EFI services will not be available.
[    0.010975] smp: Bringing up secondary CPUs ...
[    0.011924] Detected VIPT I-cache on CPU1
[    0.012090] cacheinfo: Unable to detect cache hierarchy for CPU 1
[    0.012110] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.012133] GICv3: CPU1: using allocated LPI pending table @0x0000000000590000
[    0.012189] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.013262] Detected VIPT I-cache on CPU2
[    0.013430] cacheinfo: Unable to detect cache hierarchy for CPU 2
[    0.013450] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.013473] GICv3: CPU2: using allocated LPI pending table @0x00000000005a0000
[    0.013528] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.014663] Detected VIPT I-cache on CPU3
[    0.014836] cacheinfo: Unable to detect cache hierarchy for CPU 3
[    0.014857] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.014879] GICv3: CPU3: using allocated LPI pending table @0x00000000005b0000
[    0.014932] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.016086] CPU features: detected: Spectre-v2
[    0.016097] CPU features: detected: Spectre-v4
[    0.016103] CPU features: detected: Spectre-BHB
[    0.016110] CPU features: detected: ARM erratum 1742098
[    0.016117] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.016123] Detected PIPT I-cache on CPU4
[    0.016236] cacheinfo: Unable to detect cache hierarchy for CPU 4
[    0.016251] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.016269] GICv3: CPU4: using allocated LPI pending table @0x00000000005c0000
[    0.016308] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.017355] Detected PIPT I-cache on CPU5
[    0.017478] cacheinfo: Unable to detect cache hierarchy for CPU 5
[    0.017494] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.017512] GICv3: CPU5: using allocated LPI pending table @0x00000000005d0000
[    0.017551] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.017663] smp: Brought up 1 node, 6 CPUs
[    0.017701] SMP: Total of 6 processors activated.
[    0.017709] CPU features: detected: 32-bit EL0 Support
[    0.017716] CPU features: detected: 32-bit EL1 Support
[    0.017724] CPU features: detected: CRC32 instructions
[    0.017844] CPU: All CPU(s) started at EL2
[    0.017860] alternatives: applying system-wide alternatives
[    0.021826] devtmpfs: initialized
[    0.037925] Registered cp15_barrier emulation handler
[    0.037945] Registered setend emulation handler
[    0.038100] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.038120] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.043414] prandom: seed boundary self test passed
[    0.045246] prandom: 100 self tests passed
[    0.045293] pinctrl core: initialized pinctrl subsystem
[    0.045870] DMI not present or invalid.
[    0.046449] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.048334] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.049209] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.049850] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.049905] audit: initializing netlink subsys (disabled)
[    0.050130] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1
[    0.051371] thermal_sys: Registered thermal governor 'step_wise'
[    0.051424] cpuidle: using governor ladder
[    0.051635] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.051814] ASID allocator initialised with 65536 entries
[    0.051927] Serial: AMBA PL011 UART driver
[    0.071229] platform ff770000.syscon:usb2phy@e450: Fixed dependency cycle(s) with /i2c@ff3d0000/fusb30x@22/connector
[    0.071666] platform fe330000.mmc: Fixed dependency cycle(s) with /syscon@ff770000/phy@f780
[    0.071747] platform ff770000.syscon:phy@f780: Fixed dependency cycle(s) with /mmc@fe330000
[    0.072099] platform ff7c0000.phy: Fixed dependency cycle(s) with /i2c@ff3d0000/fusb30x@22/connector
[    0.073510] platform fec00000.dp: Fixed dependency cycle(s) with /vop@ff8f0000
[    0.073605] platform ff8f0000.vop: Fixed dependency cycle(s) with /dp@fec00000
[    0.074424] platform fec00000.dp: Fixed dependency cycle(s) with /vop@ff900000
[    0.074519] platform ff900000.vop: Fixed dependency cycle(s) with /dp@fec00000
[    0.075972] platform ff900000.vop: Fixed dependency cycle(s) with /hdmi@ff940000
[    0.076068] platform ff8f0000.vop: Fixed dependency cycle(s) with /hdmi@ff940000
[    0.076155] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff8f0000
[    0.076256] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff900000
[    0.083290] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000
[    0.084002] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000
[    0.084554] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
[    0.085205] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000
[    0.085770] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
[    0.100785] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.100797] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.100806] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.100812] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.100820] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.100825] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.100833] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.100838] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.102073] cryptd: max_cpu_qlen set to 1000
[    0.167948] raid6: neonx8   gen()  1814 MB/s
[    0.236056] raid6: neonx4   gen()  1772 MB/s
[    0.304170] raid6: neonx2   gen()  1464 MB/s
[    0.372286] raid6: neonx1   gen()  1049 MB/s
[    0.440414] raid6: int64x8  gen()  1014 MB/s
[    0.508516] raid6: int64x4  gen()   989 MB/s
[    0.576623] raid6: int64x2  gen()   960 MB/s
[    0.644739] raid6: int64x1  gen()   711 MB/s
[    0.644745] raid6: using algorithm neonx8 gen() 1814 MB/s
[    0.712853] raid6: .... xor() 1265 MB/s, rmw enabled
[    0.712859] raid6: using neon recovery algorithm
[    0.713078] ACPI: Interpreter disabled.
[    0.716396] iommu: Default domain type: Translated
[    0.716407] iommu: DMA domain TLB invalidation policy: strict mode
[    0.716893] SCSI subsystem initialized
[    0.717088] libata version 3.00 loaded.
[    0.717319] usbcore: registered new interface driver usbfs
[    0.717374] usbcore: registered new interface driver hub
[    0.717409] usbcore: registered new device driver usb
[    0.717947] mc: Linux media interface: v0.10
[    0.718022] videodev: Linux video capture interface: v2.00
[    0.718313] EDAC MC: Ver: 3.0.0
[    0.719426] Advanced Linux Sound Architecture Driver Initialized.
[    0.720272] vgaarb: loaded
[    0.720697] clocksource: Switched to clocksource arch_sys_counter
[    0.721304] VFS: Disk quotas dquot_6.6.0
[    0.721389] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.721534] FS-Cache: Loaded
[    0.721794] pnp: PnP ACPI: disabled
[    0.732396] NET: Registered PF_INET protocol family
[    0.732723] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.737583] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.737651] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.737711] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.738081] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.739385] TCP: Hash tables configured (established 32768 bind 32768)
[    0.739698] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear)
[    0.739867] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.740006] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.740421] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.740459] NET: Registered PF_XDP protocol family
[    0.740471] PCI: CLS 0 bytes, default 64
[    0.741115] Trying to unpack rootfs image as initramfs...
[    0.750114] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.750826] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.751553] kvm [1]: IPA Size Limit: 40 bits
[    0.754586] kvm [1]: vgic-v2@fff20000
[    0.754632] kvm [1]: GIC system register CPU interface enabled
[    0.754859] kvm [1]: vgic interrupt IRQ18
[    0.755096] kvm [1]: Hyp mode initialized successfully
[    0.757772] Initialise system trusted keyrings
[    0.757996] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.765617] zbud: loaded
[    0.767747] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.768364] fuse: init (API version 7.38)
[    0.769056] SGI XFS with ACLs, security attributes, quota, no debug enabled
[    0.837893] NET: Registered PF_ALG protocol family
[    0.837936] xor: measuring software checksum speed
[    0.839072]    8regs           :  2901 MB/sec
[    0.840128]    32regs          :  3135 MB/sec
[    0.841417]    arm64_neon      :  2559 MB/sec
[    0.841424] xor: using function: 32regs (3135 MB/sec)
[    0.841440] Key type asymmetric registered
[    0.841446] Asymmetric key parser 'x509' registered
[    0.841546] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.841715] io scheduler mq-deadline registered
[    0.841723] io scheduler kyber registered
[    0.841904] io scheduler bfq registered
[    0.935736] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.935754] dma-pl330 ff6d0000.dma-controller: 	DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.937235] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.937248] dma-pl330 ff6e0000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.941473] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    0.943698] printk: console [ttyS2] disabled
[    0.943766] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 38, base_baud = 1500000) is a 16550A
[    0.944128] printk: console [ttyS2] enabled
[    0.945280] Serial: AMBA driver
[    0.950807] rockchip-vop ff8f0000.vop: Adding to iommu group 2
[    0.951606] rockchip-vop ff900000.vop: Adding to iommu group 3
[    0.959818] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.962555] brd: module loaded
[    1.042238] loop: module loaded
[    1.048485] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    1.048502] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    1.048661] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    1.048942] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    1.048955] rk_gmac-dwmac fe300000.ethernet: TX delay(0x35).
[    1.048966] rk_gmac-dwmac fe300000.ethernet: RX delay(0x29).
[    1.048986] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    1.049034] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    1.054053] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    1.054270] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    1.054285] rk_gmac-dwmac fe300000.ethernet: 	DWMAC1000
[    1.054294] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[    1.054302] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[    1.054309] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[    1.054318] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    1.054325] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[    1.054332] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[    1.054340] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[    1.054347] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    6.810949] Freeing initrd memory: 12872K
[    6.942487] usbcore: registered new interface driver cdc_wdm
[    6.942540] usbcore: registered new interface driver usb-storage
[    6.942625] usbcore: registered new interface driver usbserial_generic
[    6.942649] usbserial: USB Serial support registered for generic
[    6.942683] usbcore: registered new interface driver ch341
[    6.942717] usbserial: USB Serial support registered for ch341-uart
[    6.942749] usbcore: registered new interface driver cp210x
[    6.942770] usbserial: USB Serial support registered for cp210x
[    6.942799] usbcore: registered new interface driver ftdi_sio
[    6.942819] usbserial: USB Serial support registered for FTDI USB Serial Device
[    6.942850] usbcore: registered new interface driver garmin_gps
[    6.942870] usbserial: USB Serial support registered for Garmin GPS usb/tty
[    6.942913] usbcore: registered new interface driver ipw
[    6.942933] usbserial: USB Serial support registered for IPWireless converter
[    6.942979] usbcore: registered new interface driver opticon
[    6.943000] usbserial: USB Serial support registered for opticon
[    6.943032] usbcore: registered new interface driver pl2303
[    6.943051] usbserial: USB Serial support registered for pl2303
[    6.943081] usbcore: registered new interface driver qcaux
[    6.943101] usbserial: USB Serial support registered for qcaux
[    6.943130] usbcore: registered new interface driver qcserial
[    6.943151] usbserial: USB Serial support registered for Qualcomm USB modem
[    6.943182] usbcore: registered new interface driver symbolserial
[    6.943216] usbserial: USB Serial support registered for symbol
[    6.943840] mousedev: PS/2 mouse device common for all mice
[    6.944495] ehci-platform fe3c0000.usb: EHCI Host Controller
[    6.944720] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 1
[    6.944842] ehci-platform fe3c0000.usb: irq 47, io mem 0xfe3c0000
[    6.945040] SPI driver rmi4_spi has no spi_device_id for syna,rmi4-spi
[    6.945786] i2c_dev: i2c /dev entries driver
[    6.947849] i2c 0-001b: Fixed dependency cycle(s) with /i2c@ff3c0000/pmic@1b/regulators/LDO_REG8
[    6.948589] rk808 0-001b: chip id: 0x0
[    6.952890] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    6.952922] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    6.964709] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    6.964856] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    6.964917] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    6.964933] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.964944] usb usb1: Product: EHCI Host Controller
[    6.964952] usb usb1: Manufacturer: Linux 6.1.119-ophub ehci_hcd
[    6.964961] usb usb1: SerialNumber: fe3c0000.usb
[    6.965520] hub 1-0:1.0: USB hub found
[    6.965555] hub 1-0:1.0: 1 port detected
[    6.967122] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    6.978307] cpu cpu0: EM: created perf domain
[    6.979529] cpu cpu4: EM: OPP:408000 is inefficient
[    6.979852] cpu cpu4: EM: created perf domain
[    6.982114] sdhci: Secure Digital Host Controller Interface driver
[    6.982120] sdhci: Copyright(c) Pierre Ossman
[    6.982123] Synopsys Designware Multimedia Card Interface Driver
[    6.982666] sdhci-pltfm: SDHCI platform and OF driver helper
[    6.983618] ledtrig-cpu: registered to indicate activity on CPUs
[    6.984765] hid: raw HID events driver (C) Jiri Kosina
[    6.984823] usbcore: registered new interface driver usbhid
[    6.984827] usbhid: USB HID core driver
[    7.033682] Initializing XFRM netlink socket
[    7.034078] NET: Registered PF_INET6 protocol family
[    7.085067] Segment Routing with IPv6
[    7.085085] RPL Segment Routing with IPv6
[    7.085180] In-situ OAM (IOAM) with IPv6
[    7.085414] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    7.087134] NET: Registered PF_PACKET protocol family
[    7.087163] NET: Registered PF_KEY protocol family
[    7.087540] 8021q: 802.1Q VLAN Support v1.8
[    7.088843] registered taskstats version 1
[    7.088892] Loading compiled-in X.509 certificates
[    7.095317] zswap: loaded using pool zstd/zbud
[    7.096269] Key type .fscrypt registered
[    7.096276] Key type fscrypt-provisioning registered
[    7.097249] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    7.362284] alg: No test for 842 (842-scomp)
[    7.362670] alg: No test for 842 (842-generic)
[    7.905125] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    7.905997] clk: Disabling unused clocks
[    7.906997] ALSA device list:
[    7.907010]   No soundcards found.
[    7.909071] Freeing unused kernel memory: 6016K
[    7.909249] Run /init as init process
[    7.909256]   with arguments:
[    7.909262]     /init
[    7.909267]   with environment:
[    7.909271]     HOME=/
[    7.909276]     TERM=linux
[    7.909280]     splash=verbose
[    7.909285]     ubootpart=85b8ac7f-ed99-4fd8-aeb2-fa3760df55ad
[    7.909291]     cgroup_enable=memory
[    7.909296]     cgroup_memory=1
[    7.938523] fbcon: Taking over console
[    8.350158] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    8.350279] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 2
[    8.350334] ohci-platform fe3e0000.usb: irq 64, io mem 0xfe3e0000
[    8.375635] OF: graph: no port node found in /i2c@ff3d0000/fusb30x@22
[    8.395659] rk808-rtc rk808-rtc: registered as rtc0
[    8.396351] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:26 UTC (1358499026)
[    8.416884] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[    8.416898] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.416905] usb usb2: Product: Generic Platform OHCI controller
[    8.416912] usb usb2: Manufacturer: Linux 6.1.119-ophub ohci_hcd
[    8.416916] usb usb2: SerialNumber: fe3e0000.usb
[    8.428204] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    8.437170] hub 2-0:1.0: USB hub found
[    8.437212] hub 2-0:1.0: 1 port detected
[    8.480910] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    8.481028] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000008002010010
[    8.481068] xhci-hcd xhci-hcd.1.auto: irq 66, io mem 0xfe900000
[    8.481170] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    8.486898] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    8.486937] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    8.487098] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    8.487110] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.487117] usb usb3: Product: xHCI Host Controller
[    8.487124] usb usb3: Manufacturer: Linux 6.1.119-ophub xhci-hcd
[    8.487130] usb usb3: SerialNumber: xhci-hcd.1.auto
[    8.554946] hub 3-0:1.0: USB hub found
[    8.555188] hub 3-0:1.0: 1 port detected
[    8.574029] mmc1: CQHCI version 5.10
[    8.583680] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    8.583919] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    8.583927] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.583931] usb usb4: Product: xHCI Host Controller
[    8.583935] usb usb4: Manufacturer: Linux 6.1.119-ophub xhci-hcd
[    8.583938] usb usb4: SerialNumber: xhci-hcd.1.auto
[    8.588345] hub 4-0:1.0: USB hub found
[    8.588383] hub 4-0:1.0: 1 port detected
[    8.629116] mmc1: SDHCI controller on fe330000.mmc [fe330000.mmc] using ADMA
[    8.681057] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
[    8.695904] mmc1: Command Queue Engine enabled
[    8.695935] mmc1: new HS400 Enhanced strobe MMC card at address 0001
[    8.696729] mmcblk1: mmc1:0001 BJTD4R 29.1 GiB
[    8.699674] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    8.699689] GPT:6324223 != 61071359
[    8.699697] GPT:Alternate GPT header not at the end of the disk.
[    8.699700] GPT:6324223 != 61071359
[    8.699703] GPT: Use GNU Parted to correct GPT errors.
[    8.699728]  mmcblk1: p1 p2
[    8.701158] mmcblk1boot0: mmc1:0001 BJTD4R 4.00 MiB
[    8.702553] mmcblk1boot1: mmc1:0001 BJTD4R 4.00 MiB
[    8.703634] mmcblk1rpmb: mmc1:0001 BJTD4R 4.00 MiB, chardev (240:0)
[    8.945235] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.

@zakuwaki
Copy link
Author

另外小白也想请教和学习下添加机型的sop。
目前通过学习仓库下的样例,知道了如何添加机型和dts编译kernel和固件
但现在还卡在u-boot环节有些困惑,比如这个commit里都是二进制文件,不知道是怎么来的,特别是rk3399_loader,感觉网上的介绍非常少

@ophub
Copy link
Owner

ophub commented Nov 29, 2024

添加内核的方法: unifreq/linux-6.1.y@71866aa
把dts放在源码里,添加编译列表,编译测试,编译方法在仓库里有。
看: https://github.com/ophub/amlogic-s9xxx-armbian/tree/main/compile-kernel
或者看: https://github.com/ophub/kernel

u-boot可以看他们官方的文档。

各家也有一些编译的编译方法,例如你发的仓库里就有编译源文件及方法: https://github.com/cm9vdA/build-linux

rockchip有一些厂家也有专用的仓库和编译方法,例如瑞莎家的仓库: https://wiki.radxa.com/Rockpi4/dev/u-boot

用的仓库的根是一家的,各厂商自己做了一些自适配,并进行了编译简化操作,方便大家简单上手自己编译。

我现在的u-boot仓库是使用上面的方法编译好的可以直接使用的二进制文件。我也想过要不要整理个u-boot源文件仓库,并写个actions或者shell方便大家一键编译,达到像编译armbian/openwrt/kernel一样简单易用。但是我看上面这些厂家和大佬们都介绍的挺明白的了,我在之前的帖子里也使用他们的方法,编译的方法都是他们仓库里写的文档,我照着一步步地操作最终编译好了,我小白都能看懂并编译出来,你多看几遍再实际操作下就能熟练diy了。amlogic有些特别的锁bootloader设备,flippy大佬传授了他的经验,我根据他的方法也制作了可用的u-boot,并把过程截图写入了仓库的文档。

比如我使用cm9vdA的方法的案例: #1380
还有使用瑞莎家的案例:ophub/amlogic-s9xxx-openwrt#415

在一些帖子里我都做了详细的过程介绍,有代码有截图地尽量能把过程和细节都介绍清楚,你看看之前的帖子。

@zakuwaki
Copy link
Author

谢谢大佬的授人以渔❤️

@gdanmac
Copy link

gdanmac commented Dec 1, 2024

交换芯片mt7530DU 能驱动起来吗?

@ACCodelover
Copy link

可以正常启动,测试一切正常!谢谢大佬,感恩的心

内核启动日志

root@armbian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.1.119-ophub (root@fv-az1153-138) (aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 13.3.Rel1 (Build arm-13.24)) 13.3.1 20240614, GNU ld (Arm GNU Toolchain 13.3.Rel1 (Build arm-13.24)) 2.42.0.20240614) #1 SMP Tue Nov 26 23:07:35 EST 2024
[    0.000000] Machine model: RK3399 YSKJ Board
[    0.000000] efi: UEFI not found.
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] cma: Reserved 256 MiB at 0x00000000e1000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 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.0
[    0.000000] percpu: Embedded 29 pages/cpu s78184 r8192 d32408 u118784
[    0.000000] pcpu-alloc: s78184 r8192 d32408 u118784 alloc=29*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
[    0.000000] Kernel command line: root=UUID=5f3d4c39-9ae6-4758-b1a2-1c30c2a4b13b rootwait rootfstype=ext4 splash=verbose console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=85b8ac7f-ed99-4fd8-aeb2-fa3760df55ad usb-storage.quirks=  net.ifnames=0 max_loop=128 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    0.000000] Unknown kernel command line parameters "splash=verbose ubootpart=85b8ac7f-ed99-4fd8-aeb2-fa3760df55ad cgroup_enable=memory cgroup_memory=1", 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] Memory: 3670264K/4061184K available (18368K kernel code, 3942K rwdata, 15548K rodata, 6016K init, 923K bss, 128776K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    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=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    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: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @500000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000004f0000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000000580000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    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.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002148] Console: colour dummy device 80x25
[    0.002219] printk: console [tty1] enabled
[    0.002277] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.002296] pid_max: default: 32768 minimum: 301
[    0.002711] LSM: Security Framework initializing
[    0.002824] SELinux:  Initializing.
[    0.003361] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.003395] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.005638] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.006650] cblist_init_generic: Setting adjustable number of callback queues.
[    0.006660] cblist_init_generic: Setting shift to 3 and lim to 1.
[    0.006950] rcu: Hierarchical SRCU implementation.
[    0.006957] rcu: 	Max phase no-delay instances is 1000.
[    0.009057] Platform MSI: msi-controller@fee20000 domain created
[    0.009526] PCI/MSI: /interrupt-controller@fee00000/msi-controller@fee20000 domain created
[    0.010296] EFI services will not be available.
[    0.010975] smp: Bringing up secondary CPUs ...
[    0.011924] Detected VIPT I-cache on CPU1
[    0.012090] cacheinfo: Unable to detect cache hierarchy for CPU 1
[    0.012110] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.012133] GICv3: CPU1: using allocated LPI pending table @0x0000000000590000
[    0.012189] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.013262] Detected VIPT I-cache on CPU2
[    0.013430] cacheinfo: Unable to detect cache hierarchy for CPU 2
[    0.013450] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.013473] GICv3: CPU2: using allocated LPI pending table @0x00000000005a0000
[    0.013528] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.014663] Detected VIPT I-cache on CPU3
[    0.014836] cacheinfo: Unable to detect cache hierarchy for CPU 3
[    0.014857] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.014879] GICv3: CPU3: using allocated LPI pending table @0x00000000005b0000
[    0.014932] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.016086] CPU features: detected: Spectre-v2
[    0.016097] CPU features: detected: Spectre-v4
[    0.016103] CPU features: detected: Spectre-BHB
[    0.016110] CPU features: detected: ARM erratum 1742098
[    0.016117] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.016123] Detected PIPT I-cache on CPU4
[    0.016236] cacheinfo: Unable to detect cache hierarchy for CPU 4
[    0.016251] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.016269] GICv3: CPU4: using allocated LPI pending table @0x00000000005c0000
[    0.016308] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.017355] Detected PIPT I-cache on CPU5
[    0.017478] cacheinfo: Unable to detect cache hierarchy for CPU 5
[    0.017494] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.017512] GICv3: CPU5: using allocated LPI pending table @0x00000000005d0000
[    0.017551] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.017663] smp: Brought up 1 node, 6 CPUs
[    0.017701] SMP: Total of 6 processors activated.
[    0.017709] CPU features: detected: 32-bit EL0 Support
[    0.017716] CPU features: detected: 32-bit EL1 Support
[    0.017724] CPU features: detected: CRC32 instructions
[    0.017844] CPU: All CPU(s) started at EL2
[    0.017860] alternatives: applying system-wide alternatives
[    0.021826] devtmpfs: initialized
[    0.037925] Registered cp15_barrier emulation handler
[    0.037945] Registered setend emulation handler
[    0.038100] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.038120] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.043414] prandom: seed boundary self test passed
[    0.045246] prandom: 100 self tests passed
[    0.045293] pinctrl core: initialized pinctrl subsystem
[    0.045870] DMI not present or invalid.
[    0.046449] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.048334] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.049209] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.049850] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.049905] audit: initializing netlink subsys (disabled)
[    0.050130] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1
[    0.051371] thermal_sys: Registered thermal governor 'step_wise'
[    0.051424] cpuidle: using governor ladder
[    0.051635] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.051814] ASID allocator initialised with 65536 entries
[    0.051927] Serial: AMBA PL011 UART driver
[    0.071229] platform ff770000.syscon:usb2phy@e450: Fixed dependency cycle(s) with /i2c@ff3d0000/fusb30x@22/connector
[    0.071666] platform fe330000.mmc: Fixed dependency cycle(s) with /syscon@ff770000/phy@f780
[    0.071747] platform ff770000.syscon:phy@f780: Fixed dependency cycle(s) with /mmc@fe330000
[    0.072099] platform ff7c0000.phy: Fixed dependency cycle(s) with /i2c@ff3d0000/fusb30x@22/connector
[    0.073510] platform fec00000.dp: Fixed dependency cycle(s) with /vop@ff8f0000
[    0.073605] platform ff8f0000.vop: Fixed dependency cycle(s) with /dp@fec00000
[    0.074424] platform fec00000.dp: Fixed dependency cycle(s) with /vop@ff900000
[    0.074519] platform ff900000.vop: Fixed dependency cycle(s) with /dp@fec00000
[    0.075972] platform ff900000.vop: Fixed dependency cycle(s) with /hdmi@ff940000
[    0.076068] platform ff8f0000.vop: Fixed dependency cycle(s) with /hdmi@ff940000
[    0.076155] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff8f0000
[    0.076256] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff900000
[    0.083290] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000
[    0.084002] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000
[    0.084554] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
[    0.085205] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000
[    0.085770] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
[    0.100785] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.100797] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.100806] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.100812] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.100820] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.100825] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.100833] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.100838] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.102073] cryptd: max_cpu_qlen set to 1000
[    0.167948] raid6: neonx8   gen()  1814 MB/s
[    0.236056] raid6: neonx4   gen()  1772 MB/s
[    0.304170] raid6: neonx2   gen()  1464 MB/s
[    0.372286] raid6: neonx1   gen()  1049 MB/s
[    0.440414] raid6: int64x8  gen()  1014 MB/s
[    0.508516] raid6: int64x4  gen()   989 MB/s
[    0.576623] raid6: int64x2  gen()   960 MB/s
[    0.644739] raid6: int64x1  gen()   711 MB/s
[    0.644745] raid6: using algorithm neonx8 gen() 1814 MB/s
[    0.712853] raid6: .... xor() 1265 MB/s, rmw enabled
[    0.712859] raid6: using neon recovery algorithm
[    0.713078] ACPI: Interpreter disabled.
[    0.716396] iommu: Default domain type: Translated
[    0.716407] iommu: DMA domain TLB invalidation policy: strict mode
[    0.716893] SCSI subsystem initialized
[    0.717088] libata version 3.00 loaded.
[    0.717319] usbcore: registered new interface driver usbfs
[    0.717374] usbcore: registered new interface driver hub
[    0.717409] usbcore: registered new device driver usb
[    0.717947] mc: Linux media interface: v0.10
[    0.718022] videodev: Linux video capture interface: v2.00
[    0.718313] EDAC MC: Ver: 3.0.0
[    0.719426] Advanced Linux Sound Architecture Driver Initialized.
[    0.720272] vgaarb: loaded
[    0.720697] clocksource: Switched to clocksource arch_sys_counter
[    0.721304] VFS: Disk quotas dquot_6.6.0
[    0.721389] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.721534] FS-Cache: Loaded
[    0.721794] pnp: PnP ACPI: disabled
[    0.732396] NET: Registered PF_INET protocol family
[    0.732723] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.737583] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.737651] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.737711] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.738081] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.739385] TCP: Hash tables configured (established 32768 bind 32768)
[    0.739698] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear)
[    0.739867] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.740006] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.740421] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.740459] NET: Registered PF_XDP protocol family
[    0.740471] PCI: CLS 0 bytes, default 64
[    0.741115] Trying to unpack rootfs image as initramfs...
[    0.750114] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.750826] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.751553] kvm [1]: IPA Size Limit: 40 bits
[    0.754586] kvm [1]: vgic-v2@fff20000
[    0.754632] kvm [1]: GIC system register CPU interface enabled
[    0.754859] kvm [1]: vgic interrupt IRQ18
[    0.755096] kvm [1]: Hyp mode initialized successfully
[    0.757772] Initialise system trusted keyrings
[    0.757996] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.765617] zbud: loaded
[    0.767747] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.768364] fuse: init (API version 7.38)
[    0.769056] SGI XFS with ACLs, security attributes, quota, no debug enabled
[    0.837893] NET: Registered PF_ALG protocol family
[    0.837936] xor: measuring software checksum speed
[    0.839072]    8regs           :  2901 MB/sec
[    0.840128]    32regs          :  3135 MB/sec
[    0.841417]    arm64_neon      :  2559 MB/sec
[    0.841424] xor: using function: 32regs (3135 MB/sec)
[    0.841440] Key type asymmetric registered
[    0.841446] Asymmetric key parser 'x509' registered
[    0.841546] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.841715] io scheduler mq-deadline registered
[    0.841723] io scheduler kyber registered
[    0.841904] io scheduler bfq registered
[    0.935736] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.935754] dma-pl330 ff6d0000.dma-controller: 	DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.937235] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.937248] dma-pl330 ff6e0000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.941473] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    0.943698] printk: console [ttyS2] disabled
[    0.943766] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 38, base_baud = 1500000) is a 16550A
[    0.944128] printk: console [ttyS2] enabled
[    0.945280] Serial: AMBA driver
[    0.950807] rockchip-vop ff8f0000.vop: Adding to iommu group 2
[    0.951606] rockchip-vop ff900000.vop: Adding to iommu group 3
[    0.959818] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.962555] brd: module loaded
[    1.042238] loop: module loaded
[    1.048485] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    1.048502] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    1.048661] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    1.048942] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    1.048955] rk_gmac-dwmac fe300000.ethernet: TX delay(0x35).
[    1.048966] rk_gmac-dwmac fe300000.ethernet: RX delay(0x29).
[    1.048986] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    1.049034] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    1.054053] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    1.054270] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    1.054285] rk_gmac-dwmac fe300000.ethernet: 	DWMAC1000
[    1.054294] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[    1.054302] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[    1.054309] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[    1.054318] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    1.054325] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[    1.054332] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[    1.054340] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[    1.054347] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    6.810949] Freeing initrd memory: 12872K
[    6.942487] usbcore: registered new interface driver cdc_wdm
[    6.942540] usbcore: registered new interface driver usb-storage
[    6.942625] usbcore: registered new interface driver usbserial_generic
[    6.942649] usbserial: USB Serial support registered for generic
[    6.942683] usbcore: registered new interface driver ch341
[    6.942717] usbserial: USB Serial support registered for ch341-uart
[    6.942749] usbcore: registered new interface driver cp210x
[    6.942770] usbserial: USB Serial support registered for cp210x
[    6.942799] usbcore: registered new interface driver ftdi_sio
[    6.942819] usbserial: USB Serial support registered for FTDI USB Serial Device
[    6.942850] usbcore: registered new interface driver garmin_gps
[    6.942870] usbserial: USB Serial support registered for Garmin GPS usb/tty
[    6.942913] usbcore: registered new interface driver ipw
[    6.942933] usbserial: USB Serial support registered for IPWireless converter
[    6.942979] usbcore: registered new interface driver opticon
[    6.943000] usbserial: USB Serial support registered for opticon
[    6.943032] usbcore: registered new interface driver pl2303
[    6.943051] usbserial: USB Serial support registered for pl2303
[    6.943081] usbcore: registered new interface driver qcaux
[    6.943101] usbserial: USB Serial support registered for qcaux
[    6.943130] usbcore: registered new interface driver qcserial
[    6.943151] usbserial: USB Serial support registered for Qualcomm USB modem
[    6.943182] usbcore: registered new interface driver symbolserial
[    6.943216] usbserial: USB Serial support registered for symbol
[    6.943840] mousedev: PS/2 mouse device common for all mice
[    6.944495] ehci-platform fe3c0000.usb: EHCI Host Controller
[    6.944720] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 1
[    6.944842] ehci-platform fe3c0000.usb: irq 47, io mem 0xfe3c0000
[    6.945040] SPI driver rmi4_spi has no spi_device_id for syna,rmi4-spi
[    6.945786] i2c_dev: i2c /dev entries driver
[    6.947849] i2c 0-001b: Fixed dependency cycle(s) with /i2c@ff3c0000/pmic@1b/regulators/LDO_REG8
[    6.948589] rk808 0-001b: chip id: 0x0
[    6.952890] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    6.952922] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    6.964709] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    6.964856] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    6.964917] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    6.964933] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.964944] usb usb1: Product: EHCI Host Controller
[    6.964952] usb usb1: Manufacturer: Linux 6.1.119-ophub ehci_hcd
[    6.964961] usb usb1: SerialNumber: fe3c0000.usb
[    6.965520] hub 1-0:1.0: USB hub found
[    6.965555] hub 1-0:1.0: 1 port detected
[    6.967122] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    6.978307] cpu cpu0: EM: created perf domain
[    6.979529] cpu cpu4: EM: OPP:408000 is inefficient
[    6.979852] cpu cpu4: EM: created perf domain
[    6.982114] sdhci: Secure Digital Host Controller Interface driver
[    6.982120] sdhci: Copyright(c) Pierre Ossman
[    6.982123] Synopsys Designware Multimedia Card Interface Driver
[    6.982666] sdhci-pltfm: SDHCI platform and OF driver helper
[    6.983618] ledtrig-cpu: registered to indicate activity on CPUs
[    6.984765] hid: raw HID events driver (C) Jiri Kosina
[    6.984823] usbcore: registered new interface driver usbhid
[    6.984827] usbhid: USB HID core driver
[    7.033682] Initializing XFRM netlink socket
[    7.034078] NET: Registered PF_INET6 protocol family
[    7.085067] Segment Routing with IPv6
[    7.085085] RPL Segment Routing with IPv6
[    7.085180] In-situ OAM (IOAM) with IPv6
[    7.085414] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    7.087134] NET: Registered PF_PACKET protocol family
[    7.087163] NET: Registered PF_KEY protocol family
[    7.087540] 8021q: 802.1Q VLAN Support v1.8
[    7.088843] registered taskstats version 1
[    7.088892] Loading compiled-in X.509 certificates
[    7.095317] zswap: loaded using pool zstd/zbud
[    7.096269] Key type .fscrypt registered
[    7.096276] Key type fscrypt-provisioning registered
[    7.097249] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    7.362284] alg: No test for 842 (842-scomp)
[    7.362670] alg: No test for 842 (842-generic)
[    7.905125] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    7.905997] clk: Disabling unused clocks
[    7.906997] ALSA device list:
[    7.907010]   No soundcards found.
[    7.909071] Freeing unused kernel memory: 6016K
[    7.909249] Run /init as init process
[    7.909256]   with arguments:
[    7.909262]     /init
[    7.909267]   with environment:
[    7.909271]     HOME=/
[    7.909276]     TERM=linux
[    7.909280]     splash=verbose
[    7.909285]     ubootpart=85b8ac7f-ed99-4fd8-aeb2-fa3760df55ad
[    7.909291]     cgroup_enable=memory
[    7.909296]     cgroup_memory=1
[    7.938523] fbcon: Taking over console
[    8.350158] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    8.350279] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 2
[    8.350334] ohci-platform fe3e0000.usb: irq 64, io mem 0xfe3e0000
[    8.375635] OF: graph: no port node found in /i2c@ff3d0000/fusb30x@22
[    8.395659] rk808-rtc rk808-rtc: registered as rtc0
[    8.396351] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:26 UTC (1358499026)
[    8.416884] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[    8.416898] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.416905] usb usb2: Product: Generic Platform OHCI controller
[    8.416912] usb usb2: Manufacturer: Linux 6.1.119-ophub ohci_hcd
[    8.416916] usb usb2: SerialNumber: fe3e0000.usb
[    8.428204] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    8.437170] hub 2-0:1.0: USB hub found
[    8.437212] hub 2-0:1.0: 1 port detected
[    8.480910] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    8.481028] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000008002010010
[    8.481068] xhci-hcd xhci-hcd.1.auto: irq 66, io mem 0xfe900000
[    8.481170] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    8.486898] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    8.486937] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    8.487098] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    8.487110] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.487117] usb usb3: Product: xHCI Host Controller
[    8.487124] usb usb3: Manufacturer: Linux 6.1.119-ophub xhci-hcd
[    8.487130] usb usb3: SerialNumber: xhci-hcd.1.auto
[    8.554946] hub 3-0:1.0: USB hub found
[    8.555188] hub 3-0:1.0: 1 port detected
[    8.574029] mmc1: CQHCI version 5.10
[    8.583680] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    8.583919] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    8.583927] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.583931] usb usb4: Product: xHCI Host Controller
[    8.583935] usb usb4: Manufacturer: Linux 6.1.119-ophub xhci-hcd
[    8.583938] usb usb4: SerialNumber: xhci-hcd.1.auto
[    8.588345] hub 4-0:1.0: USB hub found
[    8.588383] hub 4-0:1.0: 1 port detected
[    8.629116] mmc1: SDHCI controller on fe330000.mmc [fe330000.mmc] using ADMA
[    8.681057] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
[    8.695904] mmc1: Command Queue Engine enabled
[    8.695935] mmc1: new HS400 Enhanced strobe MMC card at address 0001
[    8.696729] mmcblk1: mmc1:0001 BJTD4R 29.1 GiB
[    8.699674] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    8.699689] GPT:6324223 != 61071359
[    8.699697] GPT:Alternate GPT header not at the end of the disk.
[    8.699700] GPT:6324223 != 61071359
[    8.699703] GPT: Use GNU Parted to correct GPT errors.
[    8.699728]  mmcblk1: p1 p2
[    8.701158] mmcblk1boot0: mmc1:0001 BJTD4R 4.00 MiB
[    8.702553] mmcblk1boot1: mmc1:0001 BJTD4R 4.00 MiB
[    8.703634] mmcblk1rpmb: mmc1:0001 BJTD4R 4.00 MiB, chardev (240:0)
[    8.945235] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.

请问交换芯片mt7530DU 能正常使用吗?

@lilmik
Copy link

lilmik commented Dec 5, 2024

这么快就适配了,88买这东西不亏~

@JIJK4
Copy link

JIJK4 commented Dec 5, 2024

这么快就适配了,88买这东西不亏~

网口还是一个吧

@shabby2333
Copy link

这么快就适配了,88买这东西不亏~

网口还是一个吧

网口只认一个,能当傻瓜交换机用

@lilmik
Copy link

lilmik commented Dec 6, 2024

这么快就适配了,88买这东西不亏~

网口还是一个吧

是的,任意插入一个网口是可以用的。插入多个网口就连不上断网了

@shabby2333
Copy link

这么快就适配了,88买这东西不亏~

网口还是一个吧

是的,任意插入一个网口是可以用的。插入多个网口就连不上断网了

多个也行 不环路即可

@lilmik
Copy link

lilmik commented Dec 13, 2024

话说,刷完这个之后,比较挑显示器。原系统hdmi各种显示器一点就亮,这个版本的就各种点不亮,是我刷机有问题,还是本身就没有解决hdmi输出的问题呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported
Projects
None yet
Development

No branches or pull requests

7 participants