2009-03-10 08:56:06     JFFS2-Error Kernel TCMBF537-Module resets during startup

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

2009-03-10 08:56:06     JFFS2-Error Kernel TCMBF537-Module resets during startup

Michael Heiser (GERMANY)

Message: 70693   

 

Hey guys

 

A very strange Error on my TCM-BF537 -Module has occured while testing other configurations of Host-Bus-Interface for my Epson S1d13513. The error occured while intitializing JFFS2-FileSystem.

 

The changes for the host bus Interface were that I connected WE1 to ABE1 for Upper Byte enable and WE0 to ABE0 for lower Byte enable. On Generic Interface these Pins are together in AWE Pin of the BF537. RD of the Epson I connected to ARE on Blackfin, and RD/WR of the Epson I connected to AWE on Blackfin. In generic Mode RD and RD/WR are to AWE connected. My proposal was that the so called 80 Type 1 Indirect - HostBusInterface for the Epson don't need the Sysclock of the Blackfin while Generic Mode needs the Sysclock.

 

The problem with the Sysclock is, that the CLKOUT Signal delivers 100 Mhz and the Epson only does 50 Mhz Busclock. During many testings with 100 Mhz CLKOUT the whole testing Environment crashed short after booting the devices. After I changed CLKOUT in U-Boot to 50 Mhz all worked well. But for other Applications I need the whole Sysclock on Blackfin.

 

That is the Reason why testing CLKOUT-less Configuration for Epson.

 

Now this Error occured during bootup the devices:

 

simple-gpio: now handling 48 GPIOs: 0 - 47

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

Serial: Blackfin serial driver

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

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

tun: Universal TUN/TAP device driver, 1.6

tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

arch/blackfin/mach-bf537/boards/cm_bf537.c:bfin_get_ether_addr: Setting Ethernet MAC to a rande

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz()

bfin_mac: Version 1.1, Blackfin BF53[67] BF527 on-chip Ethernet MAC driver

gpio-addr-flash: probing 16-bit flash bus

gpio-addr-flash: Found 1 x16 devices at 0x0 in 16-bit bank

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Using buffer write method

cfi_cmdset_0001: Erase suspend on write enabled

cmdlinepart partition parsing not available

RedBoot partition parsing not available

gpio-addr-flash: Using board partition definition

Creating 3 MTD partitions on "gpio-addr-flash":

0x00000000-0x00040000 : "u-boot (256k)"

0x00040000-0x00180000 : "uClinux-kernel (1280k)"

0x00180000-0x00800000 : "filesystem (6656k)"

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc007

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

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting the system clock to 1970-01-01 03:41:39 (13299)

Empty flash at 0x0002fffc ends at 0x00030000

Empty flash at 0x0004fffc ends at 0x00050000

Empty flash at 0x0006fffc ends at 0x00070000

Empty flash at 0x0008fffc ends at 0x00090000

Empty flash at 0x000afffc ends at 0x000b0000

Empty flash at 0x000cfffc ends at 0x000d0000

Empty flash at 0x000efffc ends at 0x000f0000

Empty flash at 0x0010fffc ends at 0x00110000

Empty flash at 0x0012fffc ends at 0x00130000

Empty flash at 0x0014fffc ends at 0x00150000

Empty flash at 0x0016fffc ends at 0x00170000

Empty flash at 0x0018fffc ends at 0x00190000

Empty flash at 0x001afffc ends at 0x001b0000

Empty flash at 0x001cfffc ends at 0x001d0000

Empty flash at 0x001efffc ends at 0x001f0000

VFS: Mounted root (jffs2 filesystem).

Freeing unused kernel memory: 68k freed

JFFS2 error: (1) jffs2_do_read_inode_internal: Argh. Special inode #223 with mode 0x21a0 had me

JFFS2 warning: (1) jffs2_do_read_inode_internal: Truncating ino #220 to 362836 bytes failed be!

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

 

Anyone has an Idea what it can be?

 

Regards Michael

TranslateQuoteReplyEditDelete

 

 

2009-03-10 22:32:23     Re: JFFS2-Error Kernel TCMBF537-Module resets during startup

Yi Li (CHINA)

Message: 70732   

 

Michael,

 

Could you try to erase your nand flash with "flash_eraseall -j" and write image again?

 

-Yi

QuoteReplyEditDelete

 

 

2009-03-11 03:13:04     Re: JFFS2-Error Kernel TCMBF537-Module resets during startup

Michael Heiser (GERMANY)

Message: 70737   

 

Hi Yi,

 

I already deleted flash in U-Boot. An the same error occurs. But I can try your suggestion too.

 

Regards Michael

TranslateQuoteReplyEditDelete

 

 

2009-03-11 06:33:26     Re: JFFS2-Error Kernel TCMBF537-Module resets during startup

Michael Heiser (GERMANY)

Message: 70759   

 

After deleting the whole flash in U-Boot it worked fine

 

Thanks Yi

Attachments

    Outcomes