OpenWrt installation on OpenMesh A62 router

Should I upgrade the firmware by referring to 'ap51' or the openwrt's 'sysupgrade' flow?

You should follow instructions from commit message (so, yes, use ap51 and factory image).
What you did was (hopefully) required to remove keys so that U-Boot no longer asks for *.sig file.

After upgrading the firmware, the device could boots up through monitoring the serial printing information. However, it's still can't be connected by ssh root@192.168.1.1. And failed to ping 192.168.1.1.

@pepe2k
It seems successful... Thank you so much!

Please, provide more details (what exactly you did, was erasing KEYS partition enough to bypass signature validation?), someone with similar problem could use that information in future.

And... you're welcome, have fun with OpenWrt!

Thank you. It won't be successful without your help. Hope openmesh won't close this path in future.

Well, below is a short summary of the operation steps according to my testing.
Step1. Wired-connect A62 into a router which has already connected to the internet so that A62 will logs into the cloudtrax.com automatically.
Step2. After A62 logs into the cloudtrax.com, then make your laptop/pc connect with A62, read out the gateway's ip, and then login it by using ssh command like 'ssh root@10.255.248.1'. It'll ask for a key which should be founded out in the cloudtrax's management web like 'Configure->Advanced->rootpassword'. (Please keep your region/location is not USA, Canada or other region which follows FCC regulation, or maybe you can't login the device by using SSH.)
Step3. When login into the device by using SSH, find which mtd partition the KEYS's placed in, then erase the specific partition which includes KEYS.
Step4. Exit the device, and start the ap51 program for upgrading firmware.
Step5. Reboot the device, and wait for upgrading. The lights color status should change like "Solid Red&Blue/white ->(Reboot automatically)-> Flash Green -> Solid Green ". Till such step, the upgrade should be complete and successful.
Step6. Try to connect to the device by using SSH. The default ip is 192.168.1.1. If it fails, please reboot the device and try SSH again.

1 Like

If you are looking for a possible future alternative to OpenMesh, look at OpenWISP, it doesn't have all the features of OpenMesh but we will get there sooner or later.

I got through the whole procedure:

runk# ./ap51-flash 1 ../../a62/openwrt/openwrt-18.06.2-ipq40xx-openmesh_a62-squashfs-factory.bin 
[ac:86:74:d6:b4:a0]: type 'A62 router' detected
[ac:86:74:d6:b4:a0]: A62 router: tftp client asks for 'fwupgrade.cfg', serving fwupgrade.cfg portion of: ../../a62/openwrt/openwrt-18.06.2-ipq40xx-openmesh_a62-squashfs-factory.bin (2 blocks) ...
[ac:86:74:d6:b4:a0]: A62 router: tftp client asks for 'kernel', serving kernel portion of: ../../a62/openwrt/openwrt-18.06.2-ipq40xx-openmesh_a62-squashfs-factory.bin (4224 blocks) ...
[ac:86:74:d6:b4:a0]: A62 router: tftp client asks for 'rootfs', serving rootfs portion of: ../../a62/openwrt/openwrt-18.06.2-ipq40xx-openmesh_a62-squashfs-factory.bin (6401 blocks) ...
[ac:86:74:d6:b4:a0]: A62 router: image successfully transmitted - writing image to flash ...
[ac:86:74:d6:b4:a0]: A62 router: flash complete. Device ready to unplug.

However, I am not able to ssh or ping to 192.168.1.1. It seems like, @CS999 somehow you overcame this same problem by rebooting. Was that all you did?

If not, @pepe2k, do you have a good way to get mtd9_KEYS_dump.bin back on this device?

Hookay, well I 'fixed' it. There is one critical point left out here. Consider this Step5.5:

You can only connect to 192.168.1.1 by plugging into the 2nd Ethernet port. You cannot get to it by the port you used to flash it.

This device has defined WAN and LAN ports:

Hello,
Do you experience the super hot near LAN/WAN port ? I am running at firmware 6.4.15 (ng6.4.15) also 6.5.3 (ng6.5.3) from OpenMesh .There are some devices that hang and reboot continuously regarding the overheat.
Will the Openwrt firmware resolve this heating problem ?

