[U-Boot-Users] Can't detect CFI flash in kernel

zsuly at hotmail.com zsuly at hotmail.com
Tue Dec 7 07:25:53 CET 2004


When I boot the kernel on my ppc850 board, there are something abnormal
printed from console:

> ## Loading RAMDisk Image at 10100000 ...
>    Image Name:   Simple Embedded Linux Framework
>    Created:      2004-12-02   3:28:57 UTC
>    Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
>    Data Size:    1459535 Bytes =  1.4 MB
>    Load Address: 00000000
>    Entry Point:  00000000
>    Verifying Checksum ... OK
> ## initrd at 0x10100040 ... 0x1026458E (len=1459535=0x16454F)
>    Loading Ramdisk to 00242000, end 003a654f ... OK
> ## Transferring control to Linux (at address 00000000) ...
> Linux version 2.4.24-pre2 (root at localhost.localdomain) (gcc version 3.2.2
200302
> 17 (Yellow Dog Linux 3.0 3.2.2-2a_1)) #1 ¶þ 12ÔÂ 7 10:27:24 CST 2004
> On node 0 totalpages: 1024
> zone(0): 1024 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> Kernel command line: root=/dev/ram rw
ip=192.168.1.81:192.168.1.80:192.168.1.1:2
> 55.255.255.0:pighead:eth0:off panic=1
> Decrementer Frequency = 187500000/60
> Warning: real time clock seems stuck!
> Calibrating delay loop... 49.66 BogoMIPS
> Memory: 964k available (1184k kernel code, 400k data, 56k init, 0k
highmem)
> Dentry cache hash table entries: 512 (order: 0, 4096 bytes)
> Inode cache hash table entries: 512 (order: 0, 4096 bytes)
> Mount cache hash table entries: 512 (order: 0, 4096 bytes)
> Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
> Page-cache hash table entries: 1024 (order: 0, 4096 bytes)
> POSIX conformance testing by UNIFIX
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> Starting kswapd
> JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
> JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications
AB.
> i2c-core.o: i2c core module version 2.6.1 (20010830)
> CPM UART driver version 0.04
> ttyS0 at 0x0280 is on SMC1 using BRG pty: 256 Unix98 ptys configured
> Status LED driver $Revision: 1.0 $ initialized
> eth0: CPM ENET Version 0.2 on SCC2, 00:30:1f:23:11:de
> RAMDISK driver initialized: 16 RAM disks of 6144K size 1024 blocksize
> CFI: Found no TQM8xxL Bank 0 device at location zero
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> TQM8xxL: No supported flash chips found!
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP, IGMP
> IP: routing cache hash table of 512 buckets, 4Kbytes
> TCP: Hash tables configured (established 512 bind 1024)

Then system hangs forever. I read the manual(13.2.6. Linux hangs after
uncompressing the kernel), and I make sure that the clocks_in_mhz and
CFG_IMMR are right defined. I doubt the reason is the flash can't be found
by kernel. The flash model is INTEL28F320S3 and it supports CFI command. I
have used it all right with strataflash driver in U-Boot. When I used "make
menuconfig", I set the flowing configs:
[RAM/ROM/FLASH chip drivers]
<*>Detect flash chips by Common Flash Interface (CFI) probe
<*>Support for Intel/Sharp flash chips
<*>Support for ROM chips in bus mapping

Did I config something wrong?




More information about the U-Boot mailing list