|
手上有一块AR7161+AR8316+AR9223的电信级瘦AP,无法使用,于是想刷成OpenWrt系统,在网上找了个别人PB44的16M编程器固件,能够启动且正常使用,但找的这个固件太老了 是2011年的 于是想自己编译并添加一些功能,编译好后,路由器无限重启,求大神指教。
下面是打印的内核信息:
+Ethernet eth0: MAC address 00:03:7f:ff:ff:fe
IP: 192.168.1.2/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.100
RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version UNKNOWN - built 14:21:45, Mar 27 2010
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Board: pb44
RAM: 0x80000000-0x84000000, [0x800511f0-0x80fe1000] available
FLASH: 0xbf000000 - 0xc0000000, 256 blocks of 0x00010000 bytes each.
== start led2 on
== Executing boot script in 3.000 seconds - enter ^C to abort
RedBoot> fis load -l vmlinux
Image loaded from 0x80060000-0x803744fc
No image 'board-config' found--wmj
RedBoot> exec -c "console=ttyS0,115200 mem=64M"
Now booting linux kernel:
Base address 0x80050000 Entry 0x80060000
Cmdline : console=ttyS0,115200 mem=64M
[ 0.000000] Linux version 3.10.24 (thepeople@trabant) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r39203) ) #1 Mon Jan 6 21:40:09 CET 2014
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x07ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
[ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: board=PB44 console=ttyS0,115200 ethaddr=00.03.7f.ff.ff.fe rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=0002efb2
[ 0.000000] Readback ErrCtl register=0002efb2
[ 0.000000] Memory: 126108k/131072k available (2323k kernel code, 4964k reserved, 610k data, 264k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.060000] Mount-cache hash table entries: 512
[ 0.070000] NET: Registered protocol family 16
[ 0.070000] MIPS: machine is Atheros PB44 reference board
[ 2.270000] registering PCI controller with io_map_base unset
[ 2.680000] bio: create slab <bio-0> at 0
[ 2.690000] pcf857x 0-0020: probed
[ 2.690000] i2c-gpio i2c-gpio.0: using pins 1 (SDA) and 0 (SCL)
[ 2.700000] PCI host bridge to bus 0000:00
[ 2.700000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
[ 2.710000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 2.710000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 2.720000] pci 0000:00:11.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
[ 2.720000] pci 0000:00:12.0: BAR 0: assigned [mem 0x10010000-0x1001ffff]
[ 2.730000] pci 0000:00:11.0: using irq 40 for pin 1
[ 2.730000] pci 0000:00:12.0: using irq 41 for pin 1
[ 2.740000] Switching to clocksource MIPS
[ 2.740000] NET: Registered protocol family 2
[ 2.750000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 2.750000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.760000] TCP: Hash tables configured (established 1024 bind 1024)
[ 2.760000] TCP: reno registered
[ 2.760000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 2.770000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 2.780000] NET: Registered protocol family 1
[ 2.790000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.800000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.810000] msgmni has been set to 246
[ 2.810000] io scheduler noop registered
[ 2.820000] io scheduler deadline registered (default)
[ 2.820000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 2.850000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 2.860000] console [ttyS0] enabled, bootconsole disabled
[ 2.860000] console [ttyS0] enabled, bootconsole disabled
[ 2.870000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 2.880000] m25p80 spi0.0: found s25sl12801, expected m25p64
[ 2.890000] m25p80 spi0.0: s25sl12801 (16384 Kbytes)
[ 2.890000] Searching for RedBoot partition table in spi0.0 at offset 0xfe0000
[ 2.990000] Searching for RedBoot partition table in spi0.0 at offset 0xff0000
[ 3.080000] 5 RedBoot partitions found on MTD device spi0.0
[ 3.090000] Creating 5 MTD partitions on "spi0.0":
[ 3.090000] 0x000000000000-0x000000040000 : "RedBoot"
[ 3.100000] 0x000000040000-0x000000150000 : "vmlinux"
[ 3.110000] 0x000000150000-0x000000ff0000 : "rootfs"
[ 3.110000] mtd: device 2 (rootfs) set to be root filesystem
[ 3.120000] 1 squashfs-split partitions found on MTD device rootfs
[ 3.120000] 0x000000310000-0x000000ff0000 : "rootfs_data"
[ 3.130000] 0x000000ff0000-0x000000fff000 : "FIS directory"
[ 3.140000] 0x000000fff000-0x000001000000 : "RedBoot config"
[ 3.150000] libphy: ag71xx_mdio: probed
[ 3.450000] ag71xx ag71xx.0: no PHY found with phy_mask=00000001
[ 3.760000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:RGMII
[ 3.770000] TCP: cubic registered
[ 3.770000] NET: Registered protocol family 17
[ 3.770000] Bridge firewalling registered
[ 3.780000] can: controller area network core (rev 20120528 abi 9)
[ 3.780000] NET: Registered protocol family 29
[ 3.790000] 8021q: 802.1Q VLAN Support v1.8
[ 3.810000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 3.810000] Freeing unused kernel memory: 264K (8033e000 - 80380000)
procd: Console is alive
procd: - watchdog -
procd: - preinit -
[ 6.260000] eth0: link up (1000Mbps/Full duplex)
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
[ 7.330000] usbcore: registered new interface driver usbfs
[ 7.330000] usbcore: registered new interface driver hub
[ 7.340000] usbcore: registered new device driver usb
[ 7.350000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 7.360000] ehci-platform: EHCI generic platform driver
[ 7.360000] ehci-platform ehci-platform: EHCI Host Controller
[ 7.370000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 7.380000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 7.400000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 7.400000] hub 1-0:1.0: USB hub found
[ 7.410000] hub 1-0:1.0: 2 ports detected
[ 7.410000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 7.420000] ohci-platform ohci-platform: Generic Platform OHCI Controller
[ 7.430000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
|
|