Am Donnerstag, den 17.12.2009, 08:50 +0100 schrieb angelo: > Hi Greg and All, > > i have added to the kernel config the block and MTD support, anyway i > still have the same kernel panic > > Linux version 2.6.25-uc0 (ang...@miri) (gcc version 4.1.1) #31 Tue Dec 8 > 10:58:34 CET 2009 > > uClinux/COLDFIRE(m5307) > COLDFIRE port done by Greg Ungerer, g...@snapgear.com > Modified for M5307 by Dave Miller, dmil...@intellistor.com > Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne > Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064 > Kernel command line: > PID hash table entries: 64 (order: 6, 256 bytes) > Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) > Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) > Memory available: 13860k/16384k RAM, (1188k kernel code, 154k data) > Mount-cache hash table entries: 512 > net_namespace: 152 bytes > NET: Registered protocol family 16 > NET: Registered protocol family 2 > IP route cache hash table entries: 1024 (order: 0, 4096 bytes) > TCP established hash table entries: 512 (order: 0, 4096 bytes) > TCP bind hash table entries: 1024 (order: 0, 4096 bytes) > TCP: Hash tables configured (established 512 bind 1024) > TCP reno registered > JFS: nTxBlock = 108, nTxLock = 866 > io scheduler noop registered > io scheduler anticipatory registered > io scheduler deadline registered > io scheduler cfq registered (default) > ColdFire internal UART serial driver > ttyS0 at MMIO 0x100001c0 (irq = 73) is a ColdFire UART > console [ttyS0] enabled > ttyS1 at MMIO 0x10000200 (irq = 74) is a ColdFire UART > dm9000 Ethernet Driver, V1.30 > TCP cubic registered > NET: Registered protocol family 17 > VFS: Cannot open root device "<NULL>" or unknown-block(0,0) > Please append a correct "root=" boot option; here are the available > partitions: > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(0,0) > > > still seems that kernel cannot find the flash memory filesystem. > Is there any link/help to configure the kernel properly with mtd ? > I have a 16bit word, 4MByte flash, mapped at 0xffc00000. > Do i have to set this address somewhere in the kernel, to allow mtd to > detect it ? > > many thanks, > Angelo >
Hi Angelo, you have to enable the physmap driver, and specify start address and length of your flash there. You have to enable MTD_JEDECPROBE for non-CFI flash. For CFI-flash, you have to enable MTD_CFI_INTELEXT or MTD_CF_AMDSTD, depending on the type of flash that you use. If it still doesn't work, post your enabled kernel config options with *MTD* in the name, and the flashchip that you use. -Erwin _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev