EnGenius EAP300 v2

Under Construction!
This page is currently under construction. You can edit the article to help completing it.

This device is known by several names.

  • The device I used was labeled as an EnGenius EAP300 with black lettering on the top/front, with no obvious indications of it being an “EAP300 v2”. (WARNING: Most images of the EAP300 online show golden lettering, which is most likely NOT COMPATIBLE with this OpenWrt image! Be sure you have a compatible EAP300 before flashing your device). There are NO Realtek logos on the chips inside my device, unlike what is shown in the FCC documents for the U2M-EAP300. See here for more info on the “other” EAP300.
  • The bootloader calls it EAP9550v2.

The OEM firmware is actually (based on) an old version of OpenWrt!

The device has 3 blue LEDs.

Install OpenWrt (generic explanation)

FIXME Please add the installation procedure here.

dev:    size   erasesize  name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00050000 00010000 "custom"
mtd3: 00180000 00010000 "kernel"
mtd4: 00bd0000 00010000 "rootfs"
mtd5: 00750000 00010000 "rootfs_data"
mtd6: 00200000 00010000 "failsafe"
mtd7: 00010000 00010000 "ART"

WARNING! Updating to the latest 18.xx release using the sysupgrade image currently bricks the router! Only a serial console remains. No failsafe mode appears in serial output.

Note: Reset router to factory defaults if it has been previously configured.

  • Go to the device's firmware upgrade page, and upload the -factory.bin file.
  • Wait for the file to upload.
  • Press the button to upgrade using the uploaded file.

Specific values needed for tftp

FIXME Enter values for “FILL-IN” below

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain “tftp”)
TFTP transfer window FILL-IN seconds
TFTP window start approximately FILL-IN seconds after power on
TFTP client required IP address FILL-IN

generic.sysupgrade

FIXME These are generic instructions. Update with your router's specifics.

If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:

  • sysupgrade
  • mtd

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

mtd

If sysupgrade does not support this router, use mtd.

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The default network configuration is:

Interface Name Description Default configuration
br-lan EXAMPLE LAN & WiFi EXAMPLE 192.168.1.1/24
vlan0 (eth0.0) EXAMPLE LAN ports (1 to 4) EXAMPLE None
vlan1 (eth0.1) EXAMPLE WAN port EXAMPLE DHCP
wl0 EXAMPLE WiFi EXAMPLE Disabled

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) EXAMPLE 4
LAN 1 EXAMPLE 3
LAN 2 EXAMPLE 2
LAN 3 EXAMPLE 1
LAN 4 EXAMPLE 0

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The EnGenius EAP300 has the following buttons:

BUTTON Event
EXAMPLE Reset reset
EXAMPLE Secure Easy Setup ses
EXAMPLE No buttons at all. -

Front:
Insert photo of front of the casing

Back:
Insert photo of back of the casing

Backside label:
Insert photo of backside label

Note: This will void your warranty!

FIXME Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...

  • To remove the cover and open the device, do a/b/c

Main PCB:
Insert photo of PCB

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:

  • There is a four-pin header on the device.
  • Its pinout (right-to-left): <not-connected> ground rx tx (tx and rx may be the other way around)

Insert photo of PCB with markings for serial port

NC GND Rx Tx J1
Serial connection parameters
for EnGenius EAP300 v2
115200, 8N1

Info

The U-boot 1.1.4 bootloader allows pressing any key to interrupt boot and get a command prompt. At the prompt, the command “tftpboot” receives an image (starting with a kernel image it seems) from server at 192.168.1.101 and loads it into RAM. (the router uses tftp address 192.168.1.1). Running “bootm” attempts to boot using the uploaded image. Typing “bootm 0x9fdf0000” loads a failsafe mode with an Engenius image! Alternatively “$failsafe_boot” can be input by the prompt. Once this failsafe is booted, factory engenius fw can be uploaded, and then openwrt can be flashed using stock engenius firmware update page. (found in $failsafe_boot uboot var in printenv command output). There does not seem to be a boot_wait tftp with the update U-boot firmware 1.1.4 from engenius fw 1.7.22.

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

U-Boot 1.1.4 (Feb 7 2013 - 17:19:55) EAP9550V2 (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 0xc2, DeviceId0 0x20, 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 0x83feb078 Fetching MAC Address from 0x83feb078 wasp reset mask:c03300 WASP ----> S27 PHY : cfg1 0x80000000 cfg2 0x7114 eth0: <mac> 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 0xf cfg2 0x7214 eth1: <mac> 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=<mac>) Setting new HW address on eth0 New Address is <mac> eth_set_enetaddr(num=0, addr=<mac>) Setting new HW address on eth0 New Address is <mac> eth_set_enetaddr(num=1, addr=<mac>) Setting new HW address on eth1 New Address is <mac> Hit any key to stop autoboot: 4  3  2  1  0 Validating MD5Sum of 'vmlinux'... Passed! Validating MD5Sum of 'rootfs'... Passed! ## Booting image at 9f0a0000 ... Image Name: MIPS OpenWrt Linux-2.6.31 Created: 2017-11-15 2:03:19 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 952460 Bytes = 930.1 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 ... Booting Atheros AR934x Linux version 2.6.31 (ubuntu@Ubuntu) (gcc version 4.3.3 (GCC) ) #1 Tue Nov 14 19:36:14 CST 2017 flash_size passed from bootloader = 16 arg 1: console=ttyS0,115200 arg 2: root=31:04 arg 3: rootfstype=squashfs arg 4: init=/etc/preinit arg 5: mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),320k(custom),1536k(kernel),12096k(rootfs),2048k(failsafe),64k(ART) arg 6: board=EAP300V2 arg 7: mem=64M CPU revision is: 0001974c (MIPS 74Kc) ath_sys_frequency: cpu srif ddr srif cpu 535 ddr 400 ahb 200 Determined physical RAM map: memory: 02000000 @ 00000000 (usable) User-defined physical RAM map: memory: 04000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0x00000000 -> 0x00004000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00004000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: console=ttyS0,115200 root=31:04 rootfstype=squashfs init=/etc/preinit mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),320k(custom),1536k(kernel),12096k(rootfs),2048k(failsafe),64k(ART) board=EAP300V2 mem=64M PID hash table entries: 256 (order: 8, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes Writing ErrCtl register=00000000 Readback ErrCtl register=00000000 Memory: 47304k/65536k available (2077k kernel code, 18160k reserved, 534k data, 132k init, 0k highmem) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:128 plat_time_init: plat time init done Console: colour dummy device 80x25 Calibrating delay loop... 267.26 BogoMIPS (lpj=534528) Mount-cache hash table entries: 512 ****************ALLOC*********************** Packet mem: 803205c0 (0xe00000 bytes) ******************************************** NET: Registered protocol family 16 bio: create slab <bio-0> at 0 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered NET: Registered protocol family 1 ATH GPIOC major 0 squashfs: version 4.0 (2009/01/31) Phillip Lougher Registering mini_fo version $Id$ JFFS2 version 2.2 (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc. msgmni has been set to 92 io scheduler noop registered io scheduler deadline registered (default) Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A console [ttyS0] enabled loop: module loaded 7 cmdlinepart partitions found on MTD device ath-nor0 Creating 7 MTD partitions on "ath-nor0": 0x000000000000-0x000000040000 : "u-boot" 0x000000040000-0x000000050000 : "u-boot-env" 0x000000050000-0x0000000a0000 : "custom" 0x0000000a0000-0x000000220000 : "kernel" 0x000000220000-0x000000df0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=750000, len=6A0000 0x000000750000-0x000000df0000 : "rootfs_data" 0x000000df0000-0x000000ff0000 : "failsafe" 0x000000ff0000-0x000001000000 : "ART" nf_conntrack version 0.5.0 (1024 buckets, 4096 max) CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or sysctl net.netfilter.nf_conntrack_acct=1 to enable it. ip_tables: (C) 2000-2006 Netfilter Core Team TCP cubic registered NET: Registered protocol family 17 Bridge firewalling registered RPC: Registered udp transport module. RPC: Registered tcp transport module. 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> athwdt_init: Registering WDT success athwdt_timer_init:447: here jiffies:2150562112 ath_otp_init: Registering OTP success ath_clksw_init: Registering Clock Switch Interface success VFS: Mounted root (squashfs filesystem) readonly on device 31:4. Freeing unused kernel memory: 132k freed Please be patient, while OpenWrt loads ... - preinit - Press f<ENTER> to enter failsafe mode - regular preinit - switching to jffs2 mini_fo: using base directory: / mini_fo: using storage directory: /jffs - init - Please press Enter to activate this console. ATHR_GMAC: Length per segment 1536 ATHR_GMAC: fifo cfg 3 01f00140 mac:0 Registering S27.... mac:1 Registering S27.... ATHR_GMAC: RX TASKLET - Pkts per Intr:100 ATHR_GMAC: Mac address for unit 1:bfff0006 ATHR_GMAC: 88:dc:96:0b:9d:bf ATHR_GMAC: Max segments per packet : 1 ATHR_GMAC: Max tx descriptor count : 128 ATHR_GMAC: Max rx descriptor count : 128 ATHR_GMAC: Mac capability flags : 2D88 NET: Registered protocol family 10 lo: Disabled Privacy Extensions athr_gmac_ring_alloc Allocated 2048 at 0x83ac6800 athr_gmac_ring_alloc Allocated 2048 at 0x83ac7000 WASP ----> S27 PHY MDIO ATHRS27: resetting s27 ATHRS27: s27 reset done Func athrs27_reg_init_lan: line 505 (Ethernet RX: set Max MTU to 1518+6 for vlan and header space) Setting Drop CRC Errors, Pause Frames and Length Error frames Setting PHY... enet1 port0 up 100Mbps Full duplex ATHR_GMAC: Enet Unit:1 PHY:0 is UP RGMii 1000Mbps full duplex ATHR_GMAC: done cfg2 0x7215 ifctl 0x0 miictrl Setting Drop CRC Errors, Pause Frames and Length Error frames ADDRCONF(NETDEV_UP): eth0: link is not ready ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready athr_gmac_ring_free Freeing at 0x83ac6800 athr_gmac_ring_free Freeing at 0x83ac7000 athr_gmac_ring_alloc Allocated 2048 at 0x83bc8000 athr_gmac_ring_alloc Allocated 2048 at 0x83bc8800 WASP ----> S27 PHY MDIO Setting Drop CRC Errors, Pause Frames and Length Error frames Setting PHY... ADDRCONF(NETDEV_UP): eth0: link is not ready device eth0 entered promiscuous mode enet1 port0 up 100Mbps Full duplex ATHR_GMAC: Enet Unit:1 PHY:0 is UP RGMii 1000Mbps full duplex ATHR_GMAC: done cfg2 0x7215 ifctl 0x0 miictrl Setting Drop CRC Errors, Pause Frames and Length Error frames br-lan: port 1(eth0) entering forwarding state ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready PPP generic driver version 2.4.2 NET: Registered protocol family 24 PPPoL2TP kernel driver, V1.0 PPTP driver version 0.8.4 nf_conntrack_rtsp v0.6.21 loading nf_nat_rtsp v0.6.21 loading ip_set version 4 loaded ip6_tables: (C) 2000-2006 Netfilter Core Team adf: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint ath_hal: 0.9.17.1 (AR5416, AR9380, DEBUG, REGOPS_FUNC, WRITE_EEPROM, 11D) ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved ath_spectral: Version 2.0.0 Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved SPECTRAL module built on Nov 14 2017 19:15:24 ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved ath_ahb: 10.1.478 (Atheros/multi-bss) __ath_attach: Set global_scn[0] ACBKMinfree = 48 ACBEMinfree = 32 ACVIMinfree = 16 ACVOMinfree = 0 CABMinfree = 48 UAPSDMinfree = 0 Bootstrap clock 40MHz Enterprise mode: 0x00000000 Restoring Cal data from Flash SPECTRAL : get_capability not registered HAL_CAP_PHYDIAG : Capable SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 226) SPECTRAL : get_capability not registered HAL_CAP_RADAR : Capable SPECTRAL : Need to fix the capablity check for SPECTRAL (spectral_attach : 231) SPECTRAL : get_capability not registered HAL_CAP_SPECTRAL_SCAN : Capable SPECTRAL : get_tsf64 not registered spectral_init_netlink 52 NULL SKB SPECTRAL : No ADVANCED SPECTRAL SUPPORT SPECTRAL : module attached Green-AP : Green-AP : Attached ath_get_caps[5958] rx chainmask mismatch actual 3 sc_chainmak 0 ath_get_caps[5933] tx chainmask mismatch actual 3 sc_chainmak 0 SPECTRAL : module already attached ath_tx_paprd_init sc 83360000 PAPRD disabled in HAL wifi0: Atheros 9340: mem=0xb8100000, irq=2 ath_pci: 10.1.478 (Atheros/multi-bss) wlan_vap_create : enter. devhandle=0x833682c0, opmode=IEEE80211_M_HOSTAP, flags=0x1 wlan_vap_create : exit. devhandle=0x833682c0, opmode=IEEE80211_M_HOSTAP, flags=0x1. VAP device ath0 created DES SSID SET=EnGenius<XXXXXX> device ath0 entered promiscuous mode Invoking ACS module for Best channel selection SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2412) Enabled spectral scan on channel 2412 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2412) Spectral scan is already ACTIVE on channel 2412 br-lan: port 2(ath0) entering forwarding state SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2412) Enabled spectral scan on channel 2412 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2417) Spectral scan is already ACTIVE on channel 2417 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2422) Spectral scan is already ACTIVE on channel 2422 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2427) Spectral scan is already ACTIVE on channel 2427 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2432) Spectral scan is already ACTIVE on channel 2432 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2437) Spectral scan is already ACTIVE on channel 2437 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2442) Spectral scan is already ACTIVE on channel 2442 Scan in progress.. Cancelling it SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2412) Enabled spectral scan on channel 2412 br-lan: port 2(ath0) entering disabled state SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2412) Enabled spectral scan on channel 2412 Invoking ACS module for Best channel selection SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2412) Spectral scan is already ACTIVE on channel 2412 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2412) Spectral scan is already ACTIVE on channel 2412 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2412) Enabled spectral scan on channel 2412 br-lan: port 2(ath0) entering forwarding state SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2417) Spectral scan is already ACTIVE on channel 2417 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2422) Spectral scan is already ACTIVE on channel 2422 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2427) Spectral scan is already ACTIVE on channel 2427 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2432) Spectral scan is already ACTIVE on channel 2432 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2437) Spectral scan is already ACTIVE on channel 2437 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2442) Spectral scan is already ACTIVE on channel 2442 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2447) Spectral scan is already ACTIVE on channel 2447 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2452) Spectral scan is already ACTIVE on channel 2452 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2457) Spectral scan is already ACTIVE on channel 2457 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2462) Spectral scan is already ACTIVE on channel 2462 SPECTRAL : Legacy (Non-11AC) SPECTRAL : (Legacy) 20MHz Channel Width (Channel = 2412) Enabled spectral scan on channel 2412 Channel 6 average beacon RSSI 4 noisefloor -102 SS Chan Load 0 ieee80211_acs_find_best_11ng_centerchan chan: 6 beacon RSSI + weighted noisefloor: -200 Channel 11 average beacon RSSI 26 noisefloor -100 SS Chan Load 10 ieee80211_acs_find_best_11ng_centerchan chan: 11 beacon RSSI + weighted noisefloor: -164 ieee80211_acs_find_best_11ng_centerchan found best 11ng center chan: 6 rssi: -200 mlme_create_infra_bss : Overriding HT40 channel with HT20 channel


U-Boot 1.1.4 (Feb 7 2013 - 17:19:55) EAP9550V2 (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 0xc2, DeviceId0 0x20, 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 0x83feb078 Fetching MAC Address from 0x83feb078 wasp reset mask:c03300 WASP ----> S27 PHY : cfg1 0x80000000 cfg2 0x7114 eth0: <mac> 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 0xf cfg2 0x7214 eth1: <mac> 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=<mac>) Setting new HW address on eth0 New Address is <mac> eth_set_enetaddr(num=0, addr=<mac>) Setting new HW address on eth0 New Address is <mac> eth_set_enetaddr(num=1, addr=<mac>) Setting new HW address on eth1 New Address is <mac> Hit any key to stop autoboot: 4  3  2  1  0 Validating MD5Sum of 'vmlinux'... Passed! Validating MD5Sum of 'rootfs'... Passed! ## Booting image at 9f0a0000 ... Image Name: MIPS OpenWrt Linux-4.9.129 Created: 2018-09-26 14:39:45 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1570482 Bytes = 1.5 MB 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 ... [ 0.000000] Linux version 4.9.129 (buildbot@slashdirt-02) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r8155-c662299) ) #0 Wed Sep 26 14:39:45 2018 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc) [ 0.000000] SoC: Atheros AR9341 rev 1 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 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 in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: board=EAP300V2 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env),320k(custom),13632k(firmware),2048k(failsafe),64k(art)ro rootfstype=squashfs noinitrd [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 59380K/65536K available (3590K kernel code, 173K rwdata, 856K rodata, 300K init, 219K bss, 6156K 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] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:40.000MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7144898866 ns [ 0.000010] sched_clock: 32 bits at 267MHz, resolution 3ns, wraps every 8027976190ns [ 0.008340] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248) [ 0.091155] pid_max: default: 32768 minimum: 301 [ 0.096195] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.103244] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.114012] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.124529] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.132483] NET: Registered protocol family 16 [ 0.139060] MIPS: machine is EnGenius EAP300 v2 [ 0.397190] clocksource: Switched to clocksource MIPS [ 0.403880] NET: Registered protocol family 2 [ 0.409594] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.417031] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.423873] TCP: Hash tables configured (established 1024 bind 1024) [ 0.430753] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.436989] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.444003] NET: Registered protocol family 1 [ 0.453179] Crashlog allocated RAM at address 0x3f00000 [ 0.460130] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.475347] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.481608] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.503593] io scheduler noop registered [ 0.507830] io scheduler deadline registered (default) [ 0.513779] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.523699] console [ttyS0] disabled [ 0.547629] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A [ 0.556814] console [ttyS0] enabled [ 0.556814] console [ttyS0] enabled [ 0.564235] bootconsole [early0] disabled [ 0.564235] bootconsole [early0] disabled [ 0.580068] m25p80 spi0.0: found mx25l12805d, expected m25p80 [ 0.586601] m25p80 spi0.0: mx25l12805d (16384 Kbytes) [ 0.591826] 6 cmdlinepart partitions found on MTD device spi0.0 [ 0.597850] Creating 6 MTD partitions on "spi0.0": [ 0.602716] 0x000000000000-0x000000040000 : "u-boot" [ 0.610083] 0x000000040000-0x000000050000 : "u-boot-env" [ 0.617943] 0x000000050000-0x0000000a0000 : "custom" [ 0.625391] 0x0000000a0000-0x000000df0000 : "firmware" [ 0.649742] 2 uimage-fw partitions found on MTD device firmware [ 0.655773] 0x0000000a0000-0x000000220000 : "kernel" [ 0.662553] 0x000000220000-0x000000df0000 : "rootfs" [ 0.669658] mtd: device 5 (rootfs) set to be root filesystem [ 0.675445] 1 squashfs-split partitions found on MTD device rootfs [ 0.681789] 0x000000410000-0x000000df0000 : "rootfs_data" [ 0.689844] 0x000000df0000-0x000000ff0000 : "failsafe" [ 0.697567] 0x000000ff0000-0x000001000000 : "art" [ 0.705903] libphy: Fixed MDIO Bus: probed [ 0.730282] libphy: ag71xx_mdio: probed [ 1.359286] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY] [ 1.369383] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII [ 1.377362] NET: Registered protocol family 10 [ 1.386148] NET: Registered protocol family 17 [ 1.390797] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 1.404077] 8021q: 802.1Q VLAN Support v1.8 [ 1.410462] hctosys: unable to open rtc device (rtc0) [ 1.419707] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 1.428875] Freeing unused kernel memory: 300K [ 1.433389] This architecture does not have kernel memory protection. [ 2.195089] init: Console is alive [ 2.198900] init: - watchdog - [ 2.507219] random: fast init done [ 3.219488] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 3.279544] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 3.297964] init: - preinit - [ 3.943080] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 3.974222] random: procd: 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 [ 6.019423] eth0: link up (100Mbps/Full duplex) [ 6.024065] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 6.256539] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 6.291272] urandom-seed: Seed file not found (/etc/urandom.seed) [ 6.478010] eth0: link down [ 6.494700] procd: - early - [ 6.497903] procd: - watchdog - [ 7.148430] procd: - watchdog - [ 7.151984] procd: - ubus - [ 7.194098] random: ubusd: uninitialized urandom read (4 bytes read) [ 7.255834] random: ubusd: uninitialized urandom read (4 bytes read) [ 7.262901] random: ubusd: uninitialized urandom read (4 bytes read) [ 7.270557] procd: - init - Please press Enter to activate this console. [ 7.617372] kmodloader: loading kernel modules from /etc/modules.d/* [ 7.629160] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 7.648464] Loading modules backported from Linux version v4.19-rc4-0-g7876320f8880 [ 7.656239] Backport generated by backports.git v4.14-rc2-1-113-gad227442 [ 7.666839] ip_tables: (C) 2000-2006 Netfilter Core Team [ 7.682865] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 7.755299] xt_time: kernel timezone is -0000 [ 7.832567] PPP generic driver version 2.4.2 [ 7.840019] NET: Registered protocol family 24 [ 7.910409] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb8100000, irq=47 [ 8.013261] kmodloader: done loading kernel modules from /etc/modules.d/* [ 9.266942] urandom_read: 5 callbacks suppressed [ 9.266951] random: jshn: uninitialized urandom read (4 bytes read) [ 17.265873] jffs2: notice: (987) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 21.371863] br-lan: port 1(eth0) entered blocking state [ 21.377247] br-lan: port 1(eth0) entered disabled state [ 21.382968] device eth0 entered promiscuous mode [ 21.424457] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 23.459493] eth0: link up (100Mbps/Full duplex) [ 23.464172] br-lan: port 1(eth0) entered blocking state [ 23.469513] br-lan: port 1(eth0) entered forwarding state [ 23.552236] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready


Space for additional notes, links to forum threads or other resources.

  • GPL source link: here. Not tested though, so not sure if it's for v2.
  • Web pages for this product: here, here, here, here.
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/02/12 11:13
  • by 127.0.0.1