Change from 4.14 to 4.19 in this Makefile.
In armbain kernel 4.19not allow two gmac on switch and totally lose routing abilities (all 4ports bridget together with one MAC address). But everythin else works perfect. Lets try it on openwrt
Tonight i try to compile openwrt with 4.19 kernel and tomorrow check it onboard.
Cant ‘make kernel_menuconfig’
SHELL= flock /home/andrey/eMMC/banana-pi/openwrt/tmp/.linux-4.19.tar.xz.flock -c ' /home/andrey/eMMC/banana-pi/openwrt/scripts/download.pl "/home/andrey/eMMC/banana-pi/openwrt/dl" "linux-4.19.tar.xz" "" "" "@KERNEL/linux/kernel/v4.x" '
Cannot find appropriate hash command, ensure the provided hash is either a MD5 or SHA256 checksum.
make[2]: *** [Makefile:20: /home/andrey/eMMC/banana-pi/openwrt/dl/linux-4.19.tar.xz] Error 255
make[2]: Leaving directory '/home/andrey/eMMC/banana-pi/openwrt/target/linux/mediatek'
make[1]: *** [Makefile:13: menuconfig] Error 2
make[1]: Leaving directory '/home/andrey/eMMC/banana-pi/openwrt/target/linux'
make: *** [/home/andrey/eMMC/banana-pi/openwrt/include/toplevel.mk:161: kernel_menuconfig] Ошибка 2
Try make clean before…was working in my test
andrey@andrey-notebook:~/eMMC/banana-pi/openwrt$ make clean
make[1] clean
andrey@andrey-notebook:~/eMMC/banana-pi/openwrt$ make kernel_menuconfig -j5 V=s
make[1]: Entering directory '/home/andrey/eMMC/banana-pi/openwrt/scripts/config'
make[1]: Leaving directory '/home/andrey/eMMC/banana-pi/openwrt/scripts/config'
export MAKEFLAGS= ;make V=ss -C target/linux menuconfig
make[1]: Entering directory '/home/andrey/eMMC/banana-pi/openwrt/target/linux'
make[2]: Entering directory '/home/andrey/eMMC/banana-pi/openwrt/target/linux/mediatek'
mkdir -p /home/andrey/eMMC/banana-pi/openwrt/dl
SHELL= flock /home/andrey/eMMC/banana-pi/openwrt/tmp/.linux-4.19.tar.xz.flock -c ' /home/andrey/eMMC/banana-pi/openwrt/scripts/download.pl "/home/andrey/eMMC/banana-pi/openwrt/dl" "linux-4.19.tar.xz" "" "" "@KERNEL/linux/kernel/v4.x" '
Cannot find appropriate hash command, ensure the provided hash is either a MD5 or SHA256 checksum.
make[2]: *** [Makefile:20: /home/andrey/eMMC/banana-pi/openwrt/dl/linux-4.19.tar.xz] Error 255
make[2]: Leaving directory '/home/andrey/eMMC/banana-pi/openwrt/target/linux/mediatek'
make[1]: *** [Makefile:13: menuconfig] Error 2
make[1]: Leaving directory '/home/andrey/eMMC/banana-pi/openwrt/target/linux'
make: *** [/home/andrey/eMMC/banana-pi/openwrt/include/toplevel.mk:161: kernel_menuconfig] Ошибка 2
You could try this
http://support.easycwmp.org/view.php?id=345
do you have additional packages included? md5sum/shaXsum available?
Maybe “make defconfig” works…found it somewhere
in busybox-coreutils both md5 and sha256 packets is enabled. defconfig i do in first try, its not helps.
i guess in your openwrt-folder something is cached and breaks kernel_menuconfig
for comparision my state:
$ git diff
diff --git a/target/linux/mediatek/Makefile b/target/linux/mediatek/Makefile
index 28101a70d9..4d7df98520 100644
--- a/target/linux/mediatek/Makefile
+++ b/target/linux/mediatek/Makefile
@@ -9,7 +9,7 @@ SUBTARGETS:=mt7622 mt7623 mt7629
FEATURES:=squashfs nand ramdisk fpu
MAINTAINER:=John Crispin <[email protected]>
-KERNEL_PATCHVER:=4.14
+KERNEL_PATCHVER:=4.19
include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += \
this is shown when i run make kernel_menuconfig: openwrt_menuconfig.txt (65,7 KB)
seems like openwrt knows no “make mrproper” to clean really all…maybe try clone it again in new folder, make change to 4.19 and try again
Build successfully in new folder. Looks like pci must work but only one gmac have in dts file. mt7623n-bananapi-bpi-r2.dts (5.0 КБ) I reach board later and try to boot it with builded image. I guess it not be able to be a router with only one gmac.
Just bump to kernel 4.19 and you can try it again, thanks.
My image not boot at all
MMC read: dev # 1, block # 4096, count 24576 ... 24576 blocks read: OK
bootm flag=0, states=70f
## Booting kernel from Legacy Image at 84000000 ...
Image Name: ARM OpenWrt Linux-4.19.98
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2920073 Bytes = 2.8 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
You mean i can git clone to new folder, make menuconfig to select my needed packages, kernel_menuconfig my bootargs, and it simple be working? Like normal openwrt-ready router?
Looks like wron console cmdline…of there is ttyS0 uart2 needs to be first in mt7623.dtsi
Easiest way should be dropping ttyS0 from cmdline…then the alias/choosen for stdout should be used
Im already delete image and build folder. Now i trying to git clone new iteration. @Moore say now it with 4.19 kernel already.
And yes, new kernel uses other tty pins. And for 4.19 bootargs for SD booting will be
earlyprintk console=ttyS2,115200n8 vmalloc=496M block2mtd.block2mtd=/dev/mmcblk1,65536,RootFs,5 mtdparts=RootFs:512k(mbr)ro,512k(uboot)ro,512k(config)ro,512k(factory)ro,32M(kernel),32M(recovery),1024M(rootfs),2048M(usrdata),-(bmtpool) rootfstype=squashfs,jffs2
Yes, ethernet and pcie can wotk normally with kernel 4.19, thanks.
Ok,it’s set to uart2…
It looks like working!
MMC read: dev # 1, block # 4096, count 24576 ... 24576 blocks read: OK
bootm flag=0, states=70f
## Booting kernel from Legacy Image at 84000000 ...
Image Name: ARM OpenWrt Linux-4.19.98
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2722566 Bytes = 2.6 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.98 (andrey@andrey-notebook) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r12176-a09408fa57)) #0 SMP PREEMPT Tue Feb 4 11:23:48 2020
[ 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] Memory policy: Data cache writealloc
[ 0.000000] random: get_random_bytes called from start_kernel+0x7c/0x440 with crng_init=0
[ 0.000000] percpu: Embedded 15 pages/cpu s30348 r8192 d22900 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 523117
[ 0.000000] Kernel command line: earlyprintk console=ttyS2,115200 vmalloc=496M block2mtd.block2mtd=/dev/mmcblk1,65536,RootFs,5 mtdparts=RootFs:512k(mbr)ro,512k(uboot)ro,512k(config)ro,512k(factory)ro,32M(ker2
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 2068284K/2097148K available (6144K kernel code, 208K rwdata, 1496K rodata, 1024K init, 233K bss, 28864K reserved, 0K cma-reserved, 1564668K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe1000000 - 0xff800000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0800000 ( 520 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (7136 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 209 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 234 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 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.000005] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[ 0.000017] Switching to timer-based delay loop, resolution 76ns
[ 0.000170] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 147020034397 ns
[ 0.000185] sched_clock: 32 bits at 13MHz, resolution 76ns, wraps every 165191050201ns
[ 0.000456] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[ 0.000470] pid_max: default: 32768 minimum: 301
[ 0.000601] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000614] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001254] CPU: Testing write buffer coherency: ok
[ 0.060043] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.080040] rcu: Hierarchical SRCU implementation.
[ 0.120103] smp: Bringing up secondary CPUs ...
[ 0.360580] smp: Brought up 1 node, 4 CPUs
[ 0.360593] SMP: Total of 4 processors activated (104.00 BogoMIPS).
[ 0.360600] CPU: All CPU(s) started in SVC mode.
[ 0.370586] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3
[ 0.370891] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.370912] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.371125] pinctrl core: initialized pinctrl subsystem
[ 0.371836] NET: Registered protocol family 16
[ 0.372125] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.372955] No ATAGs?
[ 0.442493] usbcore: registered new interface driver usbfs
[ 0.442547] usbcore: registered new interface driver hub
[ 0.442613] usbcore: registered new device driver usb
[ 0.443839] clocksource: Switched to clocksource arch_sys_counter
[ 0.444849] NET: Registered protocol family 2
[ 0.445469] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.445498] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.445540] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.445600] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.445700] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.445731] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.445910] NET: Registered protocol family 1
[ 0.446959] No memory allocated for crashlog
[ 0.447109] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[ 0.451819] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.451832] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.456662] bounce: pool size: 64 pages
[ 0.456686] io scheduler noop registered
[ 0.456695] io scheduler deadline registered (default)
[ 0.463065] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.484178] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 194, base_baud = 1625000) is a ST16650V2
[ 0.504749] 11003000.serial: ttyS1 at MMIO 0x11003000 (irq = 195, base_baud = 1625000) is a ST16650V2
[ 0.525259] 11004000.serial: ttyS2 at MMIO 0x11004000 (irq = 196, base_baud = 1625000) is a ST16650V2
[ 1.026624] console [ttyS2] enabled
[ 1.030610] mtk_rng 1020f000.rng: registered RNG driver
[ 1.030753] random: fast init done
[ 1.039399] random: crng init done
[ 1.039734] loop: module loaded
[ 1.046678] mt6323-regulator mt6323-regulator: Chip ID = 0x2023
[ 1.062487] libphy: Fixed MDIO Bus: probed
[ 1.089609] libphy: mdio: probed
[ 1.092983] mt7530 mdio-bus:00: Linked as a consumer to regulator.6
[ 1.099283] mt7530 mdio-bus:00: Linked as a consumer to regulator.17
[ 1.105739] mt7530 mdio-bus:00: Dropping the link to regulator.17
[ 1.111845] mt7530 mdio-bus:00: Dropping the link to regulator.6
[ 1.117938] mtk_soc_eth 1b100000.ethernet: generated random MAC address b2:a2:bb:d1:f3:9d
[ 1.126553] mtk_soc_eth 1b100000.ethernet: connected mac 0 to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.137290] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xe10e0000, irq 207
[ 1.145713] netif_napi_add() called with weight 256 on device
[ 1.152234] xhci-mtk 1a1c0000.usb: Linked as a consumer to regulator.3
[ 1.158798] xhci-mtk 1a1c0000.usb: Linked as a consumer to regulator.2
[ 1.165501] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[ 1.170703] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 1
[ 1.181151] xhci-mtk 1a1c0000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[ 1.190199] xhci-mtk 1a1c0000.usb: irq 204, io mem 0x1a1c0000
[ 1.196626] hub 1-0:1.0: USB hub found
[ 1.200380] hub 1-0:1.0: 1 port detected
[ 1.204628] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[ 1.209819] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 2
[ 1.217182] xhci-mtk 1a1c0000.usb: Host supports USB 3.0 SuperSpeed
[ 1.223467] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.231953] hub 2-0:1.0: USB hub found
[ 1.235716] hub 2-0:1.0: 1 port detected
[ 1.240079] xhci-mtk 1a240000.usb: Linked as a consumer to regulator.3
[ 1.246642] xhci-mtk 1a240000.usb: Linked as a consumer to regulator.2
[ 1.253311] xhci-mtk 1a240000.usb: xHCI Host Controller
[ 1.258535] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 3
[ 1.268967] xhci-mtk 1a240000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[ 1.278018] xhci-mtk 1a240000.usb: irq 205, io mem 0x1a240000
[ 1.284406] hub 3-0:1.0: USB hub found
[ 1.288158] hub 3-0:1.0: 1 port detected
[ 1.292363] xhci-mtk 1a240000.usb: xHCI Host Controller
[ 1.297583] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 4
[ 1.304944] xhci-mtk 1a240000.usb: Host supports USB 3.0 SuperSpeed
[ 1.311226] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.319826] hub 4-0:1.0: USB hub found
[ 1.323574] hub 4-0:1.0: 1 port detected
[ 1.327914] i2c /dev entries driver
[ 1.332801] mtk-thermal 1100b000.thermal: Device not calibrated, using default calibration values
[ 1.342340] mtk-wdt 10007000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[ 1.350586] cpu cpu0: Linked as a consumer to regulator.4
[ 1.356002] cpu cpu0: dummy supplies not allowed for exclusive requests
[ 1.363595] sdhci: Secure Digital Host Controller Interface driver
[ 1.369754] sdhci: Copyright(c) Pierre Ossman
[ 1.374840] mtk-msdc 11230000.mmc: Linked as a consumer to regulator.2
[ 1.381372] mtk-msdc 11230000.mmc: Linked as a consumer to regulator.1
[ 1.413961] mtk-msdc 11240000.mmc: Got CD GPIO
[ 1.418550] mtk-msdc 11240000.mmc: Linked as a consumer to regulator.2
[ 1.448654] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.459531] NET: Registered protocol family 10
[ 1.464863] Segment Routing with IPv6
[ 1.468552] NET: Registered protocol family 17
[ 1.469062] mmc0: new high speed MMC card at address 0001
[ 1.478413] 8021q: 802.1Q VLAN Support v1.8
[ 1.482652] ThumbEE CPU extension supported.
[ 1.486058] mmc1: host does not support reading read-only switch, assuming write-enable
[ 1.486909] Registering SWP/SWPB emulation handler
[ 1.495403] mmcblk0: mmc0:0001 8GTF4R 0 B
[ 1.504361] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
[ 1.510737] mmc1: new high speed SDHC card at address 0002
[ 1.517077] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
[ 1.523468] mmcblk0gp0: mmc0:0001 8GTF4R partition 4 3.64 GiB
[ 1.529778] mmcblk1: mmc1:0002 N/A 7.44 GiB
[ 1.534751] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (250:0)
[ 1.543404] mmcblk0gp0: p1
[ 1.571128] mtk-pcie 1a140000.pcie: PCI host bridge to bus 0000:00
[ 1.577289] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] (bus address [0x1a160000-0x1a16ffff])
[ 1.586704] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 1.593524] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.601125] PCI: bus0: Fast back to back transfers disabled
[ 1.606674] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.614635] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.624676] PCI: bus1: Fast back to back transfers disabled
[ 1.630350] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[ 1.637370] pci 0000:02:00.0: reg 0x14: initial BAR value 0x00000000 invalid
[ 1.644385] pci 0000:02:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[ 1.651387] pci 0000:02:00.0: reg 0x1c: initial BAR value 0x00000000 invalid
[ 1.658400] pci 0000:02:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[ 1.667137] PCI: bus2: Fast back to back transfers disabled
[ 1.672706] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 1.679459] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[ 1.686204] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
[ 1.693368] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[ 1.700116] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[ 1.706862] pci 0000:00:01.0: BAR 7: assigned [io 0x1000-0x1fff]
[ 1.712908] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x60001fff 64bit]
[ 1.720187] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.725124] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 1.731864] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
[ 1.739041] pci 0000:02:00.0: BAR 5: assigned [mem 0x60100000-0x601001ff]
[ 1.745788] pci 0000:02:00.0: BAR 4: assigned [io 0x1000-0x100f]
[ 1.751834] pci 0000:02:00.0: BAR 0: assigned [io 0x1010-0x1017]
[ 1.757893] pci 0000:02:00.0: BAR 2: assigned [io 0x1018-0x101f]
[ 1.763951] pci 0000:02:00.0: BAR 1: assigned [io 0x1020-0x1023]
[ 1.769997] pci 0000:02:00.0: BAR 3: assigned [io 0x1024-0x1027]
[ 1.776054] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 1.780977] pci 0000:00:01.0: bridge window [io 0x1000-0x1fff]
[ 1.787032] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff]
[ 1.793765] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff pref]
[ 1.801099] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[ 1.807310] pcieport 0000:00:00.0: Signaling PME with IRQ 217
[ 1.813114] pcieport 0000:00:00.0: AER enabled with IRQ 217
[ 1.818835] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[ 1.824999] pcieport 0000:00:01.0: Signaling PME with IRQ 218
[ 1.830811] pcieport 0000:00:01.0: AER enabled with IRQ 218
[ 1.836618] mt7530 mdio-bus:00: Linked as a consumer to regulator.6
[ 1.842895] mt7530 mdio-bus:00: Linked as a consumer to regulator.17
[ 2.004057] libphy: dsa slave smi: probed
[ 2.008206] mt7530 mdio-bus:00 wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[ 2.017023] mt7530 mdio-bus:00 lan0 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[ 2.025831] mt7530 mdio-bus:00 lan1 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[ 2.034624] mt7530 mdio-bus:00 lan2 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[ 2.043412] mt7530 mdio-bus:00 lan3 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[ 2.054376] DSA: tree 0 setup
[ 2.057847] 9 cmdlinepart partitions found on MTD device RootFs
[ 2.063716] Creating 9 MTD partitions on "RootFs":
[ 2.068628] 0x000000000000-0x000000080000 : "mbr"
[ 2.073885] 0x000000080000-0x000000100000 : "uboot"
[ 2.079183] 0x000000100000-0x000000180000 : "config"
[ 2.084545] 0x000000180000-0x000000200000 : "factory"
[ 2.090012] 0x000000200000-0x000002200000 : "kernel"
[ 2.095384] 0x000002200000-0x000004200000 : "recovery"
[ 2.100913] 0x000004200000-0x000044200000 : "rootfs"
[ 2.106273] mtd: device 6 (rootfs) set to be root filesystem
[ 2.113148] 1 squashfs-split partitions found on MTD device rootfs
[ 2.119304] 0x0000047f0000-0x000044200000 : "rootfs_data"
[ 2.125165] 0x000044200000-0x0000c4200000 : "usrdata"
[ 2.130601] 0x0000c4200000-0x0001dc400000 : "bmtpool"
[ 2.136079] block2mtd: mtd0: [RootFs] erase_size = 64KiB [65536]
[ 2.142179] hctosys: unable to open rtc device (rtc0)
[ 2.151811] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[ 2.159934] Freeing unused kernel memory: 1024K
[ 2.164553] Run /sbin/init as init process
[ 2.482571] init: Console is alive
[ 2.486720] init: - watchdog -
[ 3.475541] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.694050] raid6: int32x1 gen() 217 MB/s
[ 3.863995] raid6: int32x1 xor() 188 MB/s
[ 4.033921] raid6: int32x2 gen() 260 MB/s
[ 4.203910] raid6: int32x2 xor() 189 MB/s
[ 4.373952] raid6: int32x4 gen() 253 MB/s
[ 4.544010] raid6: int32x4 xor() 175 MB/s
[ 4.714027] raid6: int32x8 gen() 217 MB/s
[ 4.884054] raid6: int32x8 xor() 142 MB/s
[ 5.053934] raid6: neonx1 gen() 542 MB/s
[ 5.223846] raid6: neonx1 xor() 511 MB/s
[ 5.393896] raid6: neonx2 gen() 821 MB/s
[ 5.563867] raid6: neonx2 xor() 715 MB/s
[ 5.733894] raid6: neonx4 gen() 955 MB/s
[ 5.903853] raid6: neonx4 xor() 795 MB/s
[ 6.073880] raid6: neonx8 gen() 829 MB/s
[ 6.243853] raid6: neonx8 xor() 747 MB/s
[ 6.248083] raid6: using algorithm neonx4 gen() 955 MB/s
[ 6.253347] raid6: .... xor() 795 MB/s, rmw enabled
[ 6.258191] raid6: using neon recovery algorithm
[ 6.266174] xor: measuring software checksum speed
[ 6.363841] arm4regs : 1249.200 MB/sec
[ 6.463852] 8regs : 1082.800 MB/sec
[ 6.563849] 32regs : 911.600 MB/sec
[ 6.663835] neon : 1634.000 MB/sec
[ 6.667980] xor: using function: neon (1634.000 MB/sec)
[ 6.745503] Btrfs loaded, crc32c=crc32c-generic
[ 6.755392] SCSI subsystem initialized
[ 6.765734] ahci 0000:02:00.0: enabling device (0140 -> 0143)
[ 6.771538] ahci 0000:02:00.0: SSS flag set, parallel bus scan disabled
[ 6.778174] ahci 0000:02:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl IDE mode
[ 6.786247] ahci 0000:02:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs
[ 6.795592] scsi host0: ahci
[ 6.798833] scsi host1: ahci
[ 6.801848] ata1: SATA max UDMA/133 abar m512@0x60100000 port 0x60100100 irq 218
[ 6.809286] ata2: SATA max UDMA/133 abar m512@0x60100000 port 0x60100180 irq 218
[ 7.145278] ata1: SATA link down (SStatus 0 SControl 300)
[ 7.485279] ata2: SATA link down (SStatus 0 SControl 300)
[ 7.493257] usbcore: registered new interface driver usb-storage
[ 7.499419] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 7.507929] init: - preinit -
[ 7.868065] mt7530 mdio-bus:00 lan1: configuring for phy/gmii link mode
[ 7.874836] IPv6: ADDRCONF(NETDEV_UP): lan1: link is not ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 11.937678] mount_root: loading kmods from internal overlay
[ 11.954344] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 11.961828] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[ 13.398914] block: attempting to load /etc/config/fstab
[ 13.404909] block: unable to load configuration (fstab: Entry not found)
[ 13.411588] block: no usable configuration
[ 13.416153] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 13.434811] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 13.491492] procd: - early -
[ 13.494454] procd: - watchdog -
[ 14.158207] procd: - watchdog -
[ 14.162086] procd: - ubus -
[ 14.237278] procd: - init -
Please press Enter to activate this console.
[ 14.484479] kmodloader: loading kernel modules from /etc/modules.d/*
[ 14.499859] urngd: v1.0.2 started.
[ 14.523356] RPC: Registered named UNIX socket transport module.
[ 14.529326] RPC: Registered udp transport module.
[ 14.534005] RPC: Registered tcp transport module.
[ 14.538666] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 14.553374] Installing knfsd (copyright (C) 1996 [email protected]).
[ 14.568232] Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
[ 14.575814] Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
[ 14.587243] usbcore: registered new interface driver ums-alauda
[ 14.593676] usbcore: registered new interface driver ums-cypress
[ 14.600262] usbcore: registered new interface driver ums-datafab
[ 14.606790] usbcore: registered new interface driver ums-freecom
[ 14.613316] usbcore: registered new interface driver ums-isd200
[ 14.619925] usbcore: registered new interface driver ums-jumpshot
[ 14.626613] usbcore: registered new interface driver ums-karma
[ 14.633087] usbcore: registered new interface driver ums-sddr09
[ 14.639626] usbcore: registered new interface driver ums-sddr55
[ 14.646343] usbcore: registered new interface driver ums-usbat
[ 14.655564] xt_time: kernel timezone is -0000
[ 14.679577] Intel(R) Wireless WiFi driver for Linux
[ 14.684465] Copyright(c) 2003- 2015 Intel Corporation
[ 14.689655] iwlwifi 0000:01:00.0: enabling device (0140 -> 0142)
[ 14.695850] iwlwifi 0000:01:00.0: pci_enable_msi failed - -22
[ 14.740230] PPP generic driver version 2.4.2
[ 14.754798] NET: Registered protocol family 24
[ 14.771690] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 14.962867] iwlwifi 0000:01:00.0: loaded firmware version 17.3216344376.0 op_mode iwlmvm
[ 14.971033] iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
[ 14.998674] iwlwifi 0000:01:00.0: base HW address: 0c:8b:fd:5a:5a:73
[ 22.653913] mt7530 mdio-bus:00 lan0: configuring for phy/gmii link mode
[ 22.660900] br-lan: port 1(lan0) entered blocking state
[ 22.666349] br-lan: port 1(lan0) entered disabled state
[ 22.672102] device lan0 entered promiscuous mode
[ 22.677008] device eth0 entered promiscuous mode
[ 22.683701] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 22.695173] mt7530 mdio-bus:00 lan1: configuring for phy/gmii link mode
[ 22.702218] br-lan: port 2(lan1) entered blocking state
[ 22.707716] br-lan: port 2(lan1) entered disabled state
[ 22.713726] device lan1 entered promiscuous mode
[ 22.721479] mt7530 mdio-bus:00 lan2: configuring for phy/gmii link mode
[ 22.728728] br-lan: port 3(lan2) entered blocking state
[ 22.734109] br-lan: port 3(lan2) entered disabled state
[ 22.740309] device lan2 entered promiscuous mode
[ 22.747962] mt7530 mdio-bus:00 lan3: configuring for phy/gmii link mode
[ 22.755158] br-lan: port 4(lan3) entered blocking state
[ 22.760552] br-lan: port 4(lan3) entered disabled state
[ 22.766994] device lan3 entered promiscuous mode
[ 22.776829] mt7530 mdio-bus:00 wan: configuring for phy/gmii link mode
[ 22.783462] IPv6: ADDRCONF(NETDEV_UP): wan: link is not ready
[ 22.924012] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 22.932170] jffs2_build_filesystem(): unlocking the mtd device...
[ 22.932175] done.
[ 22.940290] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 32.473926] vusb: disabling
[ 32.484158] vmc: disabling
[ 32.486867] vmch: disabling
[ 32.489643] vgp1: disabling
[ 32.492434] vcamaf: disabling
But card on pcie slot not working (intel ac7260) - it apperars in the system, had MACaddress, but not hear any other AP and not appear on air when i make AP from them. I must wake it somehow thru gpio pin?
This card sucks. I’ve been trying for more than 1 year to make it work and nothing. Money wasted.