LuckfoxTECH / luckfox-pico

luckfox-pico sdk
238 stars 82 forks source link

USB port next to ethernet on Pico Ultra W not working #131

Open x-magic opened 1 week ago

x-magic commented 1 week ago

The USB port next to the ethernet port on Pico Ultra W is not functional with either buildroot or Ubuntu images. The USB gadgets through Type-C port is still working, USB network, adb, etc.

Pico Ultra W无论是buildroot还是Ubuntu,板载的USB口都检测不到设备,dmesg也没有反应,但Type-C口的功能正常。官方Google Drive里的镜像还是自己编译的(就是默认配置)都这个问题。

Seems the usbcore is initialised in the kernel, but no root hub can be found:

[root@luckfox root]$ lsusb
[root@luckfox  root]$

Boot log from UART:

DDR V1.10 ec2fae0c96 wesley.yao 22/11/15-10:58:09
S5P1
f967
F
DDRConf2
DDR3, BW=16 Col=10 Bk=8 CS0 Row=14 CS=1 Die BW=16 Size=256MB
924MHz
DDR bin out

U-Boot SPL board init
U-Boot SPL 2017.09 (Jun 20 2024 - 18:42:26)
unrecognized JEDEC id bytes: 00, 00, 00
unknown raw ID 0 0 0
Trying to boot from MMC2
Card did not respond to voltage select!
mmc_init: -95, time 16
spl: mmc init failed with error: -95
Trying to boot from MMC1
ENVF: Primary 0x00000000 - 0x00008000
ENVF: OK
Trying fit image at 0x440 sector
## Verified-boot: 0
## Checking uboot 0x00200000 (lzma @0x00400000) ... sha256(b1b296a34c...) + sha256(e5bbb79ba0...) + OK
## Checking fdt 0x0025bed0 ... sha256(51bba657c3...) + OK
Total: 309.506 ms

Jumping to U-Boot(0x00200000)

U-Boot 2017.09 (Jun 20 2024 - 18:42:26 +1000)

Model: Rockchip RV1106 EVB Board
PreSerial: 2, raw, 0xff4c0000
DRAM:  256 MiB
Sysmem: init
Relocation Offset: 0fd85000
Relocation fdt: 0edfacb0 - 0edfede0
CR: M/C/I
Using default environment

mmc@ffa90000: 0, mmc@ffaa0000: 1
ENVF: Primary 0x00000000 - 0x00008000
ENVF: OK
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: ENV
DM: v2
No misc partition
boot mode: normal
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
Model: Luckfox Pico Ultra W
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  apll 816000 KHz
  dpll 924000 KHz
  gpll 1188000 KHz
  cpll 1000000 KHz
  aclk_peri_root 400000 KHz
  hclK_peri_root 200000 KHz
  pclk_peri_root 100000 KHz
  aclk_bus_root 300000 KHz
  pclk_top_root 100000 KHz
  pclk_pmu_root 100000 KHz
  hclk_pmu_root 200000 KHz
Net:   eth0: ethernet@ffa80000
Hit key to stop autoboot('CTRL+C'):  0
## Booting FIT Image at 0xe8fd680 with size 0x002fc600
Fdt Ramdisk skip relocation
No misc partition
Sysmem Warn: kernel 'reserved-memory' "rkisp@860000"(0x00860000 - 0x012ec000) is overlap with "FDT" (0x00c00000 - 0x00c0a404)
Sysmem Warn: kernel 'reserved-memory' "rtos@40000"(0x00040000 - 0x00080000) is overlap with "KERNEL" (0x00008000 - 0x002f9a04)
Sysmem Warn: kernel 'reserved-memory' "mmc@3f000"(0x0003f000 - 0x00040000) is overlap with "KERNEL" (0x00008000 - 0x002f9a04)
Sysmem Warn: kernel 'reserved-memory' "mmc@100000"(0x00100000 - 0x00200000) is overlap with "KERNEL" (0x00008000 - 0x002f9a04)

sysmem_dump_all:
    --------------------------------------------------------------------
    memory.rgn[0].addr     = 0x00000000 - 0x10000000 (size: 0x10000000)

    memory.total           = 0x10000000 (256 MiB. 0 KiB)
    --------------------------------------------------------------------
    allocated.rgn[0].name  = "UBOOT"
                    .addr  = 0x0edfac90 - 0x10000000 (size: 0x01205370)
    allocated.rgn[1].name  = "STACK"
                    .addr  = 0x0ebfac90 - 0x0edfac90 (size: 0x00200000)
    allocated.rgn[2].name  = "FIT"
                    .addr  = 0x0e8fd680 - 0x0ebf9c84 (size: 0x002fc604)
    allocated.rgn[3].name  = "FDT"
                    .addr  = 0x00c00000 - 0x00c0a404 (size: 0x0000a404)
    allocated.rgn[4].name  = "KERNEL"
                    .addr  = 0x00008000 - 0x002f9a04 (size: 0x002f1a04)

    kmem-resv.rgn[0].name  = "rtos@40000"
                    .addr  = 0x00040000 - 0x00080000 (size: 0x00040000)
    kmem-resv.rgn[1].name  = "meta@800000"
                    .addr  = 0x00800000 - 0x00860000 (size: 0x00060000)
    kmem-resv.rgn[2].name  = "rkisp@860000"
                    .addr  = 0x00860000 - 0x012ec000 (size: 0x00a8c000)
    kmem-resv.rgn[3].name  = "ramdisk_r"
                    .addr  = 0x012ec000 - 0x01cec000 (size: 0x00a00000)
    kmem-resv.rgn[4].name  = "ramdisk_c"
                    .addr  = 0x01cec000 - 0x021ec000 (size: 0x00500000)
    kmem-resv.rgn[5].name  = "mmc@3f000"
                    .addr  = 0x0003f000 - 0x00040000 (size: 0x00001000)
    kmem-resv.rgn[6].name  = "mmc@100000"
                    .addr  = 0x00100000 - 0x00200000 (size: 0x00100000)

    framework malloc_r     =  16 MiB
    framework malloc_f     = 512 KiB

    allocated.total        = 0x0352a77c (53 MiB. 169 KiB)
    --------------------------------------------------------------------
    LMB.allocated[0].addr  = 0x00008000 - 0x002f9a04 (size: 0x002f1a04)
    LMB.allocated[1].addr  = 0x00c00000 - 0x00c0a404 (size: 0x0000a404)
    LMB.allocated[2].addr  = 0x0e8fd680 - 0x0ebf9cc0 (size: 0x002fc640)
    LMB.allocated[3].addr  = 0x0ebfac90 - 0x10000000 (size: 0x01405370)

    reserved.core.total    = 0x019fd7b8 (25 MiB. 1013 KiB)
    --------------------------------------------------------------------

## Loading kernel from FIT Image at 0e8fd680 ...
   Using 'conf' configuration
## Verified-boot: 0
   Trying 'kernel' kernel subimage
     Description:  unavailable
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x0e908280
     Data Size:    3086752 Bytes = 2.9 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x00008000
     Entry Point:  0x00008000
     Hash algo:    sha256
     Hash value:   5531eff5eb33d70e0bda0a12c415fa14b9de665e75857ac57a4631b7bc438137
   Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at 0e8fd680 ...
   Using 'conf' configuration
   Trying 'fdt' fdt subimage
     Description:  unavailable
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x0e8fde80
     Data Size:    41735 Bytes = 40.8 KiB
     Architecture: ARM
     Load Address: 0x00c00000
     Hash algo:    sha256
     Hash value:   203b19e0993d41e6b9cad080f81d5705ddfa416f9364c71b3a26e1f92ee52e51
   Verifying Hash Integrity ... sha256+ OK
   Loading fdt from 0x0e8fd680 to 0x00c00000
   Booting using the fdt blob at 0x00c00000
   Loading Kernel Image from 0x0e908280 to 0x00008000 ... OK
   kernel loaded at 0x00008000, end = 0x002f99a0
  'reserved-memory' rtos@40000: addr=40000 size=40000
  'reserved-memory' meta@800000: addr=800000 size=60000
  'reserved-memory' rkisp@860000: addr=860000 size=a8c000
  'reserved-memory' ramdisk_r: addr=12ec000 size=a00000
  'reserved-memory' ramdisk_c: addr=1cec000 size=500000
  'reserved-memory' mmc@3f000: addr=3f000 size=1000
  'reserved-memory' mmc@100000: addr=100000 size=100000
   Using Device Tree in place at 00c00000, end 00c0d306
Adding bank: 0x00000000 - 0x10000000 (size: 0x10000000)
Total: 747.406 ms

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.110 (root@BHGsPC-XPS8940) (arm-rockchip830-linux-uclibcgnueabihf-gcc (crosstool-NG 1.24.0) 8.3.0, GNU ld (crosstool-NG 1.24.0) 2.32) #1 Thu Jun 20 17:18:57 AEST 2024
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c53c7d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Luckfox Pico Ultra W
[    0.000000] Memory policy: Data cache writeback
[    0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x00000000, size 0 MiB
[    0.000000] Reserved memory: created CMA memory pool at 0x0f600000, size 10 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] cma: Reserved 67584 KiB at 0x0b400000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: user_debug=31 storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  rootwait earlycon=uart8250,mmio32,0xff4c0000 console=ttyFIQ0 snd_soc_core.prealloc_buffer_size_kbytes=16 coherent_pool=0 root=/dev/mmcblk0p7 rootfstype=ext4 rk_dma_heap_cma=66M blkdevparts=mmcblk0:32K(env),512K@32K(idblock),256K(uboot),32M(boot),512M(oem),256M(userdata),6G(rootfs)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 148732K/262144K available (3904K kernel code, 308K rwdata, 1824K rodata, 168K init, 141K bss, 35588K reserved, 77824K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x1fb/0x360 with crng_init=0
[    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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000444] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[    0.000463] pid_max: default: 4096 minimum: 301
[    0.000622] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000636] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001214] CPU: Testing write buffer coherency: ok
[    0.001658] Setting up static identity map for 0x81c0 - 0x81f8
[    0.002086] devtmpfs: initialized
[    0.009642] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.009804] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.009855] futex hash table entries: 16 (order: -5, 192 bytes, linear)
[    0.009941] pinctrl core: initialized pinctrl subsystem
[    0.010688] NET: Registered protocol family 16
[    0.011076] DMA: failed to allocate 0 KiB pool for atomic coherent allocation
[    0.011763] thermal_sys: Registered thermal governor 'step_wise'
[    0.011770] thermal_sys: Registered thermal governor 'user_space'
[    0.011995] cpuidle: using governor menu
[    0.012025] Registered FIQ tty driver
[    0.018666] OF: /acodec@ff480000: could not get #gpio-cells for /pinctrl/pcfg-pull-up
[    0.026314] rockchip-gpio ff380000.gpio: probed /pinctrl/gpio@ff380000
[    0.027016] rockchip-gpio ff530000.gpio: probed /pinctrl/gpio@ff530000
[    0.027657] rockchip-gpio ff540000.gpio: probed /pinctrl/gpio@ff540000
[    0.028418] rockchip-gpio ff550000.gpio: probed /pinctrl/gpio@ff550000
[    0.029022] rockchip-gpio ff560000.gpio: probed /pinctrl/gpio@ff560000
[    0.029114] rockchip-pinctrl pinctrl: probed pinctrl
[    0.039290] fiq_debugger fiq_debugger.0: IRQ uart_irq not found
[    0.039315] fiq_debugger fiq_debugger.0: IRQ wakeup not found
[    0.039579] printk: console [ttyFIQ0] enabled
[    0.039742] Registered fiq debugger ttyFIQ0
[    0.041740] SCSI subsystem initialized
[    0.041957] usbcore: registered new interface driver usbfs
[    0.042007] usbcore: registered new interface driver hub
[    0.042061] usbcore: registered new device driver usb
[    0.042290] mc: Linux media interface: v0.10
[    0.042334] videodev: Linux video capture interface: v2.00
[    0.043350] Advanced Linux Sound Architecture Driver Initialized.
[    0.043890] Bluetooth: Core ver 2.22
[    0.043956] NET: Registered protocol family 31
[    0.043968] Bluetooth: HCI device and connection manager initialized
[    0.043983] Bluetooth: HCI socket layer initialized
[    0.043995] Bluetooth: L2CAP socket layer initialized
[    0.044020] Bluetooth: SCO socket layer initialized
[    0.044560] rockchip-cpuinfo cpuinfo: SoC            : 11061000
[    0.044584] rockchip-cpuinfo cpuinfo: Serial         : <REDACTED>
[    0.044984] rockchip,rknpor-powergood ff000000.syscon:rknpor-powergood: probe success!
[    0.045691] clocksource: Switched to clocksource arch_sys_counter
[    0.046854] NET: Registered protocol family 2
[    0.047079] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.047585] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.047642] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.047668] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.047701] TCP: Hash tables configured (established 2048 bind 2048)
[    0.047805] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.047843] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.047971] NET: Registered protocol family 1
[    0.048398] RPC: Registered named UNIX socket transport module.
[    0.048430] RPC: Registered udp transport module.
[    0.048439] RPC: Registered tcp transport module.
[    0.048445] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.049516] Initialise system trusted keyrings
[    0.049718] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.053531] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.054259] NFS: Registering the id_resolver key type
[    0.054306] Key type id_resolver registered
[    0.054324] Key type id_legacy registered
[    0.054370] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.141957] Key type asymmetric registered
[    0.141990] Asymmetric key parser 'x509' registered
[    0.142035] io scheduler mq-deadline registered
[    0.142465] rockchip-usb2phy ff3e0000.usb2-phy: IRQ index 0 not found
[    0.145590] pwm-backlight backlight: supply power not found, using dummy regulator
[    0.148343] dma-pl330 ff420000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.148370] dma-pl330 ff420000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    0.149185] rockchip-pvtm ff240000.pvtm: pvtm@0 probed
[    0.149370] rockchip-pvtm ff390000.pvtm: pvtm@0 probed
[    0.149927] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.150631] ff4b0000.serial: ttyS1 at MMIO 0xff4b0000 (irq = 35, base_baud = 1500000) is a 16550A
[    0.153804] random: fast init done
[    0.154200] random: crng init done
[    0.155496] rockchip-drm display-subsystem: bound ff990000.vop (ops 0xb040d858)
[    0.155565] rockchip-rgb ff000000.syscon:rgb: [drm:rockchip_rgb_bind] *ERROR* failed to find panel or bridge: -517
[    0.159208] panel-simple panel: supply power not found, using dummy regulator
[    0.169677] brd: module loaded
[    0.175461] loop: module loaded
[    0.177715] rk_gmac-dwmac ffa80000.ethernet: IRQ eth_lpi not found
[    0.177955] rk_gmac-dwmac ffa80000.ethernet: PTP uses main clock
[    0.178015] rk_gmac-dwmac ffa80000.ethernet: no regulator found
[    0.178030] rk_gmac-dwmac ffa80000.ethernet: clock input or output? (input).
[    0.178040] rk_gmac-dwmac ffa80000.ethernet: Can not read property: tx_delay.
[    0.178057] rk_gmac-dwmac ffa80000.ethernet: set tx_delay to 0xffffffff
[    0.178068] rk_gmac-dwmac ffa80000.ethernet: Can not read property: rx_delay.
[    0.178077] rk_gmac-dwmac ffa80000.ethernet: set rx_delay to 0xffffffff
[    0.178159] rk_gmac-dwmac ffa80000.ethernet: integrated PHY? (yes).
[    0.178183] rk_gmac-dwmac ffa80000.ethernet: cannot get clock mac_clk_rx
[    0.178199] rk_gmac-dwmac ffa80000.ethernet: cannot get clock mac_clk_tx
[    0.178236] rk_gmac-dwmac ffa80000.ethernet: cannot get clock clk_mac_speed
[    0.178247] rk_gmac-dwmac ffa80000.ethernet: clock input from PHY
[    0.178483] rk_gmac-dwmac ffa80000.ethernet: init for RMII
[    0.178685] rk_gmac-dwmac ffa80000.ethernet: User ID: 0x30, Synopsys ID: 0x51
[    0.178718] rk_gmac-dwmac ffa80000.ethernet:         DWMAC4/5
[    0.178733] rk_gmac-dwmac ffa80000.ethernet: DMA HW capability register supported
[    0.178744] rk_gmac-dwmac ffa80000.ethernet: RX Checksum Offload Engine supported
[    0.178751] rk_gmac-dwmac ffa80000.ethernet: TX Checksum insertion supported
[    0.178761] rk_gmac-dwmac ffa80000.ethernet: Wake-Up On Lan supported
[    0.178775] rk_gmac-dwmac ffa80000.ethernet: TSO supported
[    0.178783] rk_gmac-dwmac ffa80000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    0.178791] rk_gmac-dwmac ffa80000.ethernet: TSO feature enabled
[    0.178803] rk_gmac-dwmac ffa80000.ethernet: Using 40 bits DMA width
[    0.185779] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.186160] usbcore: registered new interface driver usb-storage
[    0.186354] gadgetfs: USB Gadget filesystem, version 24 Aug 2004
[    0.186408] Mass Storage Function, version: 2009/09/11
[    0.186433] LUN: removable file: (no medium)
[    0.186472] no file given for LUN0
[    0.186517] udc ffb00000.usb: failed to start g_mass_storage: -22
[    0.188128] rockchip-rtc ff1c0000.rtc: rockchip_rtc_compensation:timeout waiting for RTC TEST STATUS : -110
[    0.188815] rockchip-rtc ff1c0000.rtc: registered as rtc0
[    0.188897] rockchip-rtc ff1c0000.rtc: setting system clock to 2024-06-20T13:01:19 UTC (1718888479)
[    0.189184] i2c /dev entries driver
[    0.190490] i2c i2c-4: 1 i2c clients have been registered at 0x30
[    0.190919] i2c i2c-4: 2 i2c clients have been registered at 0x30
[    0.192066] usbcore: registered new interface driver uvcvideo
[    0.192088] USB Video Class driver (1.1.1)
[    0.193372] rockchip-thermal ff3c8000.tsadc: tsadc is probed successfully!
[    0.193823] Bluetooth: HCI UART driver ver 2.3
[    0.193843] Bluetooth: HCI UART protocol H4 registered
[    0.195190] cpu cpu0: failed to register system monitor
[    0.195992] Synopsys Designware Multimedia Card Interface Driver
[    0.196818] dwmmc_rockchip ffa90000.mmc: IDMAC supports 32-bit address mode.
[    0.196870] dwmmc_rockchip ffa90000.mmc: Using internal DMA controller.
[    0.196887] dwmmc_rockchip ffa90000.mmc: Version ID is 270a
[    0.196930] dwmmc_rockchip ffa90000.mmc: DW MMC controller at irq 51,32 bit host data width,256 deep fifo
[    0.197317] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.198036] dwmmc_rockchip ffaa0000.mmc: IDMAC supports 32-bit address mode.
[    0.198083] dwmmc_rockchip ffaa0000.mmc: Using internal DMA controller.
[    0.198100] dwmmc_rockchip ffaa0000.mmc: Version ID is 270a
[    0.198148] dwmmc_rockchip ffaa0000.mmc: DW MMC controller at irq 52,32 bit host data width,256 deep fifo
[    0.198280] dwmmc_rockchip ffaa0000.mmc: allocated mmc-pwrseq
[    0.198305] mmc_host mmc1: card is non-removable.
[    0.199387] dtbocfg: 0.1.0
[    0.199467] dtbocfg: OK
[    0.201952] rv1106-acodec ff480000.acodec: current soc_id: rv1106
[    0.202071] rv1106-acodec ff480000.acodec: Use pa_ctl_gpio and pa_ctl_delay_ms: 0
[    0.204099] NET: Registered protocol family 17
[    0.204290] Bluetooth: RFCOMM TTY layer initialized
[    0.204322] Bluetooth: RFCOMM socket layer initialized
[    0.204364] Bluetooth: RFCOMM ver 1.11
[    0.204436] [BT_RFKILL]: Enter rfkill_rk_init
[    0.204448] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    0.204926] Key type dns_resolver registered
[    0.205879] Loading compiled-in X.509 certificates
[    0.209381] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.226623] rockchip-drm display-subsystem: bound ff990000.vop (ops 0xb040d858)
[    0.226704] rockchip-drm display-subsystem: bound ff000000.syscon:rgb (ops 0xb040e378)
[    0.227020] rockchip-drm display-subsystem: failed to parse loader memory
[    0.227116] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    0.227528] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    0.228084] [drm] Initialized rockchip 3.0.0 20140818 for display-subsystem on minor 0
[    0.228727] input: adc-keys as /devices/platform/adc-keys/input/input0
[    0.233118] mmc1: queuing unknown CIS tuple 0x10 (5 bytes)
[    0.236879] mmc_host mmc0: Bus speed (slot 0) = 24750000Hz (slot req 25000000Hz, actual 24750000HZ div = 0)
[    0.236988] mmc0: new MMC card at address 0001
[    0.237508] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    0.237633] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
[    0.237751] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
[    0.237986] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (247:0)
[    0.238503]  mmcblk0: p1(env) p2(idblock) p3(uboot) p4(boot) p5(oem) p6(userdata) p7(rootfs)
[    0.239060] mmc_host mmc1: Bus speed (slot 0) = 49500000Hz (slot req 50000000Hz, actual 49500000HZ div = 0)
[    0.239280] mmc1: queuing unknown CIS tuple 0x10 (5 bytes)
[    0.240774] mmc1: new SDIO card at address 7a8a
[    0.298427] ALSA device list:
[    0.298449]   #0: rv1106-acodec
[    0.350696] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[    0.350809] VFS: Mounted root (ext4 filesystem) readonly on device 179:7.
[    0.396635] devtmpfs: mounted
[    0.397126] Freeing unused kernel memory: 168K
[    0.397153] Kernel memory protection not selected by kernel config.
[    0.397233] Run /sbin/init as init process
[    0.414957] process '/bin/busybox' started with executable stack
[    1.021676] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
Saving 2048 bits of creditable seed for next boot
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Populating /dev using udev: [    2.542601] udevd[100]: starting version 3.2.7
[    2.555035] udevd[100]: specified group 'input' unknown
[    2.556681] udevd[100]: specified group 'kvm' unknown
[    2.610622] udevd[101]: starting eudev-3.2.7
[    3.008008] udevd[101]: specified group 'input' unknown
[    3.010000] udevd[101]: specified group 'kvm' unknown
done
resize2fs 1.46.5 (30-Dec-2021)
Filesystem at /dev/block/by-name/rootfs is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
[    5.672638] EXT4-fs (mmcblk0p7): resizing filesystem from 114879 to 1572864 blocks
[    9.398015] EXT4-fs (mmcblk0p7): resized filesystem to 1572864
The filesystem on /dev/block/by-name/rootfs is now 1572864 (4k) blocks long.

e2fsck 1.46.5 (30-Dec-2021)
/dev/block/by-name/userdata: clean, 11/4096 files, 9240/9765 blocks
[   11.713561] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[   11.713612] ext4 filesystem being mounted at /userdata supports timestamps until 2038 (0x7fffffffresize2fs 1.46.5 (30-Dec-2021)
)
Filesystem at /dev/block/by-name/userdata is mounted on /userdata; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
[   11.903307] EXT4-fs (mmcblk0p6): resizing filesystem from 9765 to 262144 blocks
[   12.462515] EXT4-fs (mmcblk0p6): resized filesystem to 262144
The filesystem on /dev/block/by-name/userdata is now 262144 (1k) blocks long.

tune2fs 1.46.5 (30-Dec-2021)
e2fsck 1.46.5 (30-Dec-2021)
/dev/block/by-name/oem: clean, 201/8192 files, 11914/11916 blocks
[   13.506027] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
resize2fs 1.46.5 (30-Dec-2021)
Filesystem at /dev/block/by-name/oem is mounted on /oem; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
[   13.535159] EXT4-fs (mmcblk0p5): resizing filesystem from 11916 to 131072 blocks
[   13.670928] EXT4-fs (mmcblk0p5): resized filesystem to 131072
The filesystem on /dev/block/by-name/oem is now 131072 (4k) blocks long.

tune2fs 1.46.5 (30-Dec-2021)
Initializing random number generator... done.
Starting system message bus: /dev/block/by-name/userdata on /userdata type ext4 (rw,relatime)
[   14.328882] rk_dvbm ffa70000.rkdvbm: probe start
[   14.328977] rk_dvbm ffa70000.rkdvbm: dvbm ctx 3e41592b
[   14.329835] rk_dvbm ffa70000.rkdvbm: probe success
[   14.425065] rkcifhw ffa10000.rkcif: no iommu attached, using non-iommu buffers
[   14.425133] rkcifhw ffa10000.rkcif: No reserved memory region assign to CIF
[   14.426738] rkcif rkcif-mipi-lvds: rkcif driver version: v00.01.0a
[   14.426869] rkcif rkcif-mipi-lvds: attach to cif hw node
[   14.426885] rkcif rkcif-mipi-lvds: failed to get dphy hw node
[   14.426896] rkcif rkcif-mipi-lvds: rkcif wait line 0
[   14.426909] : terminal subdev does not exist
[   14.426921] : terminal subdev does not exist
[   14.426928] : terminal subdev does not exist
[   14.426936] : terminal subdev does not exist
[   14.426947] : get_remote_sensor: video pad[0] is null
[   14.426955] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[   14.426966] : get_remote_sensor: video pad[0] is null
[   14.426973] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[   14.426993] : get_remote_sensor: video pad[0] is null
[   14.427001] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[   14.427010] : get_remote_sensor: video pad[0] is null
[   14.427016] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[   14.435323] rkcif rkcif-mipi-lvds: No memory-region-thunderboot specified
[   14.439928] rkcif rkcif-mipi-lvds: Entity type for entity rockchip-mipi-csi2 was not initialized!
[   14.439959] rockchip-mipi-csi2: Async registered subdev
[   14.439969] rockchip-mipi-csi2: probe success, v4l2_dev:rkcif-mipi-lvds!
[   14.534892] rkisp_hw ffa00000.rkisp: is_thunderboot: 0
[   14.534919] rkisp_hw ffa00000.rkisp: max input:0x0@0fps
[   14.534930] rkisp_hw ffa00000.rkisp: Missing rockchip,grf property
[   14.535157] rkisp_hw ffa00000.rkisp: get sram size:258048
[   14.535173] rkisp_hw ffa00000.rkisp: no iommu attached, using non-iommu buffers
[   14.535183] rkisp_hw ffa00000.rkisp: No reserved memory region. default cma area!
[   14.537191] rkisp rkisp-vir0: rkisp driver version: v02.00.00
[   14.537985] rkisp rkisp-vir0: Entity type for entity rkisp-isp-subdev was not initiadbus[176]: Unknown username "pulse" in message bus configuration filized!le

[   14.568824] rockchip-csi2-dphy-hw ff3e8000.csi2-dphy-hw: csi2 dphy hw probe successfully!
[   14.587693] rockchip-csi2-dphy csi2-dphy0: csi2 dphy0 probe successfully!
done
[   14.636796] sc4336 4-0030-1: driver version: 00.01.01
[   14.636938] sc4336 4-0030-1: Failed to get reset-gpios
[   14.636994] sc4336 4-0030-1: could not get default pinstate
[   14.637005] sc4336 4-0030-1: could not get sleep pinstate
thd: 4.637032] sc4336 4-0030-1: supply avdd not found, using Starting bluetoodummy regulator
     [   14.637716] sc4336 4-0030-1: supply dovdd not found, using dummy regulator
[   14.637795] sc4336 4-0030-1: supply dvdd not found, using dummy regulator
[   14.653070] sc4336 4-0030-1: Unexpected sensor id(000000), ret(-5)
[   14.673569] sc3336 OK
4-0030: driver version: 00.01.01
[   14.673639] sc3336 4-0030: Failed to get reset-gpios
[   14.673693] sc3336 4-0030: could not get default pinstate
[   14.673702] sc3336 4-0030: could not get sleep pinstate
[   14.673727] sc3336 4-0030: supply avdd not found, using dummy regulator
[   14.674509] sc3336 4-0030: supply dovdd not found, using dummy regulator
[   14.674593] sc3336 4-0030: supply dvdd not found, using dummy regulator
[   14.689428] sc3336 4-0030: Unexpected sensor id(000000), ret(-5)
Starting network: [   14.756017] sc530ai 4-0030-2: driver version: 00.01.01
[   14.756164] sc530ai 4-0030-2: lane_num = 2
[   14.756249] sc530ai 4-0030-2: Failed to get reset-gpios
[   14.756367] sc530ai 4-0030-2: could not get default pinstate
[   14.756387] sc530ai 4-0030-2: could not get sleep pinstate
[   14.756428] sc530ai 4-0030-2: supply avdd not found, using dummy regulator
[   14.757360] sc530ai 4-0030-2: supply dovdd not found, using dummy regulator
[   14.757557] sc530ai 4-0030-2: supply dvdd not found, using dummy regulator
[   14.762545] sc530ai 4-0030-2: Unexpected sensor id(000000), ret(-5)
[   14.764747] rkcif rkcif-mipi-lvds: clear unready subdev num: 3
[   14.764775] rockchip-csi2-dphy0: No link between dphy and sensor
[   14.766352] rockchip-csi2-dphy0: No link between dphy and sensor
[   14.766413] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[   14.766427] rkcif-mipi-lvds: Async subdev notifier completed
[   14.766435] rockchip-csi2-dphy0: No link between dphy and sensor
[   14.766453] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[   14.766462] rkcif-mipi-lvds: There is not terminal subdev, not synchronized with ISP
[   14.766508] rockchip-csi2-dphy0: No link between dphy and sensor
[   14.766529] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[   14.766538] rkcif-mipi-lvds: There is not terminal subdev, not synchronized with ISP
[   14.767162] rkisp rkisp-vir0: clear unready subdev num: 1
[   14.767666] rkisp-vir0: Async subdev notifier completed
[   14.876599] rga: rga2, irq = 38, match scheduler
[   14.877097] rga: rga2 hardware loaded successfully, hw_version:3.3.87975.
[   14.877122] rga: rga2 probe successfully
[   14.877939] rga_iommu: IOMMU binding successfully, default mapping core[0x4]
[   14.878815] rga: Module initialized. v1.2.23
[   15.071734] mpp_vcodec: loading out-of-tree module taints kernel.
[   15.092065] mpp_vcodec: init new
[   15.092275] mpp_service mpp-srv: 3760314f author: Zhihua Wang 2023-01-12 [vcodec]: check chan create when destroy
[   15.092292] mpp_service mpp-srv: probe start
[   15.094264] mpp_rkvenc_540c ffa50000.rkvenc: probing start
[   15.095097] mpp_rkvenc_540c ffa50000.rkvenc: probing finish
[   15.095611] mpp_vepu_pp ffa60000.rkvenc-pp: probe device
[   15.095775] mpp_vepu_pp ffa60000.rkvenc-pp: shared_rst_a_pp is not found!
[   15.095791] vepu_pp_init:528: No aclk reset resource define
[   15.095799] mpp_vepu_pp ffa60000.rkvenc-pp: shared_rst_h_pp is not found!
[   15.095806] vepu_pp_init:531: No hclk reset resource define
[   15.097615] mpp_vepu_pp ffa60000.rkvenc-pp: probing finish
[   15.097912] mpp_service mpp-srv: probe success
[   15.207914] RKNPU ff660000.npu: RKNPU: rknpu iommu device-tree entry not found!, using non-iommu mode
[   15.208838] RKNPU ff660000.npu: RKNPU: Initialized RKNPU driver: v0.8.2 for 20220829
[   15.208941] RKNPU ff660000.npu: dev_pm_opp_set_regulators: no regulator (rknpu) found: -19
OK
Starting ntpd: rmmod: can't unload module 'sc530ai': No such file or directory
[   15.664223] rockit_load start
/
ln: failed to create symbolic link '/usr/www/userdata': No such file or directory
ln: failed to create symbolic link '/usr/www/usb0': No such file or directory
ln: failed to create symbolic link '/usr/www/sdcard': No such file or directory
grep: warning: stray \ before /
cat: '/sys/bus/usb/devices/*/uevent': No such file or directory
grep: warning: stray \ before /
cat: '/sys/bus/usb/devices/*/uevent': No such file or directory
grep: warning: stray \ before :
md5sum: /tmp/rkipc-factory-config.ini: No such file or directory
md5sum: /tmp/rkipc-factory-config.ini: No such file or directory
Error: not found rkipc.ini !!!
/oem/usr/bin/RkLunch.sh: exit: line 110: Illegal number: -1
[   15.791909] rockit_load end
[   16.233216] rk_gmac-dwmac ffa80000.ethernet eth0: PHY [stmmac-0:02] driver [RK630 PHY] (irq=POLL)
[   16.233689] dwmac4: Master AXI performs any burst length
[   16.233726] rk_gmac-dwmac ffa80000.ethernet eth0: No Safety Features support found
[   16.233746] rk_gmac-dwmac ffa80000.ethernet eth0: PTP not supported by HW
[   16.234056] rk_gmac-dwmac ffa80000.ethernet eth0: configuring for phy/rmii link mode
[   16.237858] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   16.300133] udevd[297]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video0': No such file or directory
[   16.301482] udevd[298]: failed to execute '/lib/udev/vudhcpc: started,4l_id' 'v4l_id /dev/video6': No such file or directory
[   16.316552] udevd[300]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video1': No such file or directory
[   16.320954] udevd[303]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video7': No such file or directory
[   16. v1.36.1
322114] udevd[299]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video3': No such file or directory
[   16.323886] udevd[296]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video2': No such file or directory
[   16.328070] udevd[304]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video8': No such file or directory
[   16.346032] udevd[305]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video4': No such file or directory
[   16.347888] udevd[306]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video5': No such file or directory
[   16.353282] udevd[308]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video9': No such file or directory
[   16.390595] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   16.390756] platfOK
orm regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   16.390773] cfg80211: failed to load regulatory.db
insmod: can't insert 'libaes.ko': No such file or directory
udhcpc: broadcasting discover
[   16.756734] aicbsp_init
[   16.756760] RELEASE_DATE:2023_1219_3cf85031
[   16.756771] aicbsp_resv_mem_init
[   17.119025] aicbsp: aicbsp_set_subsys, subsys: AIC_WIFI, state to: 1
[   17.119093] aicbsp: aicbsp_set_subsys, power state change to 1 dure to AIC_WIFI
[   17.119102] aicbsp: aicbsp_platform_power_on
[   17.119333] func_num = 1
[   17.121303] VID:c8a1 DID:C18D
[   17.123880] aicbsp: aicbsp_platform_power_on Get semaphore ...
[   17.123898] aicbsp: aicbsp_platform_power_on Get semaphore success
[   17.144374] aicbsp: aicbsp_sdio_probe:1 vid:0xC8A1  did:0xC08D
[   17.144501] aicbsp: aicbsp_sdio_probe:2 vid:0xC8A1  did:0xC18D
[   17.144514] aicbsp: aicbsp_sdio_probe after replace:1
[   17.144524] AICWFDBG(LOGINFO)        aicwf_sdio_chipmatch USE AIC8800DC
[   17.144530] the device is PRODUCT_ID_AIC8800DC
[   17.144538] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 10 MHz
[   17.144546] aicbsp: aicwf_sdio_reg_init
[   17.144777] mmc_host mmc1: Bus speed (slot 0) = 9900000Hz (slot req 10000000Hz, actual 9900000HZ div = 0)
[   17.144794] aicbsp: Set SDIO Clock 10 MHz
[   17.151467] AICWFDBG(LOGINFO)        btenable = 1
[   17.151490] AICWFDBG(LOGINFO)        aicbsp: aicbsp_driver_fw_init, chip rev: 7
[   17.151506] rwnx_load_firmware :firmware path = /oem/usr/ko/aic8800dc_fw/fw_patch_table_8800dc_u02.bin
[   17.227444] file md5:82e06ssh-keygen: generating new host keabe5635a5fys: RSA b4220a43c1b02e12d
[   17.227627] rwnx_plat_bin_fw_upload_android
[   17.227651] rwnx_load_firmware :firmware path = /oem/usr/ko/aic8800dc_fw/fw_adid_8800dc_u02.bin
[   17.229922] file md5:95d10e6288e4d3413c0e3508cb9d711a
[   17.235526] rwnx_plat_bin_fw_upload_android
[   17.235554] rwnx_load_firmware :firmware path = /oem/usr/ko/aic8800dc_fw/fw_patch_8800dc_u02.bin
[   17.243357] file md5:eafad2bf13af789f064ca2363cd99639
[   17.276039] aicbt_patch_table_load bt btmode[1]:1
[   17.276062] aicbt_patch_table_load bt uart_baud[1]:115200
[   17.276070] aicbt_patch_table_load bt uart_flowctrl[1]:1
[   17.276078] aicbt_patch_table_load bt lpm_enable[1]:0
[   17.276085] aicbt_patch_table_load bt tx_pwr[1]:28463
[   17.286457] aicbsp: bt patch version: - Dec 19 2023 12:17:17 - git 7ed06a6
[   17.286558] ############ aicwifi_init begin
[   17.287344] AICWFDBG(LOGINFO)        chip_id=7, chip_sub_id=1!!
[   17.287735] AICWFDBG(LOGDEBUG)       [0x40500010]=6
[   17.296944] ############ system_config_8800dc done
[   17.296964] AICWFDBG(LOGTRACE)       >>> rwnx_plat_patch_load()
[   17.296973] AICWFDBG(LOGINFO)        testmode=0
[   17.296981] AICWFDBG(LOGINFO)        rwnx_plat_patch_loading
[   17.296987] u02 is loaing ###############
[   17.296994] rwnx_plat_bin_fw_upload_android
[   17.297006] rwnx_load_firmware :firmware path = /oem/usr/ko/aic8800dc_fw/fmacfw_patch_8800dc_u02.bin
[   17.308836] file md5:990dc8bafe2a5b687340781a8e1097d7
[   17.328441] AICWFDBG(LOGINFO)        dpd calib & write
[   17.328472] aicwf_dpd_calib_8800dc
[   17.328892] AICWFDBG(LOGERROR)       misc_ram_addr=120ebc
[   17.331096] AICWFDBG(LOGTRACE)       bit_mask:a81acf07,4b5e5509,805fdf5,f597a353
[   17.331115] rwnx_plat_bin_fw_upload_android
[   17.331126] rwnx_load_firmware :firmware path = /oem/usr/ko/aic8800dc_fw/fmacfw_calib_8800dc_u02.bin
[   17.351414] file md5:ce762bb296e3e45f4405d7cd5ff2961a
[   17.376642] AICWFDBG(LOGINFO)        Start app: 00130009, 4
[   17.623992] ############ rwnx_plat_patch_load done
[   17.625543] AICWFDBG(LOGINFO)        wifisetting_cfg_addr=11019c, ldpc_cfg_addr=120980, agc_cfg_addr=120180, txgain_cfg_addr=120000
[   17.631377] ### Upload fmacfw_patch_tbl_8800dc_u02.bin
[   17.631401] rwnx_load_firmware :firmware path = /oem/usr/ko/aic8800dc_fw/fmacfw_patch_tbl_8800dc_u02.bin
[   17.633361] file md5:0de84344e8d8df79b1e7286d2cd6355e
[   17.633381] tbl size = 728
[   17.633391] AICWFDBG(LOGINFO)        FMACFW_PATCH_TBL_8800DC_U02_DESCRIBE_BASE = 187c00
[   17.634083] mi Dec 19 2023 12:34:22 - g31c7979
[   17.634092] patch_tbl:  110888  180e05
[   17.634502] patch_tbl:  1108ec  184a79
[   17.634888] patch_tbl:  110874  180e5d
[   17.635276] patch_tbl:  110658  1816ed
[   17.635671] patch_tbl:  1107dc  18177d
[   17.637010] patch_tbl:  1107e0  181a9d
[   17.637425] patch_tbl:  110838  181b01
[   17.637819] patch_tbl:  110490  183425
[   17.638209] patch_tbl:  110420  1826d1
[   17.638588] patch_tbl:  11048c  1827ed
[   17.638964] patch_tbl:  110688  182891
[   17.640072] patch_tbl:  110738  1832cd
[   17.640493] patch_tbl:  110554  183479
[   17.640881] patch_tbl:  110798  183afd
[   17.641260] patch_tbl:  1106dc  183519
[   17.641649] patch_tbl:  110584  183571
[   17.642038] patch_tbl:  110588  183749
[   17.643198] patch_tbl:  110634  185631
[   17.643652] patch_tbl:  110638  185811
[   17.644065] patch_tbl:  11086c  185a29
[   17.644454] patch_tbl:  1105fc  185a85
[   17.644832] patch_tbl:  1105f0  18643d
[   17.645214] patch_tbl:  110860  185799
[   17.645601] patch_tbl:  11081c  1851a1
[   17.646782] patch_tbl:  1105a4  185d31
[   17.647221] patch_tbl:  1105c8  185e01
[   17.647614] patch_tbl:  11064c  1861ad
[   17.647995] patch_tbl:  110810  185601
[   17.648376] patch_tbl:  1108c4  183fed
[   17.648755] patch_tbl:  1108c8  183bf5
[   17.649797] patch_tbl:  110628  184169
[   17.650242] patch_tbl:  110758  1867ed
[   17.650649] patch_tbl:  110750  186c41
[   17.651046] patch_tbl:  11085c  186f11
[   17.651427] patch_tbl:  110518  186f51
[   17.651808] patch_tbl:  1105e0  181c39
[   17.652187] patch_tbl:  1107d8  183b75
[   17.653407] patch_tbl:  1103d0  186fb1
[   17.653836] patch_tbl:  1106c8  18758d
[   17.654225] patch_tbl:  11056c  187559
[   17.654608] patch_tbl:  110510  187665
[   17.654988] patch_tbl:  110550  187701
[   17.655384] patch_tbl:  110054  1816ed
[   17.656496] patch_tbl:  11005c  1816ed
[   17.656932] patch_tbl:  110048  183425
[   17.657334] patch_tbl:  110088  1859d5
[   17.657725] patch_tbl:  110ef0  185b89
[   17.658102] patch_tbl:  110ec0  1865a5
[   17.658491] patch_tbl:  110da0  1865cd
[   17.658876] patch_tbl:  110dc0  186789
[   17.660093] patch_tbl:  110e28  18671d
[   17.660516] patch_tbl:  1100e0  1866c9
[   17.660902] patch_tbl:  110d90  186ced
[   17.661288] patch_tbl:  110e18  186525
[   17.661679] patch_tbl:  110bb4  1823a5
[   17.662067] patch_tbl:  1109c0  181d01
[   17.663173] patch_tbl:  110f08  1826b1
[   17.663605] patch_tbl:  110b1c  183b01
[   17.664002] patch_tbl:  110b24  183b01
[   17.664445] patch_tbl:  110b5c  1829a5
[   17.664898] patch_tbl:  110b64  1829a5
[   17.665336] patch_tbl:  110b6c  1829a5
[   17.666558] patch_tbl:  110b74  1829a5
[   17.667020] patch_tbl:  110b7c  1829a5
[   17.667442] patch_tbl:  110b8c  1829a5
[   17.667854] patch_tbl:  110ac0  184e51
[   17.668273] patch_tbl:  110aa0  183a91
[   17.668671] patch_tbl:  110aa8  183ae1
[   17.669855] patch_tbl:  110a60  1874ad
[   17.670309] patch_tbl:  110e20  187521
[   17.670750] patch_tbl:  40030084  187c80
[   17.671158] patch_tbl:  40030000  2778c
[   17.671581] patch_tbl:  187c80  47706008
[   17.671982] patch_tbl:  40030080  1
[   17.673166] patch_tbl:  4010001c  0
[   17.673648] ############ aicwf_patch_config_8800dc done
[   17.673664] AICWFDBG(LOGINFO)        Read FW mem: 00120000
[   17.674111] AICWFDBG(LOGINFO)        cfm: [00120000] = 00ffd780
[   17.674124] AICWFDBG(LOGINFO)        Start app: 00120000, 5
[   17.678769] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 10 MHz
[   17.678789] aicsdio: aicwf_sdio_reg_init
[   17.686974] aicbsp: aicbsp_resv_mem_alloc_skb, alloc resv_mem_txdata succuss, id: 0, size: 98304
[   17.692004] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 10 MHz
[   17.694177] AICWFDBG(LOGINFO)        aicwf_prealloc_txq_alloc size is diff will to be kzalloc
[   17.694218] AICWFDBG(LOGINFO)        aicwf_prealloc_txq_alloc txq kzalloc successful
[   17.709041] aicbsp: sdio_err:<aicwf_sdio_bus_pwrctl,1392>: bus down
[   17.921453] ieee80211 phy0: HT supp 1, VHT supp 1, HE supp 1
[   17.924291] ieee80211 phy0:
[   17.924291] *******************************************************
[   17.924291] ** CAUTION: USING PERMISSIVE CUSTOM REGULATORY RULES **
[   17.924291] *******************************************************
udhcpc: broadcasting discover
[   20.003991] aic_bluetooth_mod_init
[   20.004388] -->rfkill_bluetooth_init
[   20.007634] <--rfkill_bluetooth_init
ECDSA udhcpc: broadcasting discover
ED25519
Starting sshd: OK
Starting telnetd: OK
/etc/init.d/S50usbdevice: line 144: can't open : no such file
Debug: configfs_init
[   23.346157] file system registered
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/mtp.gs0': No such file or directory
[   23.392908] using random self ethernet address
[   23.392943] using random host ethernet address
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/acm.gs6': No such file or directory
[   23.428196] Mass Storage Function, version: 2009/09/11
[   23.428299] LUN: removable file: (no medium)
[   23.788401] read descriptors
[   23.788530] read strings
[   24.581235] usb0: HOST MAC <REDACTED>
[   24.581259] usb0: MAC <REDACTED>
[   24.691129] dwc3 ffb00000.usb: device reset
[   24.808695] android_work: sent uevent USB_STATE=CONNECTED
[   24.858912] android_work: sent uevent USB_STATE=CONFIGURED
current_ip =
TARGET_IP = 172.32.0.93
luckfox : set usb0 ip