Thank and Best regards,
Kenny

Hi,
I would like to attach the boot log here:


Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset),  D - Delta,  S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.1-00103
S - IMAGE_VARIANT_STRING=DAABANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x00000021
S - Core 0 Frequency, 0 MHz
B -       261 - PBL, Start
B -      1338 - bootable_media_detect_entry, Start
B -      1677 - bootable_media_detect_success, Start
B -      1691 - elf_loader_entry, Start
B -      5068 - auth_hash_seg_entry, Start
B -      7209 - auth_hash_seg_exit, Start
B -    578259 - elf_segs_hash_verify_entry, Start
B -    694345 - PBL, End
B -    694369 - SBL1, Start
B -    781487 - pm_device_init, Start
D -         6 - pm_device_init, Delta
B -    783013 - boot_flash_init, Start
D -     63316 - boot_flash_init, Delta
B -    850353 - boot_config_data_table_init, Start
D -      3842 - boot_config_data_table_init, Delta - (419 Bytes)
B -    857559 - clock_init, Start
D -      7558 - clock_init, Delta
B -    869612 - CDT version:2,Platform ID:8,Major ID:1,Minor ID:0,Subtype:1
B -    873100 - sbl1_ddr_set_params, Start
B -    878087 - cpr_init, Start
D -         2 - cpr_init, Delta
B -    882577 - Pre_DDR_clock_init, Start
D -         5 - Pre_DDR_clock_init, Delta
D -     13146 - sbl1_ddr_set_params, Delta
B -    895857 - pm_driver_init, Start
D -         2 - pm_driver_init, Delta
B -    965871 - sbl1_wait_for_ddr_training, Start
D -        28 - sbl1_wait_for_ddr_training, Delta
B -    981600 - Image Load, Start
D -    138397 - QSEE Image Loaded, Delta - (269176 Bytes)
B -   1120496 - Image Load, Start
D -      1442 - SEC Image Loaded, Delta - (2048 Bytes)
B -   1130784 - Image Load, Start
D -    219936 - APPSBL Image Loaded, Delta - (450044 Bytes)
B -   1351142 - QSEE Execution, Start
D -        60 - QSEE Execution, Delta
B -   1357390 - SBL1, End
D -    665100 - SBL1, Delta
S - Flash Throughput, 2006 KB/s  (721687 Bytes,  359635 us)
S - DDR Frequency, 672 MHz


U-Boot A62-ge2c3709 [Chaos Calmer 15.05.1,r35193] (Jan 15 2018 - 12:01:05)

