Difference between revisions of "User:Lth/BPIR2 OTG"

From Stm32World Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
 +
== Debian System ==
 +
 +
Working with [https://github.com/lbthomsen/BPI-R2-KERNEL this kernel].
 +
 +
The [https://github.com/lbthomsen/BPI-R2-KERNEL/blob/bpi-r2-openwrt/arch/arm/configs/mt7623n_evb_fwu_defconfig default config] contains:
 +
 +
<pre>
 +
#OTG
 +
CONFIG_USB_OTG=y
 +
CONFIG_USB_CONN_GPIO=y
 +
CONFIG_USB_MUSB_HDRC=y
 +
CONFIG_USB_MUSB_MEDIATEK=y
 +
CONFIG_NOP_USB_XCEIV=y
 +
CONFIG_USB_CONFIGFS=y
 +
#CONFIG_USB_CONFIGFS_MASS_STORAGE=y
 +
#CONFIG_PHY_MTK_TPHY=y
 +
CONFIG_USB_GADGET=y
 +
CONFIG_USB_MUSB_DUAL_ROLE=y
 +
CONFIG_USB_INVENTRA_DMA=y
 +
#some gadget-drivers
 +
#CONFIG_USB_G_SERIAL=y
 +
#CONFIG_USB_MASS_STORAGE=y
 +
#CONFIG_USB_ETH=y
 +
 +
CONFIG_USB_LIBCOMPOSITE=y
 +
CONFIG_USB_U_SERIAL=y
 +
CONFIG_USB_U_ETHER=y
 +
CONFIG_USB_F_SERIAL=y
 +
CONFIG_USB_F_ECM=y
 +
CONFIG_USB_F_MASS_STORAGE=y
 +
CONFIG_USB_F_HID=y
 +
CONFIG_USB_CONFIGFS=y
 +
CONFIG_USB_CONFIGFS_SERIAL=y
 +
# CONFIG_USB_CONFIGFS_ACM is not set
 +
# CONFIG_USB_CONFIGFS_OBEX is not set
 +
# CONFIG_USB_CONFIGFS_NCM is not set
 +
CONFIG_USB_CONFIGFS_ECM=y
 +
# CONFIG_USB_CONFIGFS_ECM_SUBSET is not set
 +
# CONFIG_USB_CONFIGFS_RNDIS is not set
 +
# CONFIG_USB_CONFIGFS_EEM is not set
 +
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
 +
# CONFIG_USB_CONFIGFS_F_LB_SS is not set
 +
# CONFIG_USB_CONFIGFS_F_FS is not set
 +
# CONFIG_USB_CONFIGFS_F_UAC1 is not set
 +
# CONFIG_USB_CONFIGFS_F_UAC1_LEGACY is not set
 +
# CONFIG_USB_CONFIGFS_F_UAC2 is not set
 +
# CONFIG_USB_CONFIGFS_F_MIDI is not set
 +
CONFIG_USB_CONFIGFS_F_HID=y
 +
# CONFIG_USB_CONFIGFS_F_UVC is not set
 +
# CONFIG_USB_CONFIGFS_F_PRINTER is not set
 +
</pre>
 +
 +
<pre>
 +
root@bpi-r2:/sys/devices/platform# ls -ls
 +
total 0
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10000000.syscon
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10001000.syscon
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10003000.syscon
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10005000.syscfg
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10006000.power-controller
 +
0 drwxr-xr-x 5 root root    0 Mar 20 19:55  10007000.watchdog
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10008000.timer
 +
0 drwxr-xr-x 5 root root    0 Mar 20 19:55  1000b000.pinctrl
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1000c000.smi
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  1000d000.pwrap
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  10010000.dsi-phy
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10012000.cec
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  10013000.cir
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  10205000.mmsys_iommu
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  10206000.efuse
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10209000.syscon
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  10209100.hdmi-phy
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1020f000.rng
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  11000780.btif_tx
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  11000800.btif_rx
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11001000.adc
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11002000.serial
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11003000.serial
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11004000.serial
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11006000.pwm
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11007000.i2c
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11008000.i2c
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  1100a000.spi
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1100b000.thermal
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1100c000.serial
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11013000.i2c
 +
0 drwxr-xr-x 6 root root    0 Mar 20 19:55  11200000.usb
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11210000.t-phy
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  11220000.clock-controller
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11230000.mmc
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11240000.mmc
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  13000000.syscon
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  13040000.gpu
 +
0 drwxr-xr-x 5 root root    0 Mar 20 19:55  14000000.syscon
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  14007000.ovl
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  14008000.rdma
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  14009000.wdma
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1400a000.pwm
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1400b000.color
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1400e000.mutex
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  14010000.larb
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  14012000.rdma
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  14014000.dpi
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  14015000.hdmi
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  15000000.syscon
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  15001000.larb
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  15004000.jpegdec
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  16000000.syscon
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  16010000.larb
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  18070000.consys
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  180f0000.wifi
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1a000000.syscon
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  1a140000.pcie
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  1a149000.t-phy
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  1a14a000.t-phy
 +
0 drwxr-xr-x 6 root root    0 Mar 20 19:55  1a1c0000.usb
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  1a1c4000.t-phy
 +
0 drwxr-xr-x 6 root root    0 Mar 20 19:55  1a240000.usb
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  1a244000.t-phy
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1b000000.syscon
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1b007000.dma-controller
 +
0 drwxr-xr-x 5 root root    0 Mar 20 19:55  1b100000.ethernet
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1b240000.crypto
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1c000000.syscon
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  connector
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55 'Fixed MDIO bus.0'
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  fixedregulator@0
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  gpio-keys
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  leds
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  mtk-cpufreq
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  pmu
 +
0 drwxr-xr-x 2 root root    0 Jun  9 06:33  power
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  reg-dummy
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  regulator-1p8v
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  regulator-3p3v
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  regulator-5v
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  regulatory.0
 +
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  serial8250
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  snd-soc-dummy
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  timer
 +
0 -rw-r--r-- 1 root root 4096 Mar 20 19:55  uevent
 +
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  usb_phy_generic.3.auto
 +
</pre>
 +
 +
=== dmesg ===
 +
<pre>
 +
root@bpi-r2:~# dmesg
 +
[    0.000000] Booting Linux on physical CPU 0x0
 +
[    0.000000] Linux version 5.15.41-bpi-r2bpi-r2-openwrt (lth@ncpws04) (arm-linux-gnueabihf-gcc (Debian 11.3.0-3) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38) #5 SMP Tue Jun 7 09:24:33 +08 2022
 +
[    0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
 +
[    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: Bananapi BPI-R2
 +
[    0.000000] printk: bootconsole [earlycon0] enabled
 +
[    0.000000] Memory policy: Data cache writealloc
 +
[    0.000000] [WMT-CONSYS-HW][W]reserve_memory_consys_fn: name: consys-reserve-memory, base: 0xffe00000, size: 0x100000
 +
[    0.000000] OF: reserved mem: initialized node consys-reserve-memory, compatible id mediatek,consys-reserve-memory
 +
[    0.000000] cma: Reserved 64 MiB at 0xfb800000
 +
[    0.000000] Zone ranges:
 +
[    0.000000]  Normal  [mem 0x0000000080000000-0x000000009fffffff]
 +
[    0.000000]  HighMem  [mem 0x00000000a0000000-0x00000000ffffefff]
 +
[    0.000000] Movable zone start for each node
 +
[    0.000000] Early memory node ranges
 +
[    0.000000]  node  0: [mem 0x0000000080000000-0x00000000ffdfffff]
 +
[    0.000000]  node  0: [mem 0x00000000ffe00000-0x00000000ffefffff]
 +
[    0.000000]  node  0: [mem 0x00000000fff00000-0x00000000ffffefff]
 +
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffefff]
 +
[    0.000000] percpu: Embedded 16 pages/cpu s36044 r8192 d21300 u65536
 +
[    0.000000] pcpu-alloc: s36044 r8192 d21300 u65536 alloc=16*4096
 +
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
 +
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 523135
 +
[    0.000000] Kernel command line: board=bpi-r2 earlyprintk console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait vmalloc=496M debug=7 initcall_debug=0 video=1920x1080 console=tty1 fbcon=map:0 drm.debug=0x7
 +
[    0.000000] Unknown kernel command line parameters "board=bpi-r2", will be passed to user space.
 +
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
 +
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
 +
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
 +
[    0.000000] Memory: 1989724K/2097148K available (13312K kernel code, 1569K rwdata, 4504K rodata, 1024K init, 563K bss, 41888K reserved, 65536K cma-reserved, 1506300K highmem)
 +
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
 +
[    0.000000] ftrace: allocating 43504 entries in 128 pages
 +
[    0.000000] ftrace: allocated 128 pages with 1 groups
 +
[    0.000000] trace event string verifier disabled
 +
[    0.000000] rcu: Hierarchical RCU implementation.
 +
[    0.000000] rcu:    RCU event tracing is enabled.
 +
[    0.000000] rcu:    RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
 +
[    0.000000]  Rude variant of Tasks RCU enabled.
 +
[    0.000000]  Tracing variant of Tasks RCU enabled.
 +
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
 +
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
 +
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
 +
[    0.000000] random: get_random_bytes called from start_kernel+0x4a4/0x678 with crng_init=0
 +
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
 +
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
 +
[    0.000001] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
 +
[    0.008062] Switching to timer-based delay loop, resolution 76ns
 +
[    0.014278] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 147020034397 ns
 +
[    0.023571] sched_clock: 32 bits at 13MHz, resolution 76ns, wraps every 165191050201ns
 +
[    0.032103] Console: colour dummy device 80x30
 +
[    0.036587] printk: console [tty1] enabled
 +
[    0.040715] printk: bootconsole [earlycon0] disabled
 +
[    0.045773] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
 +
[    0.045808] pid_max: default: 32768 minimum: 301
 +
[    0.046038] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
 +
[    0.046073] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
 +
[    0.047032] CPU: Testing write buffer coherency: ok
 +
[    0.047405] CPU0: update cpu_capacity 1024
 +
[    0.047436] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
 +
[    0.048321] Setting up static identity map for 0x80100000 - 0x80100060
 +
[    0.048481] rcu: Hierarchical SRCU implementation.
 +
[    0.049584] smp: Bringing up secondary CPUs ...
 +
[    0.050214] CPU1: update cpu_capacity 1024
 +
[    0.050229] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
 +
[    0.050973] CPU2: update cpu_capacity 1024
 +
[    0.050989] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
 +
[    0.051676] CPU3: update cpu_capacity 1024
 +
[    0.051692] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
 +
[    0.051823] smp: Brought up 1 node, 4 CPUs
 +
[    0.051906] SMP: Total of 4 processors activated (104.00 BogoMIPS).
 +
[    0.051925] CPU: All CPU(s) started in SVC mode.
 +
[    0.052688] devtmpfs: initialized
 +
[    0.060867] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3
 +
[    0.061238] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
 +
[    0.061289] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
 +
[    0.063821] pinctrl core: initialized pinctrl subsystem
 +
[    0.064965] NET: Registered PF_NETLINK/PF_ROUTE protocol family
 +
[    0.067473] DMA: preallocated 256 KiB pool for atomic coherent allocations
 +
[    0.068796] thermal_sys: Registered thermal governor 'step_wise'
 +
[    0.069193] No ATAGs?
 +
[    0.069396] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
 +
[    0.069433] hw-breakpoint: maximum watchpoint size is 8 bytes.
 +
[    0.143197] gpiochip_find_base: found new base at 232
 +
[    0.143814] gpio gpiochip0: (1000b000.pinctrl): added GPIO chardev (254:0)
 +
[    0.143963] gpio gpiochip0: registered GPIOs 232 to 511 on 1000b000.pinctrl
 +
[    0.143998] gpio gpiochip0: (1000b000.pinctrl): created GPIO range 0->279 ==> 1000b000.pinctrl PIN 0->279
 +
[    0.179304] platform 14015000.hdmi: Fixing up cyclic dependency with 14014000.dpi
 +
[    0.181392] platform connector: Fixing up cyclic dependency with 14015000.hdmi
 +
[    0.366455] raid6: neonx8  gen()  678 MB/s
 +
[    0.536591] raid6: neonx8  xor()  551 MB/s
 +
[    0.706740] raid6: neonx4  gen()  935 MB/s
 +
[    0.876858] raid6: neonx4  xor()  711 MB/s
 +
[    1.047013] raid6: neonx2  gen()  944 MB/s
 +
[    1.217155] raid6: neonx2  xor()  692 MB/s
 +
[    1.387304] raid6: neonx1  gen()  773 MB/s
 +
[    1.557453] raid6: neonx1  xor()  568 MB/s
 +
[    1.727669] raid6: int32x8  gen()  244 MB/s
 +
[    1.897775] raid6: int32x8  xor()  151 MB/s
 +
[    2.067963] raid6: int32x4  gen()  253 MB/s
 +
[    2.238059] raid6: int32x4  xor()  163 MB/s
 +
[    2.408287] raid6: int32x2  gen()  307 MB/s
 +
[    2.578393] raid6: int32x2  xor()  185 MB/s
 +
[    2.748561] raid6: int32x1  gen()  324 MB/s
 +
[    2.918671] raid6: int32x1  xor()  180 MB/s
 +
[    2.918692] raid6: using algorithm neonx2 gen() 944 MB/s
 +
[    2.918709] raid6: .... xor() 692 MB/s, rmw enabled
 +
[    2.918726] raid6: using neon recovery algorithm
 +
[    2.919349] reg-fixed-voltage regulator-1p8v: GPIO lookup for consumer (null)
 +
[    2.919391] reg-fixed-voltage regulator-1p8v: using device tree for GPIO lookup
 +
[    2.919426] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-1p8v[0]'
 +
[    2.919477] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-1p8v[0]'
 +
[    2.919516] reg-fixed-voltage regulator-1p8v: using lookup tables for GPIO lookup
 +
[    2.919542] reg-fixed-voltage regulator-1p8v: No GPIO consumer (null) found
 +
[    2.919912] reg-fixed-voltage regulator-3p3v: GPIO lookup for consumer (null)
 +
[    2.919947] reg-fixed-voltage regulator-3p3v: using device tree for GPIO lookup
 +
[    2.919980] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-3p3v[0]'
 +
[    2.920023] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-3p3v[0]'
 +
[    2.920060] reg-fixed-voltage regulator-3p3v: using lookup tables for GPIO lookup
 +
[    2.920085] reg-fixed-voltage regulator-3p3v: No GPIO consumer (null) found
 +
[    2.920428] reg-fixed-voltage regulator-5v: GPIO lookup for consumer (null)
 +
[    2.920459] reg-fixed-voltage regulator-5v: using device tree for GPIO lookup
 +
[    2.920490] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-5v[0]'
 +
[    2.920534] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-5v[0]'
 +
[    2.920570] reg-fixed-voltage regulator-5v: using lookup tables for GPIO lookup
 +
[    2.920595] reg-fixed-voltage regulator-5v: No GPIO consumer (null) found
 +
[    2.920887] reg-fixed-voltage fixedregulator@0: GPIO lookup for consumer (null)
 +
[    2.920919] reg-fixed-voltage fixedregulator@0: using device tree for GPIO lookup
 +
[    2.920951] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator@0[0]'
 +
[    2.920994] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
 +
[    2.921031] reg-fixed-voltage fixedregulator@0: using lookup tables for GPIO lookup
 +
[    2.921056] reg-fixed-voltage fixedregulator@0: No GPIO consumer (null) found
 +
[    2.921327] iommu: Default domain type: Translated
 +
[    2.921353] iommu: DMA domain TLB invalidation policy: strict mode
 +
[    2.921578] vgaarb: loaded
 +
[    2.922103] SCSI subsystem initialized
 +
[    2.922385] libata version 3.00 loaded.
 +
[    2.922642] usbcore: registered new interface driver usbfs
 +
[    2.922712] usbcore: registered new interface driver hub
 +
[    2.922797] usbcore: registered new device driver usb
 +
[    2.923130] mc: Linux media interface: v0.10
 +
[    2.923196] videodev: Linux video capture interface: v2.00
 +
[    2.923290] pps_core: LinuxPPS API ver. 1 registered
 +
[    2.923310] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
 +
[    2.923350] PTP clock support registered
 +
[    2.924151] mediatek,efuse 10206000.efuse: GPIO lookup for consumer wp
 +
[    2.924196] mediatek,efuse 10206000.efuse: using device tree for GPIO lookup
 +
[    2.924229] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/efuse@10206000[0]'
 +
[    2.924281] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/efuse@10206000[0]'
 +
[    2.924322] mediatek,efuse 10206000.efuse: using lookup tables for GPIO lookup
 +
[    2.924347] mediatek,efuse 10206000.efuse: No GPIO consumer wp found
 +
[    2.924818] Advanced Linux Sound Architecture Driver Initialized.
 +
[    2.925642] Bluetooth: Core ver 2.22
 +
[    2.925728] NET: Registered PF_BLUETOOTH protocol family
 +
[    2.925749] Bluetooth: HCI device and connection manager initialized
 +
[    2.925776] Bluetooth: HCI socket layer initialized
 +
[    2.925797] Bluetooth: L2CAP socket layer initialized
 +
[    2.925830] Bluetooth: SCO socket layer initialized
 +
[    2.926545] clocksource: Switched to clocksource arch_sys_counter
 +
[    3.005895] NET: Registered PF_INET protocol family
 +
[    3.006086] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
 +
[    3.006954] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
 +
[    3.007038] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
 +
[    3.007102] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
 +
[    3.007178] TCP: Hash tables configured (established 4096 bind 4096)
 +
[    3.007316] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
 +
[    3.007376] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
 +
[    3.007603] NET: Registered PF_UNIX/PF_LOCAL protocol family
 +
[    3.017278] RPC: Registered named UNIX socket transport module.
 +
[    3.017326] RPC: Registered udp transport module.
 +
[    3.017343] RPC: Registered tcp transport module.
 +
[    3.017359] RPC: Registered tcp NFSv4.1 backchannel transport module.
 +
[    3.017383] PCI: CLS 0 bytes, default 64
 +
[    4.070278] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
 +
[    4.072179] Initialise system trusted keyrings
 +
[    4.072482] workingset: timestamp_bits=14 max_order=19 bucket_order=5
 +
[    4.080465] NFS: Registering the id_resolver key type
 +
[    4.080547] Key type id_resolver registered
 +
[    4.080567] Key type id_legacy registered
 +
[    4.080686] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
 +
[    4.080718] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
 +
[    4.171415] xor: measuring software checksum speed
 +
[    4.181213]    arm4regs        :  1014 MB/sec
 +
[    4.193047]    8regs          :  835 MB/sec
 +
[    4.203384]    32regs          :  954 MB/sec
 +
[    4.210410]    neon            :  1407 MB/sec
 +
[    4.210430] xor: using function: neon (1407 MB/sec)
 +
[    4.210453] async_tx: api initialized (async)
 +
[    4.210474] Key type asymmetric registered
 +
[    4.210491] Asymmetric key parser 'x509' registered
 +
[    4.210650] bounce: pool size: 64 pages
 +
[    4.210732] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
 +
[    4.210763] io scheduler mq-deadline registered
 +
[    4.210781] io scheduler kyber registered
 +
[    4.214410] mediatek-hdmi-phy 10209100.hdmi-phy: Using default TX DRV impedance: 4.2k/36
 +
[    4.215779] mediatek-mipi-tx 10010000.dsi-phy: can't get nvmem_cell_get, ignore it
 +
[    4.282510] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
 +
[    4.284637] printk: console [ttyS0] disabled
 +
[    4.284694] mt6577-uart 11004000.serial: GPIO lookup for consumer rs485-term
 +
[    4.284720] mt6577-uart 11004000.serial: using device tree for GPIO lookup
 +
[    4.284752] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/serial@11004000[0]'
 +
[    4.284805] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/serial@11004000[0]'
 +
[    4.284848] mt6577-uart 11004000.serial: using lookup tables for GPIO lookup
 +
[    4.284871] mt6577-uart 11004000.serial: No GPIO consumer rs485-term found
 +
[    4.305102] 11004000.serial: ttyS0 at MMIO 0x11004000 (irq = 207, base_baud = 1625000) is a ST16650V2
 +
[    5.571902] printk: console [ttyS0] enabled
 +
[    5.577265] mt6577-uart 11002000.serial: GPIO lookup for consumer rs485-term
 +
[    5.584343] mt6577-uart 11002000.serial: using device tree for GPIO lookup
 +
[    5.591291] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/serial@11002000[0]'
 +
[    5.601113] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/serial@11002000[0]'
 +
[    5.610811] mt6577-uart 11002000.serial: using lookup tables for GPIO lookup
 +
[    5.617884] mt6577-uart 11002000.serial: No GPIO consumer rs485-term found
 +
[    5.644912] 11002000.serial: ttyS1 at MMIO 0x11002000 (irq = 208, base_baud = 1625000) is a ST16650V2
 +
[    5.655258] mt6577-uart 11003000.serial: GPIO lookup for consumer rs485-term
 +
[    5.662391] mt6577-uart 11003000.serial: using device tree for GPIO lookup
 +
[    5.669324] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/serial@11003000[0]'
 +
[    5.679118] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/serial@11003000[0]'
 +
[    5.688814] mt6577-uart 11003000.serial: using lookup tables for GPIO lookup
 +
[    5.695871] mt6577-uart 11003000.serial: No GPIO consumer rs485-term found
 +
[    5.722915] 11003000.serial: ttyS2 at MMIO 0x11003000 (irq = 209, base_baud = 1625000) is a ST16650V2
 +
[    5.733576] mtk_rng 1020f000.rng: registered RNG driver
 +
[    5.733723] random: fast init done
 +
[    5.739904] platform 15004000.jpegdec: Adding to iommu group 0
 +
[    5.742520] random: crng init done
 +
[    5.748361] platform 14007000.ovl: Adding to iommu group 1
 +
[    5.757286] platform 14008000.rdma: Adding to iommu group 2
 +
[    5.763006] platform 14009000.wdma: Adding to iommu group 3
 +
[    5.768782] platform 14012000.rdma: Adding to iommu group 4
 +
[    5.778204] [drm:drm_core_init] Initialized
 +
[    5.787985] mediatek-drm mediatek-drm.1.auto: Adding component match for /ovl@14007000
 +
[    5.796039] mediatek-drm mediatek-drm.1.auto: Adding component match for /rdma@14008000
 +
[    5.804268] mediatek-drm mediatek-drm.1.auto: Adding component match for /color@1400b000
 +
[    5.812538] mediatek-drm mediatek-drm.1.auto: Adding component match for /rdma@14012000
 +
[    5.820658] mediatek-drm mediatek-drm.1.auto: Adding component match for /dpi@14014000
 +
[    5.831497] [drm] hdmi-audio-codec driver bound to HDMI
 +
[    5.845541] loop: module loaded
 +
[    5.848965] [WMT-DETECT][I]wmt_detect_driver_init:driver(major 154) installed success
 +
[    5.856882] [SDIO-DETECT][I]sdio_detect_init:sdio_register_driver() ret=0
 +
[    5.863866] MTK-BTIF[E]hal_btif_clk_get_and_prepare(284):[CCF]clk_btif=c9901674
 +
[    5.871244] MTK-BTIF[E]hal_btif_clk_get_and_prepare(290):[CCF]clk_btif_apdma=bcba51f7
 +
[    5.881872] mt6323-regulator mt6323-regulator: Chip ID = 0x2023
 +
[    5.899059] mdio_bus fixed-0: GPIO lookup for consumer reset
 +
[    5.904756] mdio_bus fixed-0: using lookup tables for GPIO lookup
 +
[    5.910915] mdio_bus fixed-0: No GPIO consumer reset found
 +
[    5.939647] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/ethernet@1b100000/mac@0/fixed-link[0]'
 +
[    5.950606] of_get_named_gpiod_flags: can't parse 'link-gpio' property of node '/ethernet@1b100000/mac@0/fixed-link[0]'
 +
[    5.961498] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/ethernet@1b100000/mac@1/fixed-link[0]'
 +
[    5.972426] of_get_named_gpiod_flags: can't parse 'link-gpio' property of node '/ethernet@1b100000/mac@1/fixed-link[0]'
 +
[    5.983977] mdio_bus mdio-bus: GPIO lookup for consumer reset
 +
[    5.989786] mdio_bus mdio-bus: using device tree for GPIO lookup
 +
[    5.995810] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ethernet@1b100000/mdio-bus[0]'
 +
[    6.006122] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ethernet@1b100000/mdio-bus[0]'
 +
[    6.016338] mdio_bus mdio-bus: using lookup tables for GPIO lookup
 +
[    6.022538] mdio_bus mdio-bus: No GPIO consumer reset found
 +
[    6.028931] mt7530 mdio-bus:00: GPIO lookup for consumer reset
 +
[    6.034787] mt7530 mdio-bus:00: using device tree for GPIO lookup
 +
[    6.040979] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ethernet@1b100000/mdio-bus/switch@0[0]' - status (0)
 +
[    6.052812] gpio gpiochip0: Persistence not supported for GPIO 33
 +
[    6.060364] mtk_soc_eth 1b100000.ethernet: generated random MAC address 46:60:51:82:42:4b
 +
[    6.069193] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xe0ce0000, irq 226
 +
[    6.077807] mtk_soc_eth 1b100000.ethernet: generated random MAC address 8a:89:42:c6:9a:c3
 +
[    6.086448] mtk_soc_eth 1b100000.ethernet eth1: mediatek frame engine at 0xe0ce0000, irq 226
 +
[    6.096999] xhci-mtk 1a1c0000.usb: xHCI Host Controller
 +
[    6.102283] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 1
 +
[    6.113592] xhci-mtk 1a1c0000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010
 +
[    6.122819] xhci-mtk 1a1c0000.usb: irq 223, io mem 0x1a1c0000
 +
[    6.129727] hub 1-0:1.0: USB hub found
 +
[    6.133566] hub 1-0:1.0: 1 port detected
 +
[    6.138048] xhci-mtk 1a1c0000.usb: xHCI Host Controller
 +
[    6.143305] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 2
 +
[    6.150764] xhci-mtk 1a1c0000.usb: Host supports USB 3.0 SuperSpeed
 +
[    6.157158] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
 +
[    6.166053] hub 2-0:1.0: USB hub found
 +
[    6.170060] hub 2-0:1.0: 1 port detected
 +
[    6.175534] xhci-mtk 1a240000.usb: xHCI Host Controller
 +
[    6.180878] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 3
 +
[    6.192138] xhci-mtk 1a240000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010
 +
[    6.201352] xhci-mtk 1a240000.usb: irq 224, io mem 0x1a240000
 +
[    6.208242] hub 3-0:1.0: USB hub found
 +
[    6.212082] hub 3-0:1.0: 1 port detected
 +
[    6.216474] xhci-mtk 1a240000.usb: xHCI Host Controller
 +
[    6.221794] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 4
 +
[    6.229241] xhci-mtk 1a240000.usb: Host supports USB 3.0 SuperSpeed
 +
[    6.235624] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
 +
[    6.244673] hub 4-0:1.0: USB hub found
 +
[    6.248553] hub 4-0:1.0: 1 port detected
 +
[    6.253352] usbcore: registered new interface driver usb-storage
 +
[    6.260450] usb-conn-gpio 11200000.usb:connector: GPIO lookup for consumer id
 +
[    6.267647] usb-conn-gpio 11200000.usb:connector: using device tree for GPIO lookup
 +
[    6.275341] of_get_named_gpiod_flags: parsed 'id-gpios' property of node '/usb@11200000/connector[0]' - status (0)
 +
[    6.285782] gpio gpiochip0: Persistence not supported for GPIO 44
 +
[    6.291912] usb-conn-gpio 11200000.usb:connector: GPIO lookup for consumer vbus
 +
[    6.299252] usb-conn-gpio 11200000.usb:connector: using device tree for GPIO lookup
 +
[    6.306939] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/usb@11200000/connector[0]'
 +
[    6.316827] of_get_named_gpiod_flags: can't parse 'vbus-gpio' property of node '/usb@11200000/connector[0]'
 +
[    6.326615] usb-conn-gpio 11200000.usb:connector: using lookup tables for GPIO lookup
 +
[    6.334456] usb-conn-gpio 11200000.usb:connector: No GPIO consumer vbus found
 +
[    6.341658] usb-conn-gpio 11200000.usb:connector: supply vbus not found, using dummy regulator
 +
[    6.351243] usb_phy_generic usb_phy_generic.3.auto: GPIO lookup for consumer reset
 +
[    6.358920] usb_phy_generic usb_phy_generic.3.auto: using lookup tables for GPIO lookup
 +
[    6.366976] usb_phy_generic usb_phy_generic.3.auto: No GPIO consumer reset found
 +
[    6.374385] usb_phy_generic usb_phy_generic.3.auto: GPIO lookup for consumer vbus-detect
 +
[    6.382498] usb_phy_generic usb_phy_generic.3.auto: using lookup tables for GPIO lookup
 +
[    6.390528] usb_phy_generic usb_phy_generic.3.auto: No GPIO consumer vbus-detect found
 +
[    6.398500] usb_phy_generic usb_phy_generic.3.auto: supply vcc not found, using dummy regulator
 +
[    6.407428] usb_phy_generic usb_phy_generic.3.auto: dummy supplies not allowed for exclusive requests
 +
[    6.417659] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
 +
[    6.423449] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 5
 +
[    6.432203] hub 5-0:1.0: USB hub found
 +
[    6.436028] hub 5-0:1.0: 1 port detected
 +
[    6.441734] mousedev: PS/2 mouse device common for all mice
 +
[    6.449132] mt6397-rtc mt6323-rtc: registered as rtc0
 +
[    6.454257] mt6397-rtc mt6323-rtc: setting system clock to 2022-06-21T02:28:21 UTC (1655778501)
 +
[    6.465280] Registered IR keymap rc-empty
 +
[    6.469499] rc rc0: mtk_cir as /devices/platform/10013000.cir/rc/rc0
 +
[    6.476263] rc rc0: lirc_dev: driver mtk_cir registered at minor = 0, raw IR receiver, no transmitter
 +
[    6.485706] input: mtk_cir as /devices/platform/10013000.cir/rc/rc0/input0
 +
[    6.493122] mtk_cir 10013000.cir: Initialized MT7623 IR driver, sample period = 46us
 +
[    6.502026] mtk-jpeg 15004000.jpegdec: mtk-jpeg-dec device registered as /dev/video0 (81,0)
 +
[    6.511222] mtk-thermal 1100b000.thermal: Device not calibrated, using default calibration values
 +
[    6.521937] mtk-wdt 10007000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
 +
[    6.531087] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
 +
[    6.540040] device-mapper: multipath round-robin: version 1.2.0 loaded
 +
[    6.546634] device-mapper: multipath queue-length: version 0.2.0 loaded
 +
[    6.553255] device-mapper: multipath service-time: version 0.3.0 loaded
 +
[    6.559946] device-mapper: raid: Loading target version 1.15.1
 +
[    6.566404] cpu cpu0: dummy supplies not allowed for exclusive requests
 +
[    6.576147] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/blue[0]' - status (0)
 +
[    6.576237] mtk-msdc 11240000.mmc: GPIO lookup for consumer cd
 +
[    6.585260] gpio gpiochip0: Persistence not supported for GPIO 240
 +
[    6.591092] mtk-msdc 11240000.mmc: using device tree for GPIO lookup
 +
[    6.597285] gpio-472 (?): no flags found for gpios
 +
[    6.603655] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/mmc@11240000[0]' - status (0)
 +
[    6.608591] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/green[0]' - status (0)
 +
[    6.609367] mtk-msdc 11230000.mmc: GPIO lookup for consumer wp
 +
[    6.609381] mtk-msdc 11230000.mmc: using device tree for GPIO lookup
 +
[    6.609396] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/mmc@11230000[0]'
 +
[    6.609423] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/mmc@11230000[0]'
 +
[    6.609445] mtk-msdc 11230000.mmc: using lookup tables for GPIO lookup
 +
[    6.609453] mtk-msdc 11230000.mmc: No GPIO consumer wp found
 +
[    6.617995] gpio gpiochip0: Persistence not supported for GPIO 261
 +
[    6.627071] gpio gpiochip0: Persistence not supported for GPIO 241
 +
[    6.632900] mtk-msdc 11240000.mmc: Got CD GPIO
 +
[    6.639253] gpio-473 (?): no flags found for gpios
 +
[    6.648056] mtk-msdc 11240000.mmc: GPIO lookup for consumer wp
 +
[    6.656921] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/red[0]' - status (0)
 +
[    6.663290] mtk-msdc 11240000.mmc: using device tree for GPIO lookup
 +
[    6.668990] gpio gpiochip0: Persistence not supported for GPIO 239
 +
[    6.675155] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/mmc@11240000[0]'
 +
[    6.681352] gpio-471 (?): no flags found for gpios
 +
[    6.685803] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/mmc@11240000[0]'
 +
[    6.692630] hid: raw HID events driver (C) Jiri Kosina
 +
[    6.696438] mtk-msdc 11240000.mmc: using lookup tables for GPIO lookup
 +
[    6.705517] usbcore: registered new interface driver usbhid
 +
[    6.711721] mtk-msdc 11240000.mmc: No GPIO consumer wp found
 +
[    6.717914] usbhid: USB HID core driver
 +
[    6.719953] mtk-iommu-v1 10205000.mmsys_iommu: bound 14010000.larb (ops mtk_smi_larb_component_ops)
 +
[    6.776114] mtk-iommu-v1 10205000.mmsys_iommu: bound 16010000.larb (ops mtk_smi_larb_component_ops)
 +
[    6.785209] mtk-iommu-v1 10205000.mmsys_iommu: bound 15001000.larb (ops mtk_smi_larb_component_ops)
 +
[    6.798515] NET: Registered PF_INET6 protocol family
 +
[    6.805067] Segment Routing with IPv6
 +
[    6.808887] In-situ OAM (IOAM) with IPv6
 +
[    6.812904] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
 +
[    6.819566] NET: Registered PF_PACKET protocol family
 +
[    6.825317] NET: Registered PF_KCM protocol family
 +
[    6.830383] 8021q: 802.1Q VLAN Support v1.8
 +
[    6.834927] ThumbEE CPU extension supported.
 +
[    6.839250] Registering SWP/SWPB emulation handler
 +
[    6.844495] Loading compiled-in X.509 certificates
 +
[    6.861920] mmc0: host does not support reading read-only switch, assuming write-enable
 +
[    6.870526] mmc0: new SDHC card at address 0001
 +
[    6.875975] mtk-pcie 1a140000.pcie: host bridge /pcie@1a140000 ranges:
 +
[    6.882627] mtk-pcie 1a140000.pcie:      IO 0x001a160000..0x001a16ffff -> 0x001a160000
 +
[    6.890700] mtk-pcie 1a140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
 +
[    6.892105] mmc1: new high speed MMC card at address 0001
 +
[    6.900303] mmcblk0: mmc0:0001 SD16G 14.6 GiB
 +
[    6.905500] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
 +
[    6.916159]  mmcblk0: p1 p2
 +
[    6.916360]  mmcblk1: p1 p2 p3
 +
[    6.923541] mmcblk1boot0: mmc1:0001 8GTF4R 4.00 MiB
 +
[    6.931612] mmcblk1boot1: mmc1:0001 8GTF4R 4.00 MiB
 +
[    6.939075] mmcblk1rpmb: mmc1:0001 8GTF4R 512 KiB, chardev (242:0)
 +
[    6.948329] mtk-pcie 1a140000.pcie: PCI host bridge to bus 0000:00
 +
[    6.954533] pci_bus 0000:00: root bus resource [bus 00-ff]
 +
[    6.960086] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x1a160000-0x1a16ffff])
 +
[    6.969602] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
 +
[    6.976546] pci 0000:00:00.0: [14c3:0801] type 01 class 0x060400
 +
[    6.982585] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
 +
[    6.988962] pci 0000:00:00.0: supports D1
 +
[    6.992981] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
 +
[    6.999212] pci 0000:00:01.0: [14c3:0801] type 01 class 0x060400
 +
[    7.005260] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
 +
[    7.011639] pci 0000:00:01.0: supports D1
 +
[    7.015659] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
 +
[    7.024286] PCI: bus0: Fast back to back transfers disabled
 +
[    7.029929] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
 +
[    7.037994] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
 +
[    7.046221] pci 0000:01:00.0: [168c:0034] type 00 class 0x028000
 +
[    7.052301] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0007ffff 64bit]
 +