luckfox : set usb0 ip

luckfox : set usb0 ip

luckfox : set usb0 ip

luckfox : set usb0 ip

luckfox : set usb0 ip

luckfox : set usb0 ip

luckfox : set usb0 ip

luckfox : set usb0 ip

luckfox : set usb0 ip

usb0 config error
Starting SMB services: OK
Starting NMB services: OK
[   38.536536] of_dma_request_slave_channel: dma-names property of node '/serial@ff4b0000' missing or empty
[   38.536678] dw-apb-uart ff4b0000.serial:Device setup complete
 failed to request DMA, use interrupt mode
/root/main.py and /root/boot.py not exist ,pass...
OK

Welcome to Luckfox Pico
luckfox login: udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
luckfox-eng33 commented 1 week ago

应该在wiki中有描述,A口和C口是共用一个USB的,中间没有hub(hub无法做主从切换) 当USB-C口有供电,则USB会切换到USB-C上 如果USB-C口没有供电,则USB回切换到USB-A上面(主要配合POE模块或者外部供电模块一起使用)

x-magic commented 1 week ago

应该在wiki中有描述,A口和C口是共用一个USB的,中间没有hub(hub无法做主从切换) 当USB-C口有供电,则USB会切换到USB-C上 如果USB-C口没有供电,则USB回切换到USB-A上面(主要配合POE模块或者外部供电模块一起使用)

如果是指Wiki这篇文章的话(英文版也是),确实无法联想到你指出的这个问题,因为文档里除了概述页,Ultra相关的资料基本上是没有的。其他型号的Pico并没有两个物理的USB口,所以我就想当然的认为两个口可以共用。我试试单独供电,谢谢

这个板子和我之前接触的大多数SBC真的太不一样了(更像个MCU)

luckfox-eng33 commented 1 week ago

应该在wiki中有描述,A口和C口是共用一个USB的,中间没有hub(hub无法做主从切换) 当USB-C口有供电,则USB会切换到USB-C上 如果USB-C口没有供电,则USB回切换到USB-A上面(主要配合POE模块或者外部供电模块一起使用)

如果是指Wiki这篇文章的话(英文版也是),确实无法联想到你指出的这个问题,因为文档里除了概述页,Ultra相关的资料基本上是没有的。其他型号的Pico并没有两个物理的USB口,所以我就想当然的认为两个口可以共用。我试试单独供电,谢谢

这个板子和我之前接触的大多数SBC真的太不一样了(更像个MCU)

应该参考Ultra的wiki

x-magic commented 1 week ago

应该在wiki中有描述,A口和C口是共用一个USB的,中间没有hub(hub无法做主从切换) 当USB-C口有供电,则USB会切换到USB-C上 如果USB-C口没有供电,则USB回切换到USB-A上面(主要配合POE模块或者外部供电模块一起使用)

如果是指Wiki这篇文章的话(英文版也是),确实无法联想到你指出的这个问题,因为文档里除了概述页,Ultra相关的资料基本上是没有的。其他型号的Pico并没有两个物理的USB口,所以我就想当然的认为两个口可以共用。我试试单独供电,谢谢 这个板子和我之前接触的大多数SBC真的太不一样了(更像个MCU)

应该参考Ultra的wiki

是不是Wiki更新了?我记得今天上午还不是这样的🤦

luckfox-eng33 commented 1 week ago

应该在wiki中有描述,A口和C口是共用一个USB的,中间没有hub(hub无法做主从切换) 当USB-C口有供电,则USB会切换到USB-C上 如果USB-C口没有供电,则USB回切换到USB-A上面(主要配合POE模块或者外部供电模块一起使用)

如果是指Wiki这篇文章的话(英文版也是),确实无法联想到你指出的这个问题,因为文档里除了概述页,Ultra相关的资料基本上是没有的。其他型号的Pico并没有两个物理的USB口,所以我就想当然的认为两个口可以共用。我试试单独供电,谢谢 这个板子和我之前接触的大多数SBC真的太不一样了(更像个MCU)

应该参考Ultra的wiki

是不是Wiki更新了?我记得今天上午还不是这样的🤦

可能有?十一点的时候看是已经这样样子了 最近wiki可能会持续更新,如果发现有不合理的地方,我们就会修改.

x-magic commented 1 week ago

是不是Wiki更新了?我记得今天上午还不是这样的🤦

可能有?十一点的时候看是已经这样样子了 最近wiki可能会持续更新,如果发现有不合理的地方,我们就会修改.

👍 也就是说,我将USB设置为host模式的话,USB A口就应该可以用了吧?peripheral模式和otg模式的区别是什么?是和USB gadget或adb有关吗?谢谢

luckfox-eng33 commented 1 week ago

是不是Wiki更新了?我记得今天上午还不是这样的🤦

可能有?十一点的时候看是已经这样样子了 最近wiki可能会持续更新,如果发现有不合理的地方,我们就会修改.

👍 也就是说,我将USB设置为host模式的话,USB A口就应该可以用了吧?peripheral模式和otg模式的区别是什么?是和USB gadget或adb有关吗?谢谢

根据你要连接的设备,host代表作为主机,用来读取或者驱动设备,具体可以看下usb的几个角色维基百科 adb通常是peripheral才能使用

x-magic commented 1 week ago

是不是Wiki更新了?我记得今天上午还不是这样的🤦

可能有?十一点的时候看是已经这样样子了 最近wiki可能会持续更新,如果发现有不合理的地方,我们就会修改.

👍 也就是说,我将USB设置为host模式的话,USB A口就应该可以用了吧?peripheral模式和otg模式的区别是什么?是和USB gadget或adb有关吗?谢谢

根据你要连接的设备,host代表作为主机,用来读取或者驱动设备,具体可以看下usb的几个角色维基百科 adb通常是peripheral才能使用

明白了 如果只有host和peripheral模式我还能理解,otg在列表里搞得我有点懵

x-magic commented 1 week ago

应该在wiki中有描述,A口和C口是共用一个USB的,中间没有hub(hub无法做主从切换) 当USB-C口有供电,则USB会切换到USB-C上 如果USB-C口没有供电,则USB回切换到USB-A上面(主要配合POE模块或者外部供电模块一起使用)

还真的是USB-C口什么都不能插,供电都不行,否则A口没反应🫠