OpenWrt support for AP3715i

I have been trying to use the openwrt-mpc85xx-p1020-extreme-networks_ws-ap3825i-initramfs-kernel.bin guide and setup steps on this unit which results in a kernel panic on bootm go

Any advise as to what I am doing wrong?

Full set of commands to set this up is:

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;"
setenv bootcmd "run boot_openwrt"
setenv bootargs 'board=AP3710i'
setenv ipaddr 192.168.12.251;
setenv serverip 192.168.12.171;
saveenv



tftpboot 0x2000000 openwrt-mpc85xx-p1020-enterasys_ws-ap3710i-initramfs-kernel.bin;
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;
[    5.535502] physmap-flash ee000000.nor: physmap platform flash device: [mem 0xee000000-0xefffffff]
[    5.544555] Disabling lock debugging due to kernel taint
[    5.549863] Machine check in kernel mode.
[    5.553864] Caused by (from MCSR=10008): Bus - Read Data Bus Error
[    5.560045] Oops: Machine check, sig: 7 [#1]
[    5.564308] BE PAGE_SIZE=4K SMP NR_CPUS=2 P1020 RDB
[    5.569177] Modules linked in:
[    5.572232] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G   M              5.10.138 #0
[    5.579706] NIP:  c0462f84 LR: c0457e54 CTR: c0462f50
[    5.584751] REGS: cffebf08 TRAP: 0204   Tainted: G   M               (5.10.138)
[    5.592050] MSR:  00029000 <CE,EE,ME>  CR: 28000442  XER: 00000000
[    5.598243] DEAR: d1200000 ESR: 00800000
[    5.598243] GPR00: c045829c c1041bb8 c1038000 c1041be0 c1f6a0d0 00000020 c1041c78 00000004
[    5.598243] GPR08: 00000002 00000002 d1200000 00000000 48000444 00000000 c00032c8 00000000
[    5.598243] GPR16: 00000000 00000000 00000000 00000000 c1137770 00000001 fffff000 c07f747c
[    5.598243] GPR24: c07f79d8 00000000 00000000 00000000 00000000 00000002 00000022 c1f6a0d0
[    5.635717] NIP [c0462f84] simple_map_read+0x34/0x58
[    5.640676] LR [c0457e54] cfi_qry_present+0x90/0x120

I managed to recover the unit to obtain some additional information below:

# mount
rootfs on / type rootfs (rw)
/proc on /proc type proc (rw,relatime)
/sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=622)
none on /tmp type ramfs (rw,relatime,mode=0777)
/dev/mtdblock4 on /flash type jffs2 (rw,relatime)


# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 000a0000 00010000 "BootBAK"
mtd1: 00080000 00010000 "BootPRI"
mtd2: 00010000 00010000 "CFG1"
mtd3: 00010000 00010000 "CFG2"
mtd4: 01d80000 00010000 "FS"
mtd5: 00010000 00010000 "NVRAM1"
mtd6: 00010000 00010000 "NVRAM2"
mtd7: 00010000 00010000 "NVRAM3"
mtd8: 00010000 00010000 "NVRAM4"
mtd9: 00010000 00010000 "NVRAM5"
mtd10: 00010000 00010000 "NVRAM6"
mtd11: 00010000 00010000 "NVRAM7"
mtd12: 00010000 00010000 "NVRAM8"
mtd13: 00010000 00010000 "NVRAM9"
mtd14: 00010000 00010000 "NVRAM10"
mtd15: 00010000 00010000 "NVRAM11"
mtd16: 00010000 00010000 "NVRAM12"
mtd17: 00010000 00010000 "NVRAM13"
mtd18: 00010000 00010000 "NVRAM14"
mtd19: 00010000 00010000 "NVRAM15"
mtd20: 00010000 00010000 "NVRAM16"

The Enterasys WS-AP3710i is not the same device as the Extreme Networks WS-AP3825i. Please boot from this file instead: https://downloads.openwrt.org/snapshots/targets/mpc85xx/p1020/openwrt-mpc85xx-p1020-extreme-networks_ws-ap3825i-initramfs-kernel.bin

Hello @thavincinew,

did you make it?
I also have a bag full of 3715i here and would like to donate them to a streetworker organization. Of course, this is only useful if there is a usable OS on it. That's why the first attempts didn't work for me either. Have you found a solution?

Greetings

if the 3825 image is to be used, perhaps the install instruction for the same works as well https://openwrt.org/toh/extreme_networks/ws-ap3825i

Hello @frollic

Unfortunately, it doesn't work that way. If I use the "openwrt-mpc85xx-p1010-sophos_red-15w-rev1-initramfs-kernel.bin". Then I have at least something, but an upgrade does not work. I have tried with all possible binaries which would be suitable for P1010E CPU's. When upgrading I always get the following error message:

root@OpenWrt:/tmp/sysupgrade# sysupgrade -v -F ./openwrt-mpc85xx-p1020-extreme-n
etworks_ws-ap3825i-initramfs-kernel.bin
Tue Oct 11 14:51:01 UTC 2022 upgrade: Image metadata not present
Image check failed but --force given - will update anyway!
Cannot save config while running from ramdisk.
Tue Oct 11 14:51:01 UTC 2022 upgrade: Commencing upgrade. Closing all shell sessions.
Command failed: Connection failed
root@OpenWrt:/tmp/sysupgrade# Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Tue Oct 11 14:51:02 UTC 2022 upgrade: Sending TERM to remaining processes ...
Tue Oct 11 14:51:06 UTC 2022 upgrade: Sending KILL to remaining processes ...
[  237.497388] stage2 (3659): drop_caches: 3
Tue Oct 11 14:51:12 UTC 2022 upgrade: Switching to ramdisk...
Tue Oct 11 14:51:13 UTC 2022 upgrade: Performing system upgrade...
cannot find ubi mtd partition rootfs
libubi: error!: "/dev/" is not a character device
ubiupdatevol: error!: error while probing "/dev/"
     [  239.241230] reboot: Restarting system
▒

U-Boot 2010.12.3 (Oct 07 2013 - 01:14:08) (primary)

Power LED ON
CPU:   P1010E, Version: 1.0, (0x80f90010)
Core:  E500, Version: 5.1, (0x80212151)
Clock Configuration:
       CPU0:800  MHz,
       CCB:400  MHz,
       DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled
Board: P1010RDB
I2C:   ready
SPI:   ready
DRAM:  256 MiB (DDR3, 32-bit, CL=5, ECC off)
L2:    256 KB enabled
SF: Detected S25FL256S with page size 256, total 32 MiB
PCIe1: Root Complex of mini PCIe Slot, x1, regs @ 0xffe0a000
  01:00.0     - 168c:0033 - Network controller
PCIe1: Bus 00 - 01
PCIe2: Root Complex of PCIe Slot, x1, regs @ 0xffe09000
  03:00.0     - 168c:0033 - Network controller
PCIe2: Bus 02 - 03
In:    serial
Out:   serial
Err:   serial
Net:   eTSEC1, eTSEC2
SF: Detected S25FL256S with page size 256, total 32 MiB
### JFFS2 loading '/home/config/shadow'
rescan: First time in use
Scanning JFFS2 FS: . done.
load: loaded '/home/config/shadow' to 0xfe1f528 (57 bytes)
### JFFS2 load complete: 57 bytes loaded
Hit 'd' for diagnostics, or any other key to stop autoboot:  0
Copy to Flash... Flash not Erased
Wrong Image Format for bootm command
ERROR: can't get kernel image!
   XIP Invalid Image ... OK
OK

I also have an AP3825i AP, the instructions go very well.
But not with an AP3715i.

...
If i use the AP3825i for booting ... i got a Kernel panic

[    5.723122] [c1041de8] [c042adcc] bus_for_each_dev+0x7c/0xbc
[    5.728782] [c1041e18] [c042c644] bus_add_driver+0x194/0x250
[    5.734440] [c1041e48] [c042eb00] driver_register+0x9c/0x170
[    5.740101] [c1041e68] [c0003440] do_one_initcall+0x54/0x1c0
[    5.745768] [c1041ed8] [c086ef44] kernel_init_freeable+0x200/0x2a8
[    5.751946] [c1041f18] [c00032dc] kernel_init+0x14/0x124
[    5.757260] [c1041f38] [c0010278] ret_from_kernel_thread+0x14/0x1c
[    5.763435] Instruction dump:
[    5.766399] 9421fff0 8144000c 2c090001 41820034 2c090002 4182001c 2c090004 40820034
[    5.774160] 7d2a282e 91230000 38210010 4e800020 <7d2a2a2e> 91230000 38210010 4e800020
[    5.782123] ---[ end trace 448db277f1eebb63 ]---
[    5.786732]
[    6.788236] Kernel panic - not syncing: Fatal exception
[    6.793461] Rebooting in 1 seconds..


U-Boot 2010.12.3 (Oct 07 2013 - 01:14:08) (primary)

Power LED ON
CPU:   P1010E, Version: 1.0, (0x80f90010)
Core:  E500, Version: 5.1, (0x80212151)
Clock Configuration:
       CPU0:800  MHz,
       CCB:400  MHz,

Does anyone have any other ideas.
I would also give away a few of the devices,
if it is explained to me how I can image one myself.

Did you succesfull upgrade WS-AP3710i to OpenWRT ?

Not yet.
I will probably have to deal with the issue of cross compilation at some point.
I've never done that and I think it's very complicated for beginners.

I have come across some AP3715i's. Did you ever figure this out?

1 Like

Unfortunately nothing useful yet.

The port is now done; see

https://downloads.openwrt.org/snapshots/targets/mpc85xx/p1010/

and here for the instructions:

3 Likes

@hurricos
That's great.
Thank you very much, you've just made me super happy.
Just in time, I was already thinking about throwing away the box with the APs.
Let's see if I can get them to work now.

3 posts were split to a new topic: How to create a custom firmware image for the AP3715i