AnsweredAssumed Answered

Warnings about "jffs2: Empty flash at XXXXX"

Question asked by HoJuly on Nov 18, 2013
Latest reply on Dec 10, 2013 by HoJuly

Hi!

   I mount nor flash to uClinux at boot time, and it works fine. But if I renew some file on nor flash(about 2Mbytes) throught FTP, then reboot the uClinux, it prints some warnings as follows:

 

Using auto-unlock on power-up/resume

cfi_cmdset_0001: Erase suspend on write enabled

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

0x000000000000-0x000000100000 : "bootloader(nor)"

0x000000100000-0x000000900000 : "linux kernel(nor)"

0x000000900000-0x000004000000 : "file system(nor)"

m25p80 spi0.67: w25q32 (4096 Kbytes)

Creating 3 MTD partitions on "m25p80":

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

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

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

CAN device driver interface

bfin_can bfin_can.0: bfin_can device registered(&reg_base=ffc00a00, rx_irq=47, tx_irq=48, err_irq=49, sclk=125000000)

stmmac - user ID: 0x10, Synopsys ID: 0x36

Enhanced/Alternate descriptors

        Enabled extended descriptors

Ring mode enabled

DMA HW capability register supported

RX Checksum Offload Engine supported (type 2)

Wake-Up On Lan supported

Enable RX Mitigation via HW Watchdog Timer

libphy: stmmac: probed

eth0: PHY ID 20005ce1 at 1 IRQ 0 (stmmac-0:01) active

usbcore: registered new interface driver usb-storage

input: bfin-rotary as /devices/platform/bfin-rotary/input/input0

rtc-pcf8563 0-0051: chip found, driver version 0.4.3

rtc-pcf8563 0-0051: pcf8563_get_datetime: read error

rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0

i2c /dev entries driver

bfin_wdt: initialized: timeout=20 sec (nowayout=0)

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

icc icc.0: initialized

TCP: cubic registered

NET: Registered protocol family 17

can: controller area network core (rev 20120528 abi 9)

NET: Registered protocol family 29

can: raw protocol (rev 20120528)

can: broadcast manager protocol (rev 20120528 t)

can: netlink gateway (rev 20130117) max_hops=1

rtc-pcf8563 0-0051: setting system clock to 2013-11-15 05:43:54 UTC (1384494234)

eth0: device MAC address 02:80:ad:20:31:e8

dma_alloc_init: dma_page @ 0x0a8f4000 - 256 pages at 0x0d700000

IP-Config: Complete:

     device=eth0, hwaddr=02:80:ad:20:31:e8, ipaddr=192.168.61.109, mask=255.255.255.0, gw=192.168.61.1

     host=bf609-ezkit, domain=, nis-domain=(none)

     bootserver=192.168.61.30, rootserver=192.168.61.30, rootpath=

Freeing unused kernel memory: 7452K (2aa000 - 9f1000)
jffs2: version 2.2. (NAND) 2001-2006 Red Hat, Inc.
jffs2: Empty flash at 0x019c0020 ends at 0x019c01e0
jffs2: Empty flash at 0x019c0220 ends at 0x019c03e0
jffs2: Empty flash at 0x019c0420 ends at 0x019c05e0
jffs2: Empty flash at 0x019c0620 ends at 0x019c07e0
jffs2: Empty flash at 0x019c0820 ends at 0x019c09e0
jffs2: Empty flash at 0x019c0a20 ends at 0x019c0be0
jffs2: Empty flash at 0x019c0c20 ends at 0x019c0de0
jffs2: Empty flash at 0x019c0e20 ends at 0x019c0fe0
jffs2: Empty flash at 0x019c1020 ends at 0x019c11e0
jffs2: Empty flash at 0x019c1220 ends at 0x019c13e0
jffs2: Empty flash at 0x019c1420 ends at 0x019c15e0
jffs2: Empty flash at 0x019c1620 ends at 0x019c17e0
jffs2: Empty flash at 0x019c1820 ends at 0x019c19e0
jffs2: Empty flash at 0x019c1a20 ends at 0x019c1be0
jffs2: Empty flash at 0x019c1c20 ends at 0x019c1de0
jffs2: Empty flash at 0x019c1e20 ends at 0x019c1fe0
jffs2: Empty flash at 0x019c2020 ends at 0x019c21e0
jffs2: Empty flash at 0x019c2220 ends at 0x019c23e0
jffs2: Empty flash at 0x019c2420 ends at 0x019c25e0
jffs2: Empty flash at 0x019c2620 ends at 0x019c27e0
jffs2: Empty flash at 0x019c2820 ends at 0x019c29e0
jffs2: Empty flash at 0x019c2a20 ends at 0x019c2be0
jffs2: Empty flash at 0x019c2c20 ends at 0x019c2de0
jffs2: Empty flash at 0x019c2e20 ends at 0x019c2fe0
jffs2: Empty flash at 0x019c3020 ends at 0x019c31e0
jffs2: Empty flash at 0x019c3220 ends at 0x019c33e0
jffs2: Empty flash at 0x019c3420 ends at 0x019c35e0
jffs2: Empty flash at 0x019c3620 ends at 0x019c37e0
jffs2: Empty flash at 0x019c3820 ends at 0x019c39e0
jffs2: Empty flash at 0x019c3a20 ends at 0x019c3be0
jffs2: Empty flash at 0x019c3c20 ends at 0x019c3de0
jffs2: Empty flash at 0x019c3e20 ends at 0x019c3fe0
jffs2: Empty flash at 0x019c4020 ends at 0x019c41e0
jffs2: Empty flash at 0x019c4220 ends at 0x019c43e0
jffs2: Empty flash at 0x019c4420 ends at 0x019c45e0
jffs2: Empty flash at 0x019c4620 ends at 0x019c47e0
jffs2: Empty flash at 0x019c4820 ends at 0x019c49e0
jffs2: Empty flash at 0x019c4a20 ends at 0x019c4be0
jffs2: Empty flash at 0x019c4c20 ends at 0x019c4de0
jffs2: Empty flash at 0x019c4e20 ends at 0x019c4fe0
jffs2: Empty flash at 0x019c5020 ends at 0x019c51e0

 

 

Though many warnings, the uClinux can boot up successfully. However these warnings seem not good.

 

This warning  doesn't happen ofen. If I replace some file in nor falsh with a new one through FTP, and boot the uClinux, this warning appears almost every time.

 

Now I want to know how to avoid this warning?

 

__Buildroot:2012R2-RC5,     CPU:BF609.

Outcomes