Z800AX? (Same hardware as dl-wrx36)

just a question,

as the Z800ax has quite the same hardware, would it be possible to use the WRX36 files without bricking the device ?

no.
but feel free to find out, possibly the hard way, and report back.

what do you mean with "hard way" ?

hard as in creating a soft, or hard brick.

would be really the hard way... :face_with_raised_eyebrow:

The good is, the Z800AX has SSH and is open for changes. But nobody try to have a newer openwrt on it. :pensive:

The Hardware is good...

I would try if I get help

then ask for it, in a separate thread.

1 Like

start by posting

cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00050000 00010000 "0:SBL1"
mtd1: 00010000 00010000 "0:MIBIB"
mtd2: 00020000 00010000 "0:BOOTCONFIG"
mtd3: 00020000 00010000 "0:BOOTCONFIG1"
mtd4: 00180000 00010000 "0:QSEE"
mtd5: 00180000 00010000 "0:QSEE_1"
mtd6: 00010000 00010000 "0:DEVCFG"
mtd7: 00010000 00010000 "0:DEVCFG_1"
mtd8: 00010000 00010000 "0:APDP"
mtd9: 00010000 00010000 "0:APDP_1"
mtd10: 00040000 00010000 "0:RPM"
mtd11: 00040000 00010000 "0:RPM_1"
mtd12: 00010000 00010000 "0:CDT"
mtd13: 00010000 00010000 "0:CDT_1"
mtd14: 00010000 00010000 "0:APPSBLENV"
mtd15: 000a0000 00010000 "0:APPSBL"
mtd16: 000a0000 00010000 "0:APPSBL_1"
mtd17: 00040000 00010000 "0:ART"
mtd18: 00080000 00010000 "0:ETHPHYFW"
mtd19: 03400000 00020000 "rootfs"
mtd20: 00800000 00020000 "0:WIFIFW"
mtd21: 03400000 00020000 "rootfs_1"
mtd22: 00800000 00020000 "0:WIFIFW_1"
mtd23: 005b1000 0001f000 "kernel"
mtd24: 01303000 0001f000 "ubi_rootfs"
mtd25: 01458000 0001f000 "rootfs_data"
mtd26: 0020f000 0001f000 "wifi_fw"

U-Boot 2016.01 (Mar 23 2021 - 11:02:46 +0800)
arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 5.2.0 unknown) 5.2.0
GNU ld (GNU Binutils) 2.24.0

IPQ807x# is_sec_boot_enabled
secure boot fuse is not enabled

post the output of help in uboot.

after that, run tftpboot and bootm serving the wrx36 initramfs.

IPQ807x# help
?       - alias for 'help'
aq_load_fw- LOAD aq-fw-binary
aq_phy_restart- Restart Aquantia phy
base    - print or set address offset
bdinfo  - print Board Info structure
bootipq - bootipq from flash device
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
bootz   - boot Linux zImage image from memory
canary  - test stack canary
chpart  - change active partition
cmp     - memory compare
cp      - memory copy
crc32   - checksum calculation
dcache  - enable or disable data cache
dhcp    - boot image via network using DHCP/TFTP protocol
dm      - Driver model low level access
echo    - echo args to console
env     - environment handling commands
erase   - erase FLASH memory
exectzt - execute TZT

exit    - exit script
false   - do nothing, unsuccessfully
fdt     - flattened device tree utility commands
flash   - flash part_name
        flash part_name load_addr file_size

flasherase- flerase part_name

flinfo  - print FLASH memory information
fuseipq - fuse QFPROM registers from memory

go      - start application at address 'addr'
help    - print command description/usage
i2c     - I2C sub-system
icache  - enable or disable instruction cache
imxtract- extract a part of a multi-image
ipq_mdio- IPQ mdio utility commands
is_sec_boot_enabled- check secure boot fuse is enabled or not

itest   - return true/false on integer compare
loop    - infinite loop on address range
md      - memory display
mii     - MII utility commands
mm      - memory modify (auto-incrementing address)
mmc     - MMC sub system
mmcinfo - display MMC info
mtdparts- define flash/nand partitions
mtest   - simple RAM read/write test
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nm      - memory modify (constant address)
pci     - list and access PCI Configuration Space
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
runmulticore- Enable and schedule secondary cores
saveenv - save environment variables to persistent storage
secure_authenticate- authenticate the signed image

