public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Can't detect CFI flash in kernel
@ 2004-12-07  6:25 zsuly at hotmail.com
  2004-12-07  7:40 ` Marc Leeman
  2004-12-07  7:58 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: zsuly at hotmail.com @ 2004-12-07  6:25 UTC (permalink / raw)
  To: u-boot

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Can't detect CFI flash in kernel
  2004-12-07  6:25 [U-Boot-Users] Can't detect CFI flash in kernel zsuly at hotmail.com
@ 2004-12-07  7:40 ` Marc Leeman
  2004-12-07  7:58 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Leeman @ 2004-12-07  7:40 UTC (permalink / raw)
  To: u-boot

> > CFI: Found no TQM8xxL Bank 0 device at location zero

CFI cannot probe your flash, maybe your mapping is not correct.

> 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. 

euhm, what would be the error? By the time you get to this point, any
responsibility of u-boot is long gone (did it's job and now it's up to
the kernel).

> Did I config something wrong?

Yes, posting to the wrong mailinglist >:)

You will need to check your kernel config and/or flash config mapping

-- 
ash nazg durbatul?k, ash nazg gimbatul,
ash nazg thrakatul?k agh burzum-ishi krimpatul

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Can't detect CFI flash in kernel
  2004-12-07  6:25 [U-Boot-Users] Can't detect CFI flash in kernel zsuly at hotmail.com
  2004-12-07  7:40 ` Marc Leeman
@ 2004-12-07  7:58 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2004-12-07  7:58 UTC (permalink / raw)
  To: u-boot

In message <BAY13-DAV16FBC98B5E51CF7ECD4B38A6B50@phx.gbl> you wrote:
> When I boot the kernel on my ppc850 board, there are something abnormal
> printed from console:
...
> > CFI: Found no TQM8xxL Bank 0 device at location zero
>                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > TQM8xxL: No supported flash chips found!
...
> by kernel. The flash model is INTEL28F320S3 and it supports CFI command. I
...
> Did I config something wrong?

Yes, you did. You made several errors.


First, this has nothing to do with U-Boot, so  your  posting  is  off
topic on this list.

Second, you use a TQM8xxL configuration on a non-TQM8xxL board  which
is an invitation for trouble.

Finally, your MTD configuration is inappropriate / incomplete.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Beware of the Turing Tar-pit in  which  everything  is  possible  but
nothing of interest is easy.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-07  7:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-07  6:25 [U-Boot-Users] Can't detect CFI flash in kernel zsuly at hotmail.com
2004-12-07  7:40 ` Marc Leeman
2004-12-07  7:58 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox