Jump to content

Trouble Flashing The Ap121U With Factory Binaries


Recommended Posts

[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.

Edited by ktulu
Link to post
Share on other sites

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.

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.

Link to post
Share on other sites

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?

Link to post
Share on other sites

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^

Link to post
Share on other sites

When you see:


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).
[/CODE]

Press 1 to enter command line ;) (i guess Seb is still a the pub) :P

Link to post
Share on other sites

When you see:


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).
[/CODE]

Press 1 to enter command line ;) (i guess Seb is still a the pub) :P

Wrong ;) He can flash the firmware fine but enters a "boot loop".

What he sees is just a log that is showing. Not a real loop.

All he needs to do is break out of the loop by hitting enter:

[color=#282828][font=helvetica, arial, sans-serif]switching to jffs2[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]- init -[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]eth0: link down[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif][b]Please press Enter to activate this console.[/b] [/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]Compat-wireless backport release: c ompat-wireless-2011-10-14[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]Backport based on wireless-testing.git master-2011-11-04[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]cfg80211: Calling CRDA to update world regulatory domain[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]cfg80211: World regulatory domain updated:[/font][/color]

So yeah - that is it. Pressing enter will drop you down into a Shell.

Best Regards,

Sebkinne

Link to post
Share on other sites

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.

Edited by ktulu
Link to post
Share on other sites

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.

No worries Ktulu, this stuff happens. I believe it does say to press enter on the cloud.wifipineapple.com/index.php?flashing site. Maybe we should change that to make it more obvious.

About your friend, this is odd. I suggest posting his boot log (just like yours). I am sure we can work out exactly what the issue is.

Best Regards,

Sebkinne

Link to post
Share on other sites

Ive had issues with serial flashing, I figured copy and pasting was pasing hidden charecters, so I endded up manually entering all the commands in. took 3 attempts that way.

but the last time I flashed I had no issues with copy and pasting.

Edited by petertfm
Link to post
Share on other sites

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.

Logs, logs, logs ;)

Link to post
Share on other sites

OK, so I finally got round to copying those flash logs for you. I've kept a few loops at the end as well:

U-Boot 1.1.4-g971cc15e-dirty (Sep 7 2011 - 11:44:55)

AP121-8MB (ar9331) U-boot

DRAM: 32 MB

Top of RAM usable for U-Boot at: 82000000

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).

You choosed 1

0

ar7240> setenv bootargs "board=ALFA console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd"

ar7240> saveenv

Saving Environment to Flash...

Protect off 9F040000 ... 9F04FFFF

Un-Protecting sectors 4..4 in bank 1

Un-Protected 1 sectors

Erasing Flash...Erase Flash from 0x9f040000 to 0x9f04ffff in Bank # 1

First 0x4 last 0x4 sector size 0x10000 4

Erased 1 sectors

Writing to Flash... write addr: 9f040000

done

Protecting sectors 4..4 in bank 1

Protected 1 sectors

ar7240> tftp 0x80600000 kernel.bin

eth0 link down

FAIL

dup 1 speed 1000

Using eth1 device

TFTP from server 192.168.2.11; our IP address is 192.168.2.1

Filename 'kernel.bin'.

Load address: 0x80600000

Loading: #################################################################

#################################################################

##########################################

done

Bytes transferred = 878938 (d695a hex)

ar7240> erase 0x9f650000 +0x190000

Erase Flash from 0x9f650000 to 0x9f7dffff in Bank # 1

First 0x65 last 0x7d sector size 0x10000 125

Erased 25 sectors

ar7240> cp.b 0x80600000 0x9f650000 d695a

Copy to Flash... write addr: 9f650000

done

ar7240> tftp 0x80600000 rootfs.bin

eth0 link down

FAIL

Using eth1 device

TFTP from server 192.168.2.11; our IP address is 192.168.2.1

Filename 'rootfs.bin'.

Load address: 0x80600000

Loading: #################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

####

done

Bytes transferred = 2347012 (23d004 hex)

ar7240> erase 0x9f050000 +0x600000

Erase Flash from 0x9f050000 to 0x9f64ffff in Bank # 1

First 0x5 last 0x64 sector size 0x10000 100

Erased 96 sectors

ar7240> cp.b 0x80600000 0x9f050000 23d004

Copy to Flash... write addr: 9f050000

done

ar7240> bootm 0x9f650000

## 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) (Linaro 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,jffs2 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, 180k 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: (423) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

switching to jffs2

- init -

eth0: link down

Compat-wireless backport release: compat-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

Please press Enter to activate this console.

BusyBox v1.19.3 (2011-11-05 06:39:38 CST) built-in shell (ash)

Enter 'help' for a list of built-in commands.

_______ ________ __

| |.-----.-----.-----.| | | |.----.| |_

| - || _ | -__| || | | || _|| _|

|_______|| __|_____|__|__||________||__| |____|

|__| W I R E L E S S F R E E D O M

ATTITUDE ADJUSTMENT (bleeding edge, r28772) ----------

* 1/4 oz Vodka Pour all ingredients into mixing

* 1/4 oz Gin tin with ice, strain into glass.

* 1/4 oz Amaretto

* 1/4 oz Triple sec

* 1/4 oz Peach schnapps

* 1/4 oz Sour mix

* 1 splash Cranberry juice

-----------------------------------------------------

root@(none):/# 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

rADDRCONF(NETDEV_UP): eth1: link is not ready

e

/bin/ash: re: not found

root@Hornet:/# 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

U-Boot 1.1.4-g971cc15e-dirty (Sep 7 2011 - 11:44:55)

AP121-8MB (ar9331) U-boot

DRAM: 32 MB

Top of RAM usable for U-Boot at: 82000000

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) (Linaro 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,jffs2 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, 180k 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 -

f

JFFS2 notice: (422) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 8 of xref (0 dead, 0 orphan) found.

switching to jffs2

- init -

eth0: link down

Please press Enter to activate this console.

BusyBox v1.19.3 (2011-11-05 06:39:38 CST) built-in shell (ash)

Enter 'help' for a list of built-in commands.

_______ ________ __

| |.-----.-----.-----.| | | |.----.| |_

| - || _ | -__| || | | || _|| _|

|_______|| __|_____|__|__||________||__| |____|

|__| W I R E L E S S F R E E D O M

ATTITUDE ADJUSTMENT (bleeding edge, r28772) ----------

* 1/4 oz Vodka Pour all ingredients into mixing

* 1/4 oz Gin tin with ice, strain into glass.

* 1/4 oz Amaretto

* 1/4 oz Triple sec

* 1/4 oz Peach schnapps

* 1/4 oz Sour mix

* 1 splash Cranberry juice

-----------------------------------------------------

root@(none):/# Compat-wireless backport release: compat-wireless-2011-10-14

Backport based on wireless-testing.git master-2011-11-04

fcfg80211: 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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...