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

请求添加hugsun-x99盒子支持(rk3399)有linux主线dts #2015

Closed
yao-weijie opened this issue Jan 11, 2024 · 2 comments
Closed

请求添加hugsun-x99盒子支持(rk3399)有linux主线dts #2015

yao-weijie opened this issue Jan 11, 2024 · 2 comments

Comments

@yao-weijie
Copy link

介绍链接:hugsun-x99
内核主线dts

设备信息

  • soc: rk3399
  • ram: 4G ddr3

如果还需要其他的信息,还有LibreELEC的支持,刷入tf卡可以直接启动并正常使用,如果需要额外信息我可以进入系统进行提取

这个盒子的dts我看从5.4就在内核里了,最近一次更新在5.19-rc1,添加支持之后也麻烦Flippy大佬@unifreq 更新 5.4 5.10 5.15的内核仓库

PS: 市面上还有一种3399的电视盒子h96max,根据armbian论坛的帖子可以看出来是比较相似的,如果有其他人买了h96max,可以用x99的固件试试

我对armbian不太熟,还烦请添加支持,感谢!

@yao-weijie
Copy link
Author

我把libreelec的固件刷入tf卡之后启动,ssh登录上去,查看到了以下信息:
挂载目录和分区
2024-01-15_16-21
tf卡是mmcblk1,内置flash是mmcblk2

/flash分区有和armbian类似的东西,我scp复制下来了
图片
其中的KERNEL和SYSTEM文件应该没用,剩下的在下面的压缩包里
flash.zip

我在build-armbian/armbian-files/common-files/etc/model_database.conf文件里添加了这个设备,然后在本地编译,可以编译出来,刷入tf卡可以启动,但是进不去armbain,只能进到原本的安卓系统:
model_database.conf添加的内容如下:

r418    :Hugsun-x99                         :rk3399   :rk3399-hugsun-x99.dtb                  :NA                           :u-boot.itb                          :idbloader.bin                   :4GB-DDR3,32/64G-eMMC,1Gb-Nic               :6.1.y         :rockchip    :rk3399       :armbianEnv.txt  :lavateinn                             :hugsun-x99          :yes

其中的rk3399-hugsun-x99.dtb就是上面备份的,放在了build-armbian/armbian-files/platform-files/rockchip/bootfs/dtb/rockchip

loader用的是RKDevTool中的rk3399_loader_v1.26.bin
rk3399_loader_v1.26.bin.zip

uboot是我用immortwrt编译的,不太确定对不对
u-boot.itb.zip
这两个文件放到了build-armbian/u-boot/rockchip/hugsun-x99目录里

bootfs的配置如下
图片
armbianEnv.txt

verbosity=7
bootlogo=true
fdtfile=rockchip/rk3399-hugsun-x99.dtb
rootdev=/dev/mmcblk1p2
rootfstype=ext4
rootflags=rw,errors=remount-ro
console=serial
consoleargs=console=tty0,1500000
overlay_prefix=rk3399
overlays=
extraargs=
extraboardargs=net.ifnames=0 max_loop=128
docker_optimizations=on

extlinux.conf.bak

LABEL Armbian
  LINUX /Image
  INITRD /uInitrd
  FDT /dtb/rockchip/rk3399-hugsun-x99.dtb
  APPEND quiet console=uart8250,mmio32,0xff1a0000 console=tty0 coherent_pool=2M cec.debounce_ms=5000

boot.cmd和boot.scr不会改就没有添加

我应该修改哪些地方呢,有没有大佬指点一下?

对了还有libreelec的dmesg日志

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.1.68 (docker@0629d957fc37) (aarch64-none-elf-gcc-12.2.0 (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39) #1 SMP Wed Dec 20 06:18:47 UTC 2023
[    0.000000] Machine model: Hugsun X99 TV BOX
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    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 64 MiB at 0x00000000ee000000
[    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 19 pages/cpu s36904 r8192 d32728 u77824
[    0.000000] pcpu-alloc: s36904 r8192 d32728 u77824 alloc=19*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: boot=UUID=2012-4828 disk=UUID=c9b8d4df-ce5a-45d4-ba00-9fe64344e9f2 quiet console=uart8250,mmio32,0xff1a0000 console=tty0 coherent_pool=2M cec.debounce_ms=5000
[    0.000000] Unknown kernel command line parameters "boot=UUID=2012-4828 disk=UUID=c9b8d4df-ce5a-45d4-ba00-9fe64344e9f2", 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: 3892764K/4061184K available (12544K kernel code, 1466K rwdata, 4796K rodata, 4672K init, 685K bss, 102884K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[    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 @280000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000000240000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000000250000
[    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.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.003407] Console: colour dummy device 80x25
[    0.003460] printk: console [tty0] enabled
[    0.003488] printk: bootconsole [uart8250] disabled
[    0.003617] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[    0.003665] pid_max: default: 32768 minimum: 301
[    0.003929] LSM: Security Framework initializing
[    0.004353] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.004458] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.008304] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.010738] cblist_init_generic: Setting adjustable number of callback queues.
[    0.010765] cblist_init_generic: Setting shift to 3 and lim to 1.
[    0.011431] rcu: Hierarchical SRCU implementation.
[    0.011452] rcu: 	Max phase no-delay instances is 1000.
[    0.014006] Platform MSI: interrupt-controller@fee20000 domain created
[    0.014958] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.016893] smp: Bringing up secondary CPUs ...
[    0.018636] Detected VIPT I-cache on CPU1
[    0.018915] cacheinfo: Unable to detect cache hierarchy for CPU 1
[    0.018953] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.018999] GICv3: CPU1: using allocated LPI pending table @0x0000000000260000
[    0.019105] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.021236] Detected VIPT I-cache on CPU2
[    0.021495] cacheinfo: Unable to detect cache hierarchy for CPU 2
[    0.021530] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.021571] GICv3: CPU2: using allocated LPI pending table @0x0000000000270000
[    0.021656] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.023601] Detected VIPT I-cache on CPU3
[    0.023869] cacheinfo: Unable to detect cache hierarchy for CPU 3
[    0.023904] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.023945] GICv3: CPU3: using allocated LPI pending table @0x0000000000300000
[    0.024028] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.028488] CPU features: detected: Spectre-v2
[    0.028980] CPU features: detected: Spectre-v4
[    0.029216] CPU features: detected: Spectre-BHB
[    0.029531] CPU features: detected: ARM erratum 1742098
[    0.029754] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.029998] Detected PIPT I-cache on CPU4
[    0.033974] cacheinfo: Unable to detect cache hierarchy for CPU 4
[    0.034470] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.035152] GICv3: CPU4: using allocated LPI pending table @0x0000000000310000
[    0.036463] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.045115] Detected PIPT I-cache on CPU5
[    0.049145] cacheinfo: Unable to detect cache hierarchy for CPU 5
[    0.049657] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.050304] GICv3: CPU5: using allocated LPI pending table @0x0000000000320000
[    0.051451] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.055838] smp: Brought up 1 node, 6 CPUs
[    0.056071] SMP: Total of 6 processors activated.
[    0.056102] CPU features: detected: 32-bit EL0 Support
[    0.056128] CPU features: detected: CRC32 instructions
[    0.057579] CPU: All CPU(s) started at EL2
[    0.057602] alternatives: applying system-wide alternatives
[    0.065734] devtmpfs: initialized
[    0.118782] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.119094] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.126235] pinctrl core: initialized pinctrl subsystem
[    0.132574] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.143332] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.146620] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.149314] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.154298] thermal_sys: Registered thermal governor 'step_wise'
[    0.154589] cpuidle: using governor menu
[    0.155253] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.157639] ASID allocator initialised with 65536 entries
[    0.230456] platform fe330000.mmc: Fixed dependency cycle(s) with /syscon@ff770000/phy@f780
[    0.244641] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff900000/port/endpoint@2
[    0.266181] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000
[    0.268685] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000
[    0.270613] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
[    0.272443] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000
[    0.274128] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
[    0.337539] cryptd: max_cpu_qlen set to 1000
[    0.350999] iommu: Default domain type: Translated 
[    0.351205] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.352519] SCSI subsystem initialized
[    0.353343] usbcore: registered new interface driver usbfs
[    0.353506] usbcore: registered new interface driver hub
[    0.353654] usbcore: registered new device driver usb
[    0.355470] mc: Linux media interface: v0.10
[    0.355657] videodev: Linux video capture interface: v2.00
[    0.356015] pps_core: LinuxPPS API ver. 1 registered
[    0.356041] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.356107] PTP clock support registered
[    0.356268] EDAC MC: Ver: 3.0.0
[    0.361160] Advanced Linux Sound Architecture Driver Initialized.
[    0.363478] vgaarb: loaded
[    0.366518] clocksource: Switched to clocksource arch_sys_counter
[    0.367308] VFS: Disk quotas dquot_6.6.0
[    0.367499] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.367807] FS-Cache: Loaded
[    0.399028] NET: Registered PF_INET protocol family
[    0.400262] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.417041] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.417302] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.417373] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.419241] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.423553] TCP: Hash tables configured (established 32768 bind 32768)
[    0.424557] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.425144] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.426130] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.431577] RPC: Registered named UNIX socket transport module.
[    0.431608] RPC: Registered udp transport module.
[    0.431626] RPC: Registered tcp transport module.
[    0.431647] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.431678] PCI: CLS 0 bytes, default 64
[    0.453823] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.457631] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.467380] Initialise system trusted keyrings
[    0.470248] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.502775] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.511429] NFS: Registering the id_resolver key type
[    0.511879] Key type id_resolver registered
[    0.511904] Key type id_legacy registered
[    0.512285] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.512314] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.522681] Key type cifs.idmap registered
[    0.746891] NET: Registered PF_ALG protocol family
[    0.747215] Key type asymmetric registered
[    0.747240] Asymmetric key parser 'x509' registered
[    0.765480] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[    0.766250] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.767384] io scheduler mq-deadline registered
[    0.767414] io scheduler kyber registered
[    0.814579] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.814834] dma-pl330 ff6d0000.dma-controller: 	DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.820238] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.820329] dma-pl330 ff6e0000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.827200] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    0.835705] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 38, base_baud = 1500000) is a 16550A
[    0.836579] serial serial0: tty port ttyS0 registered
[    0.840182] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 39, base_baud = 1500000) is a 16550A
[    0.841388] printk: console [ttyS2] enabled
[    0.862000] rockchip-vop ff900000.vop: Adding to iommu group 3
[    0.874892] [drm] unsupported AFBC format[3231564e]
[    0.877722] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    0.878057] dwhdmi-rockchip ff940000.hdmi: supply avdd-0v9 not found, using dummy regulator
[    0.878613] dwhdmi-rockchip ff940000.hdmi: supply avdd-1v8 not found, using dummy regulator
[    0.881540] SPI driver abt-y030xx067a has no spi_device_id for abt,y030xx067a
[    0.897988] SPI driver panel-ilitek-ili9322 has no spi_device_id for dlink,dir-685-panel
[    0.898036] SPI driver panel-ilitek-ili9322 has no spi_device_id for ilitek,ili9322
[    0.898281] SPI driver panel-innolux-ej030na has no spi_device_id for innolux,ej030na
[    0.899086] SPI driver nv3052c has no spi_device_id for leadtek,ltk035c5444t
[    0.899468] SPI driver nt39016 has no spi_device_id for kingdisplay,kd035g6-54nt
[    0.900432] SPI driver db7430-panel has no spi_device_id for samsung,lms397kf04
[    0.900673] SPI driver s6d27a1-panel has no spi_device_id for samsung,s6d27a1
[    0.902815] SPI driver tpo-tpg110-panel has no spi_device_id for tpo,tpg110
[    0.903138] SPI driver ws2401-panel has no spi_device_id for samsung,lms380kf01
[    0.907481] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.932811] loop: module loaded
[    0.949250] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    0.949509] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    0.950048] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    0.950643] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    0.950690] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[    0.950740] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[    0.950791] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    0.950938] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    0.955998] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    0.957581] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    0.957639] rk_gmac-dwmac fe300000.ethernet: 	DWMAC1000
[    0.957672] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[    0.957702] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[    0.957731] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[    0.957764] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    0.957792] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[    0.958071] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[    0.958104] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[    0.958134] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.068273] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    1.068357] RTL8211E Gigabit Ethernet stmmac-0:01: attached PHY driver (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    1.078290] VFIO - User Level meta-driver version: 0.3
[    1.160217] ehci-platform fe3c0000.usb: EHCI Host Controller
[    1.160598] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 1
[    1.161155] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.161245] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    1.161319] ehci-platform fe3c0000.usb: irq 48, io mem 0xfe3c0000
[    1.161651] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    1.161840] xhci-hcd xhci-hcd.0.auto: irq 47, io mem 0xfe900000
[    1.162517] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.162580] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 3
[    1.162643] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    1.163548] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    1.163604] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.163645] usb usb2: Product: xHCI Host Controller
[    1.163679] usb usb2: Manufacturer: Linux 6.1.68 xhci-hcd
[    1.163713] usb usb2: SerialNumber: xhci-hcd.0.auto
[    1.167874] hub 2-0:1.0: USB hub found
[    1.168007] hub 2-0:1.0: 1 port detected
[    1.169754] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.170146] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    1.170201] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.170243] usb usb3: Product: xHCI Host Controller
[    1.170278] usb usb3: Manufacturer: Linux 6.1.68 xhci-hcd
[    1.170312] usb usb3: SerialNumber: xhci-hcd.0.auto
[    1.173114] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    1.174059] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    1.175238] hub 3-0:1.0: USB hub found
[    1.175448] hub 3-0:1.0: 1 port detected
[    1.177231] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    1.177266] usbcore: registered new interface driver cdc_acm
[    1.177299] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.177292] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.177335] usb usb1: Product: EHCI Host Controller
[    1.177369] usb usb1: Manufacturer: Linux 6.1.68 ehci_hcd
[    1.177402] usb usb1: SerialNumber: fe3c0000.usb
[    1.178868] usbcore: registered new interface driver uas
[    1.179194] usbcore: registered new interface driver usb-storage
[    1.179322] hub 1-0:1.0: USB hub found
[    1.179449] hub 1-0:1.0: 1 port detected
[    1.181923] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[    1.187934] i2c_dev: i2c /dev entries driver
[    1.188754] ohci-platform fe3e0000.usb: irq 49, io mem 0xfe3e0000
[    1.204206] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    1.208969] syr828: mapping for mode 1 not defined
[    1.209782] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    1.212711] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with 0-001b
[    1.213925] i2c 0-001b: Fixed dependency cycle(s) with /i2c@ff3c0000/pmic@1b/regulators/DCDC_REG4
[    1.217055] rk808 0-001b: chip id: 0x0
[    1.231799] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    1.232019] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    1.240695] vcca1v8_hdmi: Bringing 3000000uV into 1800000-1800000uV
[    1.250638] vcca0v9_hdmi: Bringing 1800000uV into 900000-900000uV
[    1.251406] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[    1.251489] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.251532] usb usb4: Product: Generic Platform OHCI controller
[    1.251567] usb usb4: Manufacturer: Linux 6.1.68 ohci_hcd
[    1.251601] usb usb4: SerialNumber: fe3e0000.usb
[    1.259472] hub 4-0:1.0: USB hub found
[    1.259877] hub 4-0:1.0: 1 port detected
[    1.265321] rk808-rtc rk808-rtc: registered as rtc0
[    1.266503] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:59 UTC (1358499059)
[    1.267667] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with 0-001b
[    1.296936] dw_wdt ff848000.watchdog: No valid TOPs array specified
[    1.311584] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 200000 KHz, changing to: 408000 KHz
[    1.320363] cpufreq: cpufreq_online: CPU4: Running at unlisted initial frequency: 12000 KHz, changing to: 408000 KHz
[    1.322878] sdhci: Secure Digital Host Controller Interface driver
[    1.322883] sdhci: Copyright(c) Pierre Ossman
[    1.322900] Synopsys Designware Multimedia Card Interface Driver
[    1.323131] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.323544] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    1.323563] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    1.323571] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    1.323602] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 67,32 bit host data width,256 deep fifo
[    1.323776] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq
[    1.323782] mmc_host mmc0: card is non-removable.
[    1.325577] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    1.325618] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    1.325634] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    1.325697] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 69,32 bit host data width,256 deep fifo
[    1.325816] mmc2: CQHCI version 5.10
[    1.325923] ledtrig-cpu: registered to indicate activity on CPUs
[    1.326108] hid: raw HID events driver (C) Jiri Kosina
[    1.326708] usbcore: registered new interface driver usbhid
[    1.326712] usbhid: USB HID core driver
[    1.330289] Initializing XFRM netlink socket
[    1.330484] NET: Registered PF_INET6 protocol family
[    1.332196] Segment Routing with IPv6
[    1.332228] In-situ OAM (IOAM) with IPv6
[    1.332291] NET: Registered PF_PACKET protocol family
[    1.332334] Key type dns_resolver registered
[    1.332625] registered taskstats version 1
[    1.332646] Loading compiled-in X.509 certificates
[    1.336405] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.336560] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.349723] mmc2: SDHCI controller on fe330000.mmc [fe330000.mmc] using ADMA
[    1.371844] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    1.371909] dwhdmi-rockchip ff940000.hdmi: supply avdd-0v9 not found, using dummy regulator
[    1.371993] dwhdmi-rockchip ff940000.hdmi: supply avdd-1v8 not found, using dummy regulator
[    1.372083] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    1.374210] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops)
[    1.375020] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    1.386279] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    1.386632] mmc1: new high speed SDHC card at address 1234
[    1.387771] mmcblk1: mmc1:1234 SA32G 28.9 GiB 
[    1.390794]  mmcblk1: p1 p2
[    1.427714] mmc2: new HS400 MMC card at address 0001
[    1.428554] mmcblk2: mmc2:0001 MCG8GC 58.2 GiB 
[    1.430998] mmcblk2boot0: mmc2:0001 MCG8GC 4.00 MiB 
[    1.432932] mmcblk2boot1: mmc2:0001 MCG8GC 4.00 MiB 
[    1.434452] mmcblk2rpmb: mmc2:0001 MCG8GC 4.00 MiB, chardev (239:0)
[    1.502029] mmc_host mmc0: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[    1.584121] Console: switching to colour frame buffer device 480x135
[    1.692762] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[    1.693761] panfrost ff9a0000.gpu: clock rate = 500000000
[    1.698654] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[    1.698699] panfrost ff9a0000.gpu: features: 00000000,00000407, issues: 00000000,24040400
[    1.698720] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    1.698745] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[    1.705808] [drm] Initialized panfrost 1.2.0 20180908 for ff9a0000.gpu on minor 1
[    1.769221] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[    1.769267] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 5
[    1.769453] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    1.769533] xhci-hcd xhci-hcd.5.auto: irq 76, io mem 0xfe800000
[    1.769785] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[    1.769809] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 6
[    1.769832] xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed
[    1.770016] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    1.770038] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.770054] usb usb5: Product: xHCI Host Controller
[    1.770067] usb usb5: Manufacturer: Linux 6.1.68 xhci-hcd
[    1.770080] usb usb5: SerialNumber: xhci-hcd.5.auto
[    1.770893] hub 5-0:1.0: USB hub found
[    1.770939] hub 5-0:1.0: 1 port detected
[    1.771403] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.771538] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    1.771559] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.771575] usb usb6: Product: xHCI Host Controller
[    1.771587] usb usb6: Manufacturer: Linux 6.1.68 xhci-hcd
[    1.771601] usb usb6: SerialNumber: xhci-hcd.5.auto
[    1.772301] hub 6-0:1.0: USB hub found
[    1.772342] hub 6-0:1.0: 1 port detected
[    1.778075] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    1.778131] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 7
[    1.778328] ohci-platform fe3a0000.usb: irq 78, io mem 0xfe3a0000
[    1.779156] ehci-platform fe380000.usb: EHCI Host Controller
[    1.779204] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 8
[    1.779318] ehci-platform fe380000.usb: irq 77, io mem 0xfe380000
[    1.780265] ALSA device list:
[    1.780271]   #0: HDMI
[    1.789705] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    1.789998] usb usb8: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    1.790013] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.790024] usb usb8: Product: EHCI Host Controller
[    1.790032] usb usb8: Manufacturer: Linux 6.1.68 ehci_hcd
[    1.790040] usb usb8: SerialNumber: fe380000.usb
[    1.790625] hub 8-0:1.0: USB hub found
[    1.790658] hub 8-0:1.0: 1 port detected
[    1.837206] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[    1.837232] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.837244] usb usb7: Product: Generic Platform OHCI controller
[    1.837254] usb usb7: Manufacturer: Linux 6.1.68 ohci_hcd
[    1.837262] usb usb7: SerialNumber: fe3a0000.usb
[    1.838048] hub 7-0:1.0: USB hub found
[    1.838082] hub 7-0:1.0: 1 port detected
[    1.841983] Freeing unused kernel memory: 4672K
[    1.853707] Run /init as init process
[    1.853723]   with arguments:
[    1.853732]     /init
[    1.853740]   with environment:
[    1.853746]     HOME=/
[    1.853752]     TERM=linux
[    1.853759]     boot=UUID=2012-4828
[    1.853764]     disk=UUID=c9b8d4df-ce5a-45d4-ba00-9fe64344e9f2
[    1.978574] dwmmc_rockchip fe310000.mmc: Successfully tuned phase to 228
[    1.982176] mmc0: new ultra high speed SDR104 SDIO card at address 0001
[    2.155724] Checking disk(s):  UUID=2012-4828 UUID=c9b8d4df-ce5a-45d4-ba00-9fe64344e9f2
[    2.349718] usb 7-1: new full-speed USB device number 2 using ohci-platform
[    2.553357] fsck: fsck.fat 4.2 (2021-01-31)
[    2.553618] fsck: /dev/mmcblk1p1: 9 files, 18668/65501 clusters
[    2.553905] fsck: STORAGE: clean, 11/7444480 files, 1877127/29777920 blocks
[    2.584970] usb 7-1: New USB device found, idVendor=046d, idProduct=c07f, bcdDevice=91.00
[    2.585042] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.585064] usb 7-1: Product: Gaming Mouse G302
[    2.585080] usb 7-1: Manufacturer: Logitech
[    2.585096] usb 7-1: SerialNumber: 178C395E3730
[    2.596167] input: Logitech Gaming Mouse G302 as /devices/platform/fe3a0000.usb/usb7/7-1/7-1:1.0/0003:046D:C07F.0001/input/input0
[    2.597348] hid-generic 0003:046D:C07F.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech Gaming Mouse G302] on usb-fe3a0000.usb-1/input0
[    2.606048] input: Logitech Gaming Mouse G302 Keyboard as /devices/platform/fe3a0000.usb/usb7/7-1/7-1:1.1/0003:046D:C07F.0002/input/input1
[    2.664022] hid-generic 0003:046D:C07F.0002: input,hiddev96,hidraw1: USB HID v1.11 Keyboard [Logitech Gaming Mouse G302] on usb-fe3a0000.usb-1/input1
[    2.997192] loop0: detected capacity change from 0 to 251208
[    3.134324] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
[    3.601911] kernel-overlays-setup: setup base modules
[    3.676559] kernel-overlays-setup: added modules from /usr/lib/kernel-overlays/base/lib/modules/6.1.68
[    3.742629] kernel-overlays-setup: added firmware from /usr/lib/kernel-overlays/base/lib/firmware
[    3.742841] kernel-overlays-setup: done
[    4.089926] systemd[1]: System time before build time, advancing clock.
[    4.265893] systemd[1]: systemd 252.6 running in system mode (-PAM -AUDIT -SELINUX -APPARMOR -IMA -SMACK -SECCOMP -GCRYPT -GNUTLS -OPENSSL -ACL +BLKID -CURL -ELFUTILS -FIDO2 +IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP -LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB -ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    4.265944] systemd[1]: Detected architecture arm64.
[    4.266213] systemd[1]: Detected first boot.
[    4.268825] systemd[1]: Cannot open /etc/machine-id: No such file or directory
[    4.654717] systemd[1]: Populated /etc with preset unit settings.
[    4.805291] systemd[1]: Queued start job for default target kodi.target.
[    4.833426] systemd[1]: Created slice system-modprobe.slice.
[    4.835969] systemd[1]: Created slice user.slice.
[    4.836221] systemd[1]: Started systemd-ask-password-console.path.
[    4.836433] systemd[1]: Started systemd-ask-password-wall.path.
[    4.836672] systemd[1]: Reached target paths.target.
[    4.836779] systemd[1]: Reached target slices.target.
[    4.852642] systemd[1]: Listening on rpcbind.socket.
[    4.852782] systemd[1]: Reached target rpcbind.target.
[    4.853119] systemd[1]: Listening on systemd-initctl.socket.
[    4.853490] systemd[1]: Listening on systemd-journald-dev-log.socket.
[    4.853808] systemd[1]: Listening on systemd-journald.socket.
[    4.855959] systemd[1]: Listening on systemd-udevd-control.socket.
[    4.856492] systemd[1]: Listening on systemd-udevd-kernel.socket.
[    4.859618] systemd[1]: Mounting dev-mqueue.mount...
[    4.863324] systemd[1]: Mounting sys-kernel-debug.mount...
[    4.863849] systemd[1]: sys-kernel-tracing.mount was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[    4.867901] systemd[1]: Mounting var.mount...
[    4.871266] systemd[1]: Starting kmod-static-nodes.service...
[    4.874428] systemd[1]: Starting modprobe@configfs.service...
[    4.878159] systemd[1]: Starting modprobe@drm.service...
[    4.882228] systemd[1]: Starting modprobe@fuse.service...
[    4.885817] systemd[1]: Starting show-version.service...
[    4.889127] systemd[1]: Starting storage-log.service...
[    4.891906] systemd[1]: Starting swap.service...
[    4.927887] systemd[1]: Starting systemd-hwdb-update.service...
[    4.941519] fuse: init (API version 7.37)
[    4.946302] systemd[1]: Starting systemd-modules-load.service...
[    4.950216] systemd[1]: Starting systemd-timesyncd-setup.service...
[    4.953749] systemd[1]: Starting systemd-udev-trigger.service...
[    4.957263] systemd[1]: Starting wait-time-sync.service...
[    4.962125] systemd[1]: Mounted dev-mqueue.mount.
[    4.962413] systemd[1]: Mounted sys-kernel-debug.mount.
[    4.962614] systemd[1]: Mounted var.mount.
[    4.963156] systemd[1]: Finished kmod-static-nodes.service.
[    4.963789] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    4.964100] systemd[1]: Finished modprobe@configfs.service.
[    4.964665] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    4.964941] systemd[1]: Finished modprobe@drm.service.
[    4.965460] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    4.965720] systemd[1]: Finished modprobe@fuse.service.
[    4.966234] systemd[1]: Finished show-version.service.
[    4.972047] systemd[1]: Mounting sys-fs-fuse-connections.mount...
[    4.975309] systemd[1]: Mounting sys-kernel-config.mount...
[    4.984716] systemd[1]: Finished storage-log.service.
[    4.985181] systemd[1]: Mounted sys-fs-fuse-connections.mount.
[    4.985885] systemd[1]: Mounted sys-kernel-config.mount.
[    4.986545] systemd[1]: var-log.mount was skipped because no trigger condition checks were met.
[    5.030137] systemd[1]: Finished systemd-timesyncd-setup.service.
[    5.101462] Asymmetric key parser 'pkcs8' registered
[    5.104057] systemd[1]: Finished systemd-modules-load.service.
[    5.124185] systemd[1]: Starting systemd-sysctl.service...
[    5.150532] systemd[1]: Finished swap.service.
[    5.151057] systemd[1]: Reached target swap.target.
[    5.155501] systemd[1]: Mounting tmp.mount...
[    5.164368] systemd[1]: Mounted tmp.mount.
[    5.164884] systemd[1]: Reached target local-fs.target.
[    5.169791] systemd[1]: Starting machine-id.service...
[    5.187513] systemd[1]: Finished systemd-sysctl.service.
[    5.303812] systemd[1]: Finished systemd-udev-trigger.service.
[    6.441484] systemd[1]: Finished systemd-hwdb-update.service.
[   10.856329] random: crng init done
[   10.874087] systemd[1]: Finished machine-id.service.
[   10.918150] systemd[1]: Starting systemd-journald.service...
[   10.926604] systemd[1]: Starting systemd-tmpfiles-setup-dev.service...
[   10.974714] systemd[1]: Finished systemd-tmpfiles-setup-dev.service.
[   11.009728] systemd[1]: Started systemd-journald.service.
[   11.092976] systemd-journald[337]: Received client request to flush runtime journal.
[   12.784358] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[   12.795330] Registered IR keymap rc-empty
[   12.795415] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[   12.795532] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter
[   12.795590] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input4
[   12.862749] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   12.927454] OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22
[   12.929512] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   13.166987] Bluetooth: Core ver 2.22
[   13.167223] NET: Registered PF_BLUETOOTH protocol family
[   13.167231] Bluetooth: HCI device and connection manager initialized
[   13.167259] Bluetooth: HCI socket layer initialized
[   13.167271] Bluetooth: L2CAP socket layer initialized
[   13.167295] Bluetooth: SCO socket layer initialized
[   13.214830] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   13.215015] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.hugsun,x99.bin failed with error -2
[   13.216266] usbcore: registered new interface driver brcmfmac
[   13.280587] rockchip_vdec: module is from the staging directory, the quality is unknown, you have been warned.
[   13.282102] rkvdec ff660000.video-codec: Adding to iommu group 1
[   13.380107] rockchip-iep ff670000.iep: Adding to iommu group 2
[   13.380233] hantro-vpu ff650000.video-codec: Adding to iommu group 0
[   13.382315] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video2
[   13.382324] rockchip-iep ff670000.iep: Device rockchip-iep registered as /dev/video1
[   13.382473] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video3
[   13.392935] systemd-journald[337]: Data hash table of /run/log/journal/3ca13f5a0235a8efc80281c463ee71b1/system.journal has a fill level at 75.0 (1536 of 2047 items, 524288 file size, 341 bytes per hash table item), suggesting rotation.
[   13.393051] systemd-journald[337]: /run/log/journal/3ca13f5a0235a8efc80281c463ee71b1/system.journal: Journal header limits reached or header out-of-date, rotating.
[   13.419468] rockchip-rga ff680000.rga: HW Version: 0x03.02
[   13.422533] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video4
[   13.634619] Bluetooth: HCI UART driver ver 2.3
[   13.634707] Bluetooth: HCI UART protocol H4 registered
[   13.634911] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   13.641927] Bluetooth: HCI UART protocol Broadcom registered
[   13.642728] Bluetooth: HCI UART protocol QCA registered
[   13.642779] Bluetooth: HCI UART protocol AG6XX registered
[   13.642833] Bluetooth: HCI UART protocol Marvell registered
[   13.649423] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2
[   13.758697] input: eventlircd as /devices/virtual/input/input5
[   13.760028] dw-apb-uart ff180000.serial: failed to request DMA
[   13.892390] Bluetooth: hci0: BCM: failed to write clock (-56)
[   13.892425] Bluetooth: hci0: Failed to set baudrate
[   14.010369] Bluetooth: hci0: BCM: chip id 107
[   14.012694] Bluetooth: hci0: BCM: features 0x2f
[   14.036074] Bluetooth: hci0: BCM4345C0
[   14.036180] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[   14.081219] Bluetooth: hci0: BCM4345C0 'brcm/BCM4345C0.hcd' Patch
[   14.848510] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   14.851006] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[   14.859744] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[   14.859781] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[   14.860249] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[   19.365547] Bluetooth: hci0: BCM: failed to write clock (-56)
[   19.492183] Bluetooth: hci0: BCM: features 0x2f
[   19.515874] Bluetooth: hci0: BCM4345C0 Ampak 0073
[   19.515900] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0075
[   19.680059] Bluetooth: MGMT ver 1.22
[   86.804012] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   86.804097] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   86.852401] 8021q: 802.1Q VLAN Support v1.8

@yao-weijie
Copy link
Author

经过测试,x99盒子的固件基本可用

  1. 使用emb3531固件,刷入tf卡中启动,正常引导,正常进入系统

  2. 查看dmesg除了没有发现pcie之外,一切正常

  3. 采用emb3531的uboot,dtb换成x99的dtb,来自LibreELEC的固件,dts源码来自主线内核,正常引导,正常进入系统

  4. 查看dmesg dmesg.log,pcie缺失的报错没了,但是发现有一个brcmfmac的报错,显示找不到一个驱动,应该是wifi蓝牙(ap6255)驱动的问题,在/lib/firmware/brcm目录下,创建一个软链接

cd /lib/firmware/brcm
ln -s brcmfmac43455-sdio.bin brcmfmac43455-sdio.hugsun,x99.bin

再次重启,找到了这个驱动文件,但是显示attach不正常dmesg.2.log

[   10.431663] brcmfmac: F1 signature read @0x18000000=0x15264345
[   10.435418] Bluetooth: HCI UART driver ver 2.3
[   10.437872] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   10.438128] Bluetooth: HCI UART protocol H4 registered
[   10.447386] Bluetooth: HCI UART protocol BCSP registered
[   10.488616] scsi 0:0:0:0: Attached scsi generic sg0 type 5
[   10.525651] Bluetooth: HCI UART protocol LL registered
[   10.531886] Bluetooth: HCI UART protocol ATH3K registered
[   10.633631] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   10.677867] Bluetooth: HCI UART protocol Intel registered
[   10.697920] Bluetooth: HCI UART protocol Broadcom registered
[   10.741653] Bluetooth: HCI UART protocol QCA registered
[   10.747537] Bluetooth: HCI UART protocol AG6XX registered
[   10.778265] Bluetooth: HCI UART protocol Marvell registered
[   10.817793] dw-apb-uart ff180000.serial: failed to request DMA
[   10.955778] Bluetooth: hci0: BCM: failed to write clock (-56)
[   10.958334] Bluetooth: hci0: Failed to set baudrate
[   11.086057] Bluetooth: hci0: BCM: chip id 107
[   11.101404] Bluetooth: hci0: BCM: features 0x2f
[   11.130350] Bluetooth: hci0: BCM4345C0
[   11.135803] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[   11.378649] Bluetooth: hci0: BCM4345C0 'brcm/BCM4345C0.hcd' Patch
[   11.390266] systemd[1]: Finished systemd-fsck@dev-disk-by\x2duuid-6e69e05f\x2d6030\x2d45d7\x2db202\x2d6e59aa2450dd.service - File System Check on /dev/disk/by-uuid/6e69e05f-6030-45d7-b202-6e59aa2450dd.
[   11.406765] systemd[1]: boot.mount: Directory /boot to mount over is not empty, mounting anyway.
[   11.421767] sr 0:0:0:0: Power-on or device reset occurred
[   11.428210] sr 0:0:0:0: [sr0] scsi-1 drive
[   11.433760] cdrom: Uniform CD-ROM driver Revision: 3.20
[   11.442735] sr 0:0:0:0: Attached scsi CD-ROM sr0
[   11.458286] systemd[1]: Mounting boot.mount - /boot...
[   11.480438] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Quota mode: none.
[   11.492334] systemd[1]: Mounted boot.mount - /boot.
[   11.504512] systemd[1]: Reached target local-fs.target - Local File Systems.
[   11.517361] systemd[1]: Starting armbian-zram-config.service - Armbian ZRAM config...
[   11.531805] systemd[1]: Starting console-setup.service - Set console font and keymap...
[   11.546154] systemd[1]: Starting networking.service - Raise network interfaces...
[   11.562084] systemd[1]: Starting plymouth-read-write.service - Tell Plymouth To Write Out Runtime Data...
[   11.581075] systemd[1]: Starting systemd-binfmt.service - Set Up Additional Binary Formats...
[   11.587997] systemd[1]: systemd-machine-id-commit.service - Commit a transient machine-id on disk was skipped because of an unmet condition check (ConditionPathIsMountPoint=/etc/machine-id).
[   11.596184] systemd[1]: Received SIGRTMIN+20 from PID 346 (plymouthd).
[   11.615620] systemd[1]: Finished console-setup.service - Set console font and keymap.
[   11.625654] systemd[1]: Finished plymouth-read-write.service - Tell Plymouth To Write Out Runtime Data.
[   11.646354] systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 708 (systemd-binfmt)
[   11.650942] systemd[1]: Reached target bluetooth.target - Bluetooth Support.
[   11.655196] systemd[1]: Listening on systemd-rfkill.socket - Load/Save RF Kill Switch Status /dev/rfkill Watch.
[   11.690212] systemd[1]: Mounting proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System...
[   11.757149] systemd[1]: Mounted proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System.
[   11.785729] systemd[1]: Finished systemd-binfmt.service - Set Up Additional Binary Formats.
[   11.823319] zram: Added device: zram0
[   11.823919] zram: Added device: zram1
[   11.824986] zram: Added device: zram2
[   11.907067] systemd[1]: Starting systemd-rfkill.service - Load/Save RF Kill Switch Status...
[   11.945570] systemd[1]: Started systemd-rfkill.service - Load/Save RF Kill Switch Status.
[   12.000986] zram0: detected capacity change from 0 to 3961408
[   12.035956] Adding 1980700k swap on /dev/zram0.  Priority:5 extents:1 across:1980700k SSFS
[   12.088717] systemd[1]: Finished networking.service - Raise network interfaces.
[   12.210378] zram1: detected capacity change from 0 to 102400
[   12.278231] systemd[1]: Finished armbian-zram-config.service - Armbian ZRAM config.
[   12.335210] systemd[1]: Starting armbian-ramlog.service - Armbian memory supported logging...
[   12.430718] EXT4-fs (zram1): mounted filesystem without journal. Quota mode: none.
[   13.285673] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[   13.303953] ieee80211 phy0: brcmf_bus_started: failed: -110
[   13.309907] ieee80211 phy0: brcmf_attach: dongle is not responding: err=-110
[   13.342119] brcmfmac: brcmf_sdio_firmware_callback: brcmf_attach failed
[   14.397998] systemd[1]: Finished armbian-ramlog.service - Armbian memory supported logging.
[   14.458632] systemd[1]: Starting systemd-journald.service - Journal Service...
[   14.629132] systemd[1]: Started systemd-journald.service - Journal Service.
[   14.719053] systemd-journald[913]: Received client request to flush runtime journal.
[   15.590313] usbcore: registered new interface driver brcmfmac
[   15.912346] RPC: Registered named UNIX socket transport module.
[   15.912353] RPC: Registered udp transport module.
[   15.912356] RPC: Registered tcp transport module.
[   15.912359] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   18.010844] systemd-journald[913]: Received client request to relinquish /var/log/journal/98bc334cec9e404cef0c77e3659293fe access.
[   18.065889] rd 0-5: Disabling EAS, schedutil is mandatory
[   18.664317] Bluetooth: hci0: BCM: failed to write clock (-56)
[   18.782976] Bluetooth: hci0: BCM: features 0x2f
[   18.810533] Bluetooth: hci0: BCM43455 37.4MHz Raspberry Pi 3+-0190
[   18.814852] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0382
[   22.595641] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   22.613852] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[   24.141748] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[   24.149798] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[   24.159398] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode

我猜可能是配置文件不对,继续新建了一个配置文件软链接ln -s brcmfmac43455-sdio.txt brcmfmac43455-sdio.hugsun,x99.txt,好像还是有问题,不会改,命令行界面不会测试蓝牙之类的功能。不过用armbian一般也不跑桌面,也不用蓝牙,问题不大。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant