ktulu
-
Posts
6 -
Joined
-
Last visited
Posts posted by ktulu
-
-
Oh dear, I feel like an idiot. Thanks guys for being patient. Mine seems to be working now, but my friend is still having difficulties. We've tried everything we could think of, but it's trapped in the loop (sounds like a good movie plot, no?). Any thoughts? I'll get him to post his flash log soon.
Edit: Scratch that. I flashed it with the jasager firmware and get the exact same loop as before. WTH
Edit2: If I try to drop into the Hornet shell, it either loops again or kernel panics. I've reflashed a load of times.
-
Oh crap, forgot the flashing part. I'll edit this post with a log of it.
-
Thanks, you guys are awesome. If it helps, I noticed that if the ethernet cable is not plugged in, I can drop into a shell as root@Hornet:\#. Plugging it in instantly starts the boot loop. Here you go:
Reserving 248k for U-Boot at: 81fc0000
Reserving 192k for malloc() at: 81f90000
Reserving 44 Bytes for Board Info at: 81f8ffd4
Reserving 36 Bytes for Global Data at: 81f8ffb0
Reserving 128k for boot params() at: 81f6ffb0
Stack Pointer at: 81f6ff98
Now running in RAM - U-Boot at: 81fc0000
id read 0x100000ff
flash size 8388608, sector count = 128
Flash: 8 MB
In: serial
Out: serial
Err: serial
Net: ag7240_enet_initialize...
Fetching MAC Address from 0x81feb688
Fetching MAC Address from 0x81feb688
: cfg1 0x5 cfg2 0x7114
eth0: 00:c0:ca:60:de:b1
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:c0:ca:60:de:b0
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Please choose the operation:
1: Entr boot command line interface.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default). 0
System Boot system code via Flash.
## Booting image at 9f650000 ...
Image Name: MIPS OpenWrt Linux-2.6.39.4
Created: 2011-11-06 19:35:55 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 878874 Bytes = 858.3 kB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x9f650040 ...OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 33554432
Starting kernel ...
Linux version 2.6.39.4 (mikko@Orz) (gcc version 4.5.4 20110808 (prerelease) (Lin aro GCC 4.5-2011.08) ) #2 Mon Nov 7 03:35:44 CST 2011
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
SoC: Atheros AR9330 rev 1
Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00002000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: board=ALFA console=ttyATH0,115200 rootfstype=squashfs,jffs 2 noinitrd mem=32M rootfstype=squashfs,jffs2 noinitrd
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 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: 29340k/32768k available (2035k kernel code, 3428k reserved, 392k data, 1 80k init, 0k highmem)
SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:80
Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is Atheros ALFA
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
console [ttyATH0] enabled, bootconsole disabled
console [ttyATH0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: found mx25l6405d, expected m25p80
m25p80 spi0.0: mx25l6405d (8192 Kbytes)
Searching for RedBoot partition table in spi0.0 at offset 0x7e0000
Searching for RedBoot partition table in spi0.0 at offset 0x7f0000
No RedBoot partition table detected in spi0.0
spi0.0: no WRT160NL signature found
Creating 7 MTD partitions on "spi0.0":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000050000 : "u-boot-env"
0x000000050000-0x000000650000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=290000, len=3C0000
0x000000290000-0x000000650000 : "rootfs_data"
0x000000650000-0x0000007e0000 : "kernel"
0x0000007e0000-0x0000007f0000 : "NVRAM"
0x0000007f0000-0x000000800000 : "ART"
0x000000050000-0x0000007e0000 : "firmware"
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xba000000, irq 5
eth0: Found an AR7240 built-in switch
eth1: Atheros AG71xx at 0xb9000000, irq 4
Atheros AR71xx hardware watchdog driver version 0.1.0
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 180k freed
input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
eth0: link up (1000Mbps/Full duplex)
- regular preinit -
JFFS2 notice: (424) jffs2_build_xattr_subsystem: complete building xattr subsyst em, 1 of xdatum (0 unchecked, 0 orphan) and 10 of xref (0 dead, 2 orphan) found.
switching to jffs2
- init -
eth0: link down
Please press Enter to activate this console. Compat-wireless backport release: c ompat-wireless-2011-10-14
Backport based on wireless-testing.git master-2011-11-04
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
NET: Registered protocol family 10
ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
cfg80211: Calling CRDA for country: US
cfg80211: Regulatory domain changed to country: US
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
PPP generic driver version 2.4.2
IPv6 over IPv4 tunneling driver
ip_tables: © 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (461 buckets, 1844 max)
xt_time: kernel timezone is -0000
ADDRCONF(NETDEV_UP): eth0: link is not ready
eth0: link up (1000Mbps/Full duplex)
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering forwarding state
br-lan: port 1(eth0) entering forwarding state
ADDRCONF(NETDEV_UP): eth1: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
br-lan: port 2(wlan0) entering forwarding state
^repeat^
-
Hmm, that does sound very odd. It seems as if something went wrong during the clean flash. I can't tell you what as it happened for both of you, I have never had issues flashing over serial.
Just try flashing over it again - see if that helps at all.
I've flashed it several times, but I did it again just in case. Same story. Is there a chance that we have a revised version of the ap121u or something?
-
[sOLVED!]
For those of you having the same problem as me, I fixed it by using the power cable that it was shipped with, rather than the USB power cable. Because I am in the UK, I had to use a shaver to mains adapter.
Thanks everyone.
Hey guys, me and a friend got our hands on the AP121U via ebay and were hoping to flash them with the Jasager firmware.
We followed the guide to the letter and used UART cables to flash the factory binaries onto the devices. However, they enter into a boot loop after resetting them.
I can hit 'f' and return to drop into failsafe mode, where we're presented with the following prompt:
root@(none):/#
I've tried starting dropbear to scp over the Jasager files to /tmp/, but I can't even establish a connection (yeah, I'm using the PoE port).
Any ideas would be much appreciated.
P.S. I thought it could have been a dodgy AP121U, but my friend's does EXACTLY the same thing as mine.
Trouble Flashing The Ap121U With Factory Binaries
in WiFi Pineapple Mark IV
Posted
OK, so I finally got round to copying those flash logs for you. I've kept a few loops at the end as well: