Adding OpenWrt support for Xiaomi AX3600 (Part 1)

It is not a question if you have it or not. YOu need to upload it to us so we can take a look. The BDF is incorrect for sure.

Sorry, here is the file https://drive.google.com/file/d/1mAmy3kTm0RJMduXh9pbF3gLWy9LFm7af/view?usp=sharing

Hm... The file is correct. This is going to be something else.

I use Redmi AX6 firmware of robi, do you have any firmware of AX6 that can use wifi? please share it with me, thank you a lot.

Only for AX6. If you have networking, I would recommend to do the following:

  1. SCP the "openwrt-ipq807x-generic-redmi_ax6-squashfs-nand-sysupgrade.bin" file to the "tmp" folder of the device.
  2. Give "sysupgrade -c /tmp/openwrt-ipq807x-generic-redmi_ax6-squashfs-nand-sysupgrade.bin" wait for the device to reboot.
  3. Check the kernel log again after it booted.
1 Like

Thank you very much, I'll try it now

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.10.75 (aaa@aaa) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r17872-f6181668f3) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Sat Oct 23 22:57:46 2021
[    0.000000] Machine model: Redmi AX6
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000040ffffff]
[    0.000000]   node   0: [mem 0x0000000041000000-0x000000004a3fffff]
[    0.000000]   node   0: [mem 0x000000004a400000-0x000000004e8fffff]
[    0.000000]   node   0: [mem 0x000000004e900000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000] On node 0 totalpages: 131072
[    0.000000]   DMA zone: 2048 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 131072 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] psci: OSI mode supported.
[    0.000000] percpu: Embedded 20 pages/cpu s41112 r8192 d32616 u81920
[    0.000000] pcpu-alloc: s41112 r8192 d32616 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129024
[    0.000000] Kernel command line: ubi.mtd=rootfs_1 root=mtd:ubi_rootfs rootfstype=squashfs rootwait uart_en=1 root=/dev/ubiblock0_1
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 415584K/524288K available (7102K kernel code, 838K rwdata, 1836K rodata, 1152K init, 300K bss, 108704K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] random: get_random_bytes called from start_kernel+0x350/0x558 with crng_init=0
[    0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000005] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000151] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[    0.000166] pid_max: default: 32768 minimum: 301
[    0.000290] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.000303] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.001745] rcu: Hierarchical SRCU implementation.
[    0.001895] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.002307] smp: Bringing up secondary CPUs ...
[    0.002862] Detected VIPT I-cache on CPU1
[    0.002930] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.003509] Detected VIPT I-cache on CPU2
[    0.003550] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.004165] Detected VIPT I-cache on CPU3
[    0.004203] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.004272] smp: Brought up 1 node, 4 CPUs
[    0.004285] SMP: Total of 4 processors activated.
[    0.004294] CPU features: detected: 32-bit EL0 Support
[    0.004303] CPU features: detected: CRC32 instructions
[    0.004355] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.004364] CPU: All CPU(s) started at EL1
[    0.004386] alternatives: patching kernel code
[    0.011355] KASLR disabled due to lack of seed
[    0.011502] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.011521] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.011673] pinctrl core: initialized pinctrl subsystem
[    0.012845] NET: Registered protocol family 16
[    0.013353] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.013392] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.013429] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.014067] thermal_sys: Registered thermal governor 'step_wise'
[    0.015697] cpuidle: using governor ladder
[    0.015957] NET: Registered protocol family 42
[    0.016158] ASID allocator initialised with 65536 entries
[    0.083237] usbcore: registered new interface driver usbfs
[    0.083310] usbcore: registered new interface driver hub
[    0.083377] usbcore: registered new device driver usb
[    0.083658] qcom_scm: convention: smc arm 64
[    0.085063] clocksource: Switched to clocksource arch_sys_counter
[    0.085941] NET: Registered protocol family 2
[    0.086058] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.086572] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.086595] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.086645] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.086722] TCP: Hash tables configured (established 4096 bind 4096)
[    0.086815] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.086844] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.086996] NET: Registered protocol family 1
[    0.087028] PCI: CLS 0 bytes, default 64
[    0.088619] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.092203] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.092217] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.095536] bam-dma-engine 704000.dma: num-channels unspecified in dt
[    0.095556] bam-dma-engine 704000.dma: num-ees unspecified in dt
[    0.100384] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.100959] msm_serial 78b3000.serial: msm_serial: detected port #0
[    0.100996] msm_serial 78b3000.serial: uartclk = 3686400
[    0.101119] 78b3000.serial: ttyMSM0 at MMIO 0x78b3000 (irq = 22, base_baud = 230400) is a MSM
[    0.101150] msm_serial: console setup on port #0
[    0.685402] printk: console [ttyMSM0] enabled
[    0.690553] msm_serial: driver initialized
[    0.698641] loop: module loaded
[    0.699849] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0x61
[    0.701379] nand: ESMT PSR1GA30DT
[    0.707961] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.711433] 16 qcomsmem partitions found on MTD device qcom_nand.0
[    0.718648] Creating 16 MTD partitions on "qcom_nand.0":
[    0.724806] 0x000000000000-0x000000100000 : "0:sbl1"
[    0.731628] 0x000000100000-0x000000200000 : "0:mibib"
[    0.736515] 0x000000200000-0x000000500000 : "0:qsee"
[    0.743228] 0x000000500000-0x000000580000 : "0:devcfg"
[    0.746030] 0x000000580000-0x000000600000 : "0:rpm"
[    0.750976] 0x000000600000-0x000000680000 : "0:cdt"
[    0.755771] 0x000000680000-0x000000700000 : "0:appsblenv"
[    0.760636] 0x000000700000-0x000000800000 : "0:appsbl"
[    0.766638] 0x000000800000-0x000000880000 : "0:art"
[    0.771223] 0x000000880000-0x000000900000 : "bdata"
[    0.776006] 0x000000900000-0x000000980000 : "crash"
[    0.780872] 0x000000980000-0x000000a00000 : "crash_syslog"
[    0.785719] 0x000000a00000-0x000002dc0000 : "rootfs"
[    0.795431] random: fast init done
[    0.822706] mtd: device 12 (rootfs) set to be root filesystem
[    0.823051] mtdsplit: no squashfs found in "rootfs"
[    0.827449] 0x000002dc0000-0x000005180000 : "rootfs_1"
[    0.864221] 0x000005180000-0x000007040000 : "overlay"
[    0.891932] 0x000007040000-0x0000070c0000 : "rsvd0"
[    0.898107] spmi spmi-0: PMIC arbiter version v2 (0x20010000)
[    0.898952] pmd9655_s3: supplied by e-smps1-reg
[    0.903192] pmd9655_s4: supplied by e-smps1-reg
[    0.907550] pmd9655_ldo11: supplied by e-smps1-reg
[    0.912604] libphy: Fixed MDIO Bus: probed
[    0.917149] libphy: ipq4019_mdio: probed
[    0.922387] i2c /dev entries driver
[    0.928469] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 800000 KHz, changing to: 1017600 KHz
[    0.929341] sdhci: Secure Digital Host Controller Interface driver
[    0.938714] sdhci: Copyright(c) Pierre Ossman
[    0.944849] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.951539] remoteproc remoteproc0: cd00000.q6v5_wcss is available
[    0.955864] NET: Registered protocol family 10
[    0.961618] Segment Routing with IPv6
[    0.965468] NET: Registered protocol family 17
[    0.969207] Bridge firewalling registered
[    0.973492] 8021q: 802.1Q VLAN Support v1.8
[    0.988932] ubi0: attaching mtd13
[    1.186498] ubi0: scanning is finished
[    1.193673] ubi0: attached mtd13 (name "rootfs_1", size 35 MiB)
[    1.193704] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.198408] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.205349] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.212211] ubi0: good PEBs: 286, bad PEBs: 0, corrupted PEBs: 0
[    1.218974] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    1.225227] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1581770284
[    1.232261] ubi0: available PEBs: 0, total reserved PEBs: 286, PEBs reserved for bad PEB handling: 20
[    1.241558] ubi0: background thread "ubi_bgt0d" started, PID 646
[    1.242426] block ubiblock0_1: created from ubi0:1(rootfs)
[    1.260981] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    1.261627] Freeing unused kernel memory: 1152K
[    1.285239] Run /sbin/init as init process
[    1.285256]   with arguments:
[    1.285259]     /sbin/init
[    1.285262]   with environment:
[    1.285265]     HOME=/
[    1.285267]     TERM=linux
[    1.285270]     uart_en=1
[    1.513154] init: Console is alive
[    1.513287] init: - watchdog -
[    2.051063] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.063590] genirq: irq_chip msmgpio did not update eff. affinity mask of irq 104
[    2.073006] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.081322] init: - preinit -
[    2.443802] random: jshn: uninitialized urandom read (4 bytes read)
[    2.460882] random: jshn: uninitialized urandom read (4 bytes read)
[    2.475028] random: jshn: uninitialized urandom read (4 bytes read)
[    5.590176] UBIFS (ubi0:2): Mounting in unauthenticated mode
[    5.590276] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 745
[    5.691295] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[    5.691328] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    5.698120] UBIFS (ubi0:2): FS size: 20570112 bytes (19 MiB, 162 LEBs), journal size 1015809 bytes (0 MiB, 8 LEBs)
[    5.708016] UBIFS (ubi0:2): reserved for root: 971576 bytes (948 KiB)
[    5.718247] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 0464FF47-6944-4172-8F49-9D92D286CE3D, small LPT model
[    5.725896] mount_root: overlay filesystem has not been fully initialized yet
[    5.736378] mount_root: switching to ubifs overlay
[    5.747921] overlayfs: "xino" feature enabled using 2 upper inode bits.
[    5.749598] random: crng init done
[    5.754342] random: 3 urandom warning(s) missed due to ratelimiting
[    5.938724] urandom-seed: Seed file not found (/etc/urandom.seed)
[    6.018131] procd: - early -
[    6.018215] procd: - watchdog -
[    6.538599] procd: - watchdog -
[    6.538859] procd: - ubus -
[    6.596002] procd: - init -
[    6.816586] kmodloader: loading kernel modules from /etc/modules.d/*
[    6.823324] urngd: v1.0.2 started.
[    6.995410] ssdk_switch_device_num_init[1160]:INFO:ess-switch dts node number: 1
[    6.995500] ssdk_dt_get_switch_node[971]:INFO:ess-switch DT exist!
[    7.001892] ssdk_dt_parse_access_mode[857]:INFO:switch_access_mode: local bus
[    7.007875] ssdk_dt_parse_access_mode[870]:INFO:switchreg_base_addr: 0x3a000000
[    7.015072] ssdk_dt_parse_access_mode[871]:INFO:switchreg_size: 0x1000000
[    7.022188] ssdk_dt_parse_mac_mode[295]:INFO:mac mode = 0x0
[    7.029131] ssdk_dt_parse_mac_mode[304]:INFO:mac mode1 = 0xff
[    7.034514] ssdk_dt_parse_mac_mode[313]:INFO:mac mode2 = 0xff
[    7.040465] ssdk_dt_parse_uniphy[332]:INFO:ess-uniphy DT exist!
[    7.046328] ssdk_dt_parse_intf_mac[800]:INFO:dp3 MAC 9c:9d:7e:1c:34:ea
[    7.051913] ssdk_dt_parse_intf_mac[800]:INFO:dp4 MAC 9c:9d:7e:1c:34:ea
[    7.058508] ssdk_dt_parse_intf_mac[800]:INFO:dp5 MAC 9c:9d:7e:1c:34:ea
[    7.065029] ssdk_plat_init start
[    7.118583] ssdk_gcc_clock_init[1033]:INFO:SSDK gcc clock init successfully!
[    7.119620] HPPE initializing...
[    7.125013] malibu_phy_api_ops_init[2848]:INFO:qca probe malibu phy driver succeeded!
[    7.133299] regi_init[3567]:INFO:Initializing HPPE!!
[    7.349070] ssdk_ppe_reset_init[1265]:INFO:ppe reset successfully!
[    7.352321] qca_hppe_tdm_hw_init[684]:INFO:tdm setup num=96
[    7.354466] qca_hppe_portctrl_hw_init[110]:INFO:Hawkeye PPE port initializing
[    7.571279] ssdk_switch_register[1718]:INFO:Chip version 0x1500
[    7.571309] qca_link_polling_select[1315]:INFO:link-polling-required node does not exist
[    7.576004] ssdk_switch_register[1744]:INFO:polling is selected
[    7.584341] regi_init[3571]:INFO:Initializing HPPE Done!!
[    7.590056] regi_init[3631]:INFO:qca-ssdk module init succeeded!
[    7.608523] EDMA ver 1 hw init
[    7.608773] EDMA HW Reset completed succesfully
[    7.610541] Num rings - TxDesc:1 (23-23) TxCmpl:1 (7-7)
[    7.614903] RxDesc:1 (15-15) RxFill:1 (7-7)
[    7.625081] **********************************************************
[    7.625117] * NSS Data Plane driver
[    7.630898] **********************************************************
[    7.659196] qca-nss 39000000.nss: Direct firmware load for qca-nss0.bin failed with error -2
[    7.659239] qca-nss 39000000.nss: Falling back to sysfs fallback for: qca-nss0.bin
[    7.873777] nss_driver - fw of size 833304  bytes copied to load addr: 40000000, nss_id : 0
[    7.876163] Supported Frequencies - 
[    7.876172] 187.2 MHz 
[    7.880984] 748.8 MHz 
[    7.884781] 1.4976 GHz 
[    7.886931] 
[    7.891703] ffffffc008955900: set sdma ffffff8002756300
[    7.893465] ffffffc008955900: meminfo init succeed
[    7.917602] qca-nss 39400000.nss: Direct firmware load for qca-nss1.bin failed with error -2
[    7.917642] qca-nss 39400000.nss: Falling back to sysfs fallback for: qca-nss1.bin
[    7.935027] node size 2 # items 4
[    7.935060] memory: 40000000 536870912 (avl 436985856) items 4 active_cores 2
[    7.937367] addr/size storage words 2 2 # words 4 in DTS, ddr size 1000000
[    7.944480] ffffffc008955900: nss core 0 booted successfully
[    7.995871] nss_driver - fw of size 292296  bytes copied to load addr: 40800000, nss_id : 1
[    7.996832] Supported Frequencies - 
[    7.996837] 187.2 MHz 
[    8.003146] 748.8 MHz 
[    8.006899] 1.4976 GHz 
[    8.009019] 
[    8.013800] ffffffc00895d140: set sdma ffffff800250a600
[    8.015520] ffffffc00895d140: meminfo init succeed
[    8.020591] debugfs: Directory 'dynamic_if' with parent 'stats' already present!
[    8.025322] debugfs: File 'n2h' in directory 'strings' already present!
[    8.032821] debugfs: File 'drv' in directory 'strings' already present!
[    8.043361] node size 2 # items 4
[    8.045759] memory: 40000000 536870912 (avl 437219328) items 4 active_cores 2
[    8.049239] addr/size storage words 2 2 # words 4 in DTS, ddr size 1000000
[    8.056348] ffffffc00895d140: nss core 1 booted successfully
[    8.068600] PPP generic driver version 2.4.2
[    8.069820] NET: Registered protocol family 24
[    8.076601] Loading modules backported from Linux version v5.15-rc6-0-g519d81956ee2
[    8.077471] Backport generated by backports.git v5.10.68-1-63-gd44432d6
[    8.096716] xt_time: kernel timezone is -0000
[    8.136363] ath11k c000000.wifi: ipq8074 hw2.0
[    8.136628] remoteproc remoteproc0: powering up cd00000.q6v5_wcss
[    8.158878] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[    9.463924] remoteproc remoteproc0: remote processor cd00000.q6v5_wcss is now up
[    9.465239] ath11k c000000.wifi: qmi ignore invalid mem req type 3
[    9.471052] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board_id 0x292 soc_id 0xffffffff
[    9.476431] ath11k c000000.wifi: fw_version 0x250684a5 fw_build_timestamp 2021-07-13 10:57 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1
[    9.476915] kmodloader: done loading kernel modules from /etc/modules.d/*
[    9.485886] ath11k c000000.wifi: failed to fetch board data for bus=ahb,qmi-chip-id=0,qmi-board-id=658,variant=Redmi-AX6 from ath11k/IPQ8074/hw2.0/board-2.bin
[    9.566782] ath11k c000000.wifi: failed to fetch board-2.bin or board.bin from IPQ8074/hw2.0
[    9.566828] ath11k c000000.wifi: failed to load board file: -12
[    9.574479] ath11k c000000.wifi: failed to load board data file: -12
[   11.256939] ECM init
[   11.257012] ECM database jhash random seed: 0x9a74e480
[   11.259396] ECM init complete
[   12.115843] nss-dp 3a001400.dp3 eth1: PHY Link up speed: 1000
[   12.116746] br-lan: port 1(eth1) entered blocking state
[   12.120695] br-lan: port 1(eth1) entered disabled state
[   12.125978] device eth1 entered promiscuous mode
[   12.140440] br-lan: port 2(eth2) entered blocking state
[   12.140478] br-lan: port 2(eth2) entered disabled state
[   12.144862] device eth2 entered promiscuous mode
[   12.154349] br-lan: port 3(eth3) entered blocking state
[   12.154548] br-lan: port 3(eth3) entered disabled state
[   12.160039] device eth3 entered promiscuous mode
[   13.117100] br-lan: port 1(eth1) entered blocking state
[   13.117139] br-lan: port 1(eth1) entered forwarding state
[   13.121462] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   31.713089] pmd9655_ldo11: disabling
[   76.605163] nss-dp 3a001400.dp3 eth1: PHY Link is down
[   76.605457] br-lan: port 1(eth1) entered disabled state
[   80.701202] nss-dp 3a001400.dp3 eth1: PHY Link up speed: 1000
[   80.701284] br-lan: port 1(eth1) entered blocking state
[   80.706004] br-lan: port 1(eth1) entered forwarding state
[  116.593204] br-lan: port 1(eth1) entered disabled state
[  116.594394] device eth1 left promiscuous mode
[  116.597403] br-lan: port 1(eth1) entered disabled state
[  116.618246] nss-dp 3a001400.dp3 eth1: PHY Link is down
[  116.625632] device eth2 left promiscuous mode
[  116.625772] br-lan: port 2(eth2) entered disabled state
[  116.651012] device eth3 left promiscuous mode
[  116.651175] br-lan: port 3(eth3) entered disabled state
[  116.744980] br-lan: port 1(eth1) entered blocking state
[  116.745017] br-lan: port 1(eth1) entered disabled state
[  116.749358] device eth1 entered promiscuous mode
[  116.757040] br-lan: port 2(eth2) entered blocking state
[  116.759094] br-lan: port 2(eth2) entered disabled state
[  116.764536] device eth2 entered promiscuous mode
[  116.771739] br-lan: port 3(eth3) entered blocking state
[  116.774211] br-lan: port 3(eth3) entered disabled state
[  116.779312] device eth3 entered promiscuous mode
[  119.805202] nss-dp 3a001400.dp3 eth1: PHY Link up speed: 1000
[  119.805287] br-lan: port 1(eth1) entered blocking state
[  119.809947] br-lan: port 1(eth1) entered forwarding state
[  119.815272] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

Anyway, I thought some more about the 512M mode and made it the default so it will be included in the prebuilt images.
As the only board with 1GB is AX9000 I can just disable it for me.

4 Likes

OK, at least the remoteproc is not crashing now. Can you please re-upload your current(!) /lib/firmware/ath11k/IPQ8074/hw2.0/board-2.bin ?

Here it is https://drive.google.com/file/d/1mAmy3kTm0RJMduXh9pbF3gLWy9LFm7af/view?usp=sharing

Yep that is incorrect. Please overwrite it with this and let me know. YOu will need a reboot.

1 Like

It's working. Thank you very much!

@robimarko The latest openwrt feed installation is broken. Maybe we need to rebase to latest openwrt trunk.

Yeah, I am rebasing it now as the github actions failed as well

3 Likes

I just compiled my build from branch IPQ807x-5.10-backports with the latest commit: select 512M profile, now it is working, board after flash is booting, I have some simple questions:

  1. How to check if 512M profile is enabled?
  2. I did not flash second rootfs partition, with openwrt image should I do it?
  3. Now I have a strange flag_boot* values:
root@OpenWrt:~# fw_printenv | grep flag_boot
flag_boot_rootfs=0
flag_boot_type=2
flag_boot_success=1

Is this ok?

wait one day :wink:

If you want to use sysupgrade next time, you should.

Looks fine.

512MB patch should also work in my last build (21.10.29) https://cloud.etzi.at/s/2RJkdWNo3QFdSZn

2 Likes

Something went wrong, but still, thank you!

Upgrade worked for you (It shows you OpenWrt SNAPSHOT r17938-50a8db7d79 with kernel 5.10.75)?