I had this AREDN Air router working for a few months, but somehow it got "stupid". It keeps rebooting every 25 or so seconds, and it never establishes an ethernet connection to my PC. The computer sees something, then it reports the ethernet cable is disconnected, and this repeats.
I opened up the Airrouter, to see if maybe there was a bad electroytic cap or such I could fix. That wasn't it. I then saw a header on the board "UART" I connected a TTL level serial connection to that and my PC. For once I guessed correct as to which pin is TX and RX. Upon powerup I get:
U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56)
Board: Ubiquiti Networks XM board (rev 1.1 e4a2)
DRAM: 32 MB
Flash: 8 MB
PCIe WLAN Module found (#1).
Net: eth0, eth1
Hit any key to stop autoboot: 0
## Booting image at 9f050000 ...
Image Name: MIPS AREDN Linux-4.9.152
Created: 2019-01-30 12:21:02 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1170472 Bytes = 1.1 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 4.9.152 (aredn@50697435f5b7) (gcc version 7.3.0 (Op
enWrt GCC 7.3.0 r7676-cddd7b4c77) ) #0 Wed Jan 30 12:21:02 2019
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7241 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 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-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 8128
[ 0.000000] Kernel command line: board=UBNT-AR mtdparts=spi0.0:256k(u-boot)r
o,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,1152
00 rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 28208K/32768K available (2891K kernel code, 156K rwdata,
324K rodata, 268K init, 198K bss, 4560K 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:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.00
0MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i
dle_ns: 9801335621 ns
[ 0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012
737021ns
[ 0.007895] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[ 0.080547] pid_max: default: 32768 minimum: 301
[ 0.085311] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.091900] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.102931] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
x_idle_ns: 19112604462750000 ns
[ 0.112767] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.119687] NET: Registered protocol family 16
[ 0.126282] MIPS: machine is Ubiquiti AirRouter
[ 0.636619] registering PCI controller with io_map_base unset
[ 0.642573] Can't analyze schedule() prologue at 8032f6f0
[ 0.662372] PCI host bridge to bus 0000:00
[ 0.666476] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.673375] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.678920] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.685676] pci_bus 0000:00: No busn resource found for root bus, will use [b
us 00-ff]
[ 0.693612] pci 0000:00:00.0: fixup device configuration
[ 0.700745] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bi
t]
[ 0.708041] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.714007] clocksource: Switched to clocksource MIPS
[ 0.720557] NET: Registered protocol family 2
[ 0.726169] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.733130] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.739540] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.746051] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.751888] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.758501] NET: Registered protocol family 1
[ 0.770982] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[ 0.787718] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.793522] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT
Y) (c) 2001-2006 Red Hat, Inc.
[ 0.816407] io scheduler noop registered
[ 0.820317] io scheduler deadline registered (default)
[ 0.826013] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.832909] console [ttyS0] disabled
[ 0.856575] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 121
87500) is a 16550A
[ 0.865254] console [ttyS0] enabled
[ 0.865254] console [ttyS0] enabled
[ 0.872239] bootconsole [early0] disabled
[ 0.872239] bootconsole [early0] disabled
[ 0.885331] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.891765] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.896768] 5 cmdlinepart partitions found on MTD device spi0.0
[ 0.902707] Creating 5 MTD partitions on "spi0.0":
[ 0.907537] 0x000000000000-0x000000040000 : "u-boot"
[ 0.915385] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.923564] 0x000000050000-0x0000007b0000 : "firmware"
[ 0.941287] 2 uimage-fw partitions found on MTD device firmware
[ 0.947302] 0x000000050000-0x000000170000 : "kernel"
[ 0.954337] 0x000000170000-0x0000007b0000 : "rootfs"
[ 0.961679] mtd: device 4 (rootfs) set to be root filesystem
[ 0.967479] 1 squashfs-split partitions found on MTD device rootfs
[ 0.973703] 0x0000005f0000-0x0000007b0000 : "rootfs_data"
[ 0.982116] 0x0000007b0000-0x0000007f0000 : "cfg"
[ 0.989774] 0x0000007f0000-0x000000800000 : "EEPROM"
[ 0.999115] libphy: Fixed MDIO Bus: probed
[ 1.018238] libphy: ag71xx_mdio: probed
[ 1.645489] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[ 1.697626] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.325704] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd0
41, driver=Generic PHY]
[ 2.335965] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.343254] NET: Registered protocol family 17
[ 2.348016] 8021q: 802.1Q VLAN Support v1.8
[ 2.361926] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.371301] Freeing unused kernel memory: 268K
[ 2.375804] This architecture does not have kernel memory protection.
[ 2.564029] random: fast init done
failed to find a module named zram
failed to find a module named ext4
[ 4.367384] init: Can't open /sys/block/zram0/disksize: No such file or direc
tory
[ 4.375544] init: Console is alive
[ 4.379250] init: - watchdog -
[ 4.408361] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.465210] kmodloader: done loading kernel modules from /etc/modules-boot.d/
*
[ 4.483450] init: - preinit -
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
[ 9.239842] jffs2: notice: (348) jffs2_build_xattr_subsystem: complete buildi
ng xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0
orphan) found.
[ 9.257482] mount_root: switching to jffs2 overlay
[ 9.301874] urandom-seed: Seeding with /etc/urandom.seed
Error loading shared library libgcc_s.so.1: No error information (needed by /bin
/cat)
Error relocating /bin/cat: __floatsidf: symbol not found
Error relocating /bin/cat: __nedf2: symbol not found
Error relocating /bin/cat: __floatunsidf: symbol not found
Error relocating /bin/cat: __truncdfsf2: symbol not found
Error relocating /bin/cat: __eqdf2: symbol not found
Error relocating /bin/cat: __floatdidf: symbol not found
Error relocating /bin/cat: __ashldi3: symbol not found
Error relocating /bin/cat: __divdf3: symbol not found
Error relocating /bin/cat: __ltdf2: symbol not found
Error relocating /bin/cat: __gedf2: symbol not found
Error relocating /bin/cat: __fixunsdfsi: symbol not found
Error relocating /bin/cat: __lshrdi3: symbol not found
Error relocating /bin/cat: __ashrdi3: symbol not found
Error relocating /bin/cat: __gtdf2: symbol not found
Error relocating /bin/cat: __divdi3: symbol not found
Error relocating /bin/cat: __ledf2: symbol not found
Error relocating /bin/cat: __muldf3: symbol not found
Error relocating /bin/cat: __fixdfdi: symbol not found
Error relocating /bin/cat: __udivdi3: symbol not found
Error relocating /bin/cat: __moddi3: symbol not found
Error relocating /bin/cat: __subdf3: symbol not found
Error relocating /bin/cat: __adddf3: symbol not found
Error relocating /bin/cat: __fixdfsi: symbol not found
Error relocating /bin/cat: __extendsfdf2: symbol not found
Error loading shared library libuci.so: No error information (needed by /sbin/uc
i)
Error loading shared library libubox.so: No error information (needed by /sbin/u
ci)
Error loading shared library libgcc_s.so.1: No error information (needed by /sbi
n/uci)
Error relocating /sbin/uci: uci_revert: symbol not found
Error relocating /sbin/uci: uci_parse[ 9.485964] ath79_wdt: device closed une
xpectedly, watchdog timer will not stop!
_argument: symbol not found
Error relocating /sbin/uci: uci_add_list: symbol not found
Error relocating /sbin/uci: uci_list_configs: symbol not found
Error relocating /sbin/uci: uci_set_savedir: symbol not found
Error relocating /sbin/uci: uci_free_context: symbol not found
Error relocating /sbin/uci: uci_delete: symbol not found
Error relocating /sbin/uci: uci_import: symbol not found
Error relocating /sbin/uci: uci_save: symbol not found
Error relocating /sbin/uci: uci_load: symbol not found
Error relocating /sbin/uci: uci_export: symbol not found
Error relocating /sbin/uci: uci_rename: symbol not found
Error relocating /sbin/uci: uci_set_confdir: symbol not found
Error relocating /sbin/uci: uci_reorder_section: symbol not found
Error relocating /sbin/uci: uci_unload: symbol not found
Error relocating /sbin/uci: uci_perror: symbol not found
Error relocating /sbin/uci: uci_lookup_ptr: symbol not found
Error relocating /sbin/uci: uci_add_delta_path: symbol not found
Error relocating /sbin/uci: uci_add_section: symbol not found
Error relocating /sbin/uci: uci_set: symbol not found
Error relocating /sbin/uci: uci_alloc_context: symbol not found
Error relocating /sbin/uci: uci_del_list: symbol not found
Error relocating /sbin/uci: uci_commit: symbol not found
Error loading shared library libgcc_s.so.1: No error information (needed by /bin
/cat)
Error relocating /bin/cat: __floatsidf: symbol not found
Error relocating /bin/cat: __nedf2: symbol not found
Error relocating /bin/cat: __floatunsidf: symbol not found
Error relocating /bin/cat: __truncdfsf2: symbol not found
Error relocating /bin/cat: __eqdf2: symbol not found
Error relocating /bin/cat: __floatdidf: symbol not found
Error relocating /bin/cat: __ashldi3: symbol not found
Error relocating /bin/cat: __divdf3: symbol not found
Error relocating /bin/cat: __ltdf2: symbol not found
Error relocating /bin/cat: __gedf2: symbol not found
Error relocating /bin/cat: __fixunsdfsi: symbol not found
Error relocating /bin/cat: __lshrdi3: symbol not found
Error relocating /bin/cat: __ashrdi3: symbol not found
Error relocating /bin/cat: __gtdf2: symbol not found
Error relocating /bin/cat: __divdi3: symbol not found
Error relocating /bin/cat: __ledf2: symbol not found
Error relocating /bin/cat: __muldf3: symbol not found
Error relocating /bin/cat: __fixdfdi: symbol not found
Error relocating /bin/cat: __udivdi3: symbol not found
Error relocating /bin/cat: __moddi3: symbol not found
Error relocating /bin/cat: __subdf3: symbol not found
Error relocating /bin/cat: __adddf3: symbol not found
Error relocating /bin/cat: __fixdfsi: symbol not found
Error relocating /bin/cat: __extendsfdf2: symbol not found
Error loading shared library libgcc_s.so.1: No error information (needed by /bin
/grep)
Error relocating /bin/grep: __floatsidf: symbol not found
Error relocating /bin/grep: __nedf2: symbol not found
Error relocating /bin/grep: __floatunsidf: symbol not found
Error relocating /bin/grep: __truncdfsf2: symbol not found
Error relocating /bin/grep: __eqdf2: symbol not found
Error relocating /bin/grep: __floatdidf: symbol not found
Error relocating /bin/grep: __ashldi3: symbol not found
Error relocating /bin/grep: __divdf3: symbol not found
Error relocating /bin/grep: __ltdf2: symbol not found
Error relocating /bin/grep: __gedf2: symbol not found
Error relocating /bin/grep: __fixunsdfsi: symbol not found
Error relocating /bin/grep: __lshrdi3: symbol not found
Error relocating /bin/grep: __ashrdi3: symbol not found
Error relocating /bin/grep: __gtdf2: symbol not found
Error relocating /bin/grep: __divdi3: symbol not found
Error relocating /bin/grep: __ledf2: symbol not found
Error relocating /bin/grep: __muldf3: symbol not found
Error relocating /bin/grep: __fixdfdi: symbol not found
Error relocating /bin/grep: __udivdi3: symbol not found
Error relocating /bin/grep: __moddi3: symbol not found
Error relocating /bin/grep:Error loading shared library libubox.so: No error inf
ormation (n
Error relocati
Error relocatiError relocating[ 9.874158] Kernel panic - not syncing: Attempt
ed to kill init! exitcode=0x00007f00
[ 9.874158]
[ 9.883339] Rebooting in 1 seconds..
U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56)
Board: Ubiquiti Networks XM board (rev 1.1 e4a2)
DRAM: 32 MB
Flash: 8 MB
PCIe WLAN Module found (#1).
Net: eth0, eth1
Hit any key to stop autoboot: 0
## Booting image at 9f050000 ...
Image Name: MIPS AREDN Linux-4.9.152
Created: 2019-01-30 12:21:02 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1170472 Bytes = 1.1 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 4.9.152 (aredn@50697435f5b7) (gcc version 7.3.0 (Op
enWrt GCC 7.3.0 r7676-cddd7b4c77) ) #0 Wed Jan 30 12:21:02 2019
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7241 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 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-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 8128
[ 0.000000] Kernel command line: board=UBNT-AR mtdparts=spi0.0:256k(u-boot)r
o,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,1152
00 rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 28208K/32768K available (2891K kernel code, 156K rwdata,
324K rodata, 268K init, 198K bss, 4560K 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:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.00
0MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i
dle_ns: 9801335621 ns
[ 0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012
737021ns
[ 0.007895] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[ 0.080547] pid_max: default: 32768 minimum: 301
[ 0.085311] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.091908] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.102938] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
x_idle_ns: 19112604462750000 ns
[ 0.112775] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.119694] NET: Registered protocol family 16
[ 0.126289] MIPS: machine is Ubiquiti AirRouter
[ 0.636626] registering PCI controller with io_map_base unset
[ 0.642581] Can't analyze schedule() prologue at 8032f6f0
[ 0.662381] PCI host bridge to bus 0000:00
[ 0.666484] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.673384] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.678929] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.685684] pci_bus 0000:00: No busn resource found for root bus, will use [b
us 00-ff]
[ 0.693620] pci 0000:00:00.0: fixup device configuration
[ 0.700757] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bi
t]
[ 0.708058] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.714024] clocksource: Switched to clocksource MIPS
[ 0.720573] NET: Registered protocol family 2
[ 0.726186] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.733147] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.739557] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.746068] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.751905] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.758518] NET: Registered protocol family 1
[ 0.770999] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[ 0.787735] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.793539] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT
Y) (c) 2001-2006 Red Hat, Inc.
[ 0.816425] io scheduler noop registered
[ 0.820334] io scheduler deadline registered (default)
[ 0.826030] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.832926] console [ttyS0] disabled
[ 0.856583] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 121
87500) is a 16550A
[ 0.865259] console [ttyS0] enabled
[ 0.865259] console [ttyS0] enabled
[ 0.872245] bootconsole [early0] disabled
[ 0.872245] bootconsole [early0] disabled
[ 0.885339] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.891779] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.896783] 5 cmdlinepart partitions found on MTD device spi0.0
[ 0.902722] Creating 5 MTD partitions on "spi0.0":
[ 0.907551] 0x000000000000-0x000000040000 : "u-boot"
[ 0.915400] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.923580] 0x000000050000-0x0000007b0000 : "firmware"
[ 0.941297] 2 uimage-fw partitions found on MTD device firmware
[ 0.947309] 0x000000050000-0x000000170000 : "kernel"
[ 0.954342] 0x000000170000-0x0000007b0000 : "rootfs"
[ 0.961686] mtd: device 4 (rootfs) set to be root filesystem
[ 0.967484] 1 squashfs-split partitions found on MTD device rootfs
[ 0.973710] 0x0000005f0000-0x0000007b0000 : "rootfs_data"
[ 0.982122] 0x0000007b0000-0x0000007f0000 : "cfg"
[ 0.989780] 0x0000007f0000-0x000000800000 : "EEPROM"
[ 0.999122] libphy: Fixed MDIO Bus: probed
[ 1.018244] libphy: ag71xx_mdio: probed
[ 1.645506] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[ 1.697643] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.325721] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd0
41, driver=Generic PHY]
[ 2.335980] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.343268] NET: Registered protocol family 17
[ 2.348031] 8021q: 802.1Q VLAN Support v1.8
[ 2.361936] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.371305] Freeing unused kernel memory: 268K
[ 2.375800] This architecture does not have kernel memory protection.
[ 2.564046] random: fast init done
failed to find a module named zram
failed to find a module named ext4
[ 4.367351] init: Can't open /sys/block/zram0/disksize: No such file or direc
tory
[ 4.375485] init: Console is alive
[ 4.379183] init: - watchdog -
[ 4.408298] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.465149] kmodloader: done loading kernel modules from /etc/modules-boot.d/
*
[ 4.483395] init: - preinit -
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
....
and keeps repeating...
I can talk to the airrouter: During a reeboot, it says at one point to hit any key:
U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56)
Board: Ubiquiti Networks XM board (rev 1.1 e4a2)
DRAM: 32 MB
Flash: 8 MB
PCIe WLAN Module found (#1).
Net: eth0, eth1
Hit any key to stop autoboot: 0
ar7240> hhh
Unknown command 'hhh' - try 'help'
ar7240> buybuyg
Unknown command 'buybuyg' - try 'help'
ar7240> ls
Unknown command 'ls' - try 'help'
ar7240> help
? - alias for 'help'
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
echo - echo args to console
erase - erase FLASH memory
flinfo - print FLASH memory information
go - start application at address 'addr'
help - print online help
iminfo - print header information for application image
imls - list all images found in flash
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing)
mtdparts- define flash/nand partitions
mtest - simple RAM test
mw - memory write (fill)
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sleep - delay execution for some time
tftpboot- boot image via network using TFTP protocol
urescue - start TFTP server and wait for firmware
version - print monitor version
autoscr - run script from memory
ar7240> version
U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56)
ar7240>
So it looks like I could do the urescue command and send the firmware, hopefully over this serial interface.
Question is how I am to do this. TIA 73 de WA2ISE
I opened up the Airrouter, to see if maybe there was a bad electroytic cap or such I could fix. That wasn't it. I then saw a header on the board "UART" I connected a TTL level serial connection to that and my PC. For once I guessed correct as to which pin is TX and RX. Upon powerup I get:
U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56)
Board: Ubiquiti Networks XM board (rev 1.1 e4a2)
DRAM: 32 MB
Flash: 8 MB
PCIe WLAN Module found (#1).
Net: eth0, eth1
Hit any key to stop autoboot: 0
## Booting image at 9f050000 ...
Image Name: MIPS AREDN Linux-4.9.152
Created: 2019-01-30 12:21:02 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1170472 Bytes = 1.1 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 4.9.152 (aredn@50697435f5b7) (gcc version 7.3.0 (Op
enWrt GCC 7.3.0 r7676-cddd7b4c77) ) #0 Wed Jan 30 12:21:02 2019
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7241 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 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-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 8128
[ 0.000000] Kernel command line: board=UBNT-AR mtdparts=spi0.0:256k(u-boot)r
o,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,1152
00 rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 28208K/32768K available (2891K kernel code, 156K rwdata,
324K rodata, 268K init, 198K bss, 4560K 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:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.00
0MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i
dle_ns: 9801335621 ns
[ 0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012
737021ns
[ 0.007895] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[ 0.080547] pid_max: default: 32768 minimum: 301
[ 0.085311] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.091900] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.102931] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
x_idle_ns: 19112604462750000 ns
[ 0.112767] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.119687] NET: Registered protocol family 16
[ 0.126282] MIPS: machine is Ubiquiti AirRouter
[ 0.636619] registering PCI controller with io_map_base unset
[ 0.642573] Can't analyze schedule() prologue at 8032f6f0
[ 0.662372] PCI host bridge to bus 0000:00
[ 0.666476] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.673375] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.678920] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.685676] pci_bus 0000:00: No busn resource found for root bus, will use [b
us 00-ff]
[ 0.693612] pci 0000:00:00.0: fixup device configuration
[ 0.700745] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bi
t]
[ 0.708041] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.714007] clocksource: Switched to clocksource MIPS
[ 0.720557] NET: Registered protocol family 2
[ 0.726169] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.733130] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.739540] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.746051] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.751888] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.758501] NET: Registered protocol family 1
[ 0.770982] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[ 0.787718] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.793522] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT
Y) (c) 2001-2006 Red Hat, Inc.
[ 0.816407] io scheduler noop registered
[ 0.820317] io scheduler deadline registered (default)
[ 0.826013] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.832909] console [ttyS0] disabled
[ 0.856575] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 121
87500) is a 16550A
[ 0.865254] console [ttyS0] enabled
[ 0.865254] console [ttyS0] enabled
[ 0.872239] bootconsole [early0] disabled
[ 0.872239] bootconsole [early0] disabled
[ 0.885331] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.891765] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.896768] 5 cmdlinepart partitions found on MTD device spi0.0
[ 0.902707] Creating 5 MTD partitions on "spi0.0":
[ 0.907537] 0x000000000000-0x000000040000 : "u-boot"
[ 0.915385] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.923564] 0x000000050000-0x0000007b0000 : "firmware"
[ 0.941287] 2 uimage-fw partitions found on MTD device firmware
[ 0.947302] 0x000000050000-0x000000170000 : "kernel"
[ 0.954337] 0x000000170000-0x0000007b0000 : "rootfs"
[ 0.961679] mtd: device 4 (rootfs) set to be root filesystem
[ 0.967479] 1 squashfs-split partitions found on MTD device rootfs
[ 0.973703] 0x0000005f0000-0x0000007b0000 : "rootfs_data"
[ 0.982116] 0x0000007b0000-0x0000007f0000 : "cfg"
[ 0.989774] 0x0000007f0000-0x000000800000 : "EEPROM"
[ 0.999115] libphy: Fixed MDIO Bus: probed
[ 1.018238] libphy: ag71xx_mdio: probed
[ 1.645489] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[ 1.697626] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.325704] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd0
41, driver=Generic PHY]
[ 2.335965] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.343254] NET: Registered protocol family 17
[ 2.348016] 8021q: 802.1Q VLAN Support v1.8
[ 2.361926] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.371301] Freeing unused kernel memory: 268K
[ 2.375804] This architecture does not have kernel memory protection.
[ 2.564029] random: fast init done
failed to find a module named zram
failed to find a module named ext4
[ 4.367384] init: Can't open /sys/block/zram0/disksize: No such file or direc
tory
[ 4.375544] init: Console is alive
[ 4.379250] init: - watchdog -
[ 4.408361] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.465210] kmodloader: done loading kernel modules from /etc/modules-boot.d/
*
[ 4.483450] init: - preinit -
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
[ 9.239842] jffs2: notice: (348) jffs2_build_xattr_subsystem: complete buildi
ng xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0
orphan) found.
[ 9.257482] mount_root: switching to jffs2 overlay
[ 9.301874] urandom-seed: Seeding with /etc/urandom.seed
Error loading shared library libgcc_s.so.1: No error information (needed by /bin
/cat)
Error relocating /bin/cat: __floatsidf: symbol not found
Error relocating /bin/cat: __nedf2: symbol not found
Error relocating /bin/cat: __floatunsidf: symbol not found
Error relocating /bin/cat: __truncdfsf2: symbol not found
Error relocating /bin/cat: __eqdf2: symbol not found
Error relocating /bin/cat: __floatdidf: symbol not found
Error relocating /bin/cat: __ashldi3: symbol not found
Error relocating /bin/cat: __divdf3: symbol not found
Error relocating /bin/cat: __ltdf2: symbol not found
Error relocating /bin/cat: __gedf2: symbol not found
Error relocating /bin/cat: __fixunsdfsi: symbol not found
Error relocating /bin/cat: __lshrdi3: symbol not found
Error relocating /bin/cat: __ashrdi3: symbol not found
Error relocating /bin/cat: __gtdf2: symbol not found
Error relocating /bin/cat: __divdi3: symbol not found
Error relocating /bin/cat: __ledf2: symbol not found
Error relocating /bin/cat: __muldf3: symbol not found
Error relocating /bin/cat: __fixdfdi: symbol not found
Error relocating /bin/cat: __udivdi3: symbol not found
Error relocating /bin/cat: __moddi3: symbol not found
Error relocating /bin/cat: __subdf3: symbol not found
Error relocating /bin/cat: __adddf3: symbol not found
Error relocating /bin/cat: __fixdfsi: symbol not found
Error relocating /bin/cat: __extendsfdf2: symbol not found
Error loading shared library libuci.so: No error information (needed by /sbin/uc
i)
Error loading shared library libubox.so: No error information (needed by /sbin/u
ci)
Error loading shared library libgcc_s.so.1: No error information (needed by /sbi
n/uci)
Error relocating /sbin/uci: uci_revert: symbol not found
Error relocating /sbin/uci: uci_parse[ 9.485964] ath79_wdt: device closed une
xpectedly, watchdog timer will not stop!
_argument: symbol not found
Error relocating /sbin/uci: uci_add_list: symbol not found
Error relocating /sbin/uci: uci_list_configs: symbol not found
Error relocating /sbin/uci: uci_set_savedir: symbol not found
Error relocating /sbin/uci: uci_free_context: symbol not found
Error relocating /sbin/uci: uci_delete: symbol not found
Error relocating /sbin/uci: uci_import: symbol not found
Error relocating /sbin/uci: uci_save: symbol not found
Error relocating /sbin/uci: uci_load: symbol not found
Error relocating /sbin/uci: uci_export: symbol not found
Error relocating /sbin/uci: uci_rename: symbol not found
Error relocating /sbin/uci: uci_set_confdir: symbol not found
Error relocating /sbin/uci: uci_reorder_section: symbol not found
Error relocating /sbin/uci: uci_unload: symbol not found
Error relocating /sbin/uci: uci_perror: symbol not found
Error relocating /sbin/uci: uci_lookup_ptr: symbol not found
Error relocating /sbin/uci: uci_add_delta_path: symbol not found
Error relocating /sbin/uci: uci_add_section: symbol not found
Error relocating /sbin/uci: uci_set: symbol not found
Error relocating /sbin/uci: uci_alloc_context: symbol not found
Error relocating /sbin/uci: uci_del_list: symbol not found
Error relocating /sbin/uci: uci_commit: symbol not found
Error loading shared library libgcc_s.so.1: No error information (needed by /bin
/cat)
Error relocating /bin/cat: __floatsidf: symbol not found
Error relocating /bin/cat: __nedf2: symbol not found
Error relocating /bin/cat: __floatunsidf: symbol not found
Error relocating /bin/cat: __truncdfsf2: symbol not found
Error relocating /bin/cat: __eqdf2: symbol not found
Error relocating /bin/cat: __floatdidf: symbol not found
Error relocating /bin/cat: __ashldi3: symbol not found
Error relocating /bin/cat: __divdf3: symbol not found
Error relocating /bin/cat: __ltdf2: symbol not found
Error relocating /bin/cat: __gedf2: symbol not found
Error relocating /bin/cat: __fixunsdfsi: symbol not found
Error relocating /bin/cat: __lshrdi3: symbol not found
Error relocating /bin/cat: __ashrdi3: symbol not found
Error relocating /bin/cat: __gtdf2: symbol not found
Error relocating /bin/cat: __divdi3: symbol not found
Error relocating /bin/cat: __ledf2: symbol not found
Error relocating /bin/cat: __muldf3: symbol not found
Error relocating /bin/cat: __fixdfdi: symbol not found
Error relocating /bin/cat: __udivdi3: symbol not found
Error relocating /bin/cat: __moddi3: symbol not found
Error relocating /bin/cat: __subdf3: symbol not found
Error relocating /bin/cat: __adddf3: symbol not found
Error relocating /bin/cat: __fixdfsi: symbol not found
Error relocating /bin/cat: __extendsfdf2: symbol not found
Error loading shared library libgcc_s.so.1: No error information (needed by /bin
/grep)
Error relocating /bin/grep: __floatsidf: symbol not found
Error relocating /bin/grep: __nedf2: symbol not found
Error relocating /bin/grep: __floatunsidf: symbol not found
Error relocating /bin/grep: __truncdfsf2: symbol not found
Error relocating /bin/grep: __eqdf2: symbol not found
Error relocating /bin/grep: __floatdidf: symbol not found
Error relocating /bin/grep: __ashldi3: symbol not found
Error relocating /bin/grep: __divdf3: symbol not found
Error relocating /bin/grep: __ltdf2: symbol not found
Error relocating /bin/grep: __gedf2: symbol not found
Error relocating /bin/grep: __fixunsdfsi: symbol not found
Error relocating /bin/grep: __lshrdi3: symbol not found
Error relocating /bin/grep: __ashrdi3: symbol not found
Error relocating /bin/grep: __gtdf2: symbol not found
Error relocating /bin/grep: __divdi3: symbol not found
Error relocating /bin/grep: __ledf2: symbol not found
Error relocating /bin/grep: __muldf3: symbol not found
Error relocating /bin/grep: __fixdfdi: symbol not found
Error relocating /bin/grep: __udivdi3: symbol not found
Error relocating /bin/grep: __moddi3: symbol not found
Error relocating /bin/grep:Error loading shared library libubox.so: No error inf
ormation (n
Error relocati
Error relocatiError relocating[ 9.874158] Kernel panic - not syncing: Attempt
ed to kill init! exitcode=0x00007f00
[ 9.874158]
[ 9.883339] Rebooting in 1 seconds..
U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56)
Board: Ubiquiti Networks XM board (rev 1.1 e4a2)
DRAM: 32 MB
Flash: 8 MB
PCIe WLAN Module found (#1).
Net: eth0, eth1
Hit any key to stop autoboot: 0
## Booting image at 9f050000 ...
Image Name: MIPS AREDN Linux-4.9.152
Created: 2019-01-30 12:21:02 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1170472 Bytes = 1.1 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 4.9.152 (aredn@50697435f5b7) (gcc version 7.3.0 (Op
enWrt GCC 7.3.0 r7676-cddd7b4c77) ) #0 Wed Jan 30 12:21:02 2019
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7241 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 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-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 8128
[ 0.000000] Kernel command line: board=UBNT-AR mtdparts=spi0.0:256k(u-boot)r
o,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,1152
00 rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 28208K/32768K available (2891K kernel code, 156K rwdata,
324K rodata, 268K init, 198K bss, 4560K 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:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.00
0MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i
dle_ns: 9801335621 ns
[ 0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012
737021ns
[ 0.007895] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[ 0.080547] pid_max: default: 32768 minimum: 301
[ 0.085311] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.091908] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.102938] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
x_idle_ns: 19112604462750000 ns
[ 0.112775] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.119694] NET: Registered protocol family 16
[ 0.126289] MIPS: machine is Ubiquiti AirRouter
[ 0.636626] registering PCI controller with io_map_base unset
[ 0.642581] Can't analyze schedule() prologue at 8032f6f0
[ 0.662381] PCI host bridge to bus 0000:00
[ 0.666484] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.673384] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.678929] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.685684] pci_bus 0000:00: No busn resource found for root bus, will use [b
us 00-ff]
[ 0.693620] pci 0000:00:00.0: fixup device configuration
[ 0.700757] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bi
t]
[ 0.708058] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.714024] clocksource: Switched to clocksource MIPS
[ 0.720573] NET: Registered protocol family 2
[ 0.726186] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.733147] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.739557] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.746068] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.751905] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.758518] NET: Registered protocol family 1
[ 0.770999] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[ 0.787735] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.793539] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT
Y) (c) 2001-2006 Red Hat, Inc.
[ 0.816425] io scheduler noop registered
[ 0.820334] io scheduler deadline registered (default)
[ 0.826030] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.832926] console [ttyS0] disabled
[ 0.856583] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 121
87500) is a 16550A
[ 0.865259] console [ttyS0] enabled
[ 0.865259] console [ttyS0] enabled
[ 0.872245] bootconsole [early0] disabled
[ 0.872245] bootconsole [early0] disabled
[ 0.885339] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.891779] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.896783] 5 cmdlinepart partitions found on MTD device spi0.0
[ 0.902722] Creating 5 MTD partitions on "spi0.0":
[ 0.907551] 0x000000000000-0x000000040000 : "u-boot"
[ 0.915400] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.923580] 0x000000050000-0x0000007b0000 : "firmware"
[ 0.941297] 2 uimage-fw partitions found on MTD device firmware
[ 0.947309] 0x000000050000-0x000000170000 : "kernel"
[ 0.954342] 0x000000170000-0x0000007b0000 : "rootfs"
[ 0.961686] mtd: device 4 (rootfs) set to be root filesystem
[ 0.967484] 1 squashfs-split partitions found on MTD device rootfs
[ 0.973710] 0x0000005f0000-0x0000007b0000 : "rootfs_data"
[ 0.982122] 0x0000007b0000-0x0000007f0000 : "cfg"
[ 0.989780] 0x0000007f0000-0x000000800000 : "EEPROM"
[ 0.999122] libphy: Fixed MDIO Bus: probed
[ 1.018244] libphy: ag71xx_mdio: probed
[ 1.645506] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[ 1.697643] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.325721] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd0
41, driver=Generic PHY]
[ 2.335980] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.343268] NET: Registered protocol family 17
[ 2.348031] 8021q: 802.1Q VLAN Support v1.8
[ 2.361936] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.371305] Freeing unused kernel memory: 268K
[ 2.375800] This architecture does not have kernel memory protection.
[ 2.564046] random: fast init done
failed to find a module named zram
failed to find a module named ext4
[ 4.367351] init: Can't open /sys/block/zram0/disksize: No such file or direc
tory
[ 4.375485] init: Console is alive
[ 4.379183] init: - watchdog -
[ 4.408298] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.465149] kmodloader: done loading kernel modules from /etc/modules-boot.d/
*
[ 4.483395] init: - preinit -
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
....
and keeps repeating...
I can talk to the airrouter: During a reeboot, it says at one point to hit any key:
U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56)
Board: Ubiquiti Networks XM board (rev 1.1 e4a2)
DRAM: 32 MB
Flash: 8 MB
PCIe WLAN Module found (#1).
Net: eth0, eth1
Hit any key to stop autoboot: 0
ar7240> hhh
Unknown command 'hhh' - try 'help'
ar7240> buybuyg
Unknown command 'buybuyg' - try 'help'
ar7240> ls
Unknown command 'ls' - try 'help'
ar7240> help
? - alias for 'help'
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
echo - echo args to console
erase - erase FLASH memory
flinfo - print FLASH memory information
go - start application at address 'addr'
help - print online help
iminfo - print header information for application image
imls - list all images found in flash
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing)
mtdparts- define flash/nand partitions
mtest - simple RAM test
mw - memory write (fill)
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sleep - delay execution for some time
tftpboot- boot image via network using TFTP protocol
urescue - start TFTP server and wait for firmware
version - print monitor version
autoscr - run script from memory
ar7240> version
U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56)
ar7240>
So it looks like I could do the urescue command and send the firmware, hopefully over this serial interface.
Question is how I am to do this. TIA 73 de WA2ISE
I was able to get it working. I did a urescue, and using a TFTP program (the router was listening to 192.168.1.20) sent the factory SW to it (It barfed on the sysupgrade one, said it didn't check out right). Version 3.20.3.0 now, works except it won't save the location information (grid square, latatude, and longatude). Other things did save though.