smem ram ptable found: ver: 1 len: 3
DRAM:  256 MiB
machid : 0x8010001
NAND:  SF: Detected W25Q256 with page size 64 KiB, total 32 MiB
ipq_spi: page_size: 0x100, sector_size: 0x10000, size: 0x2000000
32 MiB
MMC:
PCI0 Link Intialized
In:    serial
Out:   serial
Err:   serial
machid: 8010001
flash_type: 0
Net:
A62 PHY reset, change to gpio 42
PHY ID1: 0x4d
PHY ID2: 0xd0b2
ipq40xx_ess_sw_init done
eth0
Hit any key to stop autoboot:  0
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 up Speed :1000 Full duplex
eth0 PHY4 Down Speed :10 Half duplex
Using eth0 device
TFTP from server 192.168.100.8; our IP address is 192.168.100.9
Filename 'fwupgrade.cfg'.
Load address: 0x84000000
Loading: *
ARP Retry count exceeded; starting again
T Retry...
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 up Speed :1000 Full duplex
eth0 PHY4 Down Speed :10 Half duplex
Using eth0 device
TFTP from server 192.168.100.8; our IP address is 192.168.100.9
Filename 'fwupgrade.cfg'.
Load address: 0x84000000
Loading: T
ARP Retry count exceeded; starting again
T Retry...
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 up Speed :1000 Full duplex
eth0 PHY4 Down Speed :10 Half duplex
Using eth0 device
TFTP from server 192.168.100.8; our IP address is 192.168.100.9
Filename 'fwupgrade.cfg'.
Load address: 0x84000000
Loading: T
ARP Retry count exceeded; starting again
T Retry count exceeded!
SF: Detected W25Q256 with page size 64 KiB, total 32 MiB
Validating MD5Sum of 'vmlinux'...
SF: Detected W25Q256 with page size 64 KiB, total 32 MiB
Passed!
Validating MD5Sum of 'rootfs'...
SF: Detected W25Q256 with page size 64 KiB, total 32 MiB
Passed!
SF: Detected W25Q256 with page size 64 KiB, total 32 MiB
## Booting kernel from FIT Image at 84000000 ...
   Using 'config@1' configuration
   Trying 'kernel@1' kernel subimage
     Description:  ARM OpenWrt Linux-4.8.17
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x840000e4
     Data Size:    1994594 Bytes = 1.9 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x80208000
     Entry Point:  0x80208000
     Hash algo:    crc32
     Hash value:   af2d3ef9
     Hash algo:    sha1
     Hash value:   6a76f8dc32f8a4331c8131e70e47593412998674
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Flattened Device Tree from FIT Image at 84000000
   Using 'config@1' configuration
   Trying 'fdt@1' FDT blob subimage
     Description:  ARM OpenWrt A62 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x841e7178
     Data Size:    33353 Bytes = 32.6 KiB
     Architecture: ARM
     Hash algo:    crc32
     Hash value:   f855f191
     Hash algo:    sha1
     Hash value:   a8d2889bcccd01730d5080884eb2157d5efd85b4
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x841e7178
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 86ff4000, end 86fff248 ... OK
ipq: fdt fixup unable to find compatible node
Using machid 0x8010001 from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.8.17 (fw-builder@fw-builder) (gcc version 5.4.0 (LEDE GCC 5.4.0 r0+3214-66684ec) ) #0 SMP Tue Jan 22 22:52:29 UTC 2019
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (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: OpenMesh A62
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 13 pages/cpu @cfdaa000 s20864 r8192 d24192 u53248
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64512
[    0.000000] Kernel command line: console=ttyMSM0,115200 rootfstype=squashfs,jffs2 board=A62 root=31:12 mtdparts=spi0.0:256k(0:SBL1),128k(0:MIBIB),384k(0:QSEE),64k(0:CDT),64k(0:DDRPARAMS),64k(0:APPSBLENV),512k(0:APPSBL),64k(0:ART),64k(0:custom),64k(0:KEYS),15552k(inactive),2031616(0:HLOS),13893632(rootfs) rootfsname=rootfs rootwait
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 251600K/260096K available (3781K kernel code, 235K rwdata, 1208K rodata, 240K init, 245K bss, 8496K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc05b9700   (3782 kB)
[    0.000000]       .init : 0xc0708000 - 0xc0744000   ( 240 kB)
[    0.000000]       .data : 0xc0744000 - 0xc077eec0   ( 236 kB)
[    0.000000]        .bss : 0xc0780000 - 0xc07bd6c4   ( 246 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 48.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb11fd3bfb, max_idle_ns: 440795203732 ns
[    0.000008] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 4398046511096ns
[    0.000022] Switching to timer-based delay loop, resolution 20ns
[    0.000388] Calibrating delay loop (skipped), value calculated using timer frequency.. 96.00 BogoMIPS (lpj=480000)
[    0.000406] pid_max: default: 32768 minimum: 301
[    0.000508] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000521] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001078] CPU: Testing write buffer coherency: ok
[    0.001374] Setting up static identity map for 0x80208280 - 0x802082d8
[    0.005324] Brought up 4 CPUs
[    0.005343] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[    0.005351] CPU: All CPU(s) started in SVC mode.
[    0.017105] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.017295] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.017354] pinctrl core: initialized pinctrl subsystem
[    0.018575] NET: Registered protocol family 16
[    0.018912] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.039956] cpuidle: using governor ladder
[    0.069981] cpuidle: using governor menu
[    0.073520] GPIO line 58 (enable USB2 power) hogged as output/low
[    0.085906] msm_bus_fabric_init_driver
[    0.086139] msm_bus_device 580000.ad-hoc-bus: Util-fact is missing, default to 100
[    0.086155] msm_bus_device 580000.ad-hoc-bus: Vrail-comp is missing, default to 100
[    0.086173] msm_bus_device 580000.ad-hoc-bus: Failed to get bus clk for bus4096 ctx1
[    0.086217] msm_bus_device 580000.ad-hoc-bus: Util-fact is missing, default to 100
[    0.086231] msm_bus_device 580000.ad-hoc-bus: Vrail-comp is missing, default to 100
[    0.086247] msm_bus_device 580000.ad-hoc-bus: Failed to get bus clk for bus1024 ctx1
[    0.142862] usbcore: registered new interface driver usbfs
[    0.142948] usbcore: registered new interface driver hub
[    0.143047] usbcore: registered new device driver usb
[    0.143100] pps_core: LinuxPPS API ver. 1 registered
[    0.143109] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.143140] PTP clock support registered
[    0.144645] clocksource: Switched to clocksource arch_sys_counter
[    0.145626] NET: Registered protocol family 2
[    0.146256] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.146300] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.146349] TCP: Hash tables configured (established 2048 bind 2048)
[    0.146407] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.146439] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.146617] NET: Registered protocol family 1
[    0.147833] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.148191] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.154276] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.154291] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.158948] io scheduler noop registered
[    0.158965] io scheduler deadline registered (default)
[    0.159795] 40000000.pci supply vdda not found, using dummy regulator
[    0.159898] 40000000.pci supply vdda_phy not found, using dummy regulator
[    0.159956] 40000000.pci supply vdda_refclk not found, using dummy regulator
[    0.160276] OF: PCI: host bridge /soc/pci@40000000 ranges:
[    0.160308] OF: PCI:    IO 0x40200000..0x402fffff -> 0x40200000
[    0.160330] OF: PCI:   MEM 0x40300000..0x405fffff -> 0x40300000
[    0.374651] qcom-pcie 40000000.pci: link up
[    0.374828] qcom-pcie 40000000.pci: PCI host bridge to bus 0000:00
[    0.374848] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.374873] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0x40200000-0x402fffff])
[    0.374888] pci_bus 0000:00: root bus resource [mem 0x40300000-0x405fffff]
[    0.375301] PCI: bus0: Fast back to back transfers disabled
[    0.376709] PCI: bus1: Fast back to back transfers disabled
[    0.376896] pci 0000:00:00.0: BAR 8: assigned [mem 0x40400000-0x405fffff]
[    0.376914] pci 0000:00:00.0: BAR 0: assigned [mem 0x40300000-0x40300fff 64bit]
[    0.376940] pci 0000:01:00.0: BAR 0: assigned [mem 0x40400000-0x405fffff 64bit]
[    0.377015] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.377031] pci 0000:00:00.0:   bridge window [mem 0x40400000-0x405fffff]
[    0.379526] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[    0.379582] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[    0.379630] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[    0.379690] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[    0.379825] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.380507] msm_serial 78af000.serial: msm_serial: detected port #0
[    0.380551] msm_serial 78af000.serial: uartclk = 1843200
[    0.380593] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 125, base_baud = 115200) is a MSM
[    0.380621] msm_serial: console setup on port #0
[    1.047315] console [ttyMSM0] enabled
[    1.052311] msm_serial: driver initialized
[    1.062793] loop: module loaded
[    1.063787] spi_qup 78b5000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    1.065674] m25p80 spi0.0: w25q256 (32768 Kbytes)
[    1.072074] 13 cmdlinepart partitions found on MTD device spi0.0
[    1.076665] Creating 13 MTD partitions on "spi0.0":
[    1.082715] 0x000000000000-0x000000040000 : "0:SBL1"
[    1.088275] 0x000000040000-0x000000060000 : "0:MIBIB"
[    1.093367] 0x000000060000-0x0000000c0000 : "0:QSEE"
[    1.098391] 0x0000000c0000-0x0000000d0000 : "0:CDT"
[    1.103377] 0x0000000d0000-0x0000000e0000 : "0:DDRPARAMS"
[    1.108039] 0x0000000e0000-0x0000000f0000 : "0:APPSBLENV"
[    1.113565] 0x0000000f0000-0x000000170000 : "0:APPSBL"
[    1.118915] 0x000000170000-0x000000180000 : "0:ART"
[    1.123883] 0x000000180000-0x000000190000 : "0:custom"
[    1.128751] 0x000000190000-0x0000001a0000 : "0:KEYS"
[    1.133921] 0x0000001a0000-0x0000010d0000 : "inactive"
[    1.139087] 0x0000010d0000-0x0000012c0000 : "0:HLOS"
[    1.143974] 0x0000012c0000-0x000002000000 : "rootfs"
[    1.149168] mtd: device 12 (rootfs) set to be root filesystem
[    1.153363] 1 squashfs-split partitions found on MTD device rootfs
[    1.158873] 0x0000016e0000-0x000002000000 : "rootfs_data"
[    1.166429] libphy: Fixed MDIO Bus: probed
[    1.170747] ipq40xx-mdio 90000.mdio: Could not find DT gpio phy-reset-gpio missing/malformed:-2
[    1.174491] libphy: ipq40xx_mdio: probed
[    1.217132] ESS reset ok!
[    1.250116] ESS reset ok!
[    1.580084] PHY 4 single test PSGMII issue happen!
[    1.661852] PHY4 test see issue!
[    1.685897] ESS reset ok!
[    2.314908] i2c /dev entries driver
[    2.316392] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 666000 KHz
[    2.317266] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 716800 KHz
[    2.325017] sdhci: Secure Digital Host Controller Interface driver
[    2.333177] sdhci: Copyright(c) Pierre Ossman
[    2.339213] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.347786] NET: Registered protocol family 10
[    2.350634] NET: Registered protocol family 17
[    2.353631] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.358106] Bridge firewalling registered
[    2.370966] 8021q: 802.1Q VLAN Support v1.8
[    2.374823] Registering SWP/SWPB emulation handler
[    2.380154] hctosys: unable to¦[    2.392575] VFS: Mounted root (squashfs filesystem) readonly on device 31:12.
[    2.393210] Freeing unused kernel memory: 240K (c0708000 - c0744000)
[    2.398720] This architecture does not have kernel memory protection.
[    2.446613] random: fast init done
[    3.403054] init: Console is alive
[    3.403785] init: Starting A62 Boot LED process
[    3.406094] init: - watchdog -
[    5.098869] Button Hotplug driver version 0.4.1
[    5.100488] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.103102] ehci-platform: EHCI generic platform driver
[    5.240005] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.240087] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    5.244753] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f665 hci version 0x100 quirks 0x00010010
[    5.252039] xhci-hcd xhci-hcd.0.auto: irq 226, io mem 0x06000000
[    5.261693] hub 1-0:1.0: USB hub found
[    5.266967] hub 1-0:1.0: 1 port detected
[    5.270862] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.274537] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    5.280021] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.288317] hub 2-0:1.0: USB hub found
[    5.295777] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    5.301515] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    5.324943] init: - preinit -
[    6.424567] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    7.707803] mount_root: loading kmods from internal overlay
[    8.939753] jffs2: notice: (161) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.941897] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[    9.038888] random: crng init done
[    9.110292] block: extroot: not configured
[    9.255242] jffs2: notice: (158) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    9.258652] mount_root: loading kmods from internal overlay
[   10.500609] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   10.665375] block: extroot: not configured
[   10.706093] mount_root: switching to jffs2 overlay
[   10.720104] urandom-seed: Seeding with /etc/urandom.seed
[   10.837707] procd: - early -
[   10.837829] procd: - watchdog -
[   11.657216] procd: - ubus -
[   11.763616] procd: - init -
Please press Enter to activate this console.
[   12.612864] tun: Universal TUN/TAP device driver, 1.6
[   12.612900] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   12.621000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.632896] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   13.915804] Netfilter messages via NETLINK v0.30.
[   13.917656] ip_set: protocol 6
[   18.945579] classifier_skype: module license 'proprietary' taints kernel.
[   18.945654] Disabling lock debugging due to kernel taint
[   22.789325] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   22.789398] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   23.551039] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   23.552032] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   24.984565] ath10k_pci 0000:01:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[   24.984618] ath10k_pci 0000:01:00.0: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 1
[   25.002867] ath10k_pci 0000:01:00.0: firmware ver 10.4-3.5.3-00053 api 5 features no-p2p,mfp,peer-flow-ctrl,allows-mesh-bcast crc32 a9603656
[   25.303810] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:16 crc32 7ac16d54
[   27.449761] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[   28.600190] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   28.600235] ath10k_ahb a000000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 1
[   28.614560] ath10k_ahb a000000.wifi: firmware ver 10.4-3.5.3-00053 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast crc32 7afd94b8
[   28.660538] ath10k_ahb a000000.wifi: board_file api 2 bmi_id 0:20 crc32 1f73d985
[   30.053765] ath10k_ahb a000000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[   30.260307] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   30.260359] ath10k_ahb a800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 1
[   30.277255] ath10k_ahb a800000.wifi: firmware ver 10.4-3.5.3-00053 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast crc32 7afd94b8
[   30.321008] ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:21 crc32 1f73d985
[   31.715700] ath10k_ahb a800000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[   35.314230] u32 classifier
[   35.314421]     input device check on
[   35.316368]     Actions configured
[   35.903674] Mirror/redirect action on
[   42.160522] ip_tables: (C) 2000-2006 Netfilter Core Team
[   42.887416] xt_time: kernel timezone is -0000
[   42.901033] batman_adv: B.A.T.M.A.N. advanced 2017.2 (compatibility version 15) loaded
[   49.266257] IPv6: ADDRCONF(NETDEV_UP): mesh4: link is not ready
[   51.032640] IPv6: ADDRCONF(NETDEV_UP): mesh3: link is not ready
[   52.844193] IPv6: ADDRCONF(NETDEV_UP): mesh2: link is not ready
[   53.064993] IPv6: ADDRCONF(NETDEV_CHANGE): mesh4: link becomes ready
[   53.079715] IPv6: ADDRCONF(NETDEV_UP): br-ssid1: link is not ready
[   53.156614] batman_adv: bat0: Adding interface: mesh4
[   53.156734] batman_adv: bat0: Interface activated: mesh4
[   53.199539] batman_adv: bat0: Adding interface: mesh3
[   53.199618] batman_adv: bat0: Interface activated: mesh3
[   53.239759] batman_adv: bat0: Adding interface: mesh2
[   53.239836] batman_adv: bat0: Interface activated: mesh2
[   53.245055] 8021q: adding VLAN 0 to HW filter on device bat0
[   53.324597] br-meship: port 1(bat0.3) entered blocking state
[   53.324953] br-meship: port 1(bat0.3) entered disabled state
[   53.330750] device bat0.3 entered promiscuous mode
[   53.335115] device bat0 entered promiscuous mode
[   53.341764] br-meship: port 1(bat0.3) entered blocking state
[   53.344398] br-meship: port 1(bat0.3) entered forwarding state
[   53.388914] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   53.408073] br-lan2: port 1(eth1) entered blocking state
[   53.408118] br-lan2: port 1(eth1) entered disabled state
[   53.413226] device eth1 entered promiscuous mode
[   53.419575] IPv6: ADDRCONF(NETDEV_UP): br-lan2: link is not ready
[   53.444623] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   53.445607] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[   53.446341] ess_edma c080000.edma: eth0: GMAC Link is up with phy_speed=1000
[   53.446554] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   53.460960] br-lan1: port 1(eth0) entered blocking state
[   53.460973] br-lan1: port 1(eth0) entered disabled state
[   53.461489] device eth0 entered promiscuous mode
[   53.462963] br-lan1: port 1(eth0) entered blocking state
[   53.462976] br-lan1: port 1(eth0) entered forwarding state
[   53.492167] batman_adv: bat0: distributed_arp_table: Changing from: enabled to: disabled
[   53.497940] batman_adv: bat0: New skb mark for extended isolation: 0x40000000/0x40000000
[   53.505492] batman_adv: bat0: orig_interval: Changing from: 1000 to: 5000
[   53.672920] br-ssid1: port 1(bat0.31) entered blocking state
[   53.672964] br-ssid1: port 1(bat0.31) entered disabled state
[   53.678477] device bat0.31 entered promiscuous mode
[   53.683624] br-ssid1: port 1(bat0.31) entered blocking state
[   53.688016] br-ssid1: port 1(bat0.31) entered forwarding state
[   53.694225] IPv6: ADDRCONF(NETDEV_CHANGE): br-ssid1: link becomes ready
[   54.147426] IPv6: ADDRCONF(NETDEV_CHANGE): mesh2: link becomes ready
[   54.489825] IPv6: ADDRCONF(NETDEV_CHANGE): mesh3: link becomes ready
[   56.785973] batman_adv: bat0: bridge_loop_avoidance: Changing from: disabled to: enabled
[   58.945820] device eth0 left promiscuous mode
[   58.946024] br-lan1: port 1(eth0) entered disabled state
[   58.955575] br-lan1: port 1(eth0) entered blocking state
[   58.955618] br-lan1: port 1(eth0) entered disabled state
[   58.960679] device eth0 entered promiscuous mode
[   58.965582] br-lan1: port 1(eth0) entered blocking state
[   58.969864] br-lan1: port 1(eth0) entered forwarding state
[   59.370749] IPv6: ADDRCONF(NETDEV_UP): ap2_1: link is not ready
[   59.373925] br-ssid1: port 2(ap2_1) entered blocking state
[   59.375552] br-ssid1: port 2(ap2_1) entered disabled state
[   59.381565] device ap2_1 entered promiscuous mode
[   59.386805] br-ssid1: port 2(ap2_1) entered blocking state
[   59.391305] br-ssid1: port 2(ap2_1) entered forwarding state
[   59.519305] IPv6: ADDRCONF(NETDEV_CHANGE): ap2_1: link becomes ready
[   64.813658] IPv6: ADDRCONF(NETDEV_UP): ap1_1: link is not ready
[   64.816376] br-ssid1: port 3(ap1_1) entered blocking state
[   64.818397] br-ssid1: port 3(ap1_1) entered disabled state
[   64.824421] device ap1_1 entered promiscuous mode
[   64.829812] br-ssid1: port 3(ap1_1) entered blocking state
[   64.834230] br-ssid1: port 3(ap1_1) entered forwarding state
[   64.839994] br-ssid1: port 3(ap1_1) entered disabled state
[   64.969543] IPv6: ADDRCONF(NETDEV_CHANGE): ap1_1: link becomes ready
[   64.969748] br-ssid1: port 3(ap1_1) entered blocking state
[   64.975006] br-ssid1: port 3(ap1_1) entered forwarding state
[   70.271418] IPv6: ADDRCONF(NETDEV_UP): ap0_1: link is not ready
[   70.275179] br-ssid1: port 4(ap0_1) entered blocking state
[   70.276163] br-ssid1: port 4(ap0_1) entered disabled state
[   70.282366] device ap0_1 entered promiscuous mode
[   70.407717] IPv6: ADDRCONF(NETDEV_CHANGE): ap0_1: link becomes ready
[   70.407925] br-ssid1: port 4(ap0_1) entered blocking state
[   70.413146] br-ssid1: port 4(ap0_1) entered forwarding state
[   73.765577] device bat0.31 left promiscuous mode
[   73.765917] br-ssid1: port 1(bat0.31) entered disabled state
[   73.770910] br-lan1: port 2(bat0.31) entered blocking state
[   73.775019] br-lan1: port 2(bat0.31) entered disabled state
[   73.780855] device bat0.31 entered promiscuous mode
[   73.786227] br-lan1: port 2(bat0.31) entered blocking state
[   73.790634] br-lan1: port 2(bat0.31) entered forwarding state
[   73.831273] device ap0_1 left promiscuous mode
[   73.831508] br-ssid1: port 4(ap0_1) entered disabled state
[   73.836150] br-lan1: port 3(ap0_1) entered blocking state
[   73.840094] br-lan1: port 3(ap0_1) entered disabled state
[   73.846301] device ap0_1 entered promiscuous mode
[   73.851127] br-lan1: port 3(ap0_1) entered blocking state
[   73.855681] br-lan1: port 3(ap0_1) entered forwarding state
[   73.896192] device ap1_1 left promiscuous mode
[   73.896431] br-ssid1: port 3(ap1_1) entered disabled state
[   73.900899] br-lan1: port 4(ap1_1) entered blocking state
[   73.905095] br-lan1: port 4(ap1_1) entered disabled state
[   73.911146] device ap1_1 entered promiscuous mode
[   73.916103] br-lan1: port 4(ap1_1) entered blocking state
[   73.920553] br-lan1: port 4(ap1_1) entered forwarding state
[   73.961322] device ap2_1 left promiscuous mode
[   73.961555] br-ssid1: port 2(ap2_1) entered disabled state
[   73.966682] br-lan1: port 5(ap2_1) entered blocking state
[   73.970142] br-lan1: port 5(ap2_1) entered disabled state
[   73.976318] device ap2_1 entered promiscuous mode
[   73.981182] br-lan1: port 5(ap2_1) entered blocking state
[   73.985724] br-lan1: port 5(ap2_1) entered forwarding state
[   74.993360] batman_adv: bat0: Changing gw mode from: off to: server

shell disabled..er to activate this console.

shell disabled...
Please press Enter to activate this console.

shell disabled..er to activate this console.

shell disabled...
Please press Enter to activate this console.

Hi,
Hoping that my experience can help someone with the same problem.
I test the PoE from the Switch as below :

 PoE   Pwr  Pwr      Pre-std Alloc Alloc  PSE Pwr PD Pwr  PoE Port    PLC PLC
 Port  Enab Priority Detect  Cfg   Actual Rsrvd   Draw    Status      Cls Type
 ----- ---- -------- ------- ----- ------ ------- ------- ----------- --- ----
 1     Yes  low      off     usage usage  10.3 W  9.5 W   Delivering   4   2
 2     Yes  low      off     usage usage  6.5 W   6.2 W   Delivering   4   2

As you can see the port 1 is powering the A62 with stock firmware. Port 2 is powering the other A62 with OpenWrt firmware (I removed the wpad* packages and install wpad-mesh-wolfssl)
For your info.

Just another bit of info for anybody trying to install OpenWrt on an Open Mesh A62 / Datto AP62. The same trick as mentioned in the post below works to circumvent the image check.

https://forum.openwrt.org/t/open-mesh-a42-installation/60825/2?u=konus

So just use a thin bit of wire to connect the red pin to ground while using ap-flash51 works and ignores the image check.

Hello everyone, I also have an OpenMesh A62 and am trying to "flash" it with the instructions from CS999. Unfortunately the update doesn't work because I might be doing something wrong.

  1. I have deleted the KEYS (I think)
  2. started the A51-Tool programme
  3. restarted A62
  4. the command line of the A51 tool shows me that it has found the AP and it is type A62.

D:\Flash_AP>ap51-flash-2022.1-i686-npcap.exe 4 openwrt-22.03.5-ipq40xx-generic-openmesh_a62-squashfs-factory.bin
[ac:86:xx:xx:xx:c0]: device type 'A62' detected
[a4:cf:xx:xx:xx:64]: is of type 'redboot' that we have no image for

Unfortunately, it only lists other MAC addresses and the AP does not show any signs of an update. The LED lights up white.

I am using the FACTORY image.
I'm not sure if it's the right one.
I always thought that the file with the .itb extension was the right one. Unfortunately the A51 tool does not accept this file.
I am using the openwrt-22.03.5-ipq40xx-generic-openmesh_a62-squashfs-factory.bin

Can anyone here help me and tell me what I'm doing wrong or how I can read out a log, for example. I am not an expert, but I can provide a lot of information with instructions.

Regards
Bischof

Translated with DeepL.com (free version)