Hi All,
This is yogesh working on Davinci board, Where we have 32MB of Flash
which i am able to do read/write.
Flash mapping is as follows
0x02000000 0x02040000 (u-boot)
0x02060000 0x021A0000 (linux kernel)
0x02240000 0x02FFFFFF(flash file system)
where we are able to load kernel image and root file system image (jffs2
image) on to the flash after the kernel decompresses it gives out the
following error
/**************************** Log Start ******************************/
U-Boot 1.1.3 (Aug 29 2006 - 11:01:02)
U-Boot code: 81000000 -> 81018400 BSS: -> 81020E28
RAM Configuration:
Bank #0: 80000000 256 MB
MY SPANSION Flash: 32 MB
In: serial
Out: serial
Err: serial
ARM Clock :- 283MZ
DDR Clock :- 189MZ
Hit any key to stop autoboot: 3 2 1 0
#Elxi1000 bootm
Load address: 0x02240000
Loading:
*#################################################################
#################################################################
#################################################################
#################################################################
########################
done
Bytes transferred = 1451112 (162468 hex)
## Booting image at 02240000 ...
Image Name: linux-2.6.10_mvl401-davinci_evm
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1451048 Bytes = 1.4 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing
Linux.......................................................................
....................... done,
booting the.Linux version 2.6.10_mvl401-davinci_evm
([EMAIL PROTECTED]) (gcc version 3.4.3 (MontaVista
3.4.3-25.0.30.0501131 2005-07-23)) #8
Mon Dec 11 12:49:06 IST 2006
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200n8 noinitrd
root=/dev/mtdblock0 rw
PID hash table entries: 2048 (order: 11, 32768 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 256MB = 256MB total
Memory: 256384KB available (2479K code, 531K data, 148K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
desched thread 0 started up.
NET: Registered protocol family 16
Registering platform device 'musb_hdrc'. Parent at platform
DaVinci I2C DEBUG: 10:17:07 Dec 8 2006
Registering platform device 'i2c'. Parent at platform
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Dec 8 2006 10:26:43 Installing.
Registering platform device 'davincifb.0'. Parent at platform
Setting Up Clocks for DM420 OSD
Console: switching to colour frame buffer device 90x30
fb0: dm_osd0_fb frame buffer device
fb1: dm_vid0_fb frame buffer device
fb2: dm_osd1_fb frame buffer device
fb3: dm_vid1_fb frame buffer device
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing
disabled
Registering platform device 'serial8250'. Parent at platform
ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
Registering platform device 'ti_davinci_emac'. Parent at platform
TI DaVinci EMAC: MAC address is deadbeaf
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
netconsole: not configured, aborting
i2c /dev entries driver
Linux video capture interface: v1.00
Registering platform device 'vpfe.1'. Parent at platform
DaVinci v4l2 capture driver V1.0 loaded
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
Palm Chip BK3710 IDE Register Fail
elevator: using anticipatory as default io scheduler
$Id: ftl.c,v 1.55 2005/01/17 13:47:21 hvr Exp $
NFTL driver: nftlcore.c $Revision: 1.96 $, nftlmount.c $Revision: 1.39 $
INFTL: inftlcore.c $Revision: 1.17 $, inftlmount.c $Revision: 1.15 $
physmap flash device: 4000000 at 8000000
RedBoot partition parsing not available
mtd: Giving out device 0 to phys_mapped_flash
ftl_cs: FTL header not found.
mtd: Giving out device 1 to mtdram test device
ftl_cs: FTL header not found.
No valid DiskOnChip devices found
DaVinci NAND Controller rev. 2.1
No NAND device found!!!
Chip Select is not set for NAND
mice: PS/2 mouse device common for all mice
musb_hdrc: version 2.2a/db-0.4.8 [pio] [host] [debug=0]
musb_hdrc: USB Host mode controller at d0866000 using PIO, IRQ 12
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Registering platform device 'davinci-audio.0'. Parent at platform
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
IPv4 over IPv4 tunneling driver
NET: Registered protocol family 1
NET: Registered protocol family 17
usb 1-1: new high speed USB device using musb_hdrc and address 2
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
IP-Config: Incomplete network configuration information.
yaffs: dev is 32505856 name is "mtdblock0"
yaffs: Attempting MTD mount on 31.0, "mtdblock0"
yaffs: MTD device is not NAND it's type 2
yaffs: dev is 32505856 name is "mtdblock0"
yaffs: Attempting MTD mount on 31.0, "mtdblock0"
yaffs: MTD device is not NAND it's type 2
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(31,0)
/*************************** Log End *****************************/
where we have device in dev
mknod /dev/mtd0 c 90 0
mknod /dev/mtdblock0 b 31 0
Could anybody please tell what could be the problem.
thanks
regards
yogesh
[EMAIL PROTECTED]
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source