EnGenius ENS202 not EXT

U-Boot 1.1.4 (Nov  2 2012 - 21:31:09)

ENS202 (ar934x) U-boot
DRAM:
sri
Wasp 1.1
wasp_ddr_initial_config(276): Wasp (16bit) ddr1 init
wasp_ddr_initial_config(426): Wasp ddr init done
Tap value selected = 0xf [0x0 - 0x1f]
Setting 0xb8116290 to 0x38702d0f
64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 229k for U-Boot at: 83fc4000
Reserving 192k for malloc() at: 83f94000
Reserving 44 Bytes for Board Info at: 83f93fd4
Reserving 36 Bytes for Global Data at: 83f93fb0
Reserving 128k for boot params() at: 83f73fb0
Stack Pointer at: 83f73f98
Now running in RAM - U-Boot at: 83fc4000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
Fetching MAC Address from 0x83feb088
Fetching MAC Address from 0x83feb088
 wasp  reset mask:c03300
WASP ----> S27 PHY
: cfg1 0x80000000 cfg2 0x7114
eth0: 88:dc:96:17:c0:e9
s27 reg init
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
WASP ----> S27 PHY
: cfg1 0x7 cfg2 0x7214
eth1: 88:dc:96:17:c0:e9
s27 reg init lan
ATHRS27: resetting s27
ATHRS27: s27 reset done
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10
eth1 up
eth0, eth1
eth_set_enetaddr(num=0, addr=88:dc:96:17:c0:e9)
Setting new HW address on eth0
New Address is             88:DC:96:17:C0:E9
eth_set_enetaddr(num=0, addr=88:dc:96:17:c0:e9)
Setting new HW address on eth0
New Address is             88:DC:96:17:C0:E9
eth_set_enetaddr(num=1, addr=88:dc:96:17:c0:e9)
Setting new HW address on eth1
New Address is             88:DC:96:17:C0:E9
Hit any key to stop autoboot:  0
Trying eth0
eth0 link down
FAIL
Trying eth1
enet1 port0 up
dup 1 speed 1000
Using eth1 device
TFTP from server 192.168.1.101; our IP address is 192.168.1.1
Filename 'vmlinux-art-ramdisk'.
Load address: 0x3000000
Loading: *
Retry count exceeded; starting again
Retry...
Trying eth0
eth0 link down
FAIL
Trying eth1
Using eth1 device
TFTP from server 192.168.1.101; our IP address is 192.168.1.1
Filename 'vmlinux-art-ramdisk'.
Load address: 0x3000000
Loading: *
Retry count exceeded; starting again
Retry...
Trying eth0
eth0 link down
FAIL
Trying eth1
Using eth1 device
TFTP from server 192.168.1.101; our IP address is 192.168.1.1
Filename 'vmlinux-art-ramdisk'.
Load address: 0x3000000
Loading: *
Retry count exceeded; starting again
Retry count exceeded!
## Booting image at 9f0a0000 ...
   Image Name:   MIPS ImmortalWrt Linux-5.4.230
   Created:      2023-02-13  21:34:01 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3265 Bytes =  3.2 kB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x9f0a0040 ...OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...



OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Looking for OpenWrt image... found at 0xbf220000
Decompressing kernel... done!
Starting kernel at 80060000...

