[U-Boot] crashed u-boot with MV88F6560

Dawid Partyka - Safe-lock.net dawid at safe-lock.net
Mon Jun 4 18:18:53 CEST 2012


hello. I deleted the u-boot witch MV88F6560.
The board is ZTE-88F6560-FXXX this is modem of epon (ftth).
I have the copy of the rom with mtdblock0 (~10MB). If I look with hex editor 
when I see information witch first 512KB is u-boot room.

If I connect with rs232 (added max232) and checked bootrom dipswitch for ths 
board I have information:
BootROM 1.34



If I send the backup rom with mtdblock0 (xmodem with hyperterminal) then 
hyperterminal send me information checksum error.

I find with internet u-boot.bin then I send with hyperterminal then 
hyperterminal send witch board first 1024block (uboot have 1670block :( ). 
This not work.

Log with good board connected with hyperterminal:

BootROM 1.34
Booting from NAND flash
BootROM: Image checksum verification PASSED


U-Boot 2009.08 (Sep 20 2011 - 17:28:41)

CPU:   Feroceon (Rev 1) @ 1200Mhz - LE, L2 @ 400Mhz
       DDR3 @ 400Mhz, TClock @ 200Mhz, P/V ID=7/15
DRAM:  128 MB
       CS 0: base 0x00000000 size 128 MB
       Addresses 26M - 0M are saved for the U-Boot usage.
NAND:  1bit HM ECC, Size: 32 MiB
Modules Detected:
       GPON module detected.
       TDM module.
       Ethernet Switch on MAC0.
       3xFE PHY Module.
       GE-PHY on Switch port #0.
Net:   egiga0 [PRIME], egiga1
Hit 1 to upgrade softwate version
Hit enter to stop autoboot:  0
select=0x0

NAND read: device 0 offset 0x1980000, size 0x100
 256 bytes read: OK
select=0x0
search=0x2

NAND read: device 0 offset 0x80000, size 0x937110
 9662736 bytes read: OK

NAND read: device 0 offset 0x30000, size 0x30000
 196608 bytes read: OK
## Booting kernel from Legacy Image at 02000100 ...
   Image Name:   Linux Kernel Image
   Image Type:   ARM Linux Kernel Image (lzma compressed)
   Data Size:    9662403 Bytes =  9.2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Uncompressing (lzma) Kernel Image ... OK
----------------------
|-->setup start tag...
----------------------
|-->setup memory tag...
----------------------
|-->setup cmdline tag...
----------------------
|-->setup marvell tag...
----------------------
|-->setup versioninfo tag...
----------------------
|-->setup end tag...
----------------------

Starting kernel ...

Linux version 2.6.21.5 (wangkai at localhost.localdomain) (gcc version 4.3.4 
(Build
root 2010.05) ) #44 Tue Sep 20 17:53:59 CST 2011
CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053977
Machine: Feroceon-KW2
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 32512
<7>  Normal zone: 0 pages used for memmap
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists.  Total pages: 32258
Kernel command line: console=ttyS0,115200 root=/dev/ram0 rw load_ramdisk=1 
rdini
t=/sbin/init mv_net_config=0 mem=127M
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 127MB = 127MB total
Memory: 116352KB available (3536K code, 714K data, 8168K init)
Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: ok
pdt_cspkernel_init
NET: Registered protocol family 16

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 128MB
SDRAM_CS1 ....no such
SDRAM_CS2 ....no such
SDRAM_CS3 ....no such
DEVICE_CS0 ....no such
DEVICE_CS1 ....no such
DEVICE_CS2 ....no such
DEVICE_CS3 ....no such
PEX0_MEM ....base f3000000, size  16MB
PEX0_IO ....base f2000000, size   1MB
PEX1_MEM ....base f4000000, size  16MB
PEX1_IO ....base f2100000, size   1MB
INTER_REGS ....base f1000000, size   1MB
NAND_NOR_CS ....base f8000000, size   2MB
SPI_CS0 ....base f0000000, size  16MB
SPI_CS1 ....no such
SPI_CS2 ....no such
SPI_CS3 ....no such
<4>SPI_CS4 ....no such
SPI_CS5 ....no such
SPI_CS6 ....no such
SPI_CS7 ....no such
SPI_B_CS0 ....no such
BOOT_ROM_CS ....no such
<4>DEV_BOOTCS ....no such
CRYPT1_ENG ....no such
CRYPT2_ENG ....no such
PNC_BM ....base f5000000, size   1MB
ETH_CTRL ....base f5100000, size   1MB
PON_CTRL ....base f5200000, size   1MB
NFC_CTRL ....no such

  Marvell Development Board (LSP Version 
KW2_LSP_1.0.4_p26_KERNEL_2.6.21.5_NQ)--
 ZTE-88F6560-FXXX  Soc: MV88F6560 Rev 2 LE

 Detected Tclk 200000000 and SysClk 400000000
g_pdwWdRsvMemBase is c8000000    g_dwWdRsvMemLen is 40052
magic has been changed!
g_pdwWdRegTableBase = c800000c
: success register character device for /dev/watchdog
Marvell USB EHCI Host controller #0: c0d75600
<4>PEX0 interface detected no Link.
PEX1 interface detected Link X4
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers disabled
SCSI subsystem initialized
Time: kw_clocksource clocksource has been installed.
NET: Registered protocol family 2
ip_rt_init() start call CSP_alloc_large_system_hash
 IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
ip_rt_init() call CSP_alloc_large_system_hash end
 TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
RTC has been updated!!!
RTC registered
cpufreq: Init kirkwood cpufreq driver
NTFS driver 2.1.28 [Flags: R/W].
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
<4>fuse init (API version 7.8)
<6>io scheduler noop registered
<6>io scheduler anticipatory registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
0 - Base 0x00000000 , Size = 0x08000000.
8 - Base 0xf3000000 , Size = 0x01000000.
9 - Base 0xf2000000 , Size = 0x00100000.
10 - Base 0xf4000000 , Size = 0x01000000.
11 - Base 0xf2100000 , Size = 0x00100000.
12 - Base 0xf1000000 , Size = 0x00100000.
13 - Base 0xf8000000 , Size = 0x00200000.
14 - Base 0xf0000000 , Size = 0x01000000.
27 - Base 0xf5000000 , Size = 0x00100000.
28 - Base 0xf5100000 , Size = 0x00100000.
29 - Base 0xf5200000 , Size = 0x00100000.
mvPncVirtBase = 0xc8400000
  o 3 Giga ports supported
  o Giga PON port is #2: - 8 TCONTs supported
  o NETA acceleration mode 4
  o BM supported: short buffer size is 256 bytes
  o PnC supported
  o HWF supported
  o PMT supported
  o RX Queue support: 8 Queues * 512 Descriptors
  o TX Queue support: 8 Queues * 3072 Descriptors
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Driver DEBUG statistics enabled
  o Proc tool API enabled
  o Switch support enabled
     o IGMP special processing support

  o Loading Switch QuarterDeck driver
    o Internal GE PHY Connected to Switch Port 0 Detected
    o Setting Switch CPU port (port #4) for 1000 Full with FC
    o Disable disconnected switch port (port #5) and force link down
    o Disable disconnected switch port (port #6) and force link down
  o Loading network interface(s)

  o Port 0 is connected to Linux netdevice
      o Using UBoot netconfig string
        net_config_str: 0
  o Working in External Switch mode
        giga p=0: mtu=1500, mac=c0d61f72
    o mii0, ifindex = 1, GbE port = 0

  o Warning: GbE port 1 is not connected to PHY/RGMII/Switch, skipping 
initializ
ation


  o Port 2 is connected to Linux netdevice
        pon p=2: mtu=1500, mac=c0d61f72
    o mii1, ifindex = 2, GbE port = 2

e100: Intel(R) PRO/100 Network Driver, 3.5.17-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
Using Hamming 1-bit ECC for NAND device
NAND device: Manufacturer ID: 0x20, Chip ID: 0x75 (ST Micro NAND 32MiB 3,3V 
8-bi
t)
Scanning device for bad blocks
Using static partition definition
Creating 8 MTD partitions on "nand_mtd":
0x00000000-0x02000000 : "whole flash"
0x00000000-0x00080000 : "u-boot"
0x01a40000-0x01ac0000 : "parameter tags"
0x00080000-0x00d00000 : "kernel0"
0x01c00000-0x02000000 : "middleware"
0x01ac0000-0x01c00000 : "usercfg"
0x00d00000-0x01980000 : "kernel1"
0x01980000-0x01a40000 : "others"
mice: PS/2 mouse device common for all mice
Linux telephony interface: v1.00
Loading Marvell vpapi device



Sorry for me english :( I'm in poland.
Thansk for you help.







More information about the U-Boot mailing list