Hi, guys

I am working on davinci EVM
I compile the kernel Image with nand option, and boot from tftp happily. and
got three partition on Nand Flash.
Then I erase the second Partition using

           flash_eraseall  /dev/mtd1

Then i copied the kernel Image from NFS to Nand mtd1

          nandwrite -p /dev/mtd1 uImage

this works fine.

Then I erase the third partition with the given command

        flash_eraseall /dev/mtd2

Then I wrote the jffs.img to Nand like this
         nandwrite  -p  /dev/mtd2  jffs.img
this works fine .
But when i rebooted the board with appropriate bootcmd to boot from nand
flash.
I am getting some strange messages which are given below.

Is i did somthing wrong.

Please help to comeout from this problem

thanks
Hitesh


====================================================
Loading from device 0: <NULL> at 0x2000000 (offset 0x104000)
  Image Name:   Linux-2.6.18-omap1
  Image Type:   ARM Linux Kernel Image (uncompressed)
  Data Size:    1671500 Bytes =  1.6 MB
  Load Address: 80008000
  Entry Point:  80008000
Warning block writes should be at least 512 bytes and start on a 512 byte
boundry
Automatic boot of image at addr 0x80200000 ...
## Booting image at 80200000 ...
  Image Name:   Linux-2.6.18-omap1
  Image Type:   ARM Linux Kernel Image (uncompressed)
  Data Size:    1671500 Bytes =  1.6 MB
  Load Address: 80008000
  Entry Point:  80008000
  Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing
Linux..............................................................................Linux
version 2.6.18-omap1 ([EMAIL PROTECTED]) (gcc version 3.4.3 (MontaVista
3.4.3-25.0.30.050117CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ),
cr=00053177
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
DM6443
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
Built 1 zonelists.  Total pages: 25600
Kernel command line: console=ttyS0,115200n8 root=/dev/mtdblock2 rw
rootfstype=jffs2 mem=100M
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 100MB = 100MB total
Memory: 94464KB available (2897K code, 606K data, 140K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
DaVinci: 71 gpio irqs
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
Initializing DaVinci McBSP system
NTFS driver 2.1.27 [Flags: R/W].
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
JFFS2 version 2.2. (NAND) (SUMMARY)  (C) 2001-2006 Red Hat, Inc.
fuse init (API version 7.7)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
Setting Up Clocks for DM420 OSD
Framebuffer allocated at 0x86200000 mapped to 0xff000000, size 1536k
Framebuffer allocated at 0x80800000 mapped to 0xff180000, size 1536k
Framebuffer allocated at 0x86380000 mapped to 0xff300000, size 384k
Framebuffer allocated at 0x80a00000 mapped to 0xff360000, size 1536k
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
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
TI DaVinci EMAC: MAC address is deadbeaf
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[EMAIL PROTECTED]>
netconsole: not configured, aborting
i2c /dev entries driver
TLV320AIC23 I2C version 1.8 (10-Feb-2006)
st: Version 20050830, fixed bufsize 32768, s/g segs 256
SCSI Media Changer driver v0.25
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
INFTL: inftlcore.c $Revision: 1.19 $, inftlmount.c $Revision: 1.18 $
DaVinci NAND Controller rev. 2.1
NAND device: Manufacturer ID: 0xec, Chip ID: 0x36 (Samsung NAND 64MiB 1,8V
8-bit)
Creating 3 MTD partitions on "NAND 64MiB 1,8V 8-bit":
0x00000000-0x00104000 : "Bootloader"
0x00104000-0x00500000 : "Kernel"
0x00500000-0x04000000 : "User Space"
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Node at 0x00003788 with length 0x00000ac2 would run over the end of the
erase block
Perhaps the file system was created with the wrong erase size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000378c:
0x0ac2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00003790:
0x972c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00003794:
0x0013 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00003798:
0x0006 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000379c:
0x81ed instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000037a4:
0x6398 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000037a8:
0x6450 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000037ac:
0x6450 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000037b0:
0x6450 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000037b4:
0x5000 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004000:
0x0917 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004004:
0xe411 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004008:
0x72c5 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000400c:
0x3de1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004010:
0x7436 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004014:
0xc2bb instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004018:
0xafb2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000401c:
0xf304 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004020:
0x9f03 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004024:
0xe050 instead
Further such events for this erase block will not be printed
Node at 0x000077fc with length 0x00000a0a would run over the end of the
erase block
Perhaps the file system was created with the wrong erase size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008000:
0xbcdf instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008004:
0x55d1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008008:
0xd8ca instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000800c:
0x0ed8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008010:
0x9292 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008014:
0xf4c6 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008018:
0x01de instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000801c:
0xdbf5 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008020:
0x78b1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008024:
0x9eb4 instead
Further such events for this erase block will not be printed
Node at 0x0000b664 with length 0x00000a4a would run over the end of the
erase block
Perhaps the file system was created with the wrong erase size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c000:
0x6635 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c004:
0x482b instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c008:
0xc147 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c00c:
0xfa5b instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c010:
0x6ff4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c014:
0x00fe instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c018:
0x8dbb instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c01c:
0xa71c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c020:
0x3e04 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c024:
0xa707 instead
Further such events for this erase block will not be printed
Node at 0x0000fe24 with length 0x00000abe would run over the end of the
erase block
Perhaps the file system was created with the wrong erase size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000:
0x2247 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004:
0x7c40 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008:
0xc4b4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001000c:
0x135a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010010:
0x9a9c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010014:
0xcbb5 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010018:
0x2ca2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001001c:
0x10f4 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010020:
0xddb1 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010024:
0xf0f5 instead
Further such events for this erase block will not be printed
Node at 0x00013d40 with length 0x00000aa0 would run over the end of the
erase block
Perhaps the file system was created with the wrong erase size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014000:
0x00f3 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014004:
0x5a65 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014008:
0x5f83 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001400c:
0xaa1f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014010:
0x676e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014014:
0x3fd0 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014018:
0xd648 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001401c:
0x888e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014020:
0xd859 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014024:
0xd716 instead
Further such events for this erase block will not be printed
Node at 0x00017e54 with length 0x00000b33 would run over the end of the
erase block
Perhaps the file system was created with the wrong erase size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018000:
0x47ac instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018004:
0x838a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018008:
0xe3fc instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001800c:
0xd659 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018010:
0xed04 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018014:
0xb345 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018018:
0xdf82 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001801c:
0x2364 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018020:
0x13f7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018024:
0x1ab6 instead
Further such events for this erase block will not be printed
Node at 0x0001bd08 with length 0x00000aab would run over the end of the
erase block
Perhaps the file system was created with the wrong erase size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001c000:
0x42e7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001c004:
0xe999 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001c008:
0x0beb instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001c00c:
0x94fd instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001c010:
0x91d8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001c014:
0x5360 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001c018:
0xdbf2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001c01c:
0xb6cd instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001c020:
0x936e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001c024:
0x46b5 instead
Further such events for this erase block will not be printed
Node at 0x00023b74 with length 0x00000a8a would run over the end of the
erase block
Perhaps the file system was created with the wrong erase size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00023b78:
0x0a8a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00023b7c:
0xe7fe instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00023b80:
0x0013 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00023b84:
0x0038 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00023b88:
0x81ed instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00023b90:
0x6398 instead
          ...
          ...
          ...
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0086c00c:
0x2db7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0086c010:
0xaf78 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0086c014:
0x2088 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0086c018:
0xdb8a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0086c01c:
0x6296 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0086c020:
0x712f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0086c024:
0x5799 instead
Further such events for this erase block will not be printed
JFFS2 notice: (1) jffs2_build_xattr_subsystem: complete building xattr
subsystem, 0 of xdatum (0.VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 140K
=============================================


After this it stucked there and the only way tto come out of it is hardware
restart.....



Please help me if anybody got the idia obout it that what is going wrong....
Thanks
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to