Skip to content

Instantly share code, notes, and snippets.

@mcprat
Created May 20, 2020 17:59
Show Gist options
  • Save mcprat/3647f76b0646757659b573dfade2b6eb to your computer and use it in GitHub Desktop.
Save mcprat/3647f76b0646757659b573dfade2b6eb to your computer and use it in GitHub Desktop.
ENS202EXT failsafe mode
ar7240> run failsafe_boot
## Booting image at 9fdf0000 ...
Image Name: MIPS OpenWrt Linux-2.6.31
Created: 2012-09-17 14:43:47 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1559991 Bytes = 1.5 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x9fdf0040 ...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 Mon Sep 17 22:43:39 CST 2012
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=ENS202EXT
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=ENS202EXT 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: 45012k/65536k available (1491k kernel code, 20452k reserved, 263k data, 3308k init, 0k highmem)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:128
plat_time_init: plat time init done
Calibrating delay loop... 267.26 BogoMIPS (lpj=534528)
Mount-cache hash table entries: 512
****************ALLOC***********************
Packet mem: 80563320 (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
JFFS2 version 2.2 (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 88
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
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=4A0000, len=950000
0x0000004a0000-0x000000df0000 : "rootfs_data"
0x000000df0000-0x000000ff0000 : "failsafe"
0x000000ff0000-0x000001000000 : "ART"
TCP cubic registered
NET: Registered protocol family 17
athwdt_init: Registering WDT success
ath_otp_init: Registering OTP success
ath_clksw_init: Registering Clock Switch Interface success
Freeing unused kernel memory: 3308k freed
- preinit -
Press f<ENTER> to enter failsafe mode
- regular preinit -
Please press Enter to activate this console. ATHR_GMAC: Length per segment 1536
ATHR_GMAC: fifo cfg 3 01f00140
ATHR_GMAC: RX TASKLET - Pkts per Intr:16
ATHR_GMAC: Mac address for unit 0:bfff0000
ATHR_GMAC: 88:dc:96:5b:91:7b
mac:0 Registering S27....
ATHR_GMAC: Max segments per packet : 1
ATHR_GMAC: Max tx descriptor count : 40
ATHR_GMAC: Max rx descriptor count : 128
ATHR_GMAC: Mac capability flags : 2580
ATHR_GMAC: RX TASKLET - Pkts per Intr:16
ATHR_GMAC: Mac address for unit 1:bfff0006
ATHR_GMAC: 88:dc:96:5b:91:7b
mac:1 Registering S27....
ATHR_GMAC: Max segments per packet : 1
ATHR_GMAC: Max tx descriptor count : 40
ATHR_GMAC: Max rx descriptor count : 128
ATHR_GMAC: Mac capability flags : 2D80
asf: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, 11D)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_ahb: 9.2.0_U10.5.13 (Atheros/multi-bss)
__ath_attach: Set global_scn[0]
ACBKMinfree = 48
ACBEMinfree = 32
ACVIMinfree = 16
ACVOMinfree = 0
CABMinfree = 48
UAPSDMinfree = 0
Wasp Enterprise mode: 0x00000000
Restoring Cal data from Flash
ath_get_caps[5143] rx chainmask mismatch actual 3 sc_chainmak 0
ath_get_caps[5118] tx chainmask mismatch actual 3 sc_chainmak 0
wifi0: Atheros 9340: mem=0xb8100000, irq=2
wlan_vap_create : enter. devhandle=0x833002c0, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x833002c0, opmode=IEEE80211_M_HOSTAP, flags=0x1.
VAP device ath24 created
DES SSID SET=
DES SSID SET=EnGenius1-Failsafe
device ath24 entered promiscuous mode
athr_gmac_ring_alloc Allocated 640 at 0x83316800
athr_gmac_ring_alloc Allocated 2048 at 0x8383f000
WASP ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames and Length Error frames
Setting PHY...
ATHR_GMAC: Enet Unit:0 PHY:4 is UP Mii 100Mbps full duplex
ATHR_GMAC: done cfg2 0x7115 ifctl 0x10000 miictrl
WASP ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames and Length Error frames
device eth0 entered promiscuous mode
athr_gmac_ring_alloc Allocated 640 at 0x83316c00
athr_gmac_ring_alloc Allocated 2048 at 0x8383f800
WASP ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames and Length Error frames
ATHRS27: resetting s27
ATHRS27: s27 reset done
Setting PHY...
device eth1 entered promiscuous mode
br-lan: port 2(eth0) entering forwarding state
br-lan: port 1(ath24) entering forwarding state
doupgrade
Umount /jffs..
Writing kernel...
Writing rootfs...
Upgrade completed, rebooting system...
Restarting system.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment