移植flash驱动到openwrt(linux)系统下去, 第二块flash信息识别错误

TymonHuang 发布于 2013/08/31 22:54
阅读 2K+
收藏 0
以下是我的启动信息: 求助


U-boot DB120
DRAM:  
sri
Wasp 1.2
wasp_ddr_initial_config(255): (32bit) ddr2 init
Setting 0xb8116290 to 0x38702d0f
128 MB

cpu_pll_cfg: 0x21354
cpu_pll_dither: 0x3c153f
CFG_PLL_FREQ: 0x1f
CFG_HZ      : 266500000

CPU Clock: 533MHz    DDR Clock: 400MHz

Top of RAM usable for U-Boot at: 88000000
Reserving 230k for U-Boot at: 87fc4000
Reserving 192k for malloc() at: 87f94000
Reserving 44 Bytes for Board Info at: 87f93fd4
Reserving 44 Bytes for Global Data at: 87f93fa8
Reserving 128k for boot params() at: 87f73fa8
Stack Pointer at: 87f73f88
Now running in RAM - U-Boot at: 87fc4000
manufacturerId 0xc2, deviceId0 0x20, deviceId1 0x18
flash size 16MB, sector count = 256
flash-2 size 16MB, sector count = 256
Flash: 16 MB
pci_init_board: PCIe PLL not set for 40MHz refclk
BOARD IS NOT CALIBRATED!!!
[eapsw_watchdog::status] warm start 
[eapsw_watchdog::status] boot normally 
[eapsw_watchdog::status] autoswitch enabled=On , times=None 
Current Image was A 
In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
No valid address in Flash. Using fixed address
wasp  reset mask:10c03300 
WASP  ----> F1 PHY *
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
F1Phy reg init 
ATHR_AUTONEG_ADVERT:1DE1
ATHR_1000BASET_CONTROL:200
ATHR_PHY_CONTROL:3100
ATHRSF1_PHY: Port 5, Neg Success
ATHRSF1_PHY: unit 0 phy addr 5 eth0 up
eth0
Hit any key to stop autoboot:  0 






=========================
kernerl
=========================

## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728

Starting kernel ...

[    0.000000] Linux version 3.7.4 (banglang@Ubuntu-Linux) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #831 Fri Aug 30 11:07:44 HKT 2013
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9344 rev 2
[    0.000000] Clocks: CPU:532.500MHz, DDR:400.000MHz, AHB:200.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=DB120 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6336k(rootfsA),1408k(kernelA),64k(nvramA),64k(artA)ro;spi0.1:320k(reserved),6336k(rootfs),1408k(kernel),64k(nvram),64k(art)ro,7744k@0x50000(firmware) 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] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 121708k/131072k available (2199k kernel code, 9364k reserved, 617k data, 4796k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is Atheros DB120 reference board
[    0.110000] registering PCI controller with io_map_base unset
[    0.320000] DB120 :Tymon reg_show show 0x1805002c:0xa000000
[    0.320000] DB120 :IMAGE - KERNEL AAAAAAAAAAA
[    0.320000] DB120 :mac_init accton mac address init:70-72-cf-88-ff-20
[    0.330000] bio: create slab <bio-0> at 0
[    0.340000] PCI host bridge to bus 0000:00
[    0.340000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.350000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.350000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.360000] pci 0000:00:00.0: invalid calibration data
[    0.360000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[    0.370000] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[    0.370000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.380000] Switching to clocksource MIPS
[    0.380000] NET: Registered protocol family 2
[    0.390000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.390000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.400000] TCP: Hash tables configured (established 4096 bind 4096)
[    0.400000] TCP: reno registered
[    0.410000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.410000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.420000] NET: Registered protocol family 1
[    7.200000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    7.200000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    7.210000] msgmni has been set to 237
[    7.220000] io scheduler noop registered
[    7.220000] io scheduler deadline registered (default)
[    7.230000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    7.250000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    7.260000] console [ttyS0] enabled, bootconsole disabled
[    7.260000] console [ttyS0] enabled, bootconsole disabled
[    7.270000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    7.280000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    7.290000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    7.290000] 6 cmdlinepart partitions found on MTD device spi0.0
[    7.300000] Creating 6 MTD partitions on "spi0.0":
[    7.300000] 0x000000000000-0x000000040000 : "u-boot"
[    7.310000] 0x000000040000-0x000000050000 : "u-boot-env"
[    7.320000] 0x000000050000-0x000000680000 : "rootfsA"
[    7.320000] 0x000000680000-0x0000007e0000 : "kernelA"
[    7.330000] 0x0000007e0000-0x0000007f0000 : "nvramA"
[    7.340000] 0x0000007f0000-0x000000800000 : "artA"
[    7.340000] m25p80 spi0.1: found mr25h256, expected m25p80
[    7.350000] m25p80 spi0.1: mr25h256 (32 Kbytes)
[    7.360000] mtd: spi0.1: partitioning exceeds flash size, truncating
[    7.360000] mtd: spi0.1: partitioning exceeds flash size, truncating
[    7.370000] mtd: spi0.1: partitioning exceeds flash size, truncating
[    7.370000] mtd: spi0.1: partitioning exceeds flash size, truncating
[    7.380000] mtd: spi0.1: partitioning exceeds flash size, truncating
[    7.390000] mtd: spi0.1: partitioning exceeds flash size, truncating
[    7.390000] 6 cmdlinepart partitions found on MTD device spi0.1
[    7.400000] Creating 6 MTD partitions on "spi0.1":
[    7.400000] 0x000000000000-0x000000008000 : "reserved"
[    7.410000] 0x000000008000-0x000000008000 : "rootfs"
[    7.420000] mtd: partition "rootfs" is out of reach -- disabled
[    7.420000] mtd: partition "rootfs" set to be root filesystem
[    7.430000] split_squashfs: no squashfs found in "spi0.1"
[    7.440000] 0x000000008000-0x000000008000 : "kernel"
[    7.440000] mtd: partition "kernel" is out of reach -- disabled
[    7.450000] 0x000000008000-0x000000008000 : "nvram"
[    7.450000] mtd: partition "nvram" is out of reach -- disabled
[    7.460000] 0x000000008000-0x000000008000 : "art"
[    7.470000] mtd: partition "art" is out of reach -- disabled
[    7.470000] 0x000000050000-0x000000008000 : "firmware"
[    7.480000] mtd: partition "firmware" is out of reach -- disabled

.....
.....
加载中
返回顶部
顶部