[    7.059161] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
 +
[    7.065983] pci 0000:01:00.0: supports D1
 +
[    7.070021] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
 +
[    7.099260] PCI: bus1: Fast back to back transfers disabled
 +
[    7.104861] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
 +
[    7.111770] pci 0000:02:00.0: [1b21:0611] type 00 class 0x010185
 +
[    7.117849] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
 +
[    7.124909] pci 0000:02:00.0: reg 0x10: [io  size 0x0008]
 +
[    7.130341] pci 0000:02:00.0: reg 0x14: initial BAR value 0x00000000 invalid
 +
[    7.137413] pci 0000:02:00.0: reg 0x14: [io  size 0x0004]
 +
[    7.142827] pci 0000:02:00.0: reg 0x18: initial BAR value 0x00000000 invalid
 +
[    7.149895] pci 0000:02:00.0: reg 0x18: [io  size 0x0008]
 +
[    7.155310] pci 0000:02:00.0: reg 0x1c: initial BAR value 0x00000000 invalid
 +
[    7.162381] pci 0000:02:00.0: reg 0x1c: [io  size 0x0004]
 +
[    7.167811] pci 0000:02:00.0: reg 0x20: initial BAR value 0x00000000 invalid
 +
[    7.174867] pci 0000:02:00.0: reg 0x20: [io  size 0x0010]
 +
[    7.180294] pci 0000:02:00.0: reg 0x24: [mem 0x00000000-0x000001ff]
 +
[    7.186591] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
 +
[    7.219254] PCI: bus2: Fast back to back transfers disabled
 +
[    7.224856] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
 +
[    7.231568] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
 +
[    7.238393] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
 +
[    7.245632] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
 +
[    7.252445] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
 +
[    7.259696] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
 +
[    7.266499] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
 +
[    7.273314] pci 0000:00:01.0: BAR 7: assigned [io  0x1000-0x1fff]
 +
[    7.279441] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x6007ffff 64bit]
 +
[    7.286793] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
 +
[    7.294031] pci 0000:00:00.0: PCI bridge to [bus 01]
 +
[    7.299018] pci 0000:00:00.0:  bridge window [mem 0x60000000-0x600fffff]
 +
[    7.305817] pci 0000:00:00.0:  bridge window [mem 0x60100000-0x601fffff pref]
 +
[    7.313071] pci 0000:02:00.0: BAR 6: assigned [mem 0x60300000-0x6030ffff pref]
 +
[    7.320323] pci 0000:02:00.0: BAR 5: assigned [mem 0x60200000-0x602001ff]
 +
[    7.327150] pci 0000:02:00.0: BAR 4: assigned [io  0x1000-0x100f]
 +
[    7.333256] pci 0000:02:00.0: BAR 0: assigned [io  0x1010-0x1017]
 +
[    7.339387] pci 0000:02:00.0: BAR 2: assigned [io  0x1018-0x101f]
 +
[    7.345498] pci 0000:02:00.0: BAR 1: assigned [io  0x1020-0x1023]
 +
[    7.351622] pci 0000:02:00.0: BAR 3: assigned [io  0x1024-0x1027]
 +
[    7.357744] pci 0000:00:01.0: PCI bridge to [bus 02]
 +
[    7.362716] pci 0000:00:01.0:  bridge window [io  0x1000-0x1fff]
 +
[    7.368831] pci 0000:00:01.0:  bridge window [mem 0x60200000-0x602fffff]
 +
[    7.375629] pci 0000:00:01.0:  bridge window [mem 0x60300000-0x603fffff pref]
 +
[    7.383102] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
 +
[    7.389490] pcieport 0000:00:00.0: PME: Signaling with IRQ 259
 +
[    7.395683] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
 +
[    7.402023] pcieport 0000:00:01.0: PME: Signaling with IRQ 253
 +
[    7.408339] ahci 0000:02:00.0: version 3.0
 +
[    7.412465] ahci 0000:02:00.0: enabling device (0140 -> 0143)
 +
[    7.418378] ahci 0000:02:00.0: SSS flag set, parallel bus scan disabled
 +
[    7.425051] ahci 0000:02:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl IDE mode
 +
[    7.433105] ahci 0000:02:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs
 +
[    7.443590] scsi host0: ahci
 +
[    7.447315] scsi host1: ahci
 +
[    7.450514] ata1: SATA max UDMA/133 abar m512@0x60200000 port 0x60200100 irq 253
 +
[    7.458002] ata2: SATA max UDMA/133 abar m512@0x60200000 port 0x60200180 irq 253
 +
[    7.465988] mediatek-dpi 14014000.dpi: Found bridge node: /hdmi@14015000
 +
[    7.473044] mediatek-drm mediatek-drm.1.auto: bound 14007000.ovl (ops mtk_disp_ovl_component_ops)
 +
[    7.482005] mediatek-drm mediatek-drm.1.auto: bound 14008000.rdma (ops mtk_disp_rdma_component_ops)
 +
[    7.491096] mediatek-drm mediatek-drm.1.auto: bound 1400b000.color (ops mtk_disp_color_component_ops)
 +
[    7.500352] mediatek-drm mediatek-drm.1.auto: bound 14012000.rdma (ops mtk_disp_rdma_component_ops)
 +
[    7.509467] [drm:drm_connector_init] cmdline mode for connector HDMI-A-1  1920x1080@60Hz
 +
[    7.517607] mediatek-drm mediatek-drm.1.auto: bound 14014000.dpi (ops mtk_dpi_component_ops)
 +
[    7.526141] mediatek-drm mediatek-drm.1.auto: Not creating crtc 1 because component 9 is disabled or missing
 +
[    7.536444] [drm:drm_minor_register]
 +
[    7.540173] [drm:drm_minor_register]
 +
[    7.544208] [drm:drm_minor_register] new minor registered 0
 +
[    7.549986] [drm:drm_sysfs_connector_add] adding "HDMI-A-1" to sysfs
 +
[    7.556398] [drm:drm_sysfs_hotplug_event] generating hotplug event
 +
[    7.562630] [drm] Initialized mediatek 1.0.0 20150513 for mediatek-drm.1.auto on minor 0
 +
[    7.570761] [drm:drm_client_modeset_probe]
 +
[    7.574959] [drm:drm_mode_object_get] OBJ ID: 32 (2)
 +
[    7.579962] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1]
 +
[    7.587483] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1] status updated from unknown to disconnected
 +
[    7.598833] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1] disconnected
 +
[    7.607487] [drm:drm_client_modeset_probe] No connectors reported connected with modes
 +
[    7.615417] [drm:drm_client_modeset_probe] connector 32 enabled? no
 +
[    7.621714] [drm:drm_client_firmware_config.constprop.0] Not using firmware configuration
 +
[    7.629922] [drm:drm_client_modeset_probe] picking CRTCs for 4096x4096 config
 +
[    7.637087] [drm:drm_mode_object_put.part.0] OBJ ID: 32 (2)
 +
[    7.642679] mediatek-drm mediatek-drm.1.auto: [drm:drm_fb_helper_single_fb_probe] test CRTC 0 primary plane
 +
[    7.652456] mediatek-drm mediatek-drm.1.auto: [drm] Cannot find any crtc or sizes
 +
[    7.660618] mt7530 mdio-bus:00: GPIO lookup for consumer reset
 +
[    7.666477] mt7530 mdio-bus:00: using device tree for GPIO lookup
 +
[    7.672632] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ethernet@1b100000/mdio-bus/switch@0[0]' - status (0)
 +
[    7.684460] gpio gpiochip0: Persistence not supported for GPIO 33
 +
[    7.690667] [drm:drm_sysfs_hotplug_event] generating hotplug event
 +
[    7.696968] [drm:drm_client_modeset_probe]
 +
[    7.701182] [drm:drm_mode_object_get] OBJ ID: 32 (2)
 +
[    7.706175] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1]
 +
[    7.713706] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1] disconnected
 +
[    7.722361] [drm:drm_client_modeset_probe] No connectors reported connected with modes
 +
[    7.730306] [drm:drm_client_modeset_probe] connector 32 enabled? no
 +
[    7.736610] [drm:drm_client_firmware_config.constprop.0] Not using firmware configuration
 +
[    7.744808] [drm:drm_client_modeset_probe] picking CRTCs for 4096x4096 config
 +
[    7.751972] [drm:drm_mode_object_put.part.0] OBJ ID: 32 (2)
 +
[    7.757585] mediatek-drm mediatek-drm.1.auto: [drm:drm_fb_helper_single_fb_probe] test CRTC 0 primary plane
 +
[    7.762084] mt7530 mdio-bus:00: no interrupt support
 +
[    7.767377] mediatek-drm mediatek-drm.1.auto: [drm] Cannot find any crtc or sizes
 +
[    7.772766] mdio_bus mt7530-0: GPIO lookup for consumer reset
 +
[    7.779841] mediatek-drm mediatek-drm.1.auto: [drm:drm_client_dev_hotplug] fbdev: ret=0
 +
[    7.785586] mdio_bus mt7530-0: using lookup tables for GPIO lookup
 +
[    7.799832] mdio_bus mt7530-0: No GPIO consumer reset found
 +
[    7.806002] mdio_bus mt7530-0:00: GPIO lookup for consumer reset
 +
[    7.812067] mdio_bus mt7530-0:00: using lookup tables for GPIO lookup
 +
[    7.818534] mdio_bus mt7530-0:00: No GPIO consumer reset found
 +
[    7.825149] mdio_bus mt7530-0:01: GPIO lookup for consumer reset
 +
[    7.831222] mdio_bus mt7530-0:01: using lookup tables for GPIO lookup
 +
[    7.837694] mdio_bus mt7530-0:01: No GPIO consumer reset found
 +
[    7.844286] mdio_bus mt7530-0:02: GPIO lookup for consumer reset
 +
[    7.850363] mdio_bus mt7530-0:02: using lookup tables for GPIO lookup
 +
[    7.856836] mdio_bus mt7530-0:02: No GPIO consumer reset found
 +
[    7.863445] mdio_bus mt7530-0:03: GPIO lookup for consumer reset
 +
[    7.869511] mdio_bus mt7530-0:03: using lookup tables for GPIO lookup
 +
[    7.875965] mdio_bus mt7530-0:03: No GPIO consumer reset found
 +
[    7.882580] mdio_bus mt7530-0:04: GPIO lookup for consumer reset
 +
[    7.888647] mdio_bus mt7530-0:04: using lookup tables for GPIO lookup
 +
[    7.895099] mdio_bus mt7530-0:04: No GPIO consumer reset found
 +
[    7.901678] mdio_bus mt7530-0:05: GPIO lookup for consumer reset
 +
[    7.907742] mdio_bus mt7530-0:05: using lookup tables for GPIO lookup
 +
[    7.914195] mdio_bus mt7530-0:05: No GPIO consumer reset found
 +
[    7.921436] mt7530 mdio-bus:00 wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=POLL)
 +
[    7.933132] mt7530 mdio-bus:00 lan0 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=POLL)
 +
[    7.944897] mt7530 mdio-bus:00 lan1 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=POLL)
 +
[    7.956672] mt7530 mdio-bus:00 lan2 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=POLL)
 +
[    7.966602] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
 +
[    7.968401] mt7530 mdio-bus:00 lan3 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7530 PHY] (irq=POLL)
 +
[    7.974521] ata1.00: ATA-10: Patriot P210 256GB, U0506A0, max UDMA/133
 +
[    7.983849] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/ethernet@1b100000/mdio-bus/switch@0/ports/port@5/fixed-link[0]'
 +
[    7.990032] ata1.00: 500118192 sectors, multi 1: LBA48 NCQ (depth 32), AA
 +
[    8.002560] of_get_named_gpiod_flags: can't parse 'link-gpio' property of node '/ethernet@1b100000/mdio-bus/switch@0/ports/port@5/fixed-link[0]'
 +
[    8.012865] ata1.00: configured for UDMA/133
 +
[    8.023309] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/ethernet@1b100000/mdio-bus/switch@0/ports/port@6/fixed-link[0]'
 +
[    8.027100] scsi 0:0:0:0: Direct-Access    ATA      Patriot P210 256 6A0  PQ: 0 ANSI: 5
 +
[    8.039712] of_get_named_gpiod_flags: can't parse 'link-gpio' property of node '/ethernet@1b100000/mdio-bus/switch@0/ports/port@6/fixed-link[0]'
 +
[    8.049317] sd 0:0:0:0: [sda] 500118192 512-byte logical blocks: (256 GB/238 GiB)
 +
[    8.061404] mt7530 mdio-bus:00: configuring for fixed/trgmii link mode
 +
[    8.068470] sd 0:0:0:0: [sda] Write Protect is off
 +
[    8.077529] DSA: tree 0 setup
 +
[    8.079712] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
 +
[    8.083009] usb-conn-gpio 11200000.usb:connector: GPIO lookup for consumer id
 +
[    8.087917] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 +
[    8.094863] usb-conn-gpio 11200000.usb:connector: using device tree for GPIO lookup
 +
[    8.108033]  sda: sda1
 +
[    8.111647] of_get_named_gpiod_flags: parsed 'id-gpios' property of node '/usb@11200000/connector[0]' - status (0)
 +
[    8.115163] sd 0:0:0:0: [sda] Attached SCSI disk
 +
[    8.124373] gpio gpiochip0: Persistence not supported for GPIO 44
 +
[    8.135092] usb-conn-gpio 11200000.usb:connector: GPIO lookup for consumer vbus
 +
[    8.142430] usb-conn-gpio 11200000.usb:connector: using device tree for GPIO lookup
 +
[    8.150121] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/usb@11200000/connector[0]'
 +
[    8.159999] of_get_named_gpiod_flags: can't parse 'vbus-gpio' property of node '/usb@11200000/connector[0]'
 +
[    8.169792] usb-conn-gpio 11200000.usb:connector: using lookup tables for GPIO lookup
 +
[    8.177646] usb-conn-gpio 11200000.usb:connector: No GPIO consumer vbus found
 +
[    8.184833] usb-conn-gpio 11200000.usb:connector: supply vbus not found, using dummy regulator
 +
[    8.194327] mt7530 mdio-bus:00: Link is Up - 1Gbps/Full - flow control rx/tx
 +
[    8.202987] ALSA device list:
 +
[    8.205984]  No soundcards found.
 +
[    8.398023] ata2: SATA link down (SStatus 0 SControl 300)
 +
[    8.403533] md: Waiting for all devices to be available before autodetect
 +
[    8.410371] md: If you don't use raid, use raid=noautodetect
 +
[    8.416038] md: Autodetecting RAID arrays.
 +
[    8.420155] md: autorun ...
 +
[    8.422950] md: ... autorun DONE.
 +
[    8.443819] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
 +
[    8.451205] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
 +
[    8.865469] EXT4-fs (mmcblk0p2): recovery complete
 +
[    8.892072] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
 +
[    8.902329] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
 +
[    8.924905] devtmpfs: mounted
 +
[    8.934481] Freeing unused kernel image (initmem) memory: 1024K
 +
[    8.940780] Run /sbin/init as init process
 +
[    8.944889]  with arguments:
 +
[    8.947886]    /sbin/init
 +
[    8.950598]  with environment:
 +
[    8.953738]    HOME=/
 +
[    8.956098]    TERM=linux
 +
[    8.958839]    board=bpi-r2
 +
[  10.998089] systemd[1]: systemd 247.3-7 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
 +
[  11.024943] systemd[1]: Detected architecture arm.
 +
[  11.062648] systemd[1]: Set hostname to <bpi-r2>.
 +
[  11.916132] systemd[1]: /etc/systemd/system/rc-local.service:11: Support for option SysVStartPriority= has been removed and it is ignored
 +
[  12.000753] systemd[1]: Queued start job for default target Graphical Interface.
 +
[  12.013361] systemd[1]: Created slice system-getty.slice.
 +
[  12.021414] systemd[1]: Created slice system-modprobe.slice.
 +
[  12.029554] systemd[1]: Created slice system-serial\x2dgetty.slice.
 +
[  12.038062] systemd[1]: Created slice User and Session Slice.
 +
[  12.044732] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
 +
[  12.053650] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
 +
[  12.061973] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
 +
[  12.074083] systemd[1]: Reached target Local Encrypted Volumes.
 +
[  12.080937] systemd[1]: Reached target Paths.
 +
[  12.085785] systemd[1]: Reached target Remote File Systems.
 +
[  12.091891] systemd[1]: Reached target Slices.
 +
[  12.096903] systemd[1]: Reached target Swap.
 +
[  12.104208] systemd[1]: Listening on Syslog Socket.
 +
[  12.110460] systemd[1]: Listening on fsck to fsckd communication Socket.
 +
[  12.118126] systemd[1]: Listening on initctl Compatibility Named Pipe.
 +
[  12.136063] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
 +
[  12.145194] systemd[1]: Listening on Journal Socket (/dev/log).
 +
[  12.152542] systemd[1]: Listening on Journal Socket.
 +
[  12.159208] systemd[1]: Listening on Network Service Netlink Socket.
 +
[  12.168308] systemd[1]: Listening on udev Control Socket.
 +
[  12.174890] systemd[1]: Listening on udev Kernel Socket.
 +
[  12.181730] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
 +
[  12.194924] systemd[1]: Mounting POSIX Message Queue File System...
 +
[  12.207731] systemd[1]: Mounting Kernel Debug File System...
 +
[  12.219683] systemd[1]: Mounting Kernel Trace File System...
 +
[  12.232597] systemd[1]: Starting Create list of static device nodes for the current kernel...
 +
[  12.248104] systemd[1]: Starting Load Kernel Module configfs...
 +
[  12.260817] systemd[1]: Starting Load Kernel Module drm...
 +
[  12.273094] systemd[1]: Starting Load Kernel Module fuse...
 +
[  12.287034] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
 +
[  12.301440] systemd[1]: Starting File System Check on Root Device...
 +
[  12.318971] systemd[1]: Starting Journal Service...
 +
[  12.452755] systemd[1]: Starting Load Kernel Modules...
 +
[  12.464081] systemd[1]: Starting Coldplug All udev Devices...
 +
[  12.480161] systemd[1]: Mounted POSIX Message Queue File System.
 +
[  12.487463] systemd[1]: Mounted Kernel Debug File System.
 +
[  12.493991] systemd[1]: Mounted Kernel Trace File System.
 +
[  12.502257] systemd[1]: Finished Create list of static device nodes for the current kernel.
 +
[  12.517835] fuse: init (API version 7.34)
 +
[  12.551940] systemd[1]: modprobe@configfs.service: Succeeded.
 +
[  12.560077] systemd[1]: Finished Load Kernel Module configfs.
 +
[  12.567947] systemd[1]: modprobe@drm.service: Succeeded.
 +
[  12.575354] systemd[1]: Finished Load Kernel Module drm.
 +
[  12.583186] systemd[1]: modprobe@fuse.service: Succeeded.
 +
[  12.590523] systemd[1]: Finished Load Kernel Module fuse.
 +
[  12.598773] systemd[1]: Finished Load Kernel Modules.
 +
[  12.610707] systemd[1]: Mounting FUSE Control File System...
 +
[  12.623205] systemd[1]: Mounting Kernel Configuration File System...
 +
[  12.635660] systemd[1]: Started File System Check Daemon to report status.
 +
[  12.650104] systemd[1]: Starting Apply Kernel Variables...
 +
[  12.661737] systemd[1]: Mounted FUSE Control File System.
 +
[  12.669295] systemd[1]: Mounted Kernel Configuration File System.
 +
[  12.704528] systemd[1]: Finished File System Check on Root Device.
 +
[  12.720410] systemd[1]: Starting Remount Root and Kernel File Systems...
 +
[  12.733109] systemd[1]: Finished Apply Kernel Variables.
 +
[  12.791304] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro. Quota mode: disabled.
 +
[  12.810326] systemd[1]: Finished Remount Root and Kernel File Systems.
 +
[  12.823173] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
 +
[  12.832814] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
 +
[  12.847656] systemd[1]: Starting Load/Save Random Seed...
 +
[  12.860959] systemd[1]: Starting Create System Users...
 +
[  13.005524] systemd[1]: Finished Load/Save Random Seed.
 +
[  13.014029] systemd[1]: Finished Create System Users.
 +
[  13.020687] systemd[1]: Condition check resulted in First Boot Complete being skipped.
 +
[  13.034672] systemd[1]: Starting Create Static Device Nodes in /dev...
 +
[  13.076259] systemd[1]: Started Journal Service.
 +
[  13.150215] systemd-journald[161]: Received client request to flush runtime journal.
 +
[  13.268600] systemd-journald[161]: File /var/log/journal/f4098fb7f96e464faa6efc47a185409f/system.journal corrupted or uncleanly shut down, renaming and replacing.
 +
[  14.413364] input: mtk-pmic-keys as /devices/platform/1000d000.pwrap/1000d000.pwrap:mt6323/mtk-pmic-keys/input/input1
 +
[  14.969381] lima 13040000.gpu: mmu gpmmu dte write test fail
 +
[  14.975224] lima: probe of 13040000.gpu failed with error -5
 +
[  16.121548] SPI driver spidev has no spi_device_id for linux,spidev
 +
[  16.122061] cfg80211: Loading compiled-in X.509 certificates for regulatory database
 +
[  16.170872] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
 +
[  16.193074] lanbr0: port 1(lan3) entered blocking state
 +
[  16.198403] lanbr0: port 1(lan3) entered disabled state
 +
[  16.208952] device lan3 entered promiscuous mode
 +
[  16.213114] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
 +
[  16.219404] lanbr0: port 2(lan2) entered blocking state
 +
[  16.226964] lanbr0: port 2(lan2) entered disabled state
 +
[  16.234191] device lan2 entered promiscuous mode
 +
[  16.245997] lanbr0: port 3(lan1) entered blocking state
 +
[  16.251364] lanbr0: port 3(lan1) entered disabled state
 +
[  16.261567] device lan1 entered promiscuous mode
 +
[  16.270851] lanbr0: port 4(lan0) entered blocking state
 +
[  16.276124] lanbr0: port 4(lan0) entered disabled state
 +
[  16.282954] device lan0 entered promiscuous mode
 +
[  16.293951] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/trgmii link mode
 +
[  16.302080] device eth0 entered promiscuous mode
 +
[  16.307136] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
 +
[  16.315644] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 +
[  16.326239] mt7530 mdio-bus:00 lan3: configuring for phy/gmii link mode
 +
[  16.334958] mt7530 mdio-bus:00 lan2: configuring for phy/gmii link mode
 +
[  16.343762] mt7530 mdio-bus:00 lan1: configuring for phy/gmii link mode
 +
[  16.354611] mt7530 mdio-bus:00 lan0: configuring for phy/gmii link mode
 +
[  18.051096] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
 +
[  19.481662] ath9k 0000:01:00.0: enabling device (0140 -> 0142)
 +
[  19.497104] ath: EEPROM regdomain: 0x6a
 +
[  19.500974] ath: EEPROM indicates we should expect a direct regpair map
 +
[  19.507637] ath: Country alpha2 being used: 00
 +
[  19.512096] ath: Regpair used: 0x6a
 +
[  19.520331] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
 +
[  19.529415] ieee80211 phy0: Atheros AR9462 Rev:2 mem=0xe1000000, irq=259
 +
[  19.599520] ath9k 0000:01:00.0 wlp1s0: renamed from wlan0
 +
[  20.276360] Mass Storage Function, version: 2009/09/11
 +
[  20.281632] LUN: removable file: (no medium)
 +
[  20.364219] using random self ethernet address
 +
[  20.368790] using random host ethernet address
 +
[  20.469089] usb0: HOST MAC 48:6f:73:74:50:43
 +
[  20.473432] usb0: MAC 42:61:64:55:53:42
 +
[  20.842009] mt7530 mdio-bus:00 wan: configuring for phy/gmii link mode
 +
[  23.957322] mt7530 mdio-bus:00 wan: Link is Up - 1Gbps/Full - flow control rx/tx
 +
[  23.964785] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
 +
[  38.276587] vdd_fixed_vgpu: disabling
 +
[  38.280310] vusb: disabling
 +
[  38.283116] vmc: disabling
 +
[  38.285829] vmch: disabling
 +
[  38.288676] vgp1: disabling
 +
[  38.291510] vcamaf: disabling
 +
 +
</pre>
 +
 +
== OpenWrt Attempt ==
 +
 +
=== Extracing dtb ===
 +
 +
<pre>
 +
dumpimage -T flat_dt -p 1 -o /tmp/bpir2.dtb /home/lth/openwrt-bpir2/bin/targets/
 +
mediatek/mt7623/lifeline-0.0.67-dev-mediatek-mt7623-bananapi_bpi-r2-squashfs-sys
 +
upgrade.itb
 +
</pre>
 +
 +
<pre>
 +
dtc -I dtb -O dts bpir2.dtb -o bpir2.dts
 +
</pre>
 +
 +
=== Devices ===
 +
 +
<pre>
 +
root@llcon:/sys/devices/platform# ls -l
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 10000000.syscon
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 10001000.syscon
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 10003000.syscon
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 10005000.syscfg
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 10006000.power-controller
 +
drwxr-xr-x    5 root    root            0 Jan  1  1970 10007000.watchdog
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 10008000.timer
 +
drwxr-xr-x    5 root    root            0 Jan  1  1970 1000b000.pinctrl
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1000c000.smi
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 1000d000.pwrap
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 10010000.dsi-phy
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 10012000.cec
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 10013000.cir
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 10205000.mmsys_iommu
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 10206000.efuse
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 10209000.syscon
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 10209100.hdmi-phy
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1020f000.rng
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 11001000.adc
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 11002000.serial
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 11003000.serial
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 11004000.serial
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 11006000.pwm
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 11007000.i2c
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 11008000.i2c
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 1100a000.spi
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1100b000.thermal
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1100c000.serial
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 11013000.i2c
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 11220000.clock-controller
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 11230000.mmc
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 11240000.mmc
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 13000000.syscon
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 13040000.gpu
 +
drwxr-xr-x    5 root    root            0 Jan  1  1970 14000000.syscon
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 14007000.ovl
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 14008000.rdma
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 14009000.wdma
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1400a000.pwm
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1400b000.color
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1400e000.mutex
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 14010000.larb
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 14012000.rdma
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 14014000.dpi
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 14015000.hdmi
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 15000000.syscon
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 15001000.larb
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 15004000.jpegdec
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 16000000.syscon
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 16010000.larb
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1a000000.syscon
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1a140000.pcie
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1a149000.t-phy
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1a14a000.t-phy
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1a1c0000.usb
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1a1c4000.t-phy
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1a240000.usb
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1a244000.t-phy
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1b000000.syscon
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1b007000.dma-controller
 +
drwxr-xr-x    5 root    root            0 Jan  1  1970 1b100000.ethernet
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1b240000.crypto
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 1c000000.syscon
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 Fixed MDIO bus.0
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 connector
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 fixedregulator@0
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 gpio-keys
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 leds
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 mtk-cpufreq
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 pmu
 +
drwxr-xr-x    2 root    root            0 Jun  9 14:35 power
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 reg-dummy
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 regulator-1p8v
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 regulator-3p3v
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 regulator-5v
 +
drwxr-xr-x    3 root    root            0 Jun  9 14:35 regulatory.0
 +
drwxr-xr-x    4 root    root            0 Jan  1  1970 serial8250
 +
drwxr-xr-x    3 root    root            0 Jan  1  1970 timer
 +
-rw-r--r--    1 root    root          4096 Jun  9 14:35 uevent
 +
</pre>
 +
 +
After tweaks:
 +
 +
<pre>
 +
root@llcon:/sys/devices# ls -ls platform/
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 10000000.syscon
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 10001000.syscon
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 10003000.syscon
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 10005000.syscfg
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 10006000.power-controller
 +
    0 drwxr-xr-x    5 root    root            0 Jan  1  1970 10007000.watchdog
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 10008000.timer
 +
    0 drwxr-xr-x    5 root    root            0 Jan  1  1970 1000b000.pinctrl
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1000c000.smi
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 1000d000.pwrap
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 10010000.dsi-phy
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 10012000.cec
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 10013000.cir
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 10205000.mmsys_iommu
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 10206000.efuse
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 10209000.syscon
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 10209100.hdmi-phy
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1020f000.rng
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 11001000.adc
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 11002000.serial
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 11003000.serial
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 11004000.serial
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 11006000.pwm
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 11007000.i2c
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 11008000.i2c
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 1100a000.spi
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1100b000.thermal
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1100c000.serial
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 11013000.i2c
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 11200000.usb
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 11210000.t-phy
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 11220000.clock-controller
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 11230000.mmc
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 11240000.mmc
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 13000000.syscon
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 13040000.gpu
 +
    0 drwxr-xr-x    5 root    root            0 Jan  1  1970 14000000.syscon
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 14007000.ovl
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 14008000.rdma
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 14009000.wdma
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1400a000.pwm
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1400b000.color
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1400e000.mutex
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 14010000.larb
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 14012000.rdma
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 14014000.dpi
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 14015000.hdmi
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 15000000.syscon
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 15001000.larb
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 15004000.jpegdec
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 16000000.syscon
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 16010000.larb
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1a000000.syscon
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1a140000.pcie
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1a149000.t-phy
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1a14a000.t-phy
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1a1c0000.usb
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1a1c4000.t-phy
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1a240000.usb
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1a244000.t-phy
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1b000000.syscon
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1b007000.dma-controller
 +
    0 drwxr-xr-x    5 root    root            0 Jan  1  1970 1b100000.ethernet
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1b240000.crypto
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 1c000000.syscon
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 Fixed MDIO bus.0
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 connector
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 fixedregulator@0
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 gpio-keys
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 leds
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 mtk-cpufreq
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 pmu
 +
    0 drwxr-xr-x    2 root    root            0 Jun 15 15:16 power
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 reg-dummy
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 regulator-1p8v
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 regulator-3p3v
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 regulator-5v
 +
    0 drwxr-xr-x    3 root    root            0 Jun 15 15:16 regulatory.0
 +
    0 drwxr-xr-x    4 root    root            0 Jan  1  1970 serial8250
 +
    0 drwxr-xr-x    3 root    root            0 Jan  1  1970 timer
 +
    0 -rw-r--r--    1 root    root          4096 Jun 15 15:16 uevent
 +
</pre>
 +
 +
=== Image ===
 +
 +
<pre>
 +
lth@ncpws04:/tmp$ dumpimage -l lifeline-0.0.63-dev-mediatek-mt7623-bananapi_bpi-r2-squashfs-sysupgrade.itb
 +
Image contains unit addresses @, this will break signing
 +
FIT description: ARM OpenWrt FIT (Flattened Image Tree)
 +
Created:        Wed Jun  8 19:06:59 2022
 +
Image 0 (kernel-1)
 +
  Description:  ARM OpenWrt Linux-5.15.34
 +
  Created:      Wed Jun  8 19:06:59 2022
 +
  Type:        Kernel Image
 +
  Compression:  gzip compressed
 +
  Data Size:    5829231 Bytes = 5692.61 KiB = 5.56 MiB
 +
  Architecture: ARM
 +
  OS:          Linux
 +
  Load Address: 0x80008000
 +
  Entry Point:  0x80008000
 +
  Hash algo:    crc32
 +
  Hash value:  1492c2b5
 +
  Hash algo:    sha1
 +
  Hash value:  d50bca802e8b35ebb6fa998c7e75e42543bc8e82
 +
Image 1 (fdt-1)
 +
  Description:  ARM OpenWrt bananapi_bpi-r2 device tree blob
 +
  Created:      Wed Jun  8 19:06:59 2022
 +
  Type:        Flat Device Tree
 +
  Compression:  uncompressed
 +
  Data Size:    34375 Bytes = 33.57 KiB = 0.03 MiB
 +
  Architecture: ARM
 +
  Hash algo:    crc32
 +
  Hash value:  0d29a71c
 +
  Hash algo:    sha1
 +
  Hash value:  c43349727efd6bfc7c719db7ec2958a74e88121b
 +
Image 2 (rootfs-1)
 +
  Description:  ARM OpenWrt bananapi_bpi-r2 rootfs
 +
  Created:      Wed Jun  8 19:06:59 2022
 +
  Type:        Filesystem Image
 +
  Compression:  uncompressed
 +
  Data Size:    13963264 Bytes = 13636.00 KiB = 13.32 MiB
 +
  Hash algo:    crc32
 +
  Hash value:  dd16523e
 +
  Hash algo:    sha1
 +
  Hash value:  8a4803fbf84f88ed7228b0ce69a451e1fd590b25
 +
Default Configuration: 'config-1'
 +
Configuration 0 (config-1)
 +
  Description:  OpenWrt bananapi_bpi-r2
 +
  Kernel:      kernel-1
 +
  FDT:          fdt-1
 +
  Loadables:    rootfs-1
 +
</pre>
 +
 +
== Issue ==
 +
 +
<pre>
 +
/consys@18070000:power-domains: cell 0 is not a phandle reference
 +
arch/arm/boot/dts/mt7623.dtsi:759.26-777.4: Warning (power_domains_property): /consys@18070000: Missing property '#power-domain-cells' in node /pinctrl@10005000/spi1-default or bad phandle (referred from power-domains[0])
 +
arch/arm/boot/dts/mt7623.dtsi:766.3-24: Warning (resets_property): /consys@18070000:resets: cell 0 is not a phandle reference
 +
arch/arm/boot/dts/mt7623.dtsi:759.26-777.4: Warning (resets_property): /consys@18070000: Missing property '#reset-cells' in node /t-phy@1a149000/pcie-phy@1a149900 or bad phandle (referred from resets[0])
 +
arch/arm/boot/dts/mt7623.dtsi:610.25-53: Warning (gpios_property): /usb@11200000/connector:id-gpios: cell 0 is not a phandle reference
 +
  DTC    arch/arm/boot/dts/mt7623a-rfb-nand.dtb
 +
arch/arm/boot/dts/mt7623.dtsi:762.3-24: Warning (clocks_property): /consys@18070000:clocks: cell 0 is not a phandle reference
 +
arch/arm/boot/dts/mt7623.dtsi:764.3-31: Warning (power_domains_property): /consys@18070000:power-domains: cell 0 is not a phandle reference
 +
arch/arm/boot/dts/mt7623.dtsi:759.26-777.4: Warning (power_domains_property): /consys@18070000: Missing property '#power-domain-cells' in node /pinctrl@10005000/nanddefault or bad phandle (referred from power-domains[0])
 +
arch/arm/boot/dts/mt7623.dtsi:766.3-24: Warning (resets_property): /consys@18070000:resets: cell 0 is not a phandle reference
 +
arch/arm/boot/dts/mt7623.dtsi:759.26-777.4: Warning (resets_property): /consys@18070000: Missing property '#reset-cells' in node /t-phy@1a244000/usb-phy@1a244900 or bad phandle (referred from resets[0])
 +
arch/arm/boot/dts/mt7623.dtsi:610.25-53: Warning (gpios_property): /usb@11200000/connector:id-gpios: cell 0 is not a phandle reference
 +
  DTC    arch/arm/boot/dts/mt7623n-rfb-emmc.dtb
 +
arch/arm/boot/dts/mt7623.dtsi:762.3-24: Warning (clocks_property): /consys@18070000:clocks: cell 0 is not a phandle reference
 +
arch/arm/boot/dts/mt7623.dtsi:764.3-31: Warning (power_domains_property): /consys@18070000:power-domains: cell 0 is not a phandle reference
 +
arch/arm/boot/dts/mt7623.dtsi:759.26-777.4: Warning (power_domains_property): /consys@18070000: Missing property '#power-domain-cells' in node /efuse@10206000/calib@424 or bad phandle (referred from power-domains[0])
 +
arch/arm/boot/dts/mt7623.dtsi:766.3-24: Warning (resets_property): /consys@18070000:resets: cell 0 is not a phandle reference
 +
arch/arm/boot/dts/mt7623.dtsi:759.26-777.4: Warning (resets_property): /consys@18070000: Missing property '#reset-cells' in node /regulator-1p8v or bad phandle (referred from resets[0])
 +
arch/arm/boot/dts/mt7623.dtsi:610.25-53: Warning (gpios_property): /usb@11200000/connector:id-gpios: cell 0 is not a phandle reference
 +
  DTC    arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb
 +
arch/arm/boot/dts/mt7623.dtsi:762.3-24: Warning (clocks_property): /consys@18070000:clocks: cell 0 is not a phandle reference
 +
arch/arm/boot/dts/mt7623.dtsi:764.3-31: Warning (power_domains_property): /consys@18070000:power-domains: cell 0 is not a phandle reference
 +
arch/arm/boot/dts/mt7623.dtsi:766.3-24: Warning (resets_property): /consys@18070000:resets: cell 0 is not a phandle reference
 +
arch/arm/boot/dts/mt7623.dtsi:610.25-53: Warning (gpios_property): /usb@11200000/connector:id-gpios: cell 0 is not a phandle reference
 +
  DTC    arch/arm/boot/dts/mt7629-rfb.dtb
 +
  DTC    arch/arm/boot/dts/mt8127-moose.dtb
 +
  DTC    arch/arm/boot/dts/mt8135-evbp1.dtb
 +
  LDS    arch/arm/boot/compressed/vmlinux.lds
 +
  AS      arch/arm/boot/compressed/head.o
 +
 
 +
</pre>
 +
  
 
== Miscellaneous Links ==
 
== Miscellaneous Links ==
Line 4: Line 1,125:
 
* [https://forum.banana-pi.org/t/bpi-r2-otg-port/10551/7 Forum Post]
 
* [https://forum.banana-pi.org/t/bpi-r2-otg-port/10551/7 Forum Post]
 
* [https://patchwork.kernel.org/project/linux-mediatek/patch/20210830145958.108605-1-linux@fw-web.de/ Kernel Patch]
 
* [https://patchwork.kernel.org/project/linux-mediatek/patch/20210830145958.108605-1-linux@fw-web.de/ Kernel Patch]
 +
* [https://michlstechblog.info/blog/linux-decompile-show-a-device-tree-binary-file-dtb/ How to decompile device tree files]

Latest revision as of 11:53, 21 June 2022

Debian System

Working with this kernel.

The default config contains:

#OTG
CONFIG_USB_OTG=y
CONFIG_USB_CONN_GPIO=y
CONFIG_USB_MUSB_HDRC=y
CONFIG_USB_MUSB_MEDIATEK=y
CONFIG_NOP_USB_XCEIV=y
CONFIG_USB_CONFIGFS=y
#CONFIG_USB_CONFIGFS_MASS_STORAGE=y
#CONFIG_PHY_MTK_TPHY=y
CONFIG_USB_GADGET=y
CONFIG_USB_MUSB_DUAL_ROLE=y
CONFIG_USB_INVENTRA_DMA=y
#some gadget-drivers
#CONFIG_USB_G_SERIAL=y
#CONFIG_USB_MASS_STORAGE=y
#CONFIG_USB_ETH=y

CONFIG_USB_LIBCOMPOSITE=y
CONFIG_USB_U_SERIAL=y
CONFIG_USB_U_ETHER=y
CONFIG_USB_F_SERIAL=y
CONFIG_USB_F_ECM=y
CONFIG_USB_F_MASS_STORAGE=y
CONFIG_USB_F_HID=y
CONFIG_USB_CONFIGFS=y
CONFIG_USB_CONFIGFS_SERIAL=y
# CONFIG_USB_CONFIGFS_ACM is not set
# CONFIG_USB_CONFIGFS_OBEX is not set
# CONFIG_USB_CONFIGFS_NCM is not set
CONFIG_USB_CONFIGFS_ECM=y
# CONFIG_USB_CONFIGFS_ECM_SUBSET is not set
# CONFIG_USB_CONFIGFS_RNDIS is not set
# CONFIG_USB_CONFIGFS_EEM is not set
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
# CONFIG_USB_CONFIGFS_F_LB_SS is not set
# CONFIG_USB_CONFIGFS_F_FS is not set
# CONFIG_USB_CONFIGFS_F_UAC1 is not set
# CONFIG_USB_CONFIGFS_F_UAC1_LEGACY is not set
# CONFIG_USB_CONFIGFS_F_UAC2 is not set
# CONFIG_USB_CONFIGFS_F_MIDI is not set
CONFIG_USB_CONFIGFS_F_HID=y
# CONFIG_USB_CONFIGFS_F_UVC is not set
# CONFIG_USB_CONFIGFS_F_PRINTER is not set
root@bpi-r2:/sys/devices/platform# ls -ls
total 0
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10000000.syscon
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10001000.syscon
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10003000.syscon
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10005000.syscfg
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10006000.power-controller
0 drwxr-xr-x 5 root root    0 Mar 20 19:55  10007000.watchdog
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10008000.timer
0 drwxr-xr-x 5 root root    0 Mar 20 19:55  1000b000.pinctrl
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1000c000.smi
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  1000d000.pwrap
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  10010000.dsi-phy
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10012000.cec
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  10013000.cir
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  10205000.mmsys_iommu
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  10206000.efuse
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  10209000.syscon
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  10209100.hdmi-phy
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1020f000.rng
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  11000780.btif_tx
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  11000800.btif_rx
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11001000.adc
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11002000.serial
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11003000.serial
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11004000.serial
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11006000.pwm
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11007000.i2c
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11008000.i2c
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  1100a000.spi
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1100b000.thermal
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1100c000.serial
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11013000.i2c
0 drwxr-xr-x 6 root root    0 Mar 20 19:55  11200000.usb
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11210000.t-phy
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  11220000.clock-controller
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11230000.mmc
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  11240000.mmc
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  13000000.syscon
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  13040000.gpu
0 drwxr-xr-x 5 root root    0 Mar 20 19:55  14000000.syscon
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  14007000.ovl
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  14008000.rdma
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  14009000.wdma
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1400a000.pwm
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1400b000.color
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1400e000.mutex
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  14010000.larb
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  14012000.rdma
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  14014000.dpi
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  14015000.hdmi
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  15000000.syscon
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  15001000.larb
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  15004000.jpegdec
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  16000000.syscon
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  16010000.larb
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  18070000.consys
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  180f0000.wifi
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1a000000.syscon
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  1a140000.pcie
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  1a149000.t-phy
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  1a14a000.t-phy
0 drwxr-xr-x 6 root root    0 Mar 20 19:55  1a1c0000.usb
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  1a1c4000.t-phy
0 drwxr-xr-x 6 root root    0 Mar 20 19:55  1a240000.usb
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  1a244000.t-phy
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1b000000.syscon
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1b007000.dma-controller
0 drwxr-xr-x 5 root root    0 Mar 20 19:55  1b100000.ethernet
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1b240000.crypto
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  1c000000.syscon
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  connector
0 drwxr-xr-x 4 root root    0 Mar 20 19:55 'Fixed MDIO bus.0'
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  fixedregulator@0
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  gpio-keys
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  leds
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  mtk-cpufreq
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  pmu
0 drwxr-xr-x 2 root root    0 Jun  9 06:33  power
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  reg-dummy
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  regulator-1p8v
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  regulator-3p3v
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  regulator-5v
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  regulatory.0
0 drwxr-xr-x 4 root root    0 Mar 20 19:55  serial8250
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  snd-soc-dummy
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  timer
0 -rw-r--r-- 1 root root 4096 Mar 20 19:55  uevent
0 drwxr-xr-x 3 root root    0 Mar 20 19:55  usb_phy_generic.3.auto

dmesg

root@bpi-r2:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.41-bpi-r2bpi-r2-openwrt (lth@ncpws04) (arm-linux-gnueabihf-gcc (Debian 11.3.0-3) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38) #5 SMP Tue Jun 7 09:24:33 +08 2022
[    0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[    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: Bananapi BPI-R2
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] [WMT-CONSYS-HW][W]reserve_memory_consys_fn: name: consys-reserve-memory, base: 0xffe00000, size: 0x100000
[    0.000000] OF: reserved mem: initialized node consys-reserve-memory, compatible id mediatek,consys-reserve-memory
[    0.000000] cma: Reserved 64 MiB at 0xfb800000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000]   HighMem  [mem 0x00000000a0000000-0x00000000ffffefff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000ffdfffff]
[    0.000000]   node   0: [mem 0x00000000ffe00000-0x00000000ffefffff]
[    0.000000]   node   0: [mem 0x00000000fff00000-0x00000000ffffefff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffefff]
[    0.000000] percpu: Embedded 16 pages/cpu s36044 r8192 d21300 u65536
[    0.000000] pcpu-alloc: s36044 r8192 d21300 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 523135
[    0.000000] Kernel command line: board=bpi-r2 earlyprintk console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait vmalloc=496M debug=7 initcall_debug=0 video=1920x1080 console=tty1 fbcon=map:0 drm.debug=0x7
[    0.000000] Unknown kernel command line parameters "board=bpi-r2", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1989724K/2097148K available (13312K kernel code, 1569K rwdata, 4504K rodata, 1024K init, 563K bss, 41888K reserved, 65536K cma-reserved, 1506300K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 43504 entries in 128 pages
[    0.000000] ftrace: allocated 128 pages with 1 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x4a4/0x678 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000001] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.008062] Switching to timer-based delay loop, resolution 76ns
[    0.014278] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 147020034397 ns
[    0.023571] sched_clock: 32 bits at 13MHz, resolution 76ns, wraps every 165191050201ns
[    0.032103] Console: colour dummy device 80x30
[    0.036587] printk: console [tty1] enabled
[    0.040715] printk: bootconsole [earlycon0] disabled
[    0.045773] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.045808] pid_max: default: 32768 minimum: 301
[    0.046038] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.046073] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.047032] CPU: Testing write buffer coherency: ok
[    0.047405] CPU0: update cpu_capacity 1024
[    0.047436] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.048321] Setting up static identity map for 0x80100000 - 0x80100060
[    0.048481] rcu: Hierarchical SRCU implementation.
[    0.049584] smp: Bringing up secondary CPUs ...
[    0.050214] CPU1: update cpu_capacity 1024
[    0.050229] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.050973] CPU2: update cpu_capacity 1024
[    0.050989] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.051676] CPU3: update cpu_capacity 1024
[    0.051692] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.051823] smp: Brought up 1 node, 4 CPUs
[    0.051906] SMP: Total of 4 processors activated (104.00 BogoMIPS).
[    0.051925] CPU: All CPU(s) started in SVC mode.
[    0.052688] devtmpfs: initialized
[    0.060867] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3
[    0.061238] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.061289] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.063821] pinctrl core: initialized pinctrl subsystem
[    0.064965] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.067473] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.068796] thermal_sys: Registered thermal governor 'step_wise'
[    0.069193] No ATAGs?
[    0.069396] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.069433] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.143197] gpiochip_find_base: found new base at 232
[    0.143814] gpio gpiochip0: (1000b000.pinctrl): added GPIO chardev (254:0)
[    0.143963] gpio gpiochip0: registered GPIOs 232 to 511 on 1000b000.pinctrl
[    0.143998] gpio gpiochip0: (1000b000.pinctrl): created GPIO range 0->279 ==> 1000b000.pinctrl PIN 0->279
[    0.179304] platform 14015000.hdmi: Fixing up cyclic dependency with 14014000.dpi
[    0.181392] platform connector: Fixing up cyclic dependency with 14015000.hdmi
[    0.366455] raid6: neonx8   gen()   678 MB/s
[    0.536591] raid6: neonx8   xor()   551 MB/s
[    0.706740] raid6: neonx4   gen()   935 MB/s
[    0.876858] raid6: neonx4   xor()   711 MB/s
[    1.047013] raid6: neonx2   gen()   944 MB/s
[    1.217155] raid6: neonx2   xor()   692 MB/s
[    1.387304] raid6: neonx1   gen()   773 MB/s
[    1.557453] raid6: neonx1   xor()   568 MB/s
[    1.727669] raid6: int32x8  gen()   244 MB/s
[    1.897775] raid6: int32x8  xor()   151 MB/s
[    2.067963] raid6: int32x4  gen()   253 MB/s
[    2.238059] raid6: int32x4  xor()   163 MB/s
[    2.408287] raid6: int32x2  gen()   307 MB/s
[    2.578393] raid6: int32x2  xor()   185 MB/s
[    2.748561] raid6: int32x1  gen()   324 MB/s
[    2.918671] raid6: int32x1  xor()   180 MB/s
[    2.918692] raid6: using algorithm neonx2 gen() 944 MB/s
[    2.918709] raid6: .... xor() 692 MB/s, rmw enabled
[    2.918726] raid6: using neon recovery algorithm
[    2.919349] reg-fixed-voltage regulator-1p8v: GPIO lookup for consumer (null)
[    2.919391] reg-fixed-voltage regulator-1p8v: using device tree for GPIO lookup
[    2.919426] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-1p8v[0]'
[    2.919477] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-1p8v[0]'
[    2.919516] reg-fixed-voltage regulator-1p8v: using lookup tables for GPIO lookup
[    2.919542] reg-fixed-voltage regulator-1p8v: No GPIO consumer (null) found
[    2.919912] reg-fixed-voltage regulator-3p3v: GPIO lookup for consumer (null)
[    2.919947] reg-fixed-voltage regulator-3p3v: using device tree for GPIO lookup
[    2.919980] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-3p3v[0]'
[    2.920023] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-3p3v[0]'
[    2.920060] reg-fixed-voltage regulator-3p3v: using lookup tables for GPIO lookup
[    2.920085] reg-fixed-voltage regulator-3p3v: No GPIO consumer (null) found
[    2.920428] reg-fixed-voltage regulator-5v: GPIO lookup for consumer (null)
[    2.920459] reg-fixed-voltage regulator-5v: using device tree for GPIO lookup
[    2.920490] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-5v[0]'
[    2.920534] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-5v[0]'
[    2.920570] reg-fixed-voltage regulator-5v: using lookup tables for GPIO lookup
[    2.920595] reg-fixed-voltage regulator-5v: No GPIO consumer (null) found
[    2.920887] reg-fixed-voltage fixedregulator@0: GPIO lookup for consumer (null)
[    2.920919] reg-fixed-voltage fixedregulator@0: using device tree for GPIO lookup
[    2.920951] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator@0[0]'
[    2.920994] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
[    2.921031] reg-fixed-voltage fixedregulator@0: using lookup tables for GPIO lookup
[    2.921056] reg-fixed-voltage fixedregulator@0: No GPIO consumer (null) found
[    2.921327] iommu: Default domain type: Translated 
[    2.921353] iommu: DMA domain TLB invalidation policy: strict mode 
[    2.921578] vgaarb: loaded
[    2.922103] SCSI subsystem initialized
[    2.922385] libata version 3.00 loaded.
[    2.922642] usbcore: registered new interface driver usbfs
[    2.922712] usbcore: registered new interface driver hub
[    2.922797] usbcore: registered new device driver usb
[    2.923130] mc: Linux media interface: v0.10
[    2.923196] videodev: Linux video capture interface: v2.00
[    2.923290] pps_core: LinuxPPS API ver. 1 registered
[    2.923310] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.923350] PTP clock support registered
[    2.924151] mediatek,efuse 10206000.efuse: GPIO lookup for consumer wp
[    2.924196] mediatek,efuse 10206000.efuse: using device tree for GPIO lookup
[    2.924229] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/efuse@10206000[0]'
[    2.924281] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/efuse@10206000[0]'
[    2.924322] mediatek,efuse 10206000.efuse: using lookup tables for GPIO lookup
[    2.924347] mediatek,efuse 10206000.efuse: No GPIO consumer wp found
[    2.924818] Advanced Linux Sound Architecture Driver Initialized.
[    2.925642] Bluetooth: Core ver 2.22
[    2.925728] NET: Registered PF_BLUETOOTH protocol family
[    2.925749] Bluetooth: HCI device and connection manager initialized
[    2.925776] Bluetooth: HCI socket layer initialized
[    2.925797] Bluetooth: L2CAP socket layer initialized
[    2.925830] Bluetooth: SCO socket layer initialized
[    2.926545] clocksource: Switched to clocksource arch_sys_counter
[    3.005895] NET: Registered PF_INET protocol family
[    3.006086] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    3.006954] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    3.007038] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    3.007102] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    3.007178] TCP: Hash tables configured (established 4096 bind 4096)
[    3.007316] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    3.007376] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    3.007603] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    3.017278] RPC: Registered named UNIX socket transport module.
[    3.017326] RPC: Registered udp transport module.
[    3.017343] RPC: Registered tcp transport module.
[    3.017359] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.017383] PCI: CLS 0 bytes, default 64
[    4.070278] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    4.072179] Initialise system trusted keyrings
[    4.072482] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    4.080465] NFS: Registering the id_resolver key type
[    4.080547] Key type id_resolver registered
[    4.080567] Key type id_legacy registered
[    4.080686] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.080718] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    4.171415] xor: measuring software checksum speed
[    4.181213]    arm4regs        :  1014 MB/sec
[    4.193047]    8regs           :   835 MB/sec
[    4.203384]    32regs          :   954 MB/sec
[    4.210410]    neon            :  1407 MB/sec
[    4.210430] xor: using function: neon (1407 MB/sec)
[    4.210453] async_tx: api initialized (async)
[    4.210474] Key type asymmetric registered
[    4.210491] Asymmetric key parser 'x509' registered
[    4.210650] bounce: pool size: 64 pages
[    4.210732] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    4.210763] io scheduler mq-deadline registered
[    4.210781] io scheduler kyber registered
[    4.214410] mediatek-hdmi-phy 10209100.hdmi-phy: Using default TX DRV impedance: 4.2k/36
[    4.215779] mediatek-mipi-tx 10010000.dsi-phy: can't get nvmem_cell_get, ignore it
[    4.282510] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.284637] printk: console [ttyS0] disabled
[    4.284694] mt6577-uart 11004000.serial: GPIO lookup for consumer rs485-term
[    4.284720] mt6577-uart 11004000.serial: using device tree for GPIO lookup
[    4.284752] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/serial@11004000[0]'
[    4.284805] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/serial@11004000[0]'
[    4.284848] mt6577-uart 11004000.serial: using lookup tables for GPIO lookup
[    4.284871] mt6577-uart 11004000.serial: No GPIO consumer rs485-term found
[    4.305102] 11004000.serial: ttyS0 at MMIO 0x11004000 (irq = 207, base_baud = 1625000) is a ST16650V2
[    5.571902] printk: console [ttyS0] enabled
[    5.577265] mt6577-uart 11002000.serial: GPIO lookup for consumer rs485-term
[    5.584343] mt6577-uart 11002000.serial: using device tree for GPIO lookup
[    5.591291] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/serial@11002000[0]'
[    5.601113] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/serial@11002000[0]'
[    5.610811] mt6577-uart 11002000.serial: using lookup tables for GPIO lookup
[    5.617884] mt6577-uart 11002000.serial: No GPIO consumer rs485-term found
[    5.644912] 11002000.serial: ttyS1 at MMIO 0x11002000 (irq = 208, base_baud = 1625000) is a ST16650V2
[    5.655258] mt6577-uart 11003000.serial: GPIO lookup for consumer rs485-term
[    5.662391] mt6577-uart 11003000.serial: using device tree for GPIO lookup
[    5.669324] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/serial@11003000[0]'
[    5.679118] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/serial@11003000[0]'
[    5.688814] mt6577-uart 11003000.serial: using lookup tables for GPIO lookup
[    5.695871] mt6577-uart 11003000.serial: No GPIO consumer rs485-term found
[    5.722915] 11003000.serial: ttyS2 at MMIO 0x11003000 (irq = 209, base_baud = 1625000) is a ST16650V2
[    5.733576] mtk_rng 1020f000.rng: registered RNG driver
[    5.733723] random: fast init done
[    5.739904] platform 15004000.jpegdec: Adding to iommu group 0
[    5.742520] random: crng init done
[    5.748361] platform 14007000.ovl: Adding to iommu group 1
[    5.757286] platform 14008000.rdma: Adding to iommu group 2
[    5.763006] platform 14009000.wdma: Adding to iommu group 3
[    5.768782] platform 14012000.rdma: Adding to iommu group 4
[    5.778204] [drm:drm_core_init] Initialized
[    5.787985] mediatek-drm mediatek-drm.1.auto: Adding component match for /ovl@14007000
[    5.796039] mediatek-drm mediatek-drm.1.auto: Adding component match for /rdma@14008000
[    5.804268] mediatek-drm mediatek-drm.1.auto: Adding component match for /color@1400b000
[    5.812538] mediatek-drm mediatek-drm.1.auto: Adding component match for /rdma@14012000
[    5.820658] mediatek-drm mediatek-drm.1.auto: Adding component match for /dpi@14014000
[    5.831497] [drm] hdmi-audio-codec driver bound to HDMI
[    5.845541] loop: module loaded
[    5.848965] [WMT-DETECT][I]wmt_detect_driver_init:driver(major 154) installed success
[    5.856882] [SDIO-DETECT][I]sdio_detect_init:sdio_register_driver() ret=0
[    5.863866] MTK-BTIF[E]hal_btif_clk_get_and_prepare(284):[CCF]clk_btif=c9901674
[    5.871244] MTK-BTIF[E]hal_btif_clk_get_and_prepare(290):[CCF]clk_btif_apdma=bcba51f7
[    5.881872] mt6323-regulator mt6323-regulator: Chip ID = 0x2023
[    5.899059] mdio_bus fixed-0: GPIO lookup for consumer reset
[    5.904756] mdio_bus fixed-0: using lookup tables for GPIO lookup
[    5.910915] mdio_bus fixed-0: No GPIO consumer reset found
[    5.939647] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/ethernet@1b100000/mac@0/fixed-link[0]'
[    5.950606] of_get_named_gpiod_flags: can't parse 'link-gpio' property of node '/ethernet@1b100000/mac@0/fixed-link[0]'
[    5.961498] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/ethernet@1b100000/mac@1/fixed-link[0]'
[    5.972426] of_get_named_gpiod_flags: can't parse 'link-gpio' property of node '/ethernet@1b100000/mac@1/fixed-link[0]'
[    5.983977] mdio_bus mdio-bus: GPIO lookup for consumer reset
[    5.989786] mdio_bus mdio-bus: using device tree for GPIO lookup
[    5.995810] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ethernet@1b100000/mdio-bus[0]'
[    6.006122] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ethernet@1b100000/mdio-bus[0]'
[    6.016338] mdio_bus mdio-bus: using lookup tables for GPIO lookup
[    6.022538] mdio_bus mdio-bus: No GPIO consumer reset found
[    6.028931] mt7530 mdio-bus:00: GPIO lookup for consumer reset
[    6.034787] mt7530 mdio-bus:00: using device tree for GPIO lookup
[    6.040979] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ethernet@1b100000/mdio-bus/switch@0[0]' - status (0)
[    6.052812] gpio gpiochip0: Persistence not supported for GPIO 33
[    6.060364] mtk_soc_eth 1b100000.ethernet: generated random MAC address 46:60:51:82:42:4b
[    6.069193] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xe0ce0000, irq 226
[    6.077807] mtk_soc_eth 1b100000.ethernet: generated random MAC address 8a:89:42:c6:9a:c3
[    6.086448] mtk_soc_eth 1b100000.ethernet eth1: mediatek frame engine at 0xe0ce0000, irq 226
[    6.096999] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[    6.102283] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 1
[    6.113592] xhci-mtk 1a1c0000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010
[    6.122819] xhci-mtk 1a1c0000.usb: irq 223, io mem 0x1a1c0000
[    6.129727] hub 1-0:1.0: USB hub found
[    6.133566] hub 1-0:1.0: 1 port detected
[    6.138048] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[    6.143305] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 2
[    6.150764] xhci-mtk 1a1c0000.usb: Host supports USB 3.0 SuperSpeed
[    6.157158] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.166053] hub 2-0:1.0: USB hub found
[    6.170060] hub 2-0:1.0: 1 port detected
[    6.175534] xhci-mtk 1a240000.usb: xHCI Host Controller
[    6.180878] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 3
[    6.192138] xhci-mtk 1a240000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010
[    6.201352] xhci-mtk 1a240000.usb: irq 224, io mem 0x1a240000
[    6.208242] hub 3-0:1.0: USB hub found
[    6.212082] hub 3-0:1.0: 1 port detected
[    6.216474] xhci-mtk 1a240000.usb: xHCI Host Controller
[    6.221794] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 4
[    6.229241] xhci-mtk 1a240000.usb: Host supports USB 3.0 SuperSpeed
[    6.235624] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.244673] hub 4-0:1.0: USB hub found
[    6.248553] hub 4-0:1.0: 1 port detected
[    6.253352] usbcore: registered new interface driver usb-storage
[    6.260450] usb-conn-gpio 11200000.usb:connector: GPIO lookup for consumer id
[    6.267647] usb-conn-gpio 11200000.usb:connector: using device tree for GPIO lookup
[    6.275341] of_get_named_gpiod_flags: parsed 'id-gpios' property of node '/usb@11200000/connector[0]' - status (0)
[    6.285782] gpio gpiochip0: Persistence not supported for GPIO 44
[    6.291912] usb-conn-gpio 11200000.usb:connector: GPIO lookup for consumer vbus
[    6.299252] usb-conn-gpio 11200000.usb:connector: using device tree for GPIO lookup
[    6.306939] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/usb@11200000/connector[0]'
[    6.316827] of_get_named_gpiod_flags: can't parse 'vbus-gpio' property of node '/usb@11200000/connector[0]'
[    6.326615] usb-conn-gpio 11200000.usb:connector: using lookup tables for GPIO lookup
[    6.334456] usb-conn-gpio 11200000.usb:connector: No GPIO consumer vbus found
[    6.341658] usb-conn-gpio 11200000.usb:connector: supply vbus not found, using dummy regulator
[    6.351243] usb_phy_generic usb_phy_generic.3.auto: GPIO lookup for consumer reset
[    6.358920] usb_phy_generic usb_phy_generic.3.auto: using lookup tables for GPIO lookup
[    6.366976] usb_phy_generic usb_phy_generic.3.auto: No GPIO consumer reset found
[    6.374385] usb_phy_generic usb_phy_generic.3.auto: GPIO lookup for consumer vbus-detect
[    6.382498] usb_phy_generic usb_phy_generic.3.auto: using lookup tables for GPIO lookup
[    6.390528] usb_phy_generic usb_phy_generic.3.auto: No GPIO consumer vbus-detect found
[    6.398500] usb_phy_generic usb_phy_generic.3.auto: supply vcc not found, using dummy regulator
[    6.407428] usb_phy_generic usb_phy_generic.3.auto: dummy supplies not allowed for exclusive requests
[    6.417659] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[    6.423449] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 5
[    6.432203] hub 5-0:1.0: USB hub found
[    6.436028] hub 5-0:1.0: 1 port detected
[    6.441734] mousedev: PS/2 mouse device common for all mice
[    6.449132] mt6397-rtc mt6323-rtc: registered as rtc0
[    6.454257] mt6397-rtc mt6323-rtc: setting system clock to 2022-06-21T02:28:21 UTC (1655778501)
[    6.465280] Registered IR keymap rc-empty
[    6.469499] rc rc0: mtk_cir as /devices/platform/10013000.cir/rc/rc0
[    6.476263] rc rc0: lirc_dev: driver mtk_cir registered at minor = 0, raw IR receiver, no transmitter
[    6.485706] input: mtk_cir as /devices/platform/10013000.cir/rc/rc0/input0
[    6.493122] mtk_cir 10013000.cir: Initialized MT7623 IR driver, sample period = 46us
[    6.502026] mtk-jpeg 15004000.jpegdec: mtk-jpeg-dec device registered as /dev/video0 (81,0)
[    6.511222] mtk-thermal 1100b000.thermal: Device not calibrated, using default calibration values
[    6.521937] mtk-wdt 10007000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    6.531087] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    6.540040] device-mapper: multipath round-robin: version 1.2.0 loaded
[    6.546634] device-mapper: multipath queue-length: version 0.2.0 loaded
[    6.553255] device-mapper: multipath service-time: version 0.3.0 loaded
[    6.559946] device-mapper: raid: Loading target version 1.15.1
[    6.566404] cpu cpu0: dummy supplies not allowed for exclusive requests
[    6.576147] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/blue[0]' - status (0)
[    6.576237] mtk-msdc 11240000.mmc: GPIO lookup for consumer cd
[    6.585260] gpio gpiochip0: Persistence not supported for GPIO 240
[    6.591092] mtk-msdc 11240000.mmc: using device tree for GPIO lookup
[    6.597285] gpio-472 (?): no flags found for gpios
[    6.603655] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/mmc@11240000[0]' - status (0)
[    6.608591] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/green[0]' - status (0)
[    6.609367] mtk-msdc 11230000.mmc: GPIO lookup for consumer wp
[    6.609381] mtk-msdc 11230000.mmc: using device tree for GPIO lookup
[    6.609396] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/mmc@11230000[0]'
[    6.609423] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/mmc@11230000[0]'
[    6.609445] mtk-msdc 11230000.mmc: using lookup tables for GPIO lookup
[    6.609453] mtk-msdc 11230000.mmc: No GPIO consumer wp found
[    6.617995] gpio gpiochip0: Persistence not supported for GPIO 261
[    6.627071] gpio gpiochip0: Persistence not supported for GPIO 241
[    6.632900] mtk-msdc 11240000.mmc: Got CD GPIO
[    6.639253] gpio-473 (?): no flags found for gpios
[    6.648056] mtk-msdc 11240000.mmc: GPIO lookup for consumer wp
[    6.656921] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/red[0]' - status (0)
[    6.663290] mtk-msdc 11240000.mmc: using device tree for GPIO lookup
[    6.668990] gpio gpiochip0: Persistence not supported for GPIO 239
[    6.675155] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/mmc@11240000[0]'
[    6.681352] gpio-471 (?): no flags found for gpios
[    6.685803] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/mmc@11240000[0]'
[    6.692630] hid: raw HID events driver (C) Jiri Kosina
[    6.696438] mtk-msdc 11240000.mmc: using lookup tables for GPIO lookup
[    6.705517] usbcore: registered new interface driver usbhid
[    6.711721] mtk-msdc 11240000.mmc: No GPIO consumer wp found
[    6.717914] usbhid: USB HID core driver
[    6.719953] mtk-iommu-v1 10205000.mmsys_iommu: bound 14010000.larb (ops mtk_smi_larb_component_ops)
[    6.776114] mtk-iommu-v1 10205000.mmsys_iommu: bound 16010000.larb (ops mtk_smi_larb_component_ops)
[    6.785209] mtk-iommu-v1 10205000.mmsys_iommu: bound 15001000.larb (ops mtk_smi_larb_component_ops)
[    6.798515] NET: Registered PF_INET6 protocol family
[    6.805067] Segment Routing with IPv6
[    6.808887] In-situ OAM (IOAM) with IPv6
[    6.812904] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    6.819566] NET: Registered PF_PACKET protocol family
[    6.825317] NET: Registered PF_KCM protocol family
[    6.830383] 8021q: 802.1Q VLAN Support v1.8
[    6.834927] ThumbEE CPU extension supported.
[    6.839250] Registering SWP/SWPB emulation handler
[    6.844495] Loading compiled-in X.509 certificates
[    6.861920] mmc0: host does not support reading read-only switch, assuming write-enable
[    6.870526] mmc0: new SDHC card at address 0001
[    6.875975] mtk-pcie 1a140000.pcie: host bridge /pcie@1a140000 ranges:
[    6.882627] mtk-pcie 1a140000.pcie:       IO 0x001a160000..0x001a16ffff -> 0x001a160000
[    6.890700] mtk-pcie 1a140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    6.892105] mmc1: new high speed MMC card at address 0001
[    6.900303] mmcblk0: mmc0:0001 SD16G 14.6 GiB 
[    6.905500] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB 
[    6.916159]  mmcblk0: p1 p2
[    6.916360]  mmcblk1: p1 p2 p3
[    6.923541] mmcblk1boot0: mmc1:0001 8GTF4R 4.00 MiB 
[    6.931612] mmcblk1boot1: mmc1:0001 8GTF4R 4.00 MiB 
[    6.939075] mmcblk1rpmb: mmc1:0001 8GTF4R 512 KiB, chardev (242:0)
[    6.948329] mtk-pcie 1a140000.pcie: PCI host bridge to bus 0000:00
[    6.954533] pci_bus 0000:00: root bus resource [bus 00-ff]
[    6.960086] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x1a160000-0x1a16ffff])
[    6.969602] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    6.976546] pci 0000:00:00.0: [14c3:0801] type 01 class 0x060400
[    6.982585] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    6.988962] pci 0000:00:00.0: supports D1
[    6.992981] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    6.999212] pci 0000:00:01.0: [14c3:0801] type 01 class 0x060400
[    7.005260] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    7.011639] pci 0000:00:01.0: supports D1
[    7.015659] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    7.024286] PCI: bus0: Fast back to back transfers disabled
[    7.029929] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.037994] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.046221] pci 0000:01:00.0: [168c:0034] type 00 class 0x028000
[    7.052301] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0007ffff 64bit]
[    7.059161] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    7.065983] pci 0000:01:00.0: supports D1
[    7.070021] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
[    7.099260] PCI: bus1: Fast back to back transfers disabled
[    7.104861] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    7.111770] pci 0000:02:00.0: [1b21:0611] type 00 class 0x010185
[    7.117849] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    7.124909] pci 0000:02:00.0: reg 0x10: [io  size 0x0008]
[    7.130341] pci 0000:02:00.0: reg 0x14: initial BAR value 0x00000000 invalid
[    7.137413] pci 0000:02:00.0: reg 0x14: [io  size 0x0004]
[    7.142827] pci 0000:02:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    7.149895] pci 0000:02:00.0: reg 0x18: [io  size 0x0008]
[    7.155310] pci 0000:02:00.0: reg 0x1c: initial BAR value 0x00000000 invalid
[    7.162381] pci 0000:02:00.0: reg 0x1c: [io  size 0x0004]
[    7.167811] pci 0000:02:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    7.174867] pci 0000:02:00.0: reg 0x20: [io  size 0x0010]
[    7.180294] pci 0000:02:00.0: reg 0x24: [mem 0x00000000-0x000001ff]
[    7.186591] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    7.219254] PCI: bus2: Fast back to back transfers disabled
[    7.224856] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    7.231568] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    7.238393] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    7.245632] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    7.252445] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    7.259696] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    7.266499] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    7.273314] pci 0000:00:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    7.279441] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x6007ffff 64bit]
[    7.286793] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    7.294031] pci 0000:00:00.0: PCI bridge to [bus 01]
[    7.299018] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    7.305817] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    7.313071] pci 0000:02:00.0: BAR 6: assigned [mem 0x60300000-0x6030ffff pref]
[    7.320323] pci 0000:02:00.0: BAR 5: assigned [mem 0x60200000-0x602001ff]
[    7.327150] pci 0000:02:00.0: BAR 4: assigned [io  0x1000-0x100f]
[    7.333256] pci 0000:02:00.0: BAR 0: assigned [io  0x1010-0x1017]
[    7.339387] pci 0000:02:00.0: BAR 2: assigned [io  0x1018-0x101f]
[    7.345498] pci 0000:02:00.0: BAR 1: assigned [io  0x1020-0x1023]
[    7.351622] pci 0000:02:00.0: BAR 3: assigned [io  0x1024-0x1027]
[    7.357744] pci 0000:00:01.0: PCI bridge to [bus 02]
[    7.362716] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    7.368831] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    7.375629] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    7.383102] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    7.389490] pcieport 0000:00:00.0: PME: Signaling with IRQ 259
[    7.395683] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    7.402023] pcieport 0000:00:01.0: PME: Signaling with IRQ 253
[    7.408339] ahci 0000:02:00.0: version 3.0
[    7.412465] ahci 0000:02:00.0: enabling device (0140 -> 0143)
[    7.418378] ahci 0000:02:00.0: SSS flag set, parallel bus scan disabled
[    7.425051] ahci 0000:02:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl IDE mode
[    7.433105] ahci 0000:02:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs 
[    7.443590] scsi host0: ahci
[    7.447315] scsi host1: ahci
[    7.450514] ata1: SATA max UDMA/133 abar m512@0x60200000 port 0x60200100 irq 253
[    7.458002] ata2: SATA max UDMA/133 abar m512@0x60200000 port 0x60200180 irq 253
[    7.465988] mediatek-dpi 14014000.dpi: Found bridge node: /hdmi@14015000
[    7.473044] mediatek-drm mediatek-drm.1.auto: bound 14007000.ovl (ops mtk_disp_ovl_component_ops)
[    7.482005] mediatek-drm mediatek-drm.1.auto: bound 14008000.rdma (ops mtk_disp_rdma_component_ops)
[    7.491096] mediatek-drm mediatek-drm.1.auto: bound 1400b000.color (ops mtk_disp_color_component_ops)
[    7.500352] mediatek-drm mediatek-drm.1.auto: bound 14012000.rdma (ops mtk_disp_rdma_component_ops)
[    7.509467] [drm:drm_connector_init] cmdline mode for connector HDMI-A-1  1920x1080@60Hz
[    7.517607] mediatek-drm mediatek-drm.1.auto: bound 14014000.dpi (ops mtk_dpi_component_ops)
[    7.526141] mediatek-drm mediatek-drm.1.auto: Not creating crtc 1 because component 9 is disabled or missing
[    7.536444] [drm:drm_minor_register] 
[    7.540173] [drm:drm_minor_register] 
[    7.544208] [drm:drm_minor_register] new minor registered 0
[    7.549986] [drm:drm_sysfs_connector_add] adding "HDMI-A-1" to sysfs
[    7.556398] [drm:drm_sysfs_hotplug_event] generating hotplug event
[    7.562630] [drm] Initialized mediatek 1.0.0 20150513 for mediatek-drm.1.auto on minor 0
[    7.570761] [drm:drm_client_modeset_probe] 
[    7.574959] [drm:drm_mode_object_get] OBJ ID: 32 (2)
[    7.579962] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1]
[    7.587483] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1] status updated from unknown to disconnected
[    7.598833] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1] disconnected
[    7.607487] [drm:drm_client_modeset_probe] No connectors reported connected with modes
[    7.615417] [drm:drm_client_modeset_probe] connector 32 enabled? no
[    7.621714] [drm:drm_client_firmware_config.constprop.0] Not using firmware configuration
[    7.629922] [drm:drm_client_modeset_probe] picking CRTCs for 4096x4096 config
[    7.637087] [drm:drm_mode_object_put.part.0] OBJ ID: 32 (2)
[    7.642679] mediatek-drm mediatek-drm.1.auto: [drm:drm_fb_helper_single_fb_probe] test CRTC 0 primary plane
[    7.652456] mediatek-drm mediatek-drm.1.auto: [drm] Cannot find any crtc or sizes
[    7.660618] mt7530 mdio-bus:00: GPIO lookup for consumer reset
[    7.666477] mt7530 mdio-bus:00: using device tree for GPIO lookup
[    7.672632] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ethernet@1b100000/mdio-bus/switch@0[0]' - status (0)
[    7.684460] gpio gpiochip0: Persistence not supported for GPIO 33
[    7.690667] [drm:drm_sysfs_hotplug_event] generating hotplug event
[    7.696968] [drm:drm_client_modeset_probe] 
[    7.701182] [drm:drm_mode_object_get] OBJ ID: 32 (2)
[    7.706175] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1]
[    7.713706] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1] disconnected
[    7.722361] [drm:drm_client_modeset_probe] No connectors reported connected with modes
[    7.730306] [drm:drm_client_modeset_probe] connector 32 enabled? no
[    7.736610] [drm:drm_client_firmware_config.constprop.0] Not using firmware configuration
[    7.744808] [drm:drm_client_modeset_probe] picking CRTCs for 4096x4096 config
[    7.751972] [drm:drm_mode_object_put.part.0] OBJ ID: 32 (2)
[    7.757585] mediatek-drm mediatek-drm.1.auto: [drm:drm_fb_helper_single_fb_probe] test CRTC 0 primary plane
[    7.762084] mt7530 mdio-bus:00: no interrupt support
[    7.767377] mediatek-drm mediatek-drm.1.auto: [drm] Cannot find any crtc or sizes
[    7.772766] mdio_bus mt7530-0: GPIO lookup for consumer reset
[    7.779841] mediatek-drm mediatek-drm.1.auto: [drm:drm_client_dev_hotplug] fbdev: ret=0
[    7.785586] mdio_bus mt7530-0: using lookup tables for GPIO lookup
[    7.799832] mdio_bus mt7530-0: No GPIO consumer reset found
[    7.806002] mdio_bus mt7530-0:00: GPIO lookup for consumer reset
[    7.812067] mdio_bus mt7530-0:00: using lookup tables for GPIO lookup
[    7.818534] mdio_bus mt7530-0:00: No GPIO consumer reset found
[    7.825149] mdio_bus mt7530-0:01: GPIO lookup for consumer reset
[    7.831222] mdio_bus mt7530-0:01: using lookup tables for GPIO lookup
[    7.837694] mdio_bus mt7530-0:01: No GPIO consumer reset found
[    7.844286] mdio_bus mt7530-0:02: GPIO lookup for consumer reset
[    7.850363] mdio_bus mt7530-0:02: using lookup tables for GPIO lookup
[    7.856836] mdio_bus mt7530-0:02: No GPIO consumer reset found
[    7.863445] mdio_bus mt7530-0:03: GPIO lookup for consumer reset
[    7.869511] mdio_bus mt7530-0:03: using lookup tables for GPIO lookup
[    7.875965] mdio_bus mt7530-0:03: No GPIO consumer reset found
[    7.882580] mdio_bus mt7530-0:04: GPIO lookup for consumer reset
[    7.888647] mdio_bus mt7530-0:04: using lookup tables for GPIO lookup
[    7.895099] mdio_bus mt7530-0:04: No GPIO consumer reset found
[    7.901678] mdio_bus mt7530-0:05: GPIO lookup for consumer reset
[    7.907742] mdio_bus mt7530-0:05: using lookup tables for GPIO lookup
[    7.914195] mdio_bus mt7530-0:05: No GPIO consumer reset found
[    7.921436] mt7530 mdio-bus:00 wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=POLL)
[    7.933132] mt7530 mdio-bus:00 lan0 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=POLL)
[    7.944897] mt7530 mdio-bus:00 lan1 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=POLL)
[    7.956672] mt7530 mdio-bus:00 lan2 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=POLL)
[    7.966602] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    7.968401] mt7530 mdio-bus:00 lan3 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7530 PHY] (irq=POLL)
[    7.974521] ata1.00: ATA-10: Patriot P210 256GB, U0506A0, max UDMA/133
[    7.983849] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/ethernet@1b100000/mdio-bus/switch@0/ports/port@5/fixed-link[0]'
[    7.990032] ata1.00: 500118192 sectors, multi 1: LBA48 NCQ (depth 32), AA
[    8.002560] of_get_named_gpiod_flags: can't parse 'link-gpio' property of node '/ethernet@1b100000/mdio-bus/switch@0/ports/port@5/fixed-link[0]'
[    8.012865] ata1.00: configured for UDMA/133
[    8.023309] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/ethernet@1b100000/mdio-bus/switch@0/ports/port@6/fixed-link[0]'
[    8.027100] scsi 0:0:0:0: Direct-Access     ATA      Patriot P210 256 6A0  PQ: 0 ANSI: 5
[    8.039712] of_get_named_gpiod_flags: can't parse 'link-gpio' property of node '/ethernet@1b100000/mdio-bus/switch@0/ports/port@6/fixed-link[0]'
[    8.049317] sd 0:0:0:0: [sda] 500118192 512-byte logical blocks: (256 GB/238 GiB)
[    8.061404] mt7530 mdio-bus:00: configuring for fixed/trgmii link mode
[    8.068470] sd 0:0:0:0: [sda] Write Protect is off
[    8.077529] DSA: tree 0 setup
[    8.079712] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    8.083009] usb-conn-gpio 11200000.usb:connector: GPIO lookup for consumer id
[    8.087917] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.094863] usb-conn-gpio 11200000.usb:connector: using device tree for GPIO lookup
[    8.108033]  sda: sda1
[    8.111647] of_get_named_gpiod_flags: parsed 'id-gpios' property of node '/usb@11200000/connector[0]' - status (0)
[    8.115163] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.124373] gpio gpiochip0: Persistence not supported for GPIO 44
[    8.135092] usb-conn-gpio 11200000.usb:connector: GPIO lookup for consumer vbus
[    8.142430] usb-conn-gpio 11200000.usb:connector: using device tree for GPIO lookup
[    8.150121] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/usb@11200000/connector[0]'
[    8.159999] of_get_named_gpiod_flags: can't parse 'vbus-gpio' property of node '/usb@11200000/connector[0]'
[    8.169792] usb-conn-gpio 11200000.usb:connector: using lookup tables for GPIO lookup
[    8.177646] usb-conn-gpio 11200000.usb:connector: No GPIO consumer vbus found
[    8.184833] usb-conn-gpio 11200000.usb:connector: supply vbus not found, using dummy regulator
[    8.194327] mt7530 mdio-bus:00: Link is Up - 1Gbps/Full - flow control rx/tx
[    8.202987] ALSA device list:
[    8.205984]   No soundcards found.
[    8.398023] ata2: SATA link down (SStatus 0 SControl 300)
[    8.403533] md: Waiting for all devices to be available before autodetect
[    8.410371] md: If you don't use raid, use raid=noautodetect
[    8.416038] md: Autodetecting RAID arrays.
[    8.420155] md: autorun ...
[    8.422950] md: ... autorun DONE.
[    8.443819] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    8.451205] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    8.865469] EXT4-fs (mmcblk0p2): recovery complete
[    8.892072] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[    8.902329] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    8.924905] devtmpfs: mounted
[    8.934481] Freeing unused kernel image (initmem) memory: 1024K
[    8.940780] Run /sbin/init as init process
[    8.944889]   with arguments:
[    8.947886]     /sbin/init
[    8.950598]   with environment:
[    8.953738]     HOME=/
[    8.956098]     TERM=linux
[    8.958839]     board=bpi-r2
[   10.998089] systemd[1]: systemd 247.3-7 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[   11.024943] systemd[1]: Detected architecture arm.
[   11.062648] systemd[1]: Set hostname to <bpi-r2>.
[   11.916132] systemd[1]: /etc/systemd/system/rc-local.service:11: Support for option SysVStartPriority= has been removed and it is ignored
[   12.000753] systemd[1]: Queued start job for default target Graphical Interface.
[   12.013361] systemd[1]: Created slice system-getty.slice.
[   12.021414] systemd[1]: Created slice system-modprobe.slice.
[   12.029554] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   12.038062] systemd[1]: Created slice User and Session Slice.
[   12.044732] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   12.053650] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   12.061973] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[   12.074083] systemd[1]: Reached target Local Encrypted Volumes.
[   12.080937] systemd[1]: Reached target Paths.
[   12.085785] systemd[1]: Reached target Remote File Systems.
[   12.091891] systemd[1]: Reached target Slices.
[   12.096903] systemd[1]: Reached target Swap.
[   12.104208] systemd[1]: Listening on Syslog Socket.
[   12.110460] systemd[1]: Listening on fsck to fsckd communication Socket.
[   12.118126] systemd[1]: Listening on initctl Compatibility Named Pipe.
[   12.136063] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[   12.145194] systemd[1]: Listening on Journal Socket (/dev/log).
[   12.152542] systemd[1]: Listening on Journal Socket.
[   12.159208] systemd[1]: Listening on Network Service Netlink Socket.
[   12.168308] systemd[1]: Listening on udev Control Socket.
[   12.174890] systemd[1]: Listening on udev Kernel Socket.
[   12.181730] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[   12.194924] systemd[1]: Mounting POSIX Message Queue File System...
[   12.207731] systemd[1]: Mounting Kernel Debug File System...
[   12.219683] systemd[1]: Mounting Kernel Trace File System...
[   12.232597] systemd[1]: Starting Create list of static device nodes for the current kernel...
[   12.248104] systemd[1]: Starting Load Kernel Module configfs...
[   12.260817] systemd[1]: Starting Load Kernel Module drm...
[   12.273094] systemd[1]: Starting Load Kernel Module fuse...
[   12.287034] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   12.301440] systemd[1]: Starting File System Check on Root Device...
[   12.318971] systemd[1]: Starting Journal Service...
[   12.452755] systemd[1]: Starting Load Kernel Modules...
[   12.464081] systemd[1]: Starting Coldplug All udev Devices...
[   12.480161] systemd[1]: Mounted POSIX Message Queue File System.
[   12.487463] systemd[1]: Mounted Kernel Debug File System.
[   12.493991] systemd[1]: Mounted Kernel Trace File System.
[   12.502257] systemd[1]: Finished Create list of static device nodes for the current kernel.
[   12.517835] fuse: init (API version 7.34)
[   12.551940] systemd[1]: modprobe@configfs.service: Succeeded.
[   12.560077] systemd[1]: Finished Load Kernel Module configfs.
[   12.567947] systemd[1]: modprobe@drm.service: Succeeded.
[   12.575354] systemd[1]: Finished Load Kernel Module drm.
[   12.583186] systemd[1]: modprobe@fuse.service: Succeeded.
[   12.590523] systemd[1]: Finished Load Kernel Module fuse.
[   12.598773] systemd[1]: Finished Load Kernel Modules.
[   12.610707] systemd[1]: Mounting FUSE Control File System...
[   12.623205] systemd[1]: Mounting Kernel Configuration File System...
[   12.635660] systemd[1]: Started File System Check Daemon to report status.
[   12.650104] systemd[1]: Starting Apply Kernel Variables...
[   12.661737] systemd[1]: Mounted FUSE Control File System.
[   12.669295] systemd[1]: Mounted Kernel Configuration File System.
[   12.704528] systemd[1]: Finished File System Check on Root Device.
[   12.720410] systemd[1]: Starting Remount Root and Kernel File Systems...
[   12.733109] systemd[1]: Finished Apply Kernel Variables.
[   12.791304] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro. Quota mode: disabled.
[   12.810326] systemd[1]: Finished Remount Root and Kernel File Systems.
[   12.823173] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[   12.832814] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[   12.847656] systemd[1]: Starting Load/Save Random Seed...
[   12.860959] systemd[1]: Starting Create System Users...
[   13.005524] systemd[1]: Finished Load/Save Random Seed.
[   13.014029] systemd[1]: Finished Create System Users.
[   13.020687] systemd[1]: Condition check resulted in First Boot Complete being skipped.
[   13.034672] systemd[1]: Starting Create Static Device Nodes in /dev...
[   13.076259] systemd[1]: Started Journal Service.
[   13.150215] systemd-journald[161]: Received client request to flush runtime journal.
[   13.268600] systemd-journald[161]: File /var/log/journal/f4098fb7f96e464faa6efc47a185409f/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   14.413364] input: mtk-pmic-keys as /devices/platform/1000d000.pwrap/1000d000.pwrap:mt6323/mtk-pmic-keys/input/input1
[   14.969381] lima 13040000.gpu: mmu gpmmu dte write test fail
[   14.975224] lima: probe of 13040000.gpu failed with error -5
[   16.121548] SPI driver spidev has no spi_device_id for linux,spidev
[   16.122061] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   16.170872] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   16.193074] lanbr0: port 1(lan3) entered blocking state
[   16.198403] lanbr0: port 1(lan3) entered disabled state
[   16.208952] device lan3 entered promiscuous mode
[   16.213114] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[   16.219404] lanbr0: port 2(lan2) entered blocking state
[   16.226964] lanbr0: port 2(lan2) entered disabled state
[   16.234191] device lan2 entered promiscuous mode
[   16.245997] lanbr0: port 3(lan1) entered blocking state
[   16.251364] lanbr0: port 3(lan1) entered disabled state
[   16.261567] device lan1 entered promiscuous mode
[   16.270851] lanbr0: port 4(lan0) entered blocking state
[   16.276124] lanbr0: port 4(lan0) entered disabled state
[   16.282954] device lan0 entered promiscuous mode
[   16.293951] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/trgmii link mode
[   16.302080] device eth0 entered promiscuous mode
[   16.307136] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   16.315644] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.326239] mt7530 mdio-bus:00 lan3: configuring for phy/gmii link mode
[   16.334958] mt7530 mdio-bus:00 lan2: configuring for phy/gmii link mode
[   16.343762] mt7530 mdio-bus:00 lan1: configuring for phy/gmii link mode
[   16.354611] mt7530 mdio-bus:00 lan0: configuring for phy/gmii link mode
[   18.051096] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   19.481662] ath9k 0000:01:00.0: enabling device (0140 -> 0142)
[   19.497104] ath: EEPROM regdomain: 0x6a
[   19.500974] ath: EEPROM indicates we should expect a direct regpair map
[   19.507637] ath: Country alpha2 being used: 00
[   19.512096] ath: Regpair used: 0x6a
[   19.520331] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   19.529415] ieee80211 phy0: Atheros AR9462 Rev:2 mem=0xe1000000, irq=259
[   19.599520] ath9k 0000:01:00.0 wlp1s0: renamed from wlan0
[   20.276360] Mass Storage Function, version: 2009/09/11
[   20.281632] LUN: removable file: (no medium)
[   20.364219] using random self ethernet address
[   20.368790] using random host ethernet address
[   20.469089] usb0: HOST MAC 48:6f:73:74:50:43
[   20.473432] usb0: MAC 42:61:64:55:53:42
[   20.842009] mt7530 mdio-bus:00 wan: configuring for phy/gmii link mode
[   23.957322] mt7530 mdio-bus:00 wan: Link is Up - 1Gbps/Full - flow control rx/tx
[   23.964785] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[   38.276587] vdd_fixed_vgpu: disabling
[   38.280310] vusb: disabling
[   38.283116] vmc: disabling
[   38.285829] vmch: disabling
[   38.288676] vgp1: disabling
[   38.291510] vcamaf: disabling

OpenWrt Attempt

Extracing dtb

dumpimage -T flat_dt -p 1 -o /tmp/bpir2.dtb /home/lth/openwrt-bpir2/bin/targets/
mediatek/mt7623/lifeline-0.0.67-dev-mediatek-mt7623-bananapi_bpi-r2-squashfs-sys
upgrade.itb
dtc -I dtb -O dts bpir2.dtb -o bpir2.dts

Devices

root@llcon:/sys/devices/platform# ls -l
drwxr-xr-x    3 root     root             0 Jan  1  1970 10000000.syscon
drwxr-xr-x    3 root     root             0 Jan  1  1970 10001000.syscon
drwxr-xr-x    3 root     root             0 Jan  1  1970 10003000.syscon
drwxr-xr-x    3 root     root             0 Jan  1  1970 10005000.syscfg
drwxr-xr-x    3 root     root             0 Jan  1  1970 10006000.power-controller
drwxr-xr-x    5 root     root             0 Jan  1  1970 10007000.watchdog
drwxr-xr-x    3 root     root             0 Jan  1  1970 10008000.timer
drwxr-xr-x    5 root     root             0 Jan  1  1970 1000b000.pinctrl
drwxr-xr-x    3 root     root             0 Jan  1  1970 1000c000.smi
drwxr-xr-x    4 root     root             0 Jan  1  1970 1000d000.pwrap
drwxr-xr-x    4 root     root             0 Jan  1  1970 10010000.dsi-phy
drwxr-xr-x    3 root     root             0 Jan  1  1970 10012000.cec
drwxr-xr-x    3 root     root             0 Jan  1  1970 10013000.cir
drwxr-xr-x    4 root     root             0 Jan  1  1970 10205000.mmsys_iommu
drwxr-xr-x    4 root     root             0 Jan  1  1970 10206000.efuse
drwxr-xr-x    3 root     root             0 Jan  1  1970 10209000.syscon
drwxr-xr-x    4 root     root             0 Jan  1  1970 10209100.hdmi-phy
drwxr-xr-x    3 root     root             0 Jan  1  1970 1020f000.rng
drwxr-xr-x    4 root     root             0 Jan  1  1970 11001000.adc
drwxr-xr-x    4 root     root             0 Jan  1  1970 11002000.serial
drwxr-xr-x    4 root     root             0 Jan  1  1970 11003000.serial
drwxr-xr-x    4 root     root             0 Jan  1  1970 11004000.serial
drwxr-xr-x    4 root     root             0 Jan  1  1970 11006000.pwm
drwxr-xr-x    4 root     root             0 Jan  1  1970 11007000.i2c
drwxr-xr-x    4 root     root             0 Jan  1  1970 11008000.i2c
drwxr-xr-x    4 root     root             0 Jan  1  1970 1100a000.spi
drwxr-xr-x    3 root     root             0 Jan  1  1970 1100b000.thermal
drwxr-xr-x    3 root     root             0 Jan  1  1970 1100c000.serial
drwxr-xr-x    4 root     root             0 Jan  1  1970 11013000.i2c
drwxr-xr-x    4 root     root             0 Jan  1  1970 11220000.clock-controller
drwxr-xr-x    4 root     root             0 Jan  1  1970 11230000.mmc
drwxr-xr-x    4 root     root             0 Jan  1  1970 11240000.mmc
drwxr-xr-x    3 root     root             0 Jan  1  1970 13000000.syscon
drwxr-xr-x    4 root     root             0 Jan  1  1970 13040000.gpu
drwxr-xr-x    5 root     root             0 Jan  1  1970 14000000.syscon
drwxr-xr-x    3 root     root             0 Jan  1  1970 14007000.ovl
drwxr-xr-x    3 root     root             0 Jan  1  1970 14008000.rdma
drwxr-xr-x    3 root     root             0 Jan  1  1970 14009000.wdma
drwxr-xr-x    3 root     root             0 Jan  1  1970 1400a000.pwm
drwxr-xr-x    3 root     root             0 Jan  1  1970 1400b000.color
drwxr-xr-x    3 root     root             0 Jan  1  1970 1400e000.mutex
drwxr-xr-x    3 root     root             0 Jan  1  1970 14010000.larb
drwxr-xr-x    3 root     root             0 Jan  1  1970 14012000.rdma
drwxr-xr-x    3 root     root             0 Jan  1  1970 14014000.dpi
drwxr-xr-x    4 root     root             0 Jan  1  1970 14015000.hdmi
drwxr-xr-x    3 root     root             0 Jan  1  1970 15000000.syscon
drwxr-xr-x    3 root     root             0 Jan  1  1970 15001000.larb
drwxr-xr-x    3 root     root             0 Jan  1  1970 15004000.jpegdec
drwxr-xr-x    3 root     root             0 Jan  1  1970 16000000.syscon
drwxr-xr-x    3 root     root             0 Jan  1  1970 16010000.larb
drwxr-xr-x    3 root     root             0 Jan  1  1970 1a000000.syscon
drwxr-xr-x    3 root     root             0 Jan  1  1970 1a140000.pcie
drwxr-xr-x    3 root     root             0 Jan  1  1970 1a149000.t-phy
drwxr-xr-x    3 root     root             0 Jan  1  1970 1a14a000.t-phy
drwxr-xr-x    3 root     root             0 Jan  1  1970 1a1c0000.usb
drwxr-xr-x    3 root     root             0 Jan  1  1970 1a1c4000.t-phy
drwxr-xr-x    3 root     root             0 Jan  1  1970 1a240000.usb
drwxr-xr-x    3 root     root             0 Jan  1  1970 1a244000.t-phy
drwxr-xr-x    3 root     root             0 Jan  1  1970 1b000000.syscon
drwxr-xr-x    3 root     root             0 Jan  1  1970 1b007000.dma-controller
drwxr-xr-x    5 root     root             0 Jan  1  1970 1b100000.ethernet
drwxr-xr-x    3 root     root             0 Jan  1  1970 1b240000.crypto
drwxr-xr-x    3 root     root             0 Jan  1  1970 1c000000.syscon
drwxr-xr-x    4 root     root             0 Jan  1  1970 Fixed MDIO bus.0
drwxr-xr-x    3 root     root             0 Jan  1  1970 connector
drwxr-xr-x    4 root     root             0 Jan  1  1970 fixedregulator@0
drwxr-xr-x    3 root     root             0 Jan  1  1970 gpio-keys
drwxr-xr-x    4 root     root             0 Jan  1  1970 leds
drwxr-xr-x    3 root     root             0 Jan  1  1970 mtk-cpufreq
drwxr-xr-x    3 root     root             0 Jan  1  1970 pmu
drwxr-xr-x    2 root     root             0 Jun  9 14:35 power
drwxr-xr-x    4 root     root             0 Jan  1  1970 reg-dummy
drwxr-xr-x    4 root     root             0 Jan  1  1970 regulator-1p8v
drwxr-xr-x    4 root     root             0 Jan  1  1970 regulator-3p3v
drwxr-xr-x    4 root     root             0 Jan  1  1970 regulator-5v
drwxr-xr-x    3 root     root             0 Jun  9 14:35 regulatory.0
drwxr-xr-x    4 root     root             0 Jan  1  1970 serial8250
drwxr-xr-x    3 root     root             0 Jan  1  1970 timer
-rw-r--r--    1 root     root          4096 Jun  9 14:35 uevent