[    0.000000] Linux version 5.4.230 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r19892-a6dce2ceb7)) #0 Mon Feb 13 21:34:01 2023
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] MIPS: machine is Engenius ENS202EXT v1
[    0.000000] SoC: Atheros AR9341 rev 1
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 56312K/65536K available (5640K kernel code, 189K rwdata, 1252K rodata, 1228K init, 205K bss, 9224K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 535.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7144898866 ns
[    0.000011] sched_clock: 32 bits at 267MHz, resolution 3ns, wraps every 8027976190ns
[    0.008422] Calibrating delay loop... 267.26 BogoMIPS (lpj=534528)
[    0.051004] pid_max: default: 32768 minimum: 301
[    0.056115] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.063920] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.078218] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.088658] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.096058] pinctrl core: initialized pinctrl subsystem
[    0.105968] NET: Registered protocol family 16
[    0.155125] pps_core: LinuxPPS API ver. 1 registered
[    0.160477] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.170279] PTP clock support registered
[    0.180304] clocksource: Switched to clocksource MIPS
[    0.187021] thermal_sys: Registered thermal governor 'step_wise'
[    0.187477] NET: Registered protocol family 2
[    0.198889] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.207674] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.216703] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.224896] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.232427] TCP: Hash tables configured (established 1024 bind 1024)
[    0.239374] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.246404] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.254291] NET: Registered protocol family 1
[    0.259041] PCI: CLS 0 bytes, default 32
[    0.269129] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.285077] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.291342] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.323237] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.336455] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.343830] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.353700] printk: console [ttyS0] disabled
[    0.358378] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 2500000) is a 16550A
[    0.367599] printk: console [ttyS0] enabled
[    0.367599] printk: console [ttyS0] enabled
[    0.376506] printk: bootconsole [early0] disabled
[    0.376506] printk: bootconsole [early0] disabled
[    0.404937] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[    0.410034] 8 fixed-partitions partitions found on MTD device spi0.0
[    0.416520] Creating 8 MTD partitions on "spi0.0":
[    0.421408] 0x000000000000-0x000000040000 : "u-boot"
[    0.427701] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.434360] 0x000000050000-0x0000000a0000 : "custom"
[    0.440785] 0x0000000a0000-0x0000000b0000 : "loader"
[    0.447047] 0x0000000b0000-0x000000220000 : "fwconcat1"
[    0.453615] 0x000000220000-0x000000df0000 : "fwconcat0"
[    0.460193] 0x000000df0000-0x000000ff0000 : "failsafe"
[    0.466666] 0x000000ff0000-0x000001000000 : "art"
[    0.473083] Concatenating MTD devices:
[    0.476960] (0): "fwconcat0"
[    0.479885] (1): "fwconcat1"
[    0.482821] into device "virtual_flash"
[    0.486772] 1 fixed-partitions partitions found on MTD device virtual_flash
[    0.494201] Creating 1 MTD partitions on "virtual_flash":
[    0.499736] 0x000000000000-0x000000d40000 : "firmware"
[    0.518452] 2 uimage-fw partitions found on MTD device firmware
[    0.524542] Creating 2 MTD partitions on "firmware":
[    0.529613] 0x000000000000-0x000000240000 : "kernel"
[    0.535876] 0x000000240000-0x000000d40000 : "rootfs"
[    0.542110] mtd: device 10 (rootfs) set to be root filesystem
[    0.550753] 1 squashfs-split partitions found on MTD device rootfs
[    0.557123] 0x000000730000-0x000000d40000 : "rootfs_data"
[    0.909416] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[    1.558454] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[    1.602380] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    1.612378] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[    1.618845] Solarflare NET driver v4.1
[    1.625163] i2c /dev entries driver
[    1.631941] NET: Registered protocol family 10
[    1.644209] Segment Routing with IPv6
[    1.648155] NET: Registered protocol family 17
[    1.652797] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.665968] 8021q: 802.1Q VLAN Support v1.8
[    1.986262] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:00 [uid=004dd042, driver=Generic PHY]
[    1.996856] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    2.004379] hctosys: unable to open rtc device (rtc0)
[    2.015749] VFS: Mounted root (squashfs filesystem) readonly on device 31:10.
[    2.031094] Freeing unused kernel memory: 1228K
[    2.035727] This architecture does not have kernel memory protection.
[    2.042269] Run /sbin/init as init process
[    2.732735] init: Console is alive
[    2.736615] init: - watchdog -
[    4.127603] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.236930] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.254873] init: - preinit -
[    5.845539] random: jshn: uninitialized urandom read (4 bytes read)
[    6.210105] random: jshn: uninitialized urandom read (4 bytes read)
[    6.434344] 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
[    7.321868] random: procd: uninitialized urandom read (4 bytes read)
[    9.198345] eth1: link up (100Mbps/Full duplex)
[    9.203026] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   11.592968] mount_root: loading kmods from internal overlay
[   11.664285] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   11.672205] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   12.039962] jffs2: notice: (601) jffs2_build_xattr_subsystem: complete building xattr subsystem, 38 of xdatum (10 unchecked, 18 orphan) and 47 of xref (18 dead, 0 orphan) found.
[   12.056905] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   12.069393] block: extroot: not configured
[   12.119400] jffs2: notice: (599) jffs2_build_xattr_subsystem: complete building xattr subsystem, 38 of xdatum (10 unchecked, 18 orphan) and 47 of xref (18 dead, 0 orphan) found.
[   12.137306] mount_root: loading kmods from internal overlay
[   12.203713] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   12.214503] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   12.467027] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   12.477761] block: extroot: not configured
[   12.483380] mount_root: switching to jffs2 overlay
[   12.495988] overlayfs: upper fs does not support tmpfile.
[   12.507605] urandom-seed: Seeding with /etc/urandom.seed
[   12.639113] eth1: link down
[   12.658659] procd: - early -
[   12.662225] procd: - watchdog -
[   13.369295] procd: - watchdog -
[   13.376831] procd: - ubus -
[   13.536564] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.551375] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.620623] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.643003] procd: - init -
Please press Enter to activate this console.
[   14.767703] random: jshn: uninitialized urandom read (4 bytes read)
[   14.825919] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.844645] random: ubus: uninitialized urandom read (4 bytes read)
[   14.984770] kmodloader: loading kernel modules from /etc/modules.d/*
[   15.287106] urngd: v1.0.2 started.
[   15.302994] NET: Registered protocol family 38
[   15.347446] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   15.741157] cryptodev: driver 1.12 loaded.
[   15.764063] Loading modules backported from Linux version v5.15.92-0-ge515b9902f5f
[   15.771820] Backport generated by backports.git v5.15.92-1-0-gdfe0f60c
[   15.853965] random: crng init done
[   15.857483] random: 24 urandom warning(s) missed due to ratelimiting
[   16.159449] xt_time: kernel timezone is -0000
[   16.270356] PPP generic driver version 2.4.2
[   16.278613] PPP MPPE Compression module registered
[   16.286398] NET: Registered protocol family 24
[   16.374497] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb8100000, irq=2
[   16.411924] kmodloader: done loading kernel modules from /etc/modules.d/*
[   24.456905] xt_FULLCONENAT: RFC3489 Full Cone NAT module
[   24.456905] xt_FULLCONENAT: Copyright (C) 2018 Chion Tang <tech@chionlab.moe>
[   29.275649] jffs2: notice: (1659) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   29.317298] jffs2: notice: (1659) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   29.426904] jffs2: Erase at 0x00010000 failed immediately: -EROFS. Is the sector locked?
[   36.852750] br-lan: port 1(eth1) entered blocking state
[   36.858120] br-lan: port 1(eth1) entered disabled state
[   36.863855] device eth1 entered promiscuous mode
[   37.229792] eth0: link up (1000Mbps/Full duplex)
[   37.252484] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   37.260814] br-lan: port 2(eth0.1) entered blocking state
[   37.266366] br-lan: port 2(eth0.1) entered disabled state
[   37.272499] device eth0.1 entered promiscuous mode
[   37.277416] device eth0 entered promiscuous mode
[   37.282377] br-lan: port 2(eth0.1) entered blocking state
[   37.287914] br-lan: port 2(eth0.1) entered forwarding state
[   37.304225] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   38.894450] eth1: link up (100Mbps/Full duplex)
[   38.925042] br-lan: port 1(eth1) entered blocking state
[   38.930419] br-lan: port 1(eth1) entered forwarding state
[  270.002219] br-lan: port 2(eth0.1) entered disabled state
[  270.007834] br-lan: port 1(eth1) entered disabled state
[  270.039718] device eth0.1 left promiscuous mode
[  270.044396] device eth0 left promiscuous mode
[  270.048982] br-lan: port 2(eth0.1) entered disabled state
[  270.095812] eth0: link down
[  270.119487] device eth1 left promiscuous mode
[  270.124107] br-lan: port 1(eth1) entered disabled state
[  270.169247] eth1: link down
[  274.825176] reboot: Restarting system

rootfs_checksum is still 0? show printenv again?

firmware upgrade using failsafe webpage is failing to update the uboot environment?

would you like me to just make an Openwrt image for ENS202?

ok make Openwrt image for ENS202

Hi, I need this firmware too. Thanks.

use factory.bin for failsafe webpage

https://www.dropbox.com/sh/fcnh8fyhqdlyewo/AABpU1YuDF1L5tqW9UWO_HZFa?dl=1

good thanks

can you provide name and email address to put in a commit message so I can add ENS202 officially

I have the same with flash openwrt-ath79-generic-engenius_ens202-v1-squashfs-factory through failsafe, looks like my failsafe is broken.
i am force upgraded openwrt-ath79-generic-engenius_ens202-v1-squashfs-sysupgrade.bin from luci ENS202EXT v1 and work good

put your name and email address a commit message

Did you get a name and email address for this? If not, you can use my info. Send me a pm. Thanks for your help!

Greetings.. It would be great to get the ENS202 (non xxx-EXT) into the mainline OpenWRT version; AFAIK it's identical to the ENS202EXT except it has an internal directional antenna and no external antennas. Likewise, there's a private version of this device(custom software load), made for a spa company, an ENS202EXT-PTC (Intellicenter Pentair); Once upon a time I ended up with one of those and figured out how to force the stock ENS202EXT firmware on it, but it's been a few years. Thank you for all you do!

have you tried the factory.bin for ENS202EXT?

If that image is accepted, it will be fine

I dont remember how this conversation ended up... did I forget to post a PR?

damn I did forget...

this link is a reminder for myself

Thanks-- Yeah, the ENS202 and ENS202EXT are identical as far as I can tell (with the exception of the antennas), but the ENS202EXT images won't replace the ENS202 (and vice versa) without some trickery.

That's a contradiction though, isn't it ?

I'll leave it here http://ddnsthailand.com/download/testing/OpenWrt/ for studying

its simply the same kernel and rootfs but different image building recipe as the EXT variant

1 Like

Hey Michael-- Did that patch ever make it in? Is there something else that has to happen for the recipe to create the non-EXT version, or is the EXT version tolerant of the non-EXT variant?

Hello again! You created an ENS202 patch, but doesn't look like it was ever pulled into the mainline. I was hoping to breathe some new life into this old outdoor access point.
Likewise, how much work would it be to support the ENS500 (It's a 5-ghz only N300 version from the same family; albeit different radio); Is there any work I can do to help facilitate this?