openwrt+php+not+found,OpenWrt安装笔记,以及变砖恢复的经历

TFTP刷机时的串口Log

BUFFALO U-BOOT Ver 1.07

AP83--539 (ar9100) U-boot 0.0.12

64 MB

Memory Test (address line)

Memory Test start(0x00000000) end(0x04000000) size(67108864)

Data line test start:0x00000000 pattern 0x00000001 0x00000003 0x00000007 0x00000

00F 0x00000005 0x00000015 0x00000055 0xAAAAAAAA

Address line test start:0x00000000 len:0x4000000 pattern 0xAAAAAAAA 0x55555555

Fill test patnum:5

fill Pattern 5555AAAA  Writing...   Reading...

Top of RAM usable for U-Boot at: 84000000

Reserving 275k for U-Boot at: 83fb8000

Reserving 256k for malloc() at: 83f78000

Reserving 44 Bytes for Board Info at: 83f77fd4

Reserving 36 Bytes for Global Data at: 83f77fb0

Reserving 128k for boot params() at: 83f57fb0

Stack Pointer at: 83f57f98

Now running in RAM - U-Boot at: 83fb8000

Dev ID2:2222

Dev ID3:2201

Name: AMD-SPANSION Flash id: 0x1227E, Size: 33554432 bytes.

Flash: 32 MB

In:    serial

Out:   serial

Err:   serial

Memory Test

uboot use  83F57FB0 - 84000000

Memory Test start(80000000) end(83F00000) size(03F00000)

Pattern 00000000  Writing...  Reading...

Memory Test OK

### buf_ver=[1.07] U-Boot Ver.=[1.07]

### build_date(env)=[Dec 21 2009 - 10:37:11] build_date(bin)=[Dec 21 2009 - 10:3

7:11]

ag7100_enet_initialize...

: cfg1 0xf cfg2 0x7114

RTL8366 series driver, reading model-id...

ID:0x6027, REV:0x6

rtl8366sr_phy_setup  ethUnit=0

Realtek 8366SR switch ID 0x8366

Realtek Greeen Ethernet Setup

eth0: 02:aa:bb:cc:dd:1a

eth0 up

: cfg1 0xf cfg2 0x7114

RTL8366 series driver, reading model-id...

eth1: 02:aa:bb:cc:dd:1a

eth1 up

eth0  02:AA:BB:CC

36f4db531a985d797a36e8dc00ab81d2.gifD:1A

, eth1  02:AA:BB:CC

36f4db531a985d797a36e8dc00ab81d2.gifD:1A

Trying eth0

eth0 is duplex

ag7100_check_link: _100BASET

dup 1 speed 100

CFG_PLL_FREQ=5

CFG_HZ=bebc200

cpu pll=1050

eth pll=1032

eth0 clk pll=13000a44

eth0 mii=12

eth0 cfg1=f

eth0 cfg2=7115

eth0 fcfg_0=1d1f00

eth0 fcfg_1=7ff0000

eth0 fcfg_2=fff

eth0 fcfg_3=780008

eth0 fcfg_4=3ffff

eth0 fcfg_5=3ffff

tftp server(receive) go, waiting:4[sec]

Trying eth1

eth1 link down

FAIL

Trying eth0

eth0 is duplex

ag7100_check_link: _100BASET

Load address: 0x81f00000

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

tftp server done

Bytes transferred = 3145760 (300020 hex)

Airstation Public header

Recv fw image [3145728] bytes, now writing...

Erase Flash from 0xbe060000 to 0xbe35ffff in Bank # 1 First 0x3 last 0x1a

100%

Erased 24 sectors

Copy to Flash...

Copy 3145728 byte to Flash...

100%

done

## Booting image at be060000 ...

Image Name:   MIPS OpenWrt Linux-2.6.32.27

Created:      2011-12-21   1:04:01 UTC

Image Type:   MIPS Linux Kernel Image (lzma compressed)

Data Size:    894165 Bytes = 873.2 kB

Load Address: 80060000

Entry Point:  80060000

Verifying Checksum ... OK

Uncompressing Kernel Image ... OK

No initrd

## Transferring control to Linux (at address 80060000) ...

## Giving linux memsize in bytes, 67108864

Starting kernel ...

Linux version 2.6.32.27 (jow@nd-build-02.linux-appliance.net) (gcc version 4.3.3

(GCC) ) #5 Wed Dec 21 01:59:33 CET 2011

bootconsole [early0] enabled

CPU revision is: 00019374 (MIPS 24Kc)

Atheros AR9132 rev 2, CPU:400.000 MHz, AHB:200.000 MHz, DDR:400.000 MHz

Determined 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: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,1152

00 board=WZR-HP-G300NH

PID hash table entries: 256 (order: -2, 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: 61692k/65536k available (2126k kernel code, 3772k reserved, 423k data, 1

52k init, 0k highmem)

SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

Hierarchical RCU implementation.

NR_IRQS:56

Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)

Mount-cache hash table entries: 512

NET: Registered protocol family 16

MIPS: machine is Buffalo WZR-HP-G300NH

Found an RTL8366S switch

bio: create slab 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: 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

squashfs: version 4.0 (2009/01/31) Phillip Lougher

Registering mini_fo version $Id$

JFFS2 version 2.2. (NAND) (SUMMARY)  ?? 2001-2006 Red Hat, Inc.

yaffs Dec 10 2011 18:14:12 Installing.

msgmni has been set to 120

io scheduler noop registered

io scheduler deadline registered (default)

Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled

serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A

console [ttyS0] enabled, bootconsole disabled

console [ttyS0] enabled, bootconsole disabled

ar91xx-flash ar91xx-flash: 02000000 at 1e000000

ar91xx-flash: Found 1 x16 devices at 0x0 in 16-bit bank

CFI mfr 0x00000001

CFI id  0x00002201

Amd/Fujitsu Extended Query Table at 0x0040

Amd/Fujitsu Extended Query version 1.3.

ar91xx-flash: CFI does not contain boot bank location. Assuming top.

number of CFI chips: 1

cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.

ar91xx-flash ar91xx-flash: using static partition mapping

Creating 7 MTD partitions on "ar91xx-flash":

0x000000000000-0x000000040000 : "u-boot"

0x000000040000-0x000000060000 : "u-boot-env"

0x000000060000-0x000000160000 : "kernel"

0x000000160000-0x000001fc0000 : "rootfs"

mtd: partition "rootfs" set to be root filesystem

mtd: partition "rootfs_data" created automatically, ofs=340000, len=1C80000

0x000000340000-0x000001fc0000 : "rootfs_data"

0x000001fc0000-0x000001fe0000 : "user_property"

0x000001fe0000-0x000002000000 : "art"

0x000000060000-0x000001fc0000 : "firmware"

Atheros AR71xx SPI Controller driver version 0.2.4

Realtek RTL8366S ethernet switch driver version 0.2.2

rtl8366s rtl8366s: using GPIO pins 19 (SDA) and 20 (SCK)

rtl8366s rtl8366s: RTL8366 ver. 1 chip found

rtl8366s: probed

eth0: Atheros AG71xx at 0xb9000000, irq 4

eth1: Atheros AG71xx at 0xba000000, irq 5

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

All bugs added by David S. Miller

VFS: Mounted root (squashfs filesystem) readonly on device 31:3.

Freeing unused kernel memory: 152k freed

Please be patient, while OpenWrt loads ...

input: gpio-buttons as /devices/platform/gpio-buttons/input/input0

Button Hotplug driver version 0.3.1

eth0: link up (1000Mbps/Full duplex)

- preinit -

Registered led device: wzr-hp-g300nh

47d0918539f512598056858df267101a.gifrange:security

Registered led device: wzr-hp-g300nh:green:wireless

Registered led device: wzr-hp-g300nh:green:router

Registered led device: wzr-hp-g300nh:red:diag

Registered led device: wzr-hp-g300nh:blue:usb

Press the [f] key and hit [enter] to enter failsafe mode

- regular preinit -

jffs2 not ready yet; using ramdisk

mini_fo: using base directory: /

mini_fo: using storage directory: /tmp/root

- init -

eth0: link down

Please press Enter to activate this console. eth0: link up (1000Mbps/Full duplex

)

device eth0 entered promiscuous mode

br-lan: port 1(eth0) entering forwarding state

Compat-wireless backport release: compat-wireless-2011-11-08-1-g4ab9b62

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

cfg80211: Calling CRDA to update world regulatory domain

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

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)

ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF Rev:a2 mem=0xb80c0000, irq

=2

PPP generic driver version 2.4.2

ip_tables: (C) 2000-2006 Netfilter Core Team

NET: Registered protocol family 24

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller

ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1

ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000

ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

nf_conntrack version 0.5.0 (967 buckets, 3868 max)

CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use

CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use

sysctl net.netfilter.nf_conntrack_acct=1 to enable it.

ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

jffs2_scan_eraseblock(): End of filesystem marker found at 0x0

jffs2_build_filesystem(): unlocking the mtd device... done.

jffs2_build_filesystem(): erasing all blocks after the end marker... done.

mini_fo: using base directory: /

mini_fo: using storage directory: /overlay

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值