|
本帖最后由 zyguowei 于 2018-1-23 22:09 编辑
AR7161 + RTL8211CL 卡到这里了..
--------------------------------------------------------------------------------------------------------
+Ethernet eth0: MAC address 00:03:7f:ff:ff:fe
IP: 192.168.0.100/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.0.107
RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version UNKNOWN - built 20:13:04, Sep 14 2010
Copyright (C) 2010 Hong Tec (Beijing) Co., Ltd.
Board: pb42 version: 1.0
RAM: 0x80000000-0x84000000, [0x800466f0-0x80fb1000] available
FLASH: 0xbf000000 - 0xbffc0000, 64 blocks of 0x00040000 bytes each.
== Executing boot script in 1.000 seconds - enter ^C to abort
RedBoot> fis load -b 0x80060000 -l kernel
Image loaded from 0x80060000-0x804a1b54
RedBoot> exec -c "console=ttyS0,115200 board=PB42"
Now booting linux kernel:
Base address 0x80050000 Entry 0x80060000
Cmdline : console=ttyS0,115200 board=PB42
[ 0.000000] Linux version 4.4.14 (buildbot@owrtbuild01) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 12009) ) #1 Wed Dec 6 23:56:36 UTC 2017
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] No valid device tree found, continuing without
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 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: 16256
[ 0.000000] Kernel command line: board=PB42 console=ttyS0,115200 ethaddr=00.03.7f.ff.ff.fe rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000002
[ 0.000000] Readback ErrCtl register=00000002
[ 0.000000] Memory: 59904K/65536K available (3134K kernel code, 174K rwdata, 784K rodata, 316K init, 206K bss, 5632K 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:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5621354254 ns
[ 0.000009] sched_clock: 32 bits at 340MHz, resolution 2ns, wraps every 6316128254ns
[ 0.007806] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.070514] pid_max: default: 32768 minimum: 301
[ 0.075255] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.081873] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.091591] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.102765] NET: Registered protocol family 16
[ 0.108644] MIPS: machine is Atheros PB42
[ 0.852673] registering PCI controller with io_map_base unset
[ 0.867859] PCI host bridge to bus 0000:00
[ 0.872034] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
[ 0.878897] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.884464] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.891237] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.899864] pci 0000:00:11.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
[ 0.906646] pci 0000:00:12.0: BAR 0: assigned [mem 0x10010000-0x1001ffff]
[ 0.913470] pci 0000:00:11.0: using irq 40 for pin 1
[ 0.918422] pci 0000:00:12.0: using irq 41 for pin 1
[ 0.924293] clocksource: Switched to clocksource MIPS
[ 0.930593] NET: Registered protocol family 2
[ 0.935943] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.942913] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.949326] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.955786] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.961631] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.968229] NET: Registered protocol family 1
[ 0.973654] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.997145] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.002986] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.015274] io scheduler noop registered
[ 1.019202] io scheduler deadline registered (default)
[ 1.024689] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 1.033647] console [ttyS0] disabled
[ 1.057320] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 10625000) is a 16550A
[ 1.066029] console [ttyS0] enabled
[ 1.066029] console [ttyS0] enabled
[ 1.072983] bootconsole [early0] disabled
[ 1.072983] bootconsole [early0] disabled
[ 1.086192] m25p80 spi0.0: found w25q128, expected m25p80
[ 1.091601] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 1.097248] Searching for RedBoot partition table in spi0.0 at offset 0xfe0000
[ 1.134644] Searching for RedBoot partition table in spi0.0 at offset 0xff0000
[ 1.171990] No RedBoot partition table detected in spi0.0
[ 1.181811] libphy: ag71xx_mdio: probed
[ 1.505586] ag71xx ag71xx.0: no PHY found with phy_mask=00100000
[ 1.826234] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:RMII
[ 1.833840] NET: Registered protocol family 10
[ 1.841689] NET: Registered protocol family 17
[ 1.846285] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.858944] Bridge firewalling registered
[ 1.863075] 8021q: 802.1Q VLAN Support v1.8
[ 1.870151] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 1.877686] Please append a correct "root=" boot option; here are the available partitions:
[ 1.886032] 1f00 16384 mtdblock0 (driver?)
[ 1.891085] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 1.900096] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 82.484298] random: nonblocking pool is initialized
+Ethernet eth0: MAC address 00:03:7f:ff:ff:fe
IP: 192.168.0.100/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.0.107
RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version UNKNOWN - built 20:13:04, Sep 14 2010
Copyright (C) 2010 Hong Tec (Beijing) Co., Ltd.
Board: pb42 version: 1.0
RAM: 0x80000000-0x84000000, [0x800466f0-0x80fb1000] available
FLASH: 0xbf000000 - 0xbffc0000, 64 blocks of 0x00040000 bytes each.
== Executing boot script in 1.000 seconds - enter ^C to abort
RedBoot> fis load -b 0x80060000 -l kernel
Image loaded from 0x80060000-0x804a1b54
RedBoot> exec -c "console=ttyS0,115200 board=PB42"
Now booting linux kernel:
Base address 0x80050000 Entry 0x80060000
Cmdline : console=ttyS0,115200 board=PB42
[ 0.000000] Linux version 4.4.14 (buildbot@owrtbuild01) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 12009) ) #1 Wed Dec 6 23:56:36 UTC 2017
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] No valid device tree found, continuing without
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 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: 16256
[ 0.000000] Kernel command line: board=PB42 console=ttyS0,115200 ethaddr=00.03.7f.ff.ff.fe rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=000718e2
[ 0.000000] Readback ErrCtl register=000718e2
[ 0.000000] Memory: 59904K/65536K available (3134K kernel code, 174K rwdata, 784K rodata, 316K init, 206K bss, 5632K 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:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5621354254 ns
[ 0.000009] sched_clock: 32 bits at 340MHz, resolution 2ns, wraps every 6316128254ns
[ 0.007807] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.070514] pid_max: default: 32768 minimum: 301
[ 0.075256] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.081873] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.091589] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.102764] NET: Registered protocol family 16
[ 0.108645] MIPS: machine is Atheros PB42
[ 0.852670] registering PCI controller with io_map_base unset
[ 0.867858] PCI host bridge to bus 0000:00
[ 0.872034] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
[ 0.878897] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.884464] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.891237] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.899862] pci 0000:00:11.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
[ 0.906647] pci 0000:00:12.0: BAR 0: assigned [mem 0x10010000-0x1001ffff]
[ 0.913470] pci 0000:00:11.0: using irq 40 for pin 1
[ 0.918422] pci 0000:00:12.0: using irq 41 for pin 1
[ 0.924294] clocksource: Switched to clocksource MIPS
[ 0.930592] NET: Registered protocol family 2
[ 0.935940] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.942913] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.949326] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.955785] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.961631] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.968231] NET: Registered protocol family 1
[ 0.973653] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.997139] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.002978] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.015260] io scheduler noop registered
[ 1.019193] io scheduler deadline registered (default)
[ 1.024681] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 1.033637] console [ttyS0] disabled
[ 1.057303] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 10625000) is a 16550A
[ 1.066014] console [ttyS0] enabled
[ 1.066014] console [ttyS0] enabled
[ 1.072968] bootconsole [early0] disabled
[ 1.072968] bootconsole [early0] disabled
[ 1.086169] m25p80 spi0.0: found w25q128, expected m25p80
[ 1.091578] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 1.097225] Searching for RedBoot partition table in spi0.0 at offset 0xfe0000
[ 1.134635] Searching for RedBoot partition table in spi0.0 at offset 0xff0000
[ 1.171999] No RedBoot partition table detected in spi0.0
[ 1.181820] libphy: ag71xx_mdio: probed
[ 1.505586] ag71xx ag71xx.0: no PHY found with phy_mask=00100000
[ 1.826235] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:RMII
[ 1.833841] NET: Registered protocol family 10
[ 1.841691] NET: Registered protocol family 17
[ 1.846288] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.858948] Bridge firewalling registered
[ 1.863078] 8021q: 802.1Q VLAN Support v1.8
[ 1.870154] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 1.877688] Please append a correct "root=" boot option; here are the available partitions:
[ 1.886035] 1f00 16384 mtdblock0 (driver?)
[ 1.891087] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 1.900097] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 82.484298] random: nonblocking pool is initialized
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
固件如下,不知道是哪里有问题...
链接:https://pan.baidu.com/s/1c33PGoK 密码:p15f
|
|