setenv  - set environment variables
sf      - SPI flash sub-system
showvar - print local hushshell variables
sleep   - delay execution for some time
smeminfo- print SMEM FLASH information
source  - run script from memory
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
true    - do nothing, successfully
uart    - UART sub-system
ubi     - ubi commands
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
IPQ807x# tftpboot openwrt-ipq807x-generic-dynalink_dl-wrx36-initramfs-uImage.itb
ipq807x_eth_halt: done
eth0 PHY0 up Speed :1000 Full duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 up Speed :10 Full duplex
eth0 PHY5 up Speed :10 Full duplex
ipq807x_eth_init: done
Using eth0 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.11
Filename 'openwrt-ipq807x-generic-dynalink_dl-wrx36-initramfs-uImage.itb'.
Load address: 0x44000000
Loading: *
Got TFTP_OACK: TFTP remote port: changes from 69 to 56304
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
########################################################
879.9 KiB/s
done
Bytes transferred = 11312956 (ac9f3c hex)
ipq807x_eth_halt:```
IPQ807x# bootm
## Loading kernel from FIT Image at 44000000 ...
   Using 'config@rt5010w-d350-rev0' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-5.15.104
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x440000ec
     Data Size:    11269126 Bytes = 10.7 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x41000000
     Entry Point:  0x41000000
     Hash algo:    crc32
     Hash value:   b2654b81
     Hash algo:    sha1
     Hash value:   f787796571574081ff3ccdbfe0c82c684afa9f07
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 44000000 ...
   Using 'config@rt5010w-d350-rev0' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt dynalink_dl-wrx36 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x44abf638
     Data Size:    41883 Bytes = 40.9 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   b249df20
     Hash algo:    sha1
     Hash value:   827d5b08a2cee589612e0c87765bb7991c878dbf
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x44abf638
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 4a3f2000, end 4a3ff39a ... OK
fdt-fixup: unable to find compatible node
mtdids not defined, no default present
Could not find PCI in device tree
Using machid 0x8010008 from environment

Starting kernel ...

Jumping to AARCH64 kernel via monitor
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.104 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.2.0 r22438-d98c4fb8bf) 12.2.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Mar 27 18:07:54 2023
[    0.000000] Machine model: Dynalink DL-WRX36
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]
[    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-0x00000000510fffff]
[    0.000000]   node   0: [mem 0x0000000051100000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    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] percpu: Embedded 17 pages/cpu s30808 r8192 d30632 u69632
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: console=ttyMSM0,115200n8 root=/dev/ubiblock0_1
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 881484K/1048576K available (7808K kernel code, 860K rwdata, 2136K rodata, 7552K init, 289K bss, 167092K 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]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv2m: range[mem 0x0b00a000-0x0b00affc], SPI[448:479]
[    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.000001] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000126] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000142] pid_max: default: 32768 minimum: 301
[    0.000299] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.000317] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.001949] rcu: Hierarchical SRCU implementation.
[    0.002126] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.002658] smp: Bringing up secondary CPUs ...
[    0.003260] Detected VIPT I-cache on CPU1
[    0.003324] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.003958] Detected VIPT I-cache on CPU2
[    0.003997] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.004585] Detected VIPT I-cache on CPU3
[    0.004623] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.004689] smp: Brought up 1 node, 4 CPUs
[    0.004715] SMP: Total of 4 processors activated.
[    0.004723] CPU features: detected: 32-bit EL0 Support
[    0.004730] CPU features: detected: CRC32 instructions
[    0.004779] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.004788] CPU: All CPU(s) started at EL1
[    0.004809] alternatives: patching kernel code
[    0.012344] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.012379] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.012536] pinctrl core: initialized pinctrl subsystem
[    0.013818] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.014256] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.014300] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.014336] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.014672] thermal_sys: Registered thermal governor 'step_wise'
[    0.016147] cpuidle: using governor menu
[    0.016358] ASID allocator initialised with 65536 entries
[    0.068236] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    0.076994] SCSI subsystem initialized
[    0.077169] usbcore: registered new interface driver usbfs
[    0.077209] usbcore: registered new interface driver hub
[    0.077247] usbcore: registered new device driver usb
[    0.077633] qcom_scm: convention: smc arm 64
[    0.078984] clocksource: Switched to clocksource arch_sys_counter
[    0.079771] NET: Registered PF_INET protocol family
[    0.079916] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.080835] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.080867] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.080883] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.080970] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.081121] TCP: Hash tables configured (established 8192 bind 8192)
[    0.081215] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.081255] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.081429] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.081461] PCI: CLS 0 bytes, default 64
[    0.101269] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.105192] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.105223] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.106033] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.107750] qcom-qmp-phy 78000.phy: supply vdda-phy not found, using dummy regulator
[    0.107938] qcom-qmp-phy 78000.phy: supply vdda-pll not found, using dummy regulator
[    0.109062] qcom-qmp-phy 78000.phy: Registered Qcom-QMP phy
[    0.109948] qcom-qusb2-phy 79000.phy: supply vdda-pll not found, using dummy regulator
[    0.110101] qcom-qusb2-phy 79000.phy: supply vdda-phy-dpdm not found, using dummy regulator
[    0.110258] qcom-qusb2-phy 79000.phy: Registered Qcom-QUSB2 phy
[    0.114424] bam-dma-engine 704000.dma-controller: num-channels unspecified in dt
[    0.114448] bam-dma-engine 704000.dma-controller: num-ees unspecified in dt
[    0.118259] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.120065] msm_serial 78b3000.serial: msm_serial: detected port #0
[    0.120131] msm_serial 78b3000.serial: uartclk = 3686400
[    0.120189] 78b3000.serial: ttyMSM0 at MMIO 0x78b3000 (irq = 22, base_baud = 230400) is a MSM
[    0.120227] msm_serial: console setup on port #0
[    0.753471] printk: console [ttyMSM0] enabled
[    0.758604] msm_serial: driver initialized
[    0.766543] loop: module loaded
[    0.766619] Loading iSCSI transport class v2.0-870.
[    0.771342] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xaa
[    0.774289] nand: Macronix MX30UF2G28AD
[    0.781110] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    0.784460] Block protection check failed
[    0.800261] spmi spmi-0: PMIC arbiter version v2 (0x20010000)
[    0.803308] s1: supplied by regulator-dummy
[    0.805159] s2: supplied by regulator-dummy
[    0.809229] vdd_s3: supplied by regulator-dummy
[    0.813467] vdd_s4: supplied by regulator-dummy
[    0.817961] s5: supplied by regulator-dummy
[    0.822352] l1: supplied by regulator-dummy
[    0.826525] l2: supplied by regulator-dummy
[    0.830699] l3: supplied by regulator-dummy
[    0.834856] l4: supplied by regulator-dummy
[    0.839015] l5: supplied by regulator-dummy
[    0.843171] l6: supplied by regulator-dummy
[    0.847356] l7: supplied by regulator-dummy
[    0.851523] l8: supplied by regulator-dummy
[    0.855667] l9: supplied by regulator-dummy
[    0.859988] l11: supplied by regulator-dummy
[    0.864007] l12: supplied by regulator-dummy
[    0.868524] l13: supplied by regulator-dummy
[    0.921507] i2c_dev: i2c /dev entries driver
[    0.925378] sdhci: Secure Digital Host Controller Interface driver
[    0.925420] sdhci: Copyright(c) Pierre Ossman
[    0.930867] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.938567] remoteproc remoteproc0: releasing cd00000.q6v5_wcss
[    0.943424] NET: Registered PF_INET6 protocol family
[    0.947496] Segment Routing with IPv6
[    0.951896] In-situ OAM (IOAM) with IPv6
[    0.955459] NET: Registered PF_PACKET protocol family
[    0.959447] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.964361] 8021q: 802.1Q VLAN Support v1.8
[    0.993180] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    0.993475] cpr4_ipq807x_apss_read_fuse_data: apc_corner: speed bin = 0
[    0.999469] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR fusing revision = 1
[    1.005907] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR misc fuse value = 0
[    1.013581] cpr4_ipq807x_apss_read_fuse_data: apc_corner: Voltage boost fuse config = 0 boost = disable
[    1.021081] cpr3_mem_acc_init: apc: not using memory accelerator regulator
[    1.030219] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      SVS: open-loop= 704000 uV
[    1.037160] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      NOM: open-loop= 824000 uV
[    1.047150] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused    TURBO: open-loop= 888000 uV
[    1.056958] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused   STURBO: open-loop= 968000 uV
[    1.066814] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      SVS: quot[ 7]= 707, quot_offset[ 7]=   0
[    1.076580] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      NOM: quot[ 7]= 943, quot_offset[ 7]= 235
[    1.087429] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused    TURBO: quot[ 7]=1055, quot_offset[ 7]= 110
[    1.098365] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused   STURBO: quot[ 7]=1204, quot_offset[ 7]= 145
[    1.109455] cpr3_regulator_init_ctrl: apc: Default CPR mode = closed-loop
[    1.111740] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xaa
[    1.126998] nand: Macronix MX30UF2G28AD
[    1.133431] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    1.136995] Block protection check failed
[    1.151781] 23 qcomsmem partitions found on MTD device qcom_nand.0
[    1.151828] Creating 23 MTD partitions on "qcom_nand.0":
[    1.156864] 0x000000000000-0x0000000a0000 : "0:sbl1"
[    1.163455] 0x0000000a0000-0x0000000c0000 : "0:mibib"
[    1.167787] 0x0000000c0000-0x000000100000 : "0:bootconfig"
[    1.172889] 0x000000100000-0x000000140000 : "0:bootconfig1"
[    1.178200] 0x000000140000-0x000000440000 : "0:qsee"
[    1.185983] 0x000000440000-0x000000740000 : "0:qsee_1"
[    1.191167] 0x000000740000-0x000000760000 : "0:devcfg"
[    1.193731] 0x000000760000-0x000000780000 : "0:devcfg_1"
[    1.198838] 0x000000780000-0x0000007a0000 : "0:apdp"
[    1.204351] 0x0000007a0000-0x0000007c0000 : "0:apdp_1"
[    1.209304] 0x0000007c0000-0x000000840000 : "0:rpm"
[    1.214520] 0x000000840000-0x0000008c0000 : "0:rpm_1"
[    1.219330] 0x0000008c0000-0x0000008e0000 : "0:cdt"
[    1.224192] 0x0000008e0000-0x000000900000 : "0:cdt_1"
[    1.228885] 0x000000900000-0x000000920000 : "0:appsblenv"
[    1.234142] 0x000000920000-0x000000a60000 : "0:appsbl"
[    1.240449] 0x000000a60000-0x000000ba0000 : "0:appsbl_1"
[    1.245441] 0x000000ba0000-0x000000c20000 : "0:art"
[    1.250332] 0x000000c20000-0x000000d20000 : "0:ethphyfw"
[    1.255298] 0x000000000000-0x000003400000 : "rootfs"
[    1.303077] mtd: setting mtd19 (rootfs) as root device
[    1.303368] mtdsplit: no squashfs found in "rootfs"
[    1.307145] 0x000003400000-0x000003c00000 : "0:wififw"
[    1.318951] 0x000003c00000-0x000007000000 : "rootfs_1"
[    1.362504] 0x000007000000-0x000007800000 : "0:wififw_1"
[    1.377301] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 19200 KHz, changing to: 1017600 KHz
[   [    1.390937] Freeing unused kernel memory: 7552K
[    1.429430] Run /init as init process
[    1.572123] init: Console is alive
[    1.572267] init: - watchdog -
[    1.578921] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.598517] ssdk_switch_device_num_init[1335]:INFO:ess-switch dts node number: 1
[    1.598613] ssdk_dt_get_switch_node[1124]:INFO:ess-switch DT exist!
[    1.605041] ssdk_dt_parse_access_mode[999]:INFO:switch_access_mode: local bus
[    1.610983] ssdk_dt_parse_access_mode[1012]:INFO:switchreg_base_addr: 0x3a000000
[    1.618269] ssdk_dt_parse_access_mode[1013]:INFO:switchreg_size: 0x1000000
[    1.625740] ssdk_dt_parse_mac_mode[327]:INFO:mac mode = 0xb
[    1.632426] ssdk_dt_parse_mac_mode[336]:INFO:mac mode1 = 0xff
[    1.637884] ssdk_dt_parse_mac_mode[345]:INFO:mac mode2 = 0xc
[    1.643808] ssdk_dt_parse_phy_info[716]:INFO:[PORT 6] port_mac_sel = QGMAC_PORT
[    1.649575] ssdk_dt_parse_uniphy[364]:INFO:ess-uniphy DT exist!
[    1.656652] ssdk_dt_parse_intf_mac[942]:INFO:dp1 MAC xx:xx:xx:xx:xx:xx
[    1.662485] ssdk_dt_parse_intf_mac[942]:INFO:dp2 MAC xx:xx:xx:xx:xx:xx
[    1.669080] ssdk_dt_parse_intf_mac[942]:INFO:dp3 MAC xx:xx:xx:xx:xx:xx
[    1.675584] ssdk_dt_parse_intf_mac[942]:INFO:dp4 MAC xx:xx:xx:xx:xx:xx
[    1.682172] ssdk_plat_init[1692]:INFO:ssdk_plat_init start
[    1.800282] ssdk_gcc_clock_init[1275]:INFO:SSDK gcc clock init successfully!
[    1.801385] ssdk_phy_driver_init[363]:INFO:dev_id = 0, phy_adress = 28, phy_id = 0xffffffff phytype doesn't match
[    1.806413] malibu_phy_api_ops_init[2846]:INFO:qca probe malibu phy driver succeeded!
[    1.820572] hsl_phy_phydev_get[773]:ERROR:phy_addr 4 phydev is NULL
[    1.825486] regi_init[3953]:INFO:Initializing HPPE!!
[    2.068999] ssdk_ppe_reset_init[1535]:INFO:ppe reset successfully!
[    2.072594] qca_hppe_portctrl_hw_init[126]:INFO:Hawkeye PPE port initializing
[    2.075286] hsl_phy_phydev_get[773]:ERROR:phy_addr 4 phydev is NULL
[    2.081669] hsl_phy_phydev_get[773]:ERROR:phy_addr 4 phydev is NULL
[    2.765079] ssdk_switch_register[2017]:INFO:Chip version 0x1500
[    2.765109] qca_link_polling_select[1487]:INFO:link-polling-required node does not exist
[    2.769809] ssdk_switch_register[2043]:INFO:polling is selected
[    2.778134] regi_init[3957]:INFO:Initializing HPPE Done!!
[    2.783857] ssdk_genl_init[211]:INFO:ssdk genl family register success.
[    2.789341] regi_init[4020]:INFO:qca-ssdk module init succeeded!
[    2.798235] EDMA ver 1 hw init
[    2.802240] EDMA HW Reset completed succesfully
[    2.804894] Num rings - TxDesc:1 (23-23) TxCmpl:1 (7-7)
[    2.809297] RxDesc:1 (15-15) RxFill:1 (7-7)
[    2.815090] Generic PHY 90000.mdio-1:00: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:00, irq=POLL)
[    2.819255] nss-dp 3a001000.dp1 lan4: Registered netdev lan4(qcom-id:1)
[    2.828677] Generic PHY 90000.mdio-1:01: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:01, irq=POLL)
[    2.835410] nss-dp 3a001200.dp2 lan3: Registered netdev lan3(qcom-id:2)
[    2.844836] Generic PHY 90000.mdio-1:02: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:02, irq=POLL)
[    2.851509] nss-dp 3a001400.dp3 lan2: Registered netdev lan2(qcom-id:3)
[    2.861019] Generic PHY 90000.mdio-1:03: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:03, irq=POLL)
[    2.867702] nss-dp 3a001600.dp4 lan1: Registered netdev lan1(qcom-id:4)
[    2.877312] Generic PHY 90000.mdio-1:1c: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:1c, irq=POLL)
[    2.883845] nss-dp 3a007000.dp6-syn wan: Registered netdev wan(qcom-id:6)
[    2.893091] **********************************************************
[    2.899753] * NSS Data Plane driver
[    2.906161] **********************************************************
[    2.917142] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.917191] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    2.921808] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000000002010010
[    2.929226] xhci-hcd xhci-hcd.1.auto: irq 89, io mem 0x08a00000
[    2.938626] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.944457] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    2.950015] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    2.958039] hub 1-0:1.0: USB hub found
[    2.964314] hub 1-0:1.0: 1 port detected
[    2.968193] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.972216] hub 2-0:1.0: USB hub found
[    2.980057] hub 2-0:1.0: 1 port detected
[    2.985405] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.994341] init: - preinit -
[    3.048263] random: jshn: uninitialized urandom read (4 bytes read)
[    3.063547] random: jshn: uninitialized urandom read (4 bytes read)
[    3.071983] random: jshn: uninitialized urandom read (4 bytes read)
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
[    4.089836] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[    4.120783] usb 2-1: LPM exit latency is zeroed, disabling LPM.
[    5.152501] procd: - early -
[    5.152602] procd: - watchdog -
[    5.676984] procd: - watchdog -
[    5.677232] procd: - ubus -
[    5.681584] random: ubusd: uninitialized urandom read (4 bytes read)
[    5.728837] random: ubusd: uninitialized urandom read (4 bytes read)
[    5.729023] random: ubusd: uninitialized urandom read (4 bytes read)
[    5.735135] procd: - init -
Please press Enter to activate this console.
[    5.825724] urngd: v1.0.2 started.
[    5.839334] random: crng init done
[    5.839369] random: 26 urandom warning(s) missed due to ratelimiting
[    5.841609] kmodloader: loading kernel modules from /etc/modules.d/*
[    5.873610] Loading modules backported from Linux version v6.1-rc8-0-g76dcd734eca2
[    5.873646] Backport generated by backports.git v5.15.81-1-41-g02e352527db5
[    5.883661] NET: Registered PF_QIPCRTR protocol family
[    5.908956] PPP generic driver version 2.4.2
[    5.909620] NET: Registered PF_PPPOX protocol family
[    5.917908] ath11k c000000.wifi: ipq8074 hw2.0
[    5.917941] ath11k c000000.wifi: FW memory mode: 0
[    5.921837] remoteproc remoteproc0: powering up cd00000.q6v5_wcss
[    5.926369] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[    6.286112] remoteproc remoteproc0: remote processor cd00000.q6v5_wcss is now up
[    6.288067] ath11k c000000.wifi: qmi ignore invalid mem req type 3
[    6.293138] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
[    6.298577] ath11k c000000.wifi: fw_version 0x250a04a5 fw_build_timestamp 2021-12-20 07:09 fw_build_id WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1
[    6.308226] kmodloader: done loading kernel modules from /etc/modules.d/*
[    6.352329] ath11k c000000.wifi: failed to fetch board data for bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=Dynalink-DL-WRX36 from ath11k/IPQ8074/hw2.0/board-2.bin
[    6.352394] ath11k c000000.wifi: failed to fetch board data for bus=ahb,qmi-chip-id=0,qmi-board-id=255 from ath11k/IPQ8074/hw2.0/board-2.bin
[    6.366208] ath11k c000000.wifi: failed to fetch board.bin from IPQ8074/hw2.0
[    6.378885] ath11k c000000.wifi: qmi failed to fetch board file: -12
[    6.385893] ath11k c000000.wifi: failed to load board data file: -12
[    9.271903] br-lan: port 1(lan1) entered blocking state
[    9.271949] br-lan: port 1(lan1) entered disabled state
[    9.276160] device lan1 entered promiscuous mode
[    9.288149] br-lan: port 2(lan2) entered blocking state
[    9.288193] br-lan: port 2(lan2) entered disabled state
[    9.292478] device lan2 entered promiscuous mode
[    9.299962] br-lan: port 3(lan3) entered blocking state
[    9.302262] br-lan: port 3(lan3) entered disabled state
[    9.307401] device lan3 entered promiscuous mode
[    9.314391] nss-dp 3a001000.dp1 lan4: PHY Link up speed: 1000
[    9.317857] br-lan: port 4(lan4) entered blocking state
[    9.323028] br-lan: port 4(lan4) entered disabled state
[    9.328162] device lan4 entered promiscuous mode
[   10.329052] br-lan: port 4(lan4) entered blocking state
[   10.329108] br-lan: port 4(lan4) entered forwarding state
[   10.333334] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   31.849019] l11:
BusyBox v1.36.0 (2023-03-27 18:07:54 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r22438-d98c4fb8bf
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
2 Likes

If needed, I got the DTS file and GPIO

Specifications of ZBT-Z800AX :


Qualcomm IPQ8072A 
Qualcomm QCN5024 for 2.4 GHz 4x4 MIMO
Qualcomm QCN5054 for 5 GHz 4x4 MIMO
AX - Wi-Fi 6 Dual-Band 4+4 (2.4GHz, 5GHz)
4-Lanport Gigabit
1-Wan Gigabit
4-external Antenna for 2.4 GHz
4-external Antenna for 5 GHz
4-external Antenna for 5G Module
1GB DDR4 , 8MB nor flash, 256MB EMMC
1-Built in M.2 (for 5G Module)
1-USB 3.0
1-Simcardslot

today i did this :

Install OpenWrt from initramfs image:
1. Use SCP (or other way) to transfer OpenWrt factory image
2. Connect to device using SSH (on a LAN port)
3. Check MTD partition table.
   rootfs and rootfs_1 should be mtd18 and mtd20
   depending on current OEM slot.
   # cat /proc/mtd
4. Do a ubiformat to both rootfs partitions:
   # ubiformat /dev/mtd18 -y -f /path_to/factory_image
   # ubiformat /dev/mtd20 -y -f /path_to/factory_image
5. Set U-boot env variable: mtdids
   # fw_setenv mtdids 'nand0=nand0'
6. Get offset of mtd18 to determine current OEM slot
   - If current OEM slot is 1, offset is 16777216  (0x1000000)
   - If current OEM slot is 2, offset is 127926272 (0x7a00000)
   # cat /sys/class/mtd/mtd18/offset
7. Set U-boot env variable: mtdparts
   If current OEM slot is 1, run:
   # fw_setenv mtdparts 'mtdparts=nand0:0x6100000@0x1000000(fs),0x6100000@0x7a00000(fs_1)'
   If current OEM slot is 2, run:
   # fw_setenv mtdparts 'mtdparts=nand0:0x6100000@0x7a00000(fs),0x6100000@0x1000000(fs_1)'
8. Set U-boot env variable: bootcmd
   # fw_setenv bootcmd 'setenv bootargs console=ttyMSM0,115200n8 ubi.mtd=rootfs rootfstype=squashfs rootwait; ubi part fs; ubi read 0x44000000 kernel; bootm 0x44000000#config@rt5010w-d350-rev0'
9. Reboot the device
   # reboot

I could flash mtd19&21 but after that nothig else worked.
rebooting ends to uboot.

after restoring my backups I got back the old openwrt15.

1 Like

you can't expect an instruction for some random router to work on any other device, not even one coming from the same manufacturer.

it´s just a try...

i couldn't use some coomands like :

 fw_setenv mtdids 'nand0=nand0'
   # fw_setenv bootcmd 'setenv bootargs console=ttyMSM0,115200n8 ubi.mtd=rootfs rootfstype=squashfs rootwait; ubi part fs; ubi read 0x44000000 kernel; bootm 0x44000000#config@rt5010w-d350-rev0'

and sure I know the partition table ist differnet. 

But hey ... it was a good start ...

I need help because my knowledge of developing is limited :smirk:

1 Like

Post the full stock bootlog . According to your supplied information, the device doesn't have NAND flash, but NOR flash + EMMC.

8MB nor flash, 256MB EMMC

And the output of u-boot cmd "smem" and "emmc info"