WiTi (MT7621) does not see the ASM1061 SATA controller

My MT7621 board (WiTi) does not see the ASM1061 SATA controller which is soldered on the board.

Model	MQmaker WiTi
Architecture	MediaTek MT7621 ver:1 eco:3
Target Platform	ramips/mt7621
Firmware Version	OpenWrt 21.02.2 r16495-bf0c965af0 / LuCI openwrt-21.02 branch git-22.046.85957-59c3392
Kernel Version	5.4.179
root@OpenWrt:~# lspci -tv
-[0000:00]-+-00.0-[01]----00.0  MEDIATEK Corp. MT7662E 802.11ac PCI Express Wireless Network Adapter
           \-01.0-[02]----00.0  MEDIATEK Corp. MT7662E 802.11ac PCI Express Wireless Network Adapter

[    0.000000] Linux version 5.4.179 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16495-bf0c965af0)) #0 SMP Wed Feb 16 20:29:10 2022
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is MQmaker WiTi
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] On node 0 totalpages: 65536
[    0.000000]   Normal zone: 576 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] percpu: Embedded 14 pages/cpu s26768 r8192 d22384 u57344
[    0.000000] pcpu-alloc: s26768 r8192 d22384 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00002040
[    0.000000] Readback ErrCtl register=00002040
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 250792K/262144K available (6095K kernel code, 204K rwdata, 748K rodata, 1260K init, 238K bss, 11352K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from 0x806e5a3c with crng_init=0
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000011] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.015555] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.055882] pid_max: default: 32768 minimum: 301
[    0.065272] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.079683] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.098487] rcu: Hierarchical SRCU implementation.
[    0.108789] smp: Bringing up secondary CPUs ...
[    7.667000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    7.667015] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    7.667031] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    7.667162] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.146024] Synchronize counters for CPU 1: done.
[    7.764613] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    7.764622] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    7.764630] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    7.764702] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.240661] Synchronize counters for CPU 2: done.
[    7.849334] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    7.849341] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    7.849351] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    7.849424] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.328267] Synchronize counters for CPU 3: done.
[    0.387891] smp: Brought up 1 node, 4 CPUs
[    0.400838] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.420159] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.434072] pinctrl core: initialized pinctrl subsystem
[    0.446683] NET: Registered protocol family 16
[    0.464052] FPU Affinity set after 4688 emulations
[    0.487528] clocksource: Switched to clocksource GIC
[    0.499719] thermal_sys: Registered thermal governor 'step_wise'
[    0.500342] NET: Registered protocol family 2
[    0.521024] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.536437] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.553057] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.568203] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.582373] TCP: Hash tables configured (established 2048 bind 2048)
[    0.595127] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.608039] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.622199] NET: Registered protocol family 1
[    0.630783] PCI: CLS 0 bytes, default 32
[    0.727433] 4 CPUs re-calibrate udelay(lpj = 1167360)
[    0.739634] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.755467] random: fast init done
[    0.768792] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.780298] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.801948] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.818971] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.830366] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.841729] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.853812] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.870857] printk: console [ttyS0] disabled
[    0.879349] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.897273] printk: console [ttyS0] enabled
[    0.913798] printk: bootconsole [early0] disabled
[    0.936239] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    0.950471] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[    0.960310] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.972968] Creating 4 MTD partitions on "spi0.0":
[    0.982520] 0x000000000000-0x000000030000 : "u-boot"
[    0.994188] 0x000000030000-0x000000040000 : "u-boot-env"
[    1.006576] 0x000000040000-0x000000050000 : "factory"
[    1.018314] 0x000000050000-0x000001000000 : "firmware"
[    1.030623] 2 uimage-fw partitions found on MTD device firmware
[    1.042457] Creating 2 MTD partitions on "firmware":
[    1.052363] 0x000000000000-0x000000242750 : "kernel"
[    1.064044] 0x000000242750-0x000000fb0000 : "rootfs"
[    1.075820] mtd: device 5 (rootfs) set to be root filesystem
[    1.087325] 1 squashfs-split partitions found on MTD device rootfs
[    1.099694] 0x0000005b0000-0x000000fb0000 : "rootfs_data"
[    1.142309] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.158333] mtk_soc_eth 1e100000.ethernet: generated random MAC address ba:12:4a:eb:59:f7
[    1.175824] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22
[    1.203478] rtc-pcf8563 0-0051: pcf8563_write_block_data: err=-6 addr=0e, data=03
[    1.218406] rtc-pcf8563 0-0051: pcf8563_probe: write error
[    1.229359] rtc-pcf8563: probe of 0-0051 failed with error -5
[    1.240818] i2c-mt7621 1e000900.i2c: clock 100 kHz
[    1.252229] mt7621-pci 1e140000.pcie: Parsing DT failed
[    1.265908] NET: Registered protocol family 10
[    1.276600] Segment Routing with IPv6
[    1.284059] NET: Registered protocol family 17
[    1.293018] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.319153] 8021q: 802.1Q VLAN Support v1.8
[    1.329844] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.356596] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    1.375001] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    1.393257] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    1.411748] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    1.430214] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    1.448398] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    1.466055] DSA: tree 0 setup
[    1.472400] rt2880-pinmux pinctrl: pcie is already enabled
[    1.483533] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    1.498502] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    1.613275] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    1.624390] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    1.735404] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    1.749274] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    1.758983] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.768702] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.787460] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.800136] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.813829] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.827525] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.838496] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.850499] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.862989] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    1.875555] pci 0000:00:00.0: supports D1
[    1.883539] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.895468] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.907481] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.919970] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    1.932523] pci 0000:00:01.0: supports D1
[    1.940506] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.953477] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    1.965515] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    1.979074] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    1.992533] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    2.006051] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    2.016477] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    2.028616] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.042136] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.056529] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.069958] pci 0000:02:00.0: [14c3:7662] type 00 class 0x028000
[    2.081991] pci 0000:02:00.0: reg 0x10: [mem 0x60200000-0x602fffff 64bit]
[    2.095565] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.109016] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    2.122545] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    2.132975] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    2.145111] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.158630] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    2.173020] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    2.186252] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.199458] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.213326] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.226498] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.240369] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.253890] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    2.268279] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    2.281801] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    2.296189] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    2.309713] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    2.323237] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    2.336763] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    2.350292] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.364864] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    2.379248] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.389136] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    2.402657] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.416179] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.430570] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit]
[    2.445142] pci 0000:02:00.0: BAR 6: assigned [mem 0x60300000-0x6030ffff pref]
[    2.459527] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.469410] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    2.482928] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.496450] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    2.511624] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    2.512082] hctosys: unable to open rtc device (rtc0)
[    2.542366] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    2.563077] Freeing unused kernel memory: 1260K
[    2.572147] This architecture does not have kernel memory protection.
[    2.584970] Run /sbin/init as init process
[    3.588939] init: Console is alive
[    3.596074] init: - watchdog -
[    5.166504] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.330265] usbcore: registered new interface driver usbfs
[    5.341378] usbcore: registered new interface driver hub
[    5.352133] usbcore: registered new device driver usb
[    5.372933] SCSI subsystem initialized
[    5.394527] libata version 3.00 loaded.
[    5.407843] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[    5.425180] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    5.442933] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    5.453571] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    5.475697] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010
[    5.494005] xhci-mtk 1e1c0000.xhci: irq 21, io mem 0x1e1c0000
[    5.506930] hub 1-0:1.0: USB hub found
[    5.514567] hub 1-0:1.0: 2 ports detected
[    5.523234] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    5.533903] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    5.548848] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    5.561765] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.578904] hub 2-0:1.0: USB hub found
[    5.586504] hub 2-0:1.0: 1 port detected
[    5.634765] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.655938] init: - preinit -
[    5.981516] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-mtk
[    6.019021] random: procd: uninitialized urandom read (4 bytes read)
[    6.669131] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    6.685406] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    6.702289] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.827977] random: jshn: uninitialized urandom read (4 bytes read)
[    6.901531] random: jshn: uninitialized urandom read (4 bytes read)
[    7.053594] urandom_read: 3 callbacks suppressed
[    7.053608] random: jshn: uninitialized urandom read (4 bytes read)
[    7.103149] random: jshn: uninitialized urandom read (4 bytes read)
[    7.151258] random: jshn: uninitialized urandom read (4 bytes read)
[    7.225009] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    7.238701] 8021q: adding VLAN 0 to HW filter on device lan1
[   11.339992] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   11.355002] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[   11.603504] jffs2: notice: (640) jffs2_build_xattr_subsystem: complete building xattr subsystem, 30 of xdatum (26 unchecked, 4 orphan) and 39 of xref (4 dead, 0 orphan) found.
[   11.659719] mount_root: loading kmods from internal overlay
[   11.836064] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   11.921186] usb-storage 2-1:1.0: USB Mass Storage device detected
[   11.934076] scsi host0: usb-storage 2-1:1.0
[   11.943968] usbcore: registered new interface driver usb-storage
[   11.956588] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   12.403816] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   12.421026] block: extroot: not configured
[   12.431044] mount_root: switching to jffs2 overlay
[   12.445976] overlayfs: upper fs does not support tmpfile.
[   12.462769] urandom-seed: Seeding with /etc/urandom.seed
[   12.523276] mt7530 mdio-bus:1f lan1: Link is Down
[   12.568662] procd: - early -
[   12.574568] procd: - watchdog -
[   12.587834] crng init done
[   12.593293] random: 1 urandom warning(s) missed due to ratelimiting
[   12.973071] scsi 0:0:0:0: Direct-Access     Kingston DT microDuo 3C   PMAP PQ: 0 ANSI: 6
[   12.993375] sd 0:0:0:0: [sda] 121110528 512-byte logical blocks: (62.0 GB/57.8 GiB)
[   13.009806] sd 0:0:0:0: [sda] Write Protect is off
[   13.019500] sd 0:0:0:0: [sda] Mode Sense: 45 00 00 00
[   13.020096] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   13.090303]  sda: sda1 sda2
[   13.101293] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   13.603735] procd: - watchdog -
[   13.612156] procd: - ubus -
[   13.771935] procd: - init -
[   14.485053] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.521634] Loading modules backported from Linux version v5.10.85-0-ge4f2aee6612e
[   14.537069] Backport generated by backports.git v5.10.85-1-0-gf988973f
[   14.568296] usbcore: registered new interface driver ums-alauda
[   14.581858] usbcore: registered new interface driver ums-cypress
[   14.595708] usbcore: registered new interface driver ums-datafab
[   14.609270] usbcore: registered new interface driver ums-freecom
[   14.622978] usbcore: registered new interface driver ums-isd200
[   14.636698] usbcore: registered new interface driver ums-jumpshot
[   14.650517] usbcore: registered new interface driver ums-karma
[   14.666424] usbcore: registered new interface driver ums-sddr09
[   14.680153] usbcore: registered new interface driver ums-sddr55
[   14.693925] usbcore: registered new interface driver ums-usbat
[   14.715689] xt_time: kernel timezone is -0000
[   14.767935] urngd: v1.0.2 started.
[   14.797613] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=24
[   14.808480] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   14.819800] mt76x2e 0000:01:00.0: enabling device (0000 -> 0002)
[   14.832178] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[   15.240539] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[   15.258613] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[   15.269641] mt76x2e 0000:01:00.0: Build: 1
[   15.277814] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[   15.303498] mt76x2e 0000:01:00.0: Firmware running!
[   15.315859] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.321545] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=25
[   15.332474] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   15.344212] mt76x2e 0000:02:00.0: ASIC revision: 76020044
[   15.755583] mt76x2e 0000:02:00.0: ROM patch already applied
[   15.767991] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
[   15.778976] mt76x2e 0000:02:00.0: Build: 1
[   15.787145] mt76x2e 0000:02:00.0: Build Time: 201507311614____
[   15.802453] mt76x2e 0000:02:00.0: Firmware running!
[   15.814794] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   15.846230] PPP generic driver version 2.4.2
[   15.856720] NET: Registered protocol family 24
[   15.882392] kmodloader: done loading kernel modules from /etc/modules.d/*
[   22.756976] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   22.782498] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   22.798850] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   22.806746] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   22.831091] 8021q: adding VLAN 0 to HW filter on device lan1
[   22.851075] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   22.864802] br-lan: port 1(lan1) entered blocking state
[   22.875387] br-lan: port 1(lan1) entered disabled state
[   22.887758] device lan1 entered promiscuous mode
[   22.897155] device eth0 entered promiscuous mode
[   22.939634] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   22.953775] 8021q: adding VLAN 0 to HW filter on device lan2
[   22.969569] br-lan: port 2(lan2) entered blocking state
[   22.980110] br-lan: port 2(lan2) entered disabled state
[   22.992135] device lan2 entered promiscuous mode
[   23.013188] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   23.027211] 8021q: adding VLAN 0 to HW filter on device lan3
[   23.042166] br-lan: port 3(lan3) entered blocking state
[   23.052780] br-lan: port 3(lan3) entered disabled state
[   23.064922] device lan3 entered promiscuous mode
[   23.086021] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   23.100461] 8021q: adding VLAN 0 to HW filter on device lan4
[   23.116461] br-lan: port 4(lan4) entered blocking state
[   23.127016] br-lan: port 4(lan4) entered disabled state
[   23.140185] device lan4 entered promiscuous mode
[   23.175038] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   23.189020] 8021q: adding VLAN 0 to HW filter on device wan
[   26.923992] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   26.939000] br-lan: port 1(lan1) entered blocking state
[   26.949442] br-lan: port 1(lan1) entered forwarding state
[   26.961154] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   27.275998] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control rx/tx
[   27.290806] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[  719.956561] usb 2-1: USB disconnect, device number 2
[11217.684667] usb 2-1: new SuperSpeed Gen 1 USB device number 3 using xhci-mtk
[11217.720247] usb-storage 2-1:1.0: USB Mass Storage device detected
[11217.733485] scsi host0: usb-storage 2-1:1.0
[11218.761771] scsi 0:0:0:0: Direct-Access     Kingston DT microDuo 3C   PMAP PQ: 0 ANSI: 6
[11218.781801] sd 0:0:0:0: [sda] 121110528 512-byte logical blocks: (62.0 GB/57.8 GiB)
[11218.797490] sd 0:0:0:0: [sda] Write Protect is off
[11218.807080] sd 0:0:0:0: [sda] Mode Sense: 45 00 00 00
[11218.807480] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[11218.877550]  sda: sda1 sda2
[11218.886565] sd 0:0:0:0: [sda] Attached SCSI removable disk
root@OpenWrt:~# opkg list-installed
base-files - 1439-r16495-bf0c965af0
block-mount - 2021-01-04-c53b1882-1
busybox - 1.33.2-2
ca-bundle - 20210119-1
cgi-io - 2021-09-08-98cef9dd-20
dnsmasq - 2.85-8
dropbear - 2020.81-2
firewall - 2021-03-23-61db17ed-1
fstools - 2021-01-04-c53b1882-1
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2020-10-25-9ef88681-2
hdparm - 9.60-1
hostapd-common - 2020-06-08-5a8b3662-39
htop - 3.1.2-1
ip6tables - 1.8.7-1
iptables - 1.8.7-1
iw - 5.9-8fab0c9e-3
iwinfo - 2021-04-30-c45f0b58-2.1
jshn - 2021-05-16-b14c4688-2
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 5.4.179-1-613e7cb33f069740a878d322bb79ae77
kmod-ata-ahci - 5.4.179-1
kmod-ata-core - 5.4.179-1
kmod-ata-via-sata - 5.4.179-1
kmod-cfg80211 - 5.4.179+5.10.85-1-1
kmod-gpio-button-hotplug - 5.4.179-3
kmod-ip6tables - 5.4.179-1
kmod-ipt-conntrack - 5.4.179-1
kmod-ipt-core - 5.4.179-1
kmod-ipt-nat - 5.4.179-1
kmod-ipt-offload - 5.4.179-1
kmod-leds-gpio - 5.4.179-1
kmod-lib-crc-ccitt - 5.4.179-1
kmod-mac80211 - 5.4.179+5.10.85-1-1
kmod-mmc - 5.4.179-1
kmod-mt76-core - 5.4.179+2021-12-03-678071ef-4
kmod-mt76x02-common - 5.4.179+2021-12-03-678071ef-4
kmod-mt76x2 - 5.4.179+2021-12-03-678071ef-4
kmod-mt76x2-common - 5.4.179+2021-12-03-678071ef-4
kmod-nf-conntrack - 5.4.179-1
kmod-nf-conntrack6 - 5.4.179-1
kmod-nf-flow - 5.4.179-1
kmod-nf-ipt - 5.4.179-1
kmod-nf-ipt6 - 5.4.179-1
kmod-nf-nat - 5.4.179-1
kmod-nf-reject - 5.4.179-1
kmod-nf-reject6 - 5.4.179-1
kmod-nls-base - 5.4.179-1
kmod-ppp - 5.4.179-1
kmod-pppoe - 5.4.179-1
kmod-pppox - 5.4.179-1
kmod-scsi-core - 5.4.179-1
kmod-sdhci-mt7620 - 5.4.179-1
kmod-slhc - 5.4.179-1
kmod-usb-core - 5.4.179-1
kmod-usb-ledtrig-usbport - 5.4.179-1
kmod-usb-storage - 5.4.179-1
kmod-usb-storage-extras - 5.4.179-1
kmod-usb3 - 5.4.179-1
libblobmsg-json20210516 - 2021-05-16-b14c4688-2
libc - 1.1.24-3
libevdev - 1.12.0-1
libgcc1 - 8.4.0-3
libip4tc2 - 1.8.7-1
libip6tc2 - 1.8.7-1
libiwinfo-data - 2021-04-30-c45f0b58-2.1
libiwinfo-lua - 2021-04-30-c45f0b58-2.1
libiwinfo20210430 - 2021-04-30-c45f0b58-2.1
libjson-c5 - 0.15-2
libjson-script20210516 - 2021-05-16-b14c4688-2
libkmod - 27-2
liblua5.1.5 - 5.1.5-9
liblucihttp-lua - 2021-06-11-3dc89af4-1
liblucihttp0 - 2021-06-11-3dc89af4-1
libncurses6 - 6.2-3
libnl-tiny1 - 2020-08-05-c291088f-2
libpci - 3.7.0-2
libpthread - 1.1.24-3
librt - 1.1.24-3
libubox20210516 - 2021-05-16-b14c4688-2
libubus-lua - 2021-06-30-4fc532c8-2
libubus20210630 - 2021-06-30-4fc532c8-2
libuci20130104 - 2021-04-14-4b3db117-5
libuclient20201210 - 2021-05-14-6a6011df-1
libudev-zero - 1.0.0-1
libusb-1.0-0 - 1.0.24-4
libustream-wolfssl20201210 - 2022-01-16-868fd881-1
libwolfssl5.1.1.99a5b54a - 5.1.1-stable-1
libxtables12 - 1.8.7-1
logd - 2020-10-25-9ef88681-2
lua - 5.1.5-9
luci - git-20.074.84698-ead5e81
luci-app-firewall - git-22.046.85957-59c3392
luci-app-opkg - git-21.312.69848-4745991
luci-base - git-22.046.85957-59c3392
luci-lib-base - git-20.232.39649-1f6dc29
luci-lib-ip - git-20.250.76529-62505bd
luci-lib-jsonc - git-19.317.29469-8da8f38
luci-lib-nixio - git-20.234.06894-c4a4e43
luci-mod-admin-full - git-19.253.48496-3f93650
luci-mod-network - git-22.046.85061-dd54dce
luci-mod-status - git-22.046.85784-0ac2542
luci-mod-system - git-22.019.40321-7a37d02
luci-proto-ipv6 - git-21.148.49484-14511e5
luci-proto-ppp - git-21.163.64918-6c6559a
luci-ssl - git-20.244.36115-e10f954
luci-theme-bootstrap - git-22.047.35373-cc582eb
mtd - 26
netifd - 2021-10-30-8f82742c-1
odhcp6c - 2021-01-09-53f07e90-16
odhcpd-ipv6only - 2021-07-18-bc9d317f-3
openwrt-keyring - 2021-02-20-49283916-2
opkg - 2021-06-13-1bf042dd-1
pciids - 0.354-1
pciutils - 3.7.0-2
ppp - 2.4.8.git-2020-10-03-3
ppp-mod-pppoe - 2.4.8.git-2020-10-03-3
procd - 2021-03-08-2cfc26f8-1
px5g-wolfssl - 3
rpcd - 2021-03-11-ccb75178-1
rpcd-mod-file - 2021-03-11-ccb75178-1
rpcd-mod-iwinfo - 2021-03-11-ccb75178-1
rpcd-mod-luci - 20210614
rpcd-mod-rrdns - 20170710
terminfo - 6.2-3
ubi-utils - 2.1.2-1
ubox - 2020-10-25-9ef88681-2
ubus - 2021-06-30-4fc532c8-2
ubusd - 2021-06-30-4fc532c8-2
uci - 2021-04-14-4b3db117-5
uclient-fetch - 2021-05-14-6a6011df-1
uhttpd - 2021-03-21-15346de8-2
uhttpd-mod-ubus - 2021-03-21-15346de8-2
urandom-seed - 3
urngd - 2020-01-21-c7f7b6b6-1
usbids - 0.354-1
usbutils - 013-2
usign - 2020-05-23-f1f65026-1
wireless-regdb - 2021.08.28-1
wpad-basic-wolfssl - 2020-06-08-5a8b3662-39
zlib - 1.2.11-4

If this is the DTS its only listing wifi adapters on its pcie interfaces.

Maybe search in that .../ramips/dts folder for similar devices containing a (s)ata/ahci/ASMxxxx reference in their dts?

EDIT: unielec7621 06 has working asm1061 sata?

It seems the ASM1061 can indeed be on pcie2, but may need special reset like on this d-team_pbr-m1 device?

1 Like

Thank you. Will research this way. But I do not have exp in changing some DTS. How I should determine which gpio pin is connected to the special reset?

Don't have the knowledge neither for further debugging, but its nice to see that similar devices are commited with working asm1061.

So I guess its fair to say that its a real bug if you used a real OpenWrt image and fill a "github issue/bug report" and point to devices I did to show that it can work?

EDIT: Just to be sure, did the ASM1061 sata controller work in the original OEM firmware?
EDIT2: Found another model mentioning sata power in dtsiCreativeBox v1

Test with old versions:

https://downloads.openwrt.org/releases/

2 Likes

I no longer have my WiTi board but I have a vague memory of this issue occuring in late 4.x and 5.x kernels

Which versions do you recommend?

Just try 19.07.0 first than upgrade to 19.07.9 if both fail, go to 18.06.0 than 18.06.9.

If for instance one release succeeds 19.07.9 bisect by going to .5 release than if it fails goto .7 or if succeed go to .3 and see what point release introduced it. With bisecting you don't have to test all the releases, but make educated decision not guess with half or 1 step up/down to the final release.