Adding OpenWrt support for ws-ap3825i

@W3isserWolf seems to have disappeared.

Yes, I got it working. I was on a business trip, thatswhy i just tested it yesterday.

I've got several of these devices in use. Everything seems to work fine once the firmware is installed. However, I often encounter errors like the following during install:

Init commands:

Boot (PRI)-> fdt boardsetup;
ft_fixup_l2cache: FDT_ERR_NOTFOUND
Boot (PRI)-> fdt chosen;
WARNING: could not set bootargs FDT_ERR_NOSPACE.

Upgrade:

WARNING: could not set reg FDT_ERR_NOSPACE.
ft_fixup_cpu: FDT_ERR_NOSPACE
ft_fixup_l2cache: FDT_ERR_NOTFOUND
WARNING: could not set reg FDT_ERR_NOSPACE.
WARNING: could not set bootargs FDT_ERR_NOSPACE.
WARNING: could not set linux,stdout-path FDT_ERR_NOSPACE.

I'm able to get through the above by rebooting and/or repeating the process. Next time I'll keep better records of the hoops I jump through.

I am hitting the same issues as @nmpu - however I am not able to get through it by reflashing/rebooting. This appears to be a legitimate error. Could it be caused by a regression in the nightlies' FDT size, e.g. growth over time?

Here's my U-Boot blurb, maybe it can shed some light.

U-Boot 2010.12.6 (Feb 26 2014 - 12:51:09) (primary)

Power LED ON
CPU0:  P1020E, Version: 1.1, (0x80ec0011)
Core:  E500, Version: 5.1, (0x80212051)
Clock Configuration:
       CPU0:800  MHz, CPU1:800  MHz, 
       CCB:400  MHz,
       DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), LBC:25   MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled
Board: P1020RDB CPLD: V15.15 PCBA: V15.0
1 Like

Ha, okay, figured it out. The second set of instructions on the wiki page have a longer boot_openwrt U-Boot var, with multiple attempts to resize the fdt:

setenv boot_openwrt "cp.b 0xEC000000 0x2000000 0x2000000; interrupts off; bootm start 0x2000000; bootm loados; fdt resize; fdt boardsetup; fdt resize; fdt boardsetup; fdt chosen; fdt resize; fdt chosen; bootm prep; bootm go;"

versus the step-by-step version, which doesn't work:

setenv boot_openwrt "cp.b 0xEC000000 0x2000000 0x2000000; interrupts off; bootm start 0x2000000; bootm loados; fdt resize; fdt boardsetup; fdt chosen; bootm prep; bootm go;"

Used the longer version, and saveenv again, and booted first try.

The longer version should only be needed if you're running an older version of OpenWrt, built before commit 1d06277.

What are you running? Seeing these come back is a bit worrying, the build should be padded well-enough not to have this issue.

The original issue is discussed here. Padding was resolved to have fixed that (though I didn't implement it properly the first time).

If you show me the image which fails to boot, I'll see if I can binwalk it and make sure the padding is working. If it is, we have a bug and should probably just document the "multiple resize" fix.

I have several more 'virgin' devices to FLASH. I'll keep better notes of exactly what I'm doing. I was a bit worried the first time I encountered the above because I thought maybe it had something to do with the stock firmware. The first time I encountered these errors, I just waited a few days assuming someone else would complain and it would just get fixed. Now I think it's just more about reboot/repetition.

Hi Everyone, I'm also having trouble flashing some "virgin" devices. I keep running into ft_fixup_cpu: FDT_ERR_NOSPACE errors. I'll paste a log of my terminal here so you can see. I've cleaned up the log a little due to post limits.

[9:36:03.049] admin
[9:36:03.913] password: new2day

[9:36:06.410] Boot (PRI)-> setenv boot_openwrt "cp.b 0xEC000000 0x2000000 0x2000000; interrupts off; bootm start 0x2000000; bootm loados; fdt resize; fdt boardsetup; fdt chosen; bootm prep; bootm go;"
[9:36:24.515] Boot (PRI)-> setenv bootcmd "run boot_openwrt"
[9:36:33.031] Boot (PRI)-> saveenv
[9:36:36.668] Saving Environment to Flash...
[9:36:36.669] Un-Protected 1 sectors
[9:36:36.669] Un-Protected 1 sectors
[9:36:36.676] Erasing Flash...
[9:36:37.523] . done
[9:36:37.523] Erased 1 sectors
[9:36:37.527] Writing to Flash... 9....8....7....6....5....4....3....2....1....9....8....7....6....5....4....3....2....1....done
[9:36:37.583] Protected 1 sectors
[9:36:37.587] Protected 1 sectors
[9:36:37.588] Boot (PRI)-> setenv ipaddr 192.168.0.253
[9:36:45.796] Boot (PRI)-> setenv serverip 192.168.0.210
[9:36:56.278] Boot (PRI)-> tftpboot 0x2000000 openwrt-mpc85xx-p1020-extreme-networks_ws-ap3825i-initramfs-kernel.bin
[9:37:00.202] Waiting for PHY auto negotiation to complete...... TIMEOUT !
[9:37:05.312] eTSEC1: No link.
[9:37:05.314] Speed: 1000, full duplex
[9:37:05.315] Using eTSEC3 device
[9:37:05.316] TFTP from server 192.168.0.210; our IP address is 192.168.0.253
[9:37:05.323] Filename 'openwrt-mpc85xx-p1020-extreme-networks_ws-ap3825i-initramfs-kernel.bin'.
[9:37:05.330] Load address: 0x2000000
[9:37:05.332] Loading: 
[9:37:06.064]  #################################################################
[9:37:06.132]  #####################################
[9:37:06.664]  #
[9:37:06.664] done
[9:37:06.666] Bytes transferred = 6660788 (65a2b4 hex)
[9:37:06.676] Boot (PRI)-> interrupts off;
[9:37:10.695] Boot (PRI)-> bootm start 0x2000000;
[9:37:14.082] ## Booting kernel from FIT Image at 02000000 ...
[9:37:14.084]    Using 'config-1' configuration
[9:37:14.086]    Trying 'kernel-1' kernel subimage
[9:37:14.090]      Description:  POWERPC OpenWrt Linux-5.10.136
[9:37:14.095]      Type:         Kernel Image
[9:37:14.102]      Compression:  lzma compressed
[9:37:14.103]      Data Start:   0x020000ec
[9:37:14.105]      Data Size:    6638375 Bytes = 6.3 MiB
[9:37:14.107]      Architecture: PowerPC
[9:37:14.111]      OS:           Linux
[9:37:14.113]      Load Address: 0x00000000
[9:37:14.115]      Entry Point:  0x00000000
[9:37:14.119]      Hash algo:    crc32
[9:37:14.121]      Hash value:   9a1ad16b
[9:37:14.123]      Hash algo:    sha1
[9:37:14.124]      Hash value:   973d444f7c333c0492dc61c679d4d9d9e0cb48ef
[9:37:14.129]    Verifying Hash Integrity ... crc32+ sha1+ OK
[9:37:14.354] ## Flattened Device Tree from FIT Image at 02000000
[9:37:14.362]    Using 'config-1' configuration
[9:37:14.362]    Trying 'fdt-1' FDT blob subimage
[9:37:14.362]      Description:  POWERPC OpenWrt extreme-networks_ws-ap3825i device tree blob
[9:37:14.362]      Type:         Flat Device Tree
[9:37:14.362]      Compression:  uncompressed
[9:37:14.362]      Data Start:   0x02654d64
[9:37:14.362]      Data Size:    20480 Bytes = 20 KiB
[9:37:14.362]      Architecture: PowerPC
[9:37:14.364]      Hash algo:    crc32
[9:37:14.364]      Hash value:   7b98a8aa
[9:37:14.365]      Hash algo:    sha1
[9:37:14.365]      Hash value:   14de66c402f01de9d9a4c9b1d6917ce52b40d080
[9:37:14.367]    Verifying Hash Integrity ... crc32+ sha1+ OK
[9:37:14.367]    Booting using the fdt blob at 0x2654d64
[9:37:14.368] Boot (PRI)-> bootm loados;
[9:37:18.216]    Uncompressing Kernel Image ... OK
[9:37:20.009] Boot (PRI)-> fdt resize;
[9:37:23.103] Boot (PRI)-> fdt boardsetup;
[9:37:26.567] ft_fixup_l2cache: FDT_ERR_NOTFOUND
[9:37:26.573] Boot (PRI)-> fdt resize;
[9:37:29.975] Boot (PRI)-> fdt boardsetup;
[9:37:32.909] ft_fixup_l2cache: FDT_ERR_NOTFOUND
[9:37:32.920] Boot (PRI)-> fdt chosen;
[9:37:38.515] WARNING: could not set linux,stdout-path FDT_ERR_NOSPACE.
[9:37:38.519] Boot (PRI)-> fdt resize;
[9:37:42.676] Boot (PRI)-> fdt chosen;
[9:37:45.598] Boot (PRI)-> bootm prep;
[9:37:49.246] Boot (PRI)-> bootm go;
[9:37:52.585] [    0.000000] Memory CAM mapping: 256 Mb, residual: 0Mb
[9:37:52.591] [    0.000000] Linux version 5.10.136 (builder@buildhost) (powerpc-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r20375-d6994c53cd) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Sun Aug 21 16:52:52 
[9:37:52.597] [    0.000000] Using P1020 RDB machine description
[9:37:52.611] [    0.000000] ioremap() called early from find_legacy_serial_ports+0x5ec/0x6f8. Use early_ioremap() instead
[9:37:52.612] [    0.000000] printk: bootconsole [udbg0] enabled
[9:37:52.617] [    0.000000] CPU maps initialized for 1 thread per core
[9:37:52.622] [    0.000000] -----------------------------------------------------
[9:37:52.627] [    0.000000] phys_mem_size     = 0x10000000
[9:37:52.631] [    0.000000] dcache_bsize      = 0x20
[9:37:52.636] [    0.000000] icache_bsize      = 0x20
[9:37:52.638] [    0.000000] cpu_features      = 0x0000000010010128
[9:37:52.643] [    0.000000]   possible        = 0x0000000010010128
[9:37:52.647] [    0.000000]   always          = 0x0000000010010128
[9:37:52.655] [    0.000000] cpu_user_features = 0x84e08000 0x08000000
[9:37:52.657] [    0.000000] mmu_features      = 0x00020010
[9:37:52.662] [    0.000000] -----------------------------------------------------
[9:37:52.669] ws_ap3825i_setup_arch()
[9:37:52.670] [    0.000000] ioremap() called early from mpc85xx_setup_pmc+0x38/0x8c. Use early_ioremap() instead
[9:37:52.680] [    0.000000] WS-AP3825i board from Extreme Networks
[9:37:52.967] [    0.000000] barrier-nospec: using isync; sync as speculation barrier
[9:37:52.967] [    0.000000] Zone ranges:
[9:37:52.967] [    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[9:37:52.967] [    0.000000] Movable zone start for each node
[9:37:52.970] [    0.000000] Early memory node ranges
[9:37:52.970] [    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[9:37:52.972] [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[9:37:52.972] [    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[9:37:52.974] [    0.000000] percpu: Embedded 12 pages/cpu s19052 r8192 d21908 u49152
[9:37:52.974] [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[9:37:52.974] [    0.000000] Kernel command line: console=ttyS0,115200
[9:37:52.974] [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[9:37:52.974] [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[9:37:52.975] [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[9:37:52.975] [    0.000000] Memory: 246264K/262144K available (7204K kernel code, 660K rwdata, 1432K rodata, 3620K init, 228K bss, 15880K reserved, 0K cma-reserved)
[9:37:52.975] [    0.000000] Kernel virtual memory layout:
[9:37:52.975] [    0.000000]   * 0xffbdf000..0xfffff000  : fixmap
[9:37:52.975] [    0.000000]   * 0xffbdc000..0xffbdf000  : early ioremap
[9:37:52.975] [    0.000000]   * 0xd1000000..0xffbdc000  : vmalloc & ioremap
[9:37:52.975] [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[9:37:52.976] [    0.000000] rcu: Hierarchical RCU implementation.
[9:37:52.976] [    0.000000]  Tracing variant of Tasks RCU enabled.
[9:37:52.976] [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[9:37:52.976] [    0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
[9:37:52.980] [    0.000000] mpic: Setting up MPIC " OpenPIC  " version 1.2 at ffe40000, max 2 CPUs
[9:37:52.980] [    0.000000] mpic: ISU size: 256, shift: 8, mask: ff
[9:37:52.980] [    0.000000] mpic: Initializing for 256 sources
[9:37:52.980] [    0.000013] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns
[9:37:52.980] [    0.010181] clocksource: timebase mult[14000000] shift[24] registered
[9:37:52.980] [    0.016709] pid_max: default: 32768 minimum: 301
[9:37:52.983] [    0.021351] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[9:37:52.983] [    0.028597] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[9:37:52.983] [    0.037259] mpic: requesting IPIs...
[9:37:52.983] [    0.041639] rcu: Hierarchical SRCU implementation.
[9:37:52.983] [    0.046546] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[9:37:52.983] [    0.054363] smp: Bringing up secondary CPUs ...
[9:37:52.983] [    0.059651] smp: Brought up 1 node, 2 CPUs
[9:37:52.983] [    0.066346] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[9:37:52.983] [    0.076128] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[9:37:52.983] [    0.084349] NET: Registered protocol family 16
[9:37:52.983]              
[9:37:52.984] [    0.089626] thermal_sys: Registered thermal governor 'step_wise'
[9:37:52.984] [    0.102990] Found FSL PCI host bridge at 0x00000000ffe09000. Firmware bus number: 0->1
[9:37:52.984] [    0.116825] PCI host bridge /pcie@ffe09000 (primary) ranges:
[9:37:52.987] [    0.122477]  MEM 0x00000000a0000000..0x00000000bfffffff -> 0x00000000a0000000 
[9:37:53.157] [    0.129663]   IO 0x00000000ffc10000..0x00000000ffc1ffff -> 0x0000000000000000
[9:37:53.157] [    0.136825] /pcie@ffe09000: PCICSRBAR @ 0xfff00000
[9:37:53.157] [    0.141552] setup_pci_atmu: end of DRAM 10000000
[9:37:53.157] [    0.146937] Found FSL PCI host bridge at 0x00000000ffe0a000. Firmware bus number: 0->1
[9:37:53.161] [    0.154779] PCI host bridge /pcie@ffe0a000  ranges:
[9:37:53.161] [    0.159655]  MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000 
[9:37:53.161] [    0.166838]   IO 0x00000000ffc00000..0x00000000ffc0ffff -> 0x0000000000000000
[9:37:53.162] [    0.173997] /pcie@ffe0a000: PCICSRBAR @ 0xfff00000
[9:37:53.162] [    0.178726] setup_pci_atmu: end of DRAM 10000000
[9:37:53.162] [    0.185481] PCI: Probing PCI hardware
[9:37:53.162] [    0.189230] fsl-pci ffe09000.pcie: PCI host bridge to bus 9000:00
[9:37:53.162] [    0.195295] pci_bus 9000:00: root bus resource [io  0x0000-0xffff]
[9:37:53.165] [    0.201405] pci_bus 9000:00: root bus resource [mem 0xa0000000-0xbfffffff]
[9:37:53.165] [    0.208274] pci_bus 9000:00: root bus resource [bus 00-ff]
[9:37:53.165] [    0.213732] pci_bus 9000:00: busn_res: [bus 00-ff] end is updated to ff
[9:37:53.165] [    0.220377] pci 9000:00:00.0: [1957:0100] type 01 class 0x060400
[9:37:53.165] [    0.226327] pci 9000:00:00.0: reg 0x10: [mem 0xfff00000-0xffffffff]
[9:37:53.165] [    0.232633] pci 9000:00:00.0: supports D1 D2
[9:37:53.165] [    0.236818] pci 9000:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[9:37:53.165] [    0.244689] pci 9000:01:00.0: [168c:0033] type 00 class 0x028000
[9:37:53.165] [    0.250639] pci 9000:01:00.0: reg 0x10: [mem 0xa0000000-0xa001ffff 64bit]
[9:37:53.166] [    0.257449] pci 9000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[9:37:53.166] [    0.264164] pci 9000:01:00.0: supports D1
[9:37:53.166] [    0.268091] pci 9000:01:00.0: PME# supported from D0 D1 D3hot
[9:37:53.166] [    0.298990] pci 9000:00:00.0: PCI bridge to [bus 01-ff]
[9:37:53.168] [    0.304137] pci 9000:00:00.0:   bridge window [io  0x0000-0x0fff]
[9:37:53.175] [    0.310241] pci 9000:00:00.0:   bridge window [mem 0xa0000000-0xa00fffff]
[9:37:53.180] [    0.316994] pci_bus 9000:01: busn_res: [bus 01-ff] end is updated to 01
[9:37:53.186] [    0.323606] pci_bus 9000:00: busn_res: [bus 00-ff] end is updated to 01
[9:37:53.194] [    0.330417] fsl-pci ffe0a000.pcie: PCI host bridge to bus a000:02
[9:37:53.198] [    0.336447] pci_bus a000:02: root bus resource [io  0x20000-0x2ffff] (bus address [0x0000-0xffff])
[9:37:53.209] [    0.345367] pci_bus a000:02: root bus resource [mem 0x80000000-0x9fffffff]
[9:37:53.214] [    0.352231] pci_bus a000:02: root bus resource [bus 02-ff]
[9:37:53.220] [    0.357693] pci_bus a000:02: busn_res: [bus 02-ff] end is updated to ff
[9:37:53.226] [    0.364345] pci a000:02:00.0: [1957:0100] type 01 class 0x060400
[9:37:53.233] [    0.370288] pci a000:02:00.0: reg 0x10: [mem 0xfff00000-0xffffffff]
[9:37:53.238] [    0.376595] pci a000:02:00.0: supports D1 D2
[9:37:53.244] [    0.380780] pci a000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[9:37:53.252] [    0.388444] pci a000:02:00.0: Primary bus is hard wired to 0
[9:37:53.259] [    0.394021] pci a000:02:00.0: bridge configuration invalid ([bus 01-01]), reconfiguring
[9:37:53.266] [    0.402209] pci a000:03:00.0: [168c:003c] type 00 class 0x028000
[9:37:53.271] [    0.408152] pci a000:03:00.0: reg 0x10: [mem 0x80000000-0x801fffff 64bit]
[9:37:53.277] [    0.414958] pci a000:03:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[9:37:53.285] [    0.421676] pci a000:03:00.0: supports D1 D2
[9:37:53.320] [    0.456775] pci a000:02:00.0: PCI bridge to [bus 03-ff]
[9:37:53.327] [    0.461922] pci a000:02:00.0:   bridge window [io  0x20000-0x20fff]
[9:37:53.332] [    0.468190] pci a000:02:00.0:   bridge window [mem 0x80000000-0x801fffff]
[9:37:53.338] [    0.474952] pci_bus a000:03: busn_res: [bus 03-ff] end is updated to 03
[9:37:53.345] [    0.481548] pci_bus a000:02: busn_res: [bus 02-ff] end is updated to 03
[9:37:53.353] [    0.488253] PCI: Cannot allocate resource region 0 of device 9000:00:00.0, will remap
[9:37:53.360] [    0.496012] PCI: Cannot allocate resource region 0 of device a000:02:00.0, will remap
[9:37:53.366] [    0.503851] pci 9000:00:00.0: BAR 0: no space for [mem size 0x00100000]
[9:37:53.374] [    0.510410] pci 9000:00:00.0: BAR 0: failed to assign [mem size 0x00100000]
[9:37:53.380] [    0.517353] pci 9000:01:00.0: BAR 6: assigned [mem 0xa0020000-0xa002ffff pref]
[9:37:53.387] [    0.524570] pci 9000:00:00.0: PCI bridge to [bus 01]
[9:37:53.395] [    0.529499] pci 9000:00:00.0:   bridge window [io  0x0000-0xffff]
[9:37:53.400] [    0.535584] pci 9000:00:00.0:   bridge window [mem 0xa0000000-0xbfffffff]
[9:37:53.406] [    0.542345] pci_bus 9000:00: Some PCI device resources are unassigned, try booting with pci=realloc
[9:37:53.416] [    0.551378] pci_bus 9000:00: resource 4 [io  0x0000-0xffff]
[9:37:53.420] [    0.556926] pci_bus 9000:00: resource 5 [mem 0xa0000000-0xbfffffff]
[9:37:53.425] [    0.563183] pci_bus 9000:01: resource 0 [io  0x0000-0xffff]
[9:37:53.432] [    0.568731] pci_bus 9000:01: resource 1 [mem 0xa0000000-0xbfffffff]
[9:37:53.440] [    0.575003] pci a000:02:00.0: BAR 0: no space for [mem size 0x00100000]
[9:37:53.447] [    0.581577] pci a000:02:00.0: BAR 0: failed to assign [mem size 0x00100000]
[9:37:53.451] [    0.588535] pci a000:03:00.0: BAR 6: assigned [mem 0x80200000-0x8020ffff pref]
[9:37:53.458] [    0.595726] pci a000:02:00.0: PCI bridge to [bus 03]
[9:37:53.463] [    0.600682] pci a000:02:00.0:   bridge window [io  0x20000-0x2ffff]
[9:37:53.471] [    0.606924] pci a000:02:00.0:   bridge window [mem 0x80000000-0x9fffffff]
[9:37:53.478] [    0.613700] pci_bus a000:02: Some PCI device resources are unassigned, try booting with pci=realloc
[9:37:53.487] [    0.622721] pci_bus a000:02: resource 4 [io  0x20000-0x2ffff]
[9:37:53.493] [    0.628457] pci_bus a000:02: resource 5 [mem 0x80000000-0x9fffffff]
[9:37:53.498] [    0.634699] pci_bus a000:03: resource 0 [io  0x20000-0x2ffff]
[9:37:53.507] [    0.640443] pci_bus a000:03: resource 1 [mem 0x80000000-0x9fffffff]
[9:37:53.512] [    0.646802] /soc@ffe00000/timer@41100: cannot get timer frequency.
[9:37:53.516] [    0.652970] /soc@ffe00000/timer@42100: cannot get timer frequency.
[9:37:53.539] [    0.675711] EDAC MC: Ver: 3.0.0
[9:37:53.547] [    0.681842] clocksource: Switched to clocksource timebase
[9:37:53.550] [    0.688074] NET: Registered protocol family 2
[9:37:53.557] [    0.692568] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[9:37:53.562] [    0.700404] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[9:37:53.572] [    0.708767] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[9:37:53.580] [    0.716407] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[9:37:53.589] [    0.723494] TCP: Hash tables configured (established 2048 bind 2048)
[9:37:53.595] [    0.729898] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[9:37:53.601] [    0.736388] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[9:37:53.609] [    0.743516] NET: Registered protocol family 1
[9:37:53.613] [    0.747849] PCI: CLS 32 bytes, default 32
[9:37:58.196] [    5.332086] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[9:37:58.214] [    5.342249] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[9:37:58.228] [    5.347998] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[9:37:58.236] [    5.358382] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[9:37:58.249] [    5.366605] pcieport 9000:00:00.0: enabling device (0106 -> 0107)
[9:37:58.249] [    5.372956] pcieport a000:02:00.0: enabling device (0106 -> 0107)
[9:37:58.262] [    5.399527] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[9:37:58.270] [    5.407874] printk: console [ttyS0] disabled
[9:37:58.275] [    5.412185] serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42, base_baud = 24999999) is a 16550A
[9:37:58.284] [    5.420834] printk: console [ttyS0] enabled
[9:37:58.288] [    5.420834] printk: console [ttyS0] enabled
[9:37:58.291] [    5.429188] printk: bootconsole [udbg0] disabled
[9:37:58.297] [    5.429188] printk: bootconsole [udbg0] disabled
[9:37:58.302] [    5.439036] serial8250.0: ttyS1 at MMIO 0xffe04600 (irq = 42, base_baud = 24999999) is a 16550A
[9:37:58.312] [    5.448874] printk: console [ttyS0] disabled
[9:37:58.318] [    5.453377] printk: console [ttyS0] enabled
[9:37:58.322] [    5.458507] ffe04600.serial: ttyS1 at MMIO 0xffe04600 (irq = 42, base_baud = 24999999) is a 16550
[9:37:58.335] [    5.471804] physmap-flash ec000000.nor: physmap platform flash device: [mem 0xec000000-0xefffffff]
[9:37:58.345] [    5.480831] ec000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00227e
[9:37:58.356] [    5.490856]d/Fujitsu Extended Query Table at 0x0040
[9:37:58.361] [    5.496014]  d/Fujitsu Extended Query version 1.3.
[9:37:58.365] [    5.501065] number of CFI chips: 1
[9:37:58.387] [    5.523908] 6 fixed-partitions partitions found on MTD device ec000000.nor
[9:37:58.395] [    5.531039] Creating 6 MTD partitions on "ec000000.nor":
[9:37:58.400] [    5.536512] 0x000000000000-0x000003d60000 : "firmware"
[9:37:58.409] [    5.546378] read error in "firmware" at offset 0x3d60000
[9:37:58.416] [    5.551913] 0x000003d60000-0x000003d80000 : "calib"
[9:37:58.420] [    5.557546] 0x000003d80000-0x000003e00000 : "u-boot"
[9:37:58.425] [    5.563180] 0x000003e00000-0x000003f00000 : "nvram"
[9:37:58.431] [    5.568598] 0x000003f00000-0x000003f20000 : "cfg2"
[9:37:58.436] [    5.574067] 0x000003f20000-0x000003f40000 : "cfg1"
[9:37:58.446] [    5.583342] fsl_espi ffe07000.spi: irq = 59
[9:37:58.667] [    5.802902] fsl-gianfar soc@ffe00000:ethernet@b0000: enabled errata workarounds, flags: 0x4
[9:37:58.686] [    5.821965] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: mac: d8:84:66:0d:b1:61
[9:37:58.694] [    5.829375] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: Running with NAPI enabled
[9:37:58.700] [    5.837058] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: RX BD ring size for Q[0]: 256
[9:37:58.708] [    5.845071] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: RX BD ring size for Q[1]: 256
[9:37:58.718] [    5.853083] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: TX BD ring size for Q[0]: 256
[9:37:58.725] [    5.861082] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: TX BD ring size for Q[1]: 256
[9:37:58.732] [    5.869642] fsl-gianfar soc@ffe00000:ethernet@b2000: enabled errata workarounds, flags: 0x4
[9:37:58.752] [    5.888787] fsl-gianfar soc@ffe00000:ethernet@b2000 eth1: mac: d8:84:66:0d:b1:60
[9:37:58.759] [    5.896227] fsl-gianfar soc@ffe00000:ethernet@b2000 eth1: Running with NAPI enabled
[9:37:58.768] [    5.903903] fsl-gianfar soc@ffe00000:ethernet@b2000 eth1: RX BD ring size for Q[0]: 256
[9:37:58.777] [    5.911918] fsl-gianfar soc@ffe00000:ethernet@b2000 eth1: RX BD ring size for Q[1]: 256
[9:37:58.784] [    5.919917] fsl-gianfar soc@ffe00000:ethernet@b2000 eth1: TX BD ring size for Q[0]: 256
[9:37:58.791] [    5.927939] fsl-gianfar soc@ffe00000:ethernet@b2000 eth1: TX BD ring size for Q[1]: 256
[9:37:58.799] [    5.936173] ucc_geth_driver: QE UCC Gigabit Ethernet Controller
[9:37:58.808] [    5.942460] i2c /dev entries driver
[9:37:58.811] [    5.946302] mpc-i2c ffe03000.i2c: timeout 1000000 us
[9:37:58.814] [    5.951624] mpc-i2c ffe03100.i2c: timeout 1000000 us
[9:37:58.820] [    5.957045] booke_wdt: powerpc book-e watchdog driver loaded
[9:37:58.826] [    5.962928] Freescale(R) MPC85xx EDAC driver, (C) 2006 Montavista Software
[9:37:58.843] [    5.970121] fsl_mc_err_probe: No ECC DIMMs discovered
[9:37:58.843] [    5.976017] EDAC DEVICE0: Giving out device to module MPC85xx_edac controller mpc85xx_l2_err: DEV mpc85xx_l2_err (INTERRUPT)
[9:37:58.851] [    5.987336] MPC85xx_edac acquired irq 16 for L2 Err
[9:37:58.857] [    5.992234] MPC85xx_edac L2 err registered
[9:37:58.860] [    5.996810] EDAC PCI0: Giving out device to module MPC85xx_edac controller mpc85xx_pci_err: DEV mpc85xx-pci-edac.0.auto (INTERRUPT)
[9:37:58.871] [    6.008738] MPC85xx_edac acquired irq 16 for PCI Err
[9:37:58.877] [    6.013721] MPC85xx_edac PCI err registered
[9:37:58.882] [    6.018038] EDAC PCI1: Giving out device to module MPC85xx_edac controller mpc85xx_pci_err: DEV mpc85xx-pci-edac.1.auto (INTERRUPT)
[9:37:58.893] [    6.029911] MPC85xx_edac acquired irq 16 for PCI Err
[9:37:58.899] [    6.034887] MPC85xx_edac PCI err registered
[9:37:58.904] [    6.039840] NET: Registered protocol family 10
[9:37:58.909] [    6.045434] Segment Routing with IPv6
[9:37:58.913] [    6.049163] NET: Registered protocol family 17
[9:37:58.916] [    6.053720] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[9:37:58.930] [    6.066698] 8021q: 802.1Q VLAN Support v1.8
[9:37:58.933] [    6.070929] drmem: No dynamic reconfiguration memory found
[9:37:58.952] [    6.088089] Freeing unused kernel memory: 3620K
[9:37:58.996] [    6.131699] Run /init as init process
[9:37:59.337] [    6.472652] init: Console is alive
[9:37:59.340] [    6.476291] init: - watchdog -
[9:37:59.353] [    6.489202] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[9:37:59.373] [    6.509774] usbcore: registered new interface driver usbfs
[9:37:59.380] [    6.515421] usbcore: registered new interface driver hub
[9:37:59.385] [    6.520834] usbcore: registered new device driver usb
[9:37:59.392] [    6.529117] Button Hotplug driver version 0.4.1
[9:37:59.398] [    6.535406] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[9:37:59.405] [    6.542906] ehci-fsl: Freescale EHCI Host controller driver
[9:37:59.413] [    6.549473] ehci-platform: EHCI generic platform driver
[9:37:59.418] [    6.556018] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
[9:37:59.426] [    6.562719] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
[9:37:59.433] [    6.570030] fsl-ehci fsl-ehci.0: irq 28, io mem 0xffe22000
[9:37:59.465] [    6.601714] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
[9:37:59.471] [    6.607998] hub 1-0:1.0: USB hub found
[9:37:59.475] [    6.611880] hub 1-0:1.0: 1 port detected
[9:37:59.484] [    6.620652] input: keys as /devices/platform/keys/input/input0
[9:37:59.490] [    6.627280] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[9:37:59.505] [    6.641611] init: - preinit -
[9:37:59.909] [    7.044744] random: procd: uninitialized urandom read (4 bytes read)
[9:37:59.946] Press the [f] key and hit [enter] to enter failsafe mode
[9:37:59.951] Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[9:38:02.021] [    9.157110] procd: - early -
[9:38:02.026] [    9.160132] procd: - watchdog -
[9:38:02.930] [    9.979684] procd: - watchdog -
[9:38:02.930] [    9.983199] procd: - ubus -
[9:38:03.034] [    9.990722] random: ubusd: uninitialized urandom read (4 bytes read)
[9:38:03.035] [   10.037261] random: ubusd: uninitialized urandom read (4 bytes read)
[9:38:03.035] [   10.043978] random: ubusd: uninitialized urandom read (4 bytes read)
[9:38:03.036] [   10.052567] procd: - init -
[9:38:03.036] Please press Enter to activate this console.
[9:38:03.200] [   10.336442] kmodloader: loading kernel modules from /etc/modules.d/*
[9:38:03.297] [   10.434141] urngd: v1.0.2 started.
[9:38:03.404] [   10.540375] Loading modules backported from Linux version v5.15.58-0-g7d8048d4e064
[9:38:03.412] [   10.548003] Backport generated by backports.git v5.15.58-1-0-g42a95ce7
[9:38:03.419] [   10.554336] random: crng init done
[9:38:03.424] [   10.557923] random: 23 urandom warning(s) missed due to ratelimiting
[9:38:03.508] [   10.644797] PPP generic driver version 2.4.2
[9:38:03.512] [   10.650280] NET: Registered protocol family 24
[9:38:03.677] [   10.812957] ieee80211 phy0: Atheros AR9300 Rev:4 mem=0xd5660000, irq=17
[9:38:03.683] [   10.820313] kmodloader: done loading kernel modules from /etc/modules.d/*



[9:38:15.007] BusyBox v1.35.0 (-08-21 16:52:52 UTC) built-in shell (ash)

[9:38:15.012]   _______                     ________        __
[9:38:15.018]  |       |.-----.-----.-----.|  |  |  |.----.|  |_
[9:38:15.022]  |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
[9:38:15.026]  |_______||   __|_____|__|__||________||__|  |____|
[9:38:15.032]           |__| W I R E L E S S   F R E E D O M
[9:38:15.039]  -----------------------------------------------------
[9:38:15.040]  OpenWrt SNAPSHOT, r20375-d6994c53cd
[9:38:15.045]  -----------------------------------------------------
[9:38:15.049] === WARNING! =====================================
[9:38:15.054] There is no root password defined on this device!
[9:38:15.056] Use the "passwd" command to set up a new password
[9:38:15.061] in order to prevent unauthorized SSH logins.
[9:38:15.067] --------------------------------------------------
[9:38:15.070] root@OpenWrt:/# cd [   26.325539] br-lan: port 1(eth0) entered blocking state
[9:38:19.195] [   26.330809] br-lan: port 1(eth0) entered disabled state
[9:38:19.202] /[   26.336397] device eth0 entered promiscuous mode
[9:38:22.416] [   29.552168] fsl-gianfar soc@ffe00000:ethernet@b2000 eth1: Link is Up - 1Gbps/Full - flow control off
[9:38:22.425] [   29.561334] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

[9:38:25.651] root@OpenWrt:/# cd /tmp
[9:38:27.984] root@OpenWrt:/tmp# 
[9:38:29.516] root@OpenWrt:/tmp# wget https://downloads.openwrt.org/snapshots/targets/mpc85xx/
[9:38:35.128] p1020/openwrt-mpc85xx-p1020-extreme-networks_ws-ap3825i-squashfs-sysupgrade.bin
[9:38:36.361] Downloading 'https://downloads.openwrt.org/snapshots/targets/mpc85xx/p1020/openwrt-mpc85xx-p1020-extreme-networks_ws-ap3825i-squashfs-sysupgrade.bin'
[9:38:36.611] Connecting to 168.119.138.211:443
[9:38:37.115] Writing to 'openwrt-mpc85xx-p1020-extreme-networks_ws-ap3825i-squashfs-sysupgrade.bin'
[9:38:39.220] openwrt-mpc85xx-p102 100% |*******************************|  7040k  0:00:00 ETAopenwrt-mpc85xx-p102 100% |*******************************|  7040k  0:00:00 ETA
[9:38:39.235] Download completed (7209290 bytes)
[9:38:39.236] root@OpenWrt:/tmp# sysupgrade -v /tmp/openwrt-mpc85xx-p1020-extreme-networks_ws-
[9:38:43.363] ap3825i-squashfs-sysupgrade.bin
[9:38:43.588] Cannot save config while running from ramdisk.
[9:38:43.663] Tue Aug 23 13:38:43 UTC  upgrade: Commencing upgrade. Closing all shell sessions.
[9:38:43.846] Command failed: Connection failed
[9:38:43.868] Watchdog handover: fd=3
[9:38:43.869] - watchdog -
[9:38:43.872] Watchdog does not have CARDRESET support
[9:38:44.087] Tue Aug 23 13:38:44 UTC  upgrade: Sending TERM to remaining processes ...
[9:38:48.135] Tue Aug 23 13:38:48 UTC  upgrade: Sending KILL to remaining processes ...
[9:38:54.264] [   61.372773] stage2 (3457): drop_caches: 3
[9:38:54.265] Tue Aug 23 13:38:54 UTC  upgrade: Switching to ramdisk...
[9:38:55.756] Tue Aug 23 13:38:55 UTC  upgrade: Performing system upgrade...
[9:38:55.771] [   62.906411] do_stage2 (3457): drop_caches: 3
[9:38:55.786] Unlocking firmware ...

[9:38:55.788] Writing from <stdin> to firmware ...  [ ][e][w]
[9:39:41.193] Appending jffs2 data from /tmp/sysupgrade.tgz to firmware..
[9:39:41.198] .File /tmp/sysupgrade.tgz does not exist
[9:39:41.899]     
[9:39:41.904] Tue Aug 23 13:39:41 UTC  upgrade: Upgrade completed
[9:39:42.914] Tue Aug 23 13:39:42 UTC  upgrade: Rebooting system...
[9:39:42.919] umount: can't unmount /dev: Resource busy
[9:39:42.923] umount: ca[  110.058777] reboot: Restarting system
[9:39:43.582] �

[9:39:43.583] U-Boot 2010.12.6 (Feb 26 2014 - 12:51:09) (primary)

[9:39:43.590] Power LED ON
[9:39:43.591] CPU0:  P1020E, Version: 1.1, (0x80ec0011)
[9:39:43.597] Core:  E500, Version: 5.1, (0x80212051)
[9:39:43.599] Clock Configuration:
[9:39:43.601]        CPU0:800  MHz, CPU1:800  MHz, 
[9:39:43.604]        CCB:400  MHz,
[9:39:43.612]        DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), LBC:25   MHz
[9:39:43.615] L1:    D-cache 32 kB enabled
[9:39:43.615]        I-cache 32 kB enabled
[9:39:43.620] Board: P1020RDB CPLD: V15.15 PCBA: V15.0
[9:39:43.623] rom_loc: nor upper bank
[9:39:43.628] SD/MMC : 4-bit Mode
[9:39:43.628] eSPI : Enabled
[9:39:43.629] I2C:   ready
[9:39:43.629] SPI:   ready
[9:39:43.632] DRAM:  Configuring DDR for 666.667 MT/s data rate
[9:39:43.638] DDR: 256 MiB (DDR3, 32-bit, CL=6, ECC off)
[9:39:43.644] Testing DRAM from 0x00010000 to 0x000fffff
[9:39:43.647] DRAM test phase 1:
[9:39:43.653] DRAM test phase 2:
[9:39:43.661] DRAM test passed.
[9:39:44.164] FLASH: 64 MiB
[9:39:44.164] L2:    256 KB enabled
[9:39:44.271] MMC:  FSL_ESDHC: 0
[9:39:44.427] PCIe1: Root Complex of mini PCIe SLOT, x1, regs @ 0xffe0a000
[9:39:44.437]   01:00.0     - 168c:003c - Network controller
[9:39:44.438] PCIe1: Bus 00 - 01
[9:39:44.438] PCIe2: Root Complex of PCIe SLOT, x1, regs @ 0xffe09000
[9:39:44.444]   03:00.0     - 168c:0033 - Network controller
[9:39:44.447] PCIe2: Bus 02 - 03
[9:39:44.450] In:    serial
[9:39:44.450] Out:   serial
[9:39:44.450] Err:   serial
[9:39:44.553] Net:   eTSEC1, eTSEC3
[9:39:44.557] ### JFFS2 loading '/home/config/shadow'
[9:39:44.560] rescan: First time in use
[9:39:44.563] Scanning JFFS2 FS:   .   done.
[9:39:53.904] find_inode failed for name=home
[9:39:53.904] load: Failed to find inode
[9:39:53.909] ### JFFS2 LOAD ERROR<0> for /home/config/shadow!
[9:39:53.912] Hit 'd' for diagnostics, or any other key to stop autoboot:  2  1  0 
[9:40:06.716] ## Booting kernel from FIT Image at 02000000 ...
[9:40:06.720]    Using 'config-1' configuration
[9:40:06.720]    Trying 'kernel-1' kernel subimage
[9:40:06.720]      Description:  POWERPC OpenWrt Linux-5.10.136
[9:40:06.720]      Type:         Kernel Image
[9:40:06.720]      Compression:  lzma compressed
[9:40:06.722]      Data Start:   0x020000ec
[9:40:06.724]      Data Size:    3117034 Bytes = 3 MiB
[9:40:06.726]      Architecture: PowerPC
[9:40:06.729]      OS:           Linux
[9:40:06.731]      Load Address: 0x00000000
[9:40:06.732]      Entry Point:  0x00000000
[9:40:06.735]      Hash algo:    crc32
[9:40:06.740]      Hash value:   201bc25e
[9:40:06.741]      Hash algo:    sha1
[9:40:06.744]      Hash value:   0fb83a9116d1ee76c613404ca245f043efa79b52
[9:40:06.749]    Verifying Hash Integrity ... crc32+ sha1+ OK
[9:40:06.835] ## Flattened Device Tree from FIT Image at 02000000
[9:40:06.841]    Using 'config-1' configuration
[9:40:06.843]    Trying 'fdt-1' FDT blob subimage
[9:40:06.848]      Description:  POWERPC OpenWrt extreme-networks_ws-ap3825i device tree blob
[9:40:06.854]      Type:         Flat Device Tree
[9:40:06.858]      Compression:  uncompressed
[9:40:06.860]      Data Start:   0x022f9228
[9:40:06.862]      Data Size:    20480 Bytes = 20 KiB
[9:40:06.866]      Architecture: PowerPC
[9:40:06.869]      Hash algo:    crc32
[9:40:06.872]      Hash value:   7b98a8aa
[9:40:06.872]      Hash algo:    sha1
[9:40:06.878]      Hash value:   14de66c402f01de9d9a4c9b1d6917ce52b40d080
[9:40:06.879]    Verifying Hash Integrity ... crc32+ sha1+ OK
[9:40:06.884]    Booting using the fdt blob at 0x22f9228
[9:40:06.891]    Uncompressing Kernel Image ... OK
[9:40:07.779] WARNING: could not set reg FDT_ERR_NOSPACE.
[9:40:07.781] ft_fixup_cpu: FDT_ERR_NOSPACE
[9:40:07.787] ft_fixup_l2cache: FDT_ERR_NOTFOUND
[9:40:07.789] WARNING: could not set reg FDT_ERR_NOSPACE.
[9:40:07.795] WARNING: could not set bootargs FDT_ERR_NOSPACE.
[9:40:07.801] WARNING: could not set linux,stdout-path FDT_ERR_NOSPACE.

Hey @jpontius -- gah, that's really annoying. Sounds like u-boot is still picky about placement irrespective of fdt padding.

I have kernel 5.10.135 running just fine; maybe if we look at the different offsets we can suss out some pattern between fdt-1's Data Start location and whether it will boot.

For now, we have:

$ factor $((0x22f9228))
36672040: 2 2 2 5 41 59 379

Let me check 5.10.135.

Edit: 5.10.135 has it at 0x2f912c. Mod 4096 both of these are very close to the page boundary (0x2f912c -> 300, 0x2f9228 -> 552) -- but the failing one is FURTHER into the page, meaning that that there is probably no simple logic we can use to suss out what fdt blob addresses will and won't be bootable so we can adjust accordingly.

I guess one other thing we could try is to pad the kernel to a set length so the fdt is always at the same location with respect to the page ... but it's probably easier to just have users use more fdt resizes in-place, and when that starts breaking down to just provide a u-boot replacement.

Hey guys, I also have a ap3825i, now I successfully installed openwrt(BTW thank guys porting this device) now I have problem, I tried to run debootstrap to make a powerpc Debian root, and using chroot, but chroot said "Illegal instruction" , I tried to switch to other distro, like ubuntu 16.04, but chroot is still say that, is this kernel not support chroot? what should I do ?

Hey there -- try starting with an OpenWrt or Alpine Linux chroot. I'm gonna guess there are some compilation differences that have come up recently.

1 Like

Yes, you are right, I'm try to chroot to /rom, and it's successed XD

Guys, I am trying the chroot Gentoo ppc musl, but there is still a problem with the "Illegal Instruction". "cat", "uname" commands can be executed normally, but "ping", "bash", "top" still prompts "Illegal Instruction", I am shown in the screenshot. What should I do?
photo_2022-09-08_00-33-08

Definitely look into the portage scripts for the binaries. Gentoo is probably using different compiler options. Can you share how you're doing this?

All - I am running into a curl error (132) when using ddns on a ws-ap3825i (using recent stable release 22.03). I have posted it here:

Any suggestions?

I've found that the time is basically always incorrect on first boot. There's some bug in sysntpd startup that I have not tracked down.

I will pull on that - so because the time is off, the cert generated at first boot by uhttpd uses the incorrect date/time, and then it is rejected when presented for the TLS handshake? (correct me where I am off here).
I have tried to regenerate the uhttpd cert with its defaults and use that for curl in ddns.

Not sure about DDNS' use of client-side certs, I thought DDNS only used the remote's cert.

I've also run into that ddns issue (with the ws-ap3825i, but it would surprise me if that's specific to this device). It broke in one of the later RCs. It did work at the beginning.

Thanks for confirming that. I am going to switch back to another head end router (TP-Link 4300) to get the ddns stable again. Will continue to monitor and experiment with using 3825 in the future.
I had switched my head end router to the 3825 to have a little more processing power with the two cores and more memory. Plus the wifi radios were not working / being detected by OpenWRT on this particular AP out of the lot that I bought.