After tweaks:

root@llcon:/sys/devices# ls -ls platform/
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 10000000.syscon
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 10001000.syscon
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 10003000.syscon
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 10005000.syscfg
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 10006000.power-controller
     0 drwxr-xr-x    5 root     root             0 Jan  1  1970 10007000.watchdog
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 10008000.timer
     0 drwxr-xr-x    5 root     root             0 Jan  1  1970 1000b000.pinctrl
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1000c000.smi
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 1000d000.pwrap
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 10010000.dsi-phy
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 10012000.cec
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 10013000.cir
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 10205000.mmsys_iommu
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 10206000.efuse
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 10209000.syscon
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 10209100.hdmi-phy
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1020f000.rng
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 11001000.adc
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 11002000.serial
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 11003000.serial
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 11004000.serial
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 11006000.pwm
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 11007000.i2c
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 11008000.i2c
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 1100a000.spi
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1100b000.thermal
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1100c000.serial
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 11013000.i2c
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 11200000.usb
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 11210000.t-phy
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 11220000.clock-controller
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 11230000.mmc
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 11240000.mmc
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 13000000.syscon
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 13040000.gpu
     0 drwxr-xr-x    5 root     root             0 Jan  1  1970 14000000.syscon
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 14007000.ovl
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 14008000.rdma
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 14009000.wdma
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1400a000.pwm
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1400b000.color
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1400e000.mutex
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 14010000.larb
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 14012000.rdma
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 14014000.dpi
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 14015000.hdmi
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 15000000.syscon
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 15001000.larb
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 15004000.jpegdec
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 16000000.syscon
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 16010000.larb
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1a000000.syscon
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1a140000.pcie
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1a149000.t-phy
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1a14a000.t-phy
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1a1c0000.usb
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1a1c4000.t-phy
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1a240000.usb
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1a244000.t-phy
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1b000000.syscon
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1b007000.dma-controller
     0 drwxr-xr-x    5 root     root             0 Jan  1  1970 1b100000.ethernet
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1b240000.crypto
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 1c000000.syscon
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 Fixed MDIO bus.0
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 connector
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 fixedregulator@0
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 gpio-keys
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 leds
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 mtk-cpufreq
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 pmu
     0 drwxr-xr-x    2 root     root             0 Jun 15 15:16 power
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 reg-dummy
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 regulator-1p8v
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 regulator-3p3v
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 regulator-5v
     0 drwxr-xr-x    3 root     root             0 Jun 15 15:16 regulatory.0
     0 drwxr-xr-x    4 root     root             0 Jan  1  1970 serial8250
     0 drwxr-xr-x    3 root     root             0 Jan  1  1970 timer
     0 -rw-r--r--    1 root     root          4096 Jun 15 15:16 uevent

Image

lth@ncpws04:/tmp$ dumpimage -l lifeline-0.0.63-dev-mediatek-mt7623-bananapi_bpi-r2-squashfs-sysupgrade.itb 
Image contains unit addresses @, this will break signing
FIT description: ARM OpenWrt FIT (Flattened Image Tree)
Created:         Wed Jun  8 19:06:59 2022
 Image 0 (kernel-1)
  Description:  ARM OpenWrt Linux-5.15.34
  Created:      Wed Jun  8 19:06:59 2022
  Type:         Kernel Image
  Compression:  gzip compressed
  Data Size:    5829231 Bytes = 5692.61 KiB = 5.56 MiB
  Architecture: ARM
  OS:           Linux
  Load Address: 0x80008000
  Entry Point:  0x80008000
  Hash algo:    crc32
  Hash value:   1492c2b5
  Hash algo:    sha1
  Hash value:   d50bca802e8b35ebb6fa998c7e75e42543bc8e82
 Image 1 (fdt-1)
  Description:  ARM OpenWrt bananapi_bpi-r2 device tree blob
  Created:      Wed Jun  8 19:06:59 2022
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    34375 Bytes = 33.57 KiB = 0.03 MiB
  Architecture: ARM
  Hash algo:    crc32
  Hash value:   0d29a71c
  Hash algo:    sha1
  Hash value:   c43349727efd6bfc7c719db7ec2958a74e88121b
 Image 2 (rootfs-1)
  Description:  ARM OpenWrt bananapi_bpi-r2 rootfs
  Created:      Wed Jun  8 19:06:59 2022
  Type:         Filesystem Image
  Compression:  uncompressed
  Data Size:    13963264 Bytes = 13636.00 KiB = 13.32 MiB
  Hash algo:    crc32
  Hash value:   dd16523e
  Hash algo:    sha1
  Hash value:   8a4803fbf84f88ed7228b0ce69a451e1fd590b25
 Default Configuration: 'config-1'
 Configuration 0 (config-1)
  Description:  OpenWrt bananapi_bpi-r2
  Kernel:       kernel-1
  FDT:          fdt-1
  Loadables:    rootfs-1

Issue

/consys@18070000:power-domains: cell 0 is not a phandle reference
arch/arm/boot/dts/mt7623.dtsi:759.26-777.4: Warning (power_domains_property): /consys@18070000: Missing property '#power-domain-cells' in node /pinctrl@10005000/spi1-default or bad phandle (referred from power-domains[0])
arch/arm/boot/dts/mt7623.dtsi:766.3-24: Warning (resets_property): /consys@18070000:resets: cell 0 is not a phandle reference
arch/arm/boot/dts/mt7623.dtsi:759.26-777.4: Warning (resets_property): /consys@18070000: Missing property '#reset-cells' in node /t-phy@1a149000/pcie-phy@1a149900 or bad phandle (referred from resets[0])
arch/arm/boot/dts/mt7623.dtsi:610.25-53: Warning (gpios_property): /usb@11200000/connector:id-gpios: cell 0 is not a phandle reference
  DTC     arch/arm/boot/dts/mt7623a-rfb-nand.dtb
arch/arm/boot/dts/mt7623.dtsi:762.3-24: Warning (clocks_property): /consys@18070000:clocks: cell 0 is not a phandle reference
arch/arm/boot/dts/mt7623.dtsi:764.3-31: Warning (power_domains_property): /consys@18070000:power-domains: cell 0 is not a phandle reference
arch/arm/boot/dts/mt7623.dtsi:759.26-777.4: Warning (power_domains_property): /consys@18070000: Missing property '#power-domain-cells' in node /pinctrl@10005000/nanddefault or bad phandle (referred from power-domains[0])
arch/arm/boot/dts/mt7623.dtsi:766.3-24: Warning (resets_property): /consys@18070000:resets: cell 0 is not a phandle reference
arch/arm/boot/dts/mt7623.dtsi:759.26-777.4: Warning (resets_property): /consys@18070000: Missing property '#reset-cells' in node /t-phy@1a244000/usb-phy@1a244900 or bad phandle (referred from resets[0])
arch/arm/boot/dts/mt7623.dtsi:610.25-53: Warning (gpios_property): /usb@11200000/connector:id-gpios: cell 0 is not a phandle reference
  DTC     arch/arm/boot/dts/mt7623n-rfb-emmc.dtb
arch/arm/boot/dts/mt7623.dtsi:762.3-24: Warning (clocks_property): /consys@18070000:clocks: cell 0 is not a phandle reference
arch/arm/boot/dts/mt7623.dtsi:764.3-31: Warning (power_domains_property): /consys@18070000:power-domains: cell 0 is not a phandle reference
arch/arm/boot/dts/mt7623.dtsi:759.26-777.4: Warning (power_domains_property): /consys@18070000: Missing property '#power-domain-cells' in node /efuse@10206000/calib@424 or bad phandle (referred from power-domains[0])
arch/arm/boot/dts/mt7623.dtsi:766.3-24: Warning (resets_property): /consys@18070000:resets: cell 0 is not a phandle reference
arch/arm/boot/dts/mt7623.dtsi:759.26-777.4: Warning (resets_property): /consys@18070000: Missing property '#reset-cells' in node /regulator-1p8v or bad phandle (referred from resets[0])
arch/arm/boot/dts/mt7623.dtsi:610.25-53: Warning (gpios_property): /usb@11200000/connector:id-gpios: cell 0 is not a phandle reference
  DTC     arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb
arch/arm/boot/dts/mt7623.dtsi:762.3-24: Warning (clocks_property): /consys@18070000:clocks: cell 0 is not a phandle reference
arch/arm/boot/dts/mt7623.dtsi:764.3-31: Warning (power_domains_property): /consys@18070000:power-domains: cell 0 is not a phandle reference
arch/arm/boot/dts/mt7623.dtsi:766.3-24: Warning (resets_property): /consys@18070000:resets: cell 0 is not a phandle reference
arch/arm/boot/dts/mt7623.dtsi:610.25-53: Warning (gpios_property): /usb@11200000/connector:id-gpios: cell 0 is not a phandle reference
  DTC     arch/arm/boot/dts/mt7629-rfb.dtb
  DTC     arch/arm/boot/dts/mt8127-moose.dtb
  DTC     arch/arm/boot/dts/mt8135-evbp1.dtb
  LDS     arch/arm/boot/compressed/vmlinux.lds
  AS      arch/arm/boot/compressed/head.o
  


Miscellaneous Links