2011-03-09 02:46:55     a error when use M25P128 on the BF518F-EZBRD!

Document created by Aaronwu Employee on Aug 26, 2013
Version 1Show Document
  • View in full screen mode

2011-03-09 02:46:55     a error when use M25P128 on the BF518F-EZBRD!

zhang zhihua (CHINA)

Message: 98751   

 

Hi,I  want to use a M25P128 on my BF518F-EZBRD,when I download the u-boot and the kernel(The kernel is 2010R1-C2),I erased all the sector of it,but when boot the kernel,it waring:

 

"....Empty flash at 0x0000fffc ends at 0x00010000

CLEANMARKER node found at 0x00010000, not first node in block (0x00000000)

Empty flash at 0x0001fffc ends at 0x00020000

CLEANMARKER node found at 0x00020000, not first node in block (0x00000000)

Empty flash at 0x0002fffc ends at 0x00030000

... ..."

 

I write the kernel and the rootfs.jffs2 is like this:

 

>/:sf probe 2

 

>/:sf erase 0x40000 0x1C0000

 

>/:tftp 0x1000000 vmImage

 

>/:sf write 0x1000000 0x40000 length

 

>/:sf erase 0x200000 0xE00000

 

>/:tftp 0x1000000 rootfs.jffs2

 

>/:sf write 0x1000000 0x200000 length

 

The all print message is:

 

bfin> boot

SF: Detected M25P128 with page size 256, total 16 MiB

16384 KiB M25P128 at 0:2 is now current device

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   bf518-2.6.34.7-ADI-2010R1

   Created:      2011-03-08   7:04:50 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1079889 Bytes = 1 MiB

   Load Address: 00001000

   Entry Point:  001e5900

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001e5900

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 794.62 BogoMIPS (lpj=1589248)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (16 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 32 KB (26 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezbrd_init(): registering device resources

bio: create slab <bio-0> at 0

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_b

ase@ffc00500, dma channel@7

bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_b

ase@ffc03400, dma channel@5

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base

@ffc01400

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 1024 (order: 1, 8192 bytes)

TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

TCP: Hash tables configured (established 1024 bind 1024)

TCP reno registered

UDP hash table entries: 256 (order: 0, 4096 bytes)

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

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

msgmni has been set to 57

io scheduler noop registered (default)

Registered character driver

The major of the test device is 253

Registered character driver

The major of the bluetooth device is 113

Registered character driver

The major of the test device is 112

bfin-otp: initialized

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART

bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART

brd: module loaded

physmap platform flash device: 00300000 at 20000000

cmdlinepart partition parsing not available

RedBoot partition parsing not available

Using physmap partition information

Creating 1 MTD partitions on "physmap-flash.0":

0x000000000000-0x000000300000 : "file system(nor)"

m25p80 spi0.2: found m25p128, expected m25p64

m25p80 spi0.2: m25p128 (16384 Kbytes)

Creating 3 MTD partitions on "m25p80":

0x000000000000-0x000000040000 : "bootloader(spi)"

0x000000040000-0x000000200000 : "linux kernel(spi)"

0x000000200000-0x000001000000 : "file system(spi)"

bfin_mii_bus: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_

clk=2500000Hz(mdc_div=15)@sclk=80MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

i2c /dev entries driver

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

dma_alloc_init: dma_page @ 0x011a9000 - 256 pages at 0x01f00000

TCP cubic registered

NET: Registered protocol family 17

Distributed Switch Architecture driver version 0.1

eth0[0]: detected a KSZ8893M switch

dsa slave smi: probed

rtc-bfin rtc-bfin: setting system clock to 1978-07-24 05:36:03 UTC (270106563)

Empty flash at 0x0000fffc ends at 0x00010000

CLEANMARKER node found at 0x00010000, not first node in block (0x00000000)

Empty flash at 0x0001fffc ends at 0x00020000

CLEANMARKER node found at 0x00020000, not first node in block (0x00000000)

Empty flash at 0x0002fffc ends at 0x00030000

CLEANMARKER node found at 0x00030000, not first node in block (0x00000000)

Empty flash at 0x0004fffc ends at 0x00050000

CLEANMARKER node found at 0x00050000, not first node in block (0x00040000)

Empty flash at 0x0005fffc ends at 0x00060000

CLEANMARKER node found at 0x00060000, not first node in block (0x00040000)

Empty flash at 0x0006ffb0 ends at 0x00070000

CLEANMARKER node found at 0x00070000, not first node in block (0x00040000)

Empty flash at 0x0008fffc ends at 0x00090000

CLEANMARKER node found at 0x00090000, not first node in block (0x00080000)

Empty flash at 0x0009fffc ends at 0x000a0000

CLEANMARKER node found at 0x000a0000, not first node in block (0x00080000)

Empty flash at 0x000afffc ends at 0x000b0000

CLEANMARKER node found at 0x000b0000, not first node in block (0x00080000)

Empty flash at 0x000cfffc ends at 0x000d0000

CLEANMARKER node found at 0x000d0000, not first node in block (0x000c0000)

Empty flash at 0x000dfffc ends at 0x000e0000

CLEANMARKER node found at 0x000e0000, not first node in block (0x000c0000)

Empty flash at 0x000efffc ends at 0x000f0000

CLEANMARKER node found at 0x000f0000, not first node in block (0x000c0000)

Empty flash at 0x0010fffc ends at 0x00110000

CLEANMARKER node found at 0x00110000, not first node in block (0x00100000)

CLEANMARKER node found at 0x00120000, not first node in block (0x00100000)

Empty flash at 0x0012fffc ends at 0x00130000

CLEANMARKER node found at 0x00130000, not first node in block (0x00100000)

Empty flash at 0x0014fffc ends at 0x00150000

CLEANMARKER node found at 0x00150000, not first node in block (0x00140000)

Empty flash at 0x0015fffc ends at 0x00160000

CLEANMARKER node found at 0x00160000, not first node in block (0x00140000)

Empty flash at 0x0016fffc ends at 0x00170000

CLEANMARKER node found at 0x00170000, not first node in block (0x00140000)

Empty flash at 0x0018fffc ends at 0x00190000

CLEANMARKER node found at 0x00190000, not first node in block (0x00180000)

Empty flash at 0x0019fffc ends at 0x001a0000

CLEANMARKER node found at 0x001a0000, not first node in block (0x00180000)

CLEANMARKER node found at 0x001b0000, not first node in block (0x00180000)

Empty flash at 0x001cfffc ends at 0x001d0000

CLEANMARKER node found at 0x001d0000, not first node in block (0x001c0000)

Empty flash at 0x001dfffc ends at 0x001e0000

CLEANMARKER node found at 0x001e0000, not first node in block (0x001c0000)

Empty flash at 0x001efffc ends at 0x001f0000

CLEANMARKER node found at 0x001f0000, not first node in block (0x001c0000)

Empty flash at 0x0020fffc ends at 0x00210000

CLEANMARKER node found at 0x00210000, not first node in block (0x00200000)

Empty flash at 0x0021fffc ends at 0x00220000

CLEANMARKER node found at 0x00220000, not first node in block (0x00200000)

Empty flash at 0x0022fffc ends at 0x00230000

CLEANMARKER node found at 0x00230000, not first node in block (0x00200000)

Empty flash at 0x0024fffc ends at 0x00250000

CLEANMARKER node found at 0x00250000, not first node in block (0x00240000)

Empty flash at 0x0025fffc ends at 0x00260000

CLEANMARKER node found at 0x00260000, not first node in block (0x00240000)

Empty flash at 0x0026fffc ends at 0x00270000

CLEANMARKER node found at 0x00270000, not first node in block (0x00240000)

Empty flash at 0x0028fffc ends at 0x00290000

CLEANMARKER node found at 0x00290000, not first node in block (0x00280000)

Empty flash at 0x0029fffc ends at 0x002a0000

CLEANMARKER node found at 0x002a0000, not first node in block (0x00280000)

Empty flash at 0x002afffc ends at 0x002b0000

CLEANMARKER node found at 0x002b0000, not first node in block (0x00280000)

Empty flash at 0x002cfffc ends at 0x002d0000

CLEANMARKER node found at 0x002d0000, not first node in block (0x002c0000)

Empty flash at 0x002dfffc ends at 0x002e0000

CLEANMARKER node found at 0x002e0000, not first node in block (0x002c0000)

Empty flash at 0x002efffc ends at 0x002f0000

CLEANMARKER node found at 0x002f0000, not first node in block (0x002c0000)

Empty flash at 0x0030fffc ends at 0x00310000

CLEANMARKER node found at 0x00310000, not first node in block (0x00300000)

Empty flash at 0x0031fffc ends at 0x00320000

CLEANMARKER node found at 0x00320000, not first node in block (0x00300000)

Empty flash at 0x0032fffc ends at 0x00330000

CLEANMARKER node found at 0x00330000, not first node in block (0x00300000)

Empty flash at 0x0034fffc ends at 0x00350000

CLEANMARKER node found at 0x00350000, not first node in block (0x00340000)

Empty flash at 0x0035fffc ends at 0x00360000

CLEANMARKER node found at 0x00360000, not first node in block (0x00340000)

Empty flash at 0x0036fffc ends at 0x00370000

CLEANMARKER node found at 0x00370000, not first node in block (0x00340000)

Empty flash at 0x0038fffc ends at 0x00390000

CLEANMARKER node found at 0x00390000, not first node in block (0x00380000)

Empty flash at 0x0039ff7c ends at 0x003a0000

CLEANMARKER node found at 0x003a0000, not first node in block (0x00380000)

Empty flash at 0x003afffc ends at 0x003b0000

CLEANMARKER node found at 0x003b0000, not first node in block (0x00380000)

Empty flash at 0x003cffd8 ends at 0x003d0000

CLEANMARKER node found at 0x003d0000, not first node in block (0x003c0000)

Empty flash at 0x003dfffc ends at 0x003e0000

CLEANMARKER node found at 0x003e0000, not first node in block (0x003c0000)

CLEANMARKER node found at 0x003f0000, not first node in block (0x003c0000)

Empty flash at 0x0040fffc ends at 0x00410000

CLEANMARKER node found at 0x00410000, not first node in block (0x00400000)

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

Freeing unused kernel memory: 108k freed

eth1: link up, 10 Mb/s, full duplex

TranslateQuoteReplyEditDelete

 

 

2011-03-09 02:52:17     Re: a error when use M25P128 on the BF518F-EZBRD!

Mike Frysinger (UNITED STATES)

Message: 98752   

 

this is expected behavior.  please read the FAQ:

  www.linux-mtd.infradead.org/faq/jffs2.html#L_clmarker

Attachments

    Outcomes