Hi ,
In boot process i get the following output:
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Linux version 2.6.18_pro500-davinci_IPNC_DM368_2.6.0 (root@localhost.localdomain) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEM1
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci DM368 IPNC
Memory policy: ECC disabled, Data cache writeback
DaVinci DM0365 variant 0x8
PLL0: fixedrate: 24000000, commonrate: 170000000, vpssrate: 340000000
PLL0: vencrate_sd: 75555555, ddrrate: 340000000 mmcsdrate: 48571428
PLL1: armrate: 432000000, voicerate: 20571428, vencrate_hd: 27000000
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: 12288
Kernel command line: mem=48M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,16M ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:::off e’
PID hash table entries: 256 (order: 8, 1024 bytes)
Clock event device timer0_0 configured with caps set: 07
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 48MB = 48MB total
Memory: 28288KB available (3117K code, 647K data, 176K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 16384K
NET: Registered protocol family 16
DaVinci: 104 gpio irqs
MUX: initialized GPIO20
MUX: initialized I2C_SCL
Generic PHY: Registered new driver
ch0 default output "COMPOSITE", mode "NTSC"
VPBE Encoder Initialized
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
***davinci_spi_board_init()!<6>
***davinci_spi_board_init_End(0)!<5>VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.1 (2006/08/19) Phillip Lougher
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Jun 30 2011 15:45:25 Installing.
SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
LTT : ltt-facilities init
LTT : ltt-facility-core init in kernel
DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfbc20000 (irq = 40) is a 16550A
serial8250.0: ttyS1 at MMIO map 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
Linux video capture interface: v2.00
Trying to register davinci display video device.
layer=c14eea00,layer->video_dev=c14eeb60
Trying to register davinci display video device.
layer=c14ee800,layer->video_dev=c14ee960
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
i2c /dev entries driver
nand_davinci nand_davinci.0: Using 4-bit hardware ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Creating 7 MTD partitions on "nand_davinci.0":
0x00000000-0x00300000 : "bootloader"
0x00300000-0x00500000 : "params"
0x00500000-0x00700000 : "kernel"
0x00700000-0x02700000 : "filesystem"
0x02700000-0x02900000 : "data1"
0x02900000-0x02d00000 : "Calibration"
0x02d00000-0x08000000 : "data2"
nand_davinci nand_davinci.0: hardware revision: 2.3
MUX: initialized SPI0_SCLK
MUX: initialized SPI0_SDO)
dm_spi.0: davinci SPI Controller driver at 0xc3866000 (irq = 42) use_dma=0
rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: proc
rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: dev (254:0)
rtc_davinci_dm365 rtc_davinci_dm365.0: rtc core: registered rtc_davinci_dm365 as rtc0
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ASoC version 0.13.1
CQ0093 Voice Codec 0.1
asoc: cq93vc <-> davinci-vcif mapping ok
ALSA device list:
#0: On-chip voice codec (cq93vc)
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
rtc_davinci_dm365 rtc_davinci_dm365.0: setting the system clock to 2000-01-01 03:37:52 (946697872)
Time: timer0_1 clocksource has been installed.
Clock event device timer0_0 configured with caps set: 08
Switched to high resolution mode on CPU 0
IP-Config: No network devices available.
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 14136KiB [1 disk] into ram disk... done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 176K
INIT: version 2.86 booting
0
mkdir: Cannot create directory `/dev/.test': Read-only file system
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
0
CSL: Module install successful, device major num = 253
CSL: Module version 0.10.00, built on Jun 30 2011 15:48:54
I2C: Module install successful, device major num = 252
DMA: Module install successful, device major num = 251
DRV: Module install successful
DRV: Module built on Jun 30 2011 15:48:55
DRV: EDMACC.QUEPRI = 00000777
DRV: SYSTEM.MSTPRI0 = 00440022
DRV: SYSTEM.MSTPRI1 = 00000244
DRV: ISP.BCR = 00000002
DRV: SYSTEM.MISC = 00000391
CMEMK module: built on Jun 30 2011 at 15:48:36
Reference Linux version 2.6.18
File /home/user/workdir/dvsdk_2_10_01_18_v2.6/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xc4000000 of size 0x5000000
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
cmemk initialized
EDMAK module: built on Jun 30 2011 at 15:48:37
Reference Linux version 2.6.18
File /home/user/workdir/dvsdk_2_10_01_18_v2.6/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
IRQK module: built on Jun 30 2011 at 15:48:38
Reference Linux version 2.6.18
File /home/user/workdir/dvsdk_2_10_01_18_v2.6/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
irqk initialized
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0xfdff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0xff5f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0xedff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0xfffd instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x77ff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x7dfd instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0xfedf instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0xd7ff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000028: 0xfdff instead
Further such events for this erase block will not be printed
Empty flash at 0x00000158 ends at 0x0000015c
Empty flash at 0x00000198 ends at 0x0000019c
Empty flash at 0x0000040c ends at 0x00000410
Empty flash at 0x000004ec ends at 0x000004f0
Empty flash at 0x00000590 ends at 0x00000594
Empty flash at 0x00000718 ends at 0x0000071c
Empty flash at 0x000007cc ends at 0x000007d0
Empty flash at 0x00000868 ends at 0x0000086c
Empty flash at 0x00000880 ends at 0x00000884
Empty flash at 0x000008e8 ends at 0x000008ec
Empty flash at 0x000009d0 ends at 0x000009d4
Empty flash at 0x00000ab8 ends at 0x00000abc
Empty flash at 0x00000c28 ends at 0x00000c2c
Empty flash at 0x00000d08 ends at 0x00000d0c
Empty flash at 0x00000da0 ends at 0x00000da4
Empty flash at 0x00000ddc ends at 0x00000de0
Empty flash at 0x00000ee4 ends at 0x00000ee8
Empty flash at 0x00000fac ends at 0x00000fb0
Empty flash at 0x000011e0 ends at 0x000011e4
Empty flash at 0x00001464 ends at 0x00001468
Empty flash at 0x000015c8 ends at 0x000015cc
Empty flash at 0x00001640 ends at 0x00001644
Empty flash at 0x000016a4 ends at 0x000016a8
Empty flash at 0x000019a0 ends at 0x000019a4
Empty flash at 0x00001a7c ends at 0x00001a80
Empty flash at 0x00001b94 ends at 0x00001b98
Empty flash at 0x00001bd8 ends at 0x00001bdc
Empty flash at 0x00001c0c ends at 0x00001c10
Empty flash at 0x00001c30 ends at 0x00001c34
Empty flash at 0x00001c7c ends at 0x00001c80
Empty flash at 0x00001c9c ends at 0x00001ca0
Empty flash at 0x00001cc8 ends at 0x00001ccc
Empty flash at 0x00001cd4 ends at 0x00001cd8
Empty flash at 0x00001d04 ends at 0x00001d08
Empty flash at 0x00001d28 ends at 0x00001d2c
Empty flash at 0x00001d58 ends at 0x00001d5c
Empty flash at 0x00001d6c ends at 0x00001d70
Empty flash at 0x00001d98 ends at 0x00001d9c
Empty flash at 0x00001da4 ends at 0x00001da8
Empty flash at 0x00001db8 ends at 0x00001dbc
Empty flash at 0x00001df8 ends at 0x00001dfc
Empty flash at 0x00001f94 ends at 0x00001f98
Empty flash at 0x00001fc0 ends at 0x00001fc4
Empty flash at 0x00001ff4 ends at 0x00001ff8
Empty flash at 0x00002078 ends at 0x0000207c
Empty flash at 0x000020a4 ends at 0x000020a8
Empty flash at 0x000020e0 ends at 0x000020e8
Empty flash at 0x00002134 ends at 0x00002138
Empty flash at 0x000021c4 ends at 0x000021c8
Empty flash at 0x00002230 ends at 0x00002234
Empty flash at 0x00002268 ends at 0x0000226c
Empty flash at 0x000022a8 ends at 0x000022ac
Empty flash at 0x000022bc ends at 0x000022c0
Empty flash at 0x000022f0 ends at 0x000022f8
Empty flash at 0x00002308 ends at 0x0000230c
Empty flash at 0x00002340 ends at 0x00002344
Empty flash at 0x00002354 ends at 0x00002358
Empty flash at 0x00002374 ends at 0x00002378
Empty flash at 0x000023dc ends at 0x000023e4
Empty flash at 0x000023ec ends at 0x000023f0
Empty flash at 0x000023fc ends at 0x00002400
Empty flash at 0x0000241c ends at 0x00002420
Empty flash at 0x0000243c ends at 0x00002440
Empty flash at 0x0000245c ends at 0x00002460
Empty flash at 0x00002464 ends at 0x00002468
Empty flash at 0x00002484 ends at 0x00002488
Empty flash at 0x000024a0 ends at 0x000024a4
Empty flash at 0x000024d4 ends at 0x000024d8
Empty flash at 0x0000250c ends at 0x00002510
Empty flash at 0x00002534 ends at 0x00002538
Empty flash at 0x00002540 ends at 0x00002544
Empty flash at 0x00002580 ends at 0x00002584
Empty flash at 0x00002588 ends at 0x0000258c
Empty flash at 0x00002594 ends at 0x00002598
Empty flash at 0x000025bc ends at 0x000025c0
Empty flash at 0x000025d0 ends at 0x000025d4
Empty flash at 0x00002678 ends at 0x00002680
Empty flash at 0x0000268c ends at 0x00002690
Empty flash at 0x00002758 ends at 0x0000275c
Empty flash at 0x000027bc ends at 0x000027c0
Empty flash at 0x000027c8 ends at 0x000027d0
Empty flash at 0x000027e8 ends at 0x000027ec
Empty flash at 0x0000281c ends at 0x00002820
Empty flash at 0x00002834 ends at 0x00002838
Empty flash at 0x00002840 ends at 0x00002844
Empty flash at 0x0000287c ends at 0x00002880
Empty flash at 0x00002890 ends at 0x00002898
Empty flash at 0x000028cc ends at 0x000028d0
Empty flash at 0x000028e8 ends at 0x000028ec
Empty flash at 0x000028f4 ends at 0x000028f8
Empty flash at 0x0000292c ends at 0x00002930
Empty flash at 0x00002944 ends at 0x00002948
Empty flash at 0x00002970 ends at 0x00002974
Empty flash at 0x00002990 ends at 0x00002994
Empty flash at 0x000029b0 ends at 0x000029b4
Empty flash at 0x000029e0 ends at 0x000029e8
Empty flash at 0x000029fc ends at 0x00002a00
Empty flash at 0x00002a3c ends at 0x00002a40
Empty flash at 0x00002a50 ends at 0x00002a54
Empty flash at 0x00002a58 ends at 0x00002a5c
Empty flash at 0x00002a70 ends at 0x00002a74
Empty flash at 0x00002a84 ends at 0x00002a88
Empty flash at 0x00002aa0 ends at 0x00002aa4
Empty flash at 0x00002abc ends at 0x00002ac0
Empty flash at 0x00002ad4 ends at 0x00002ad8
Empty flash at 0x00002ae4 ends at 0x00002ae8
Empty flash at 0x00002b0c ends at 0x00002b10
Empty flash at 0x00002b44 ends at 0x00002b4c
Empty flash at 0x00002b5c ends at 0x00002b60
Empty flash at 0x00002b6c ends at 0x00002b70
Empty flash at 0x00002b9c ends at 0x00002ba0
Empty flash at 0x00002ba8 ends at 0x00002bac
Empty flash at 0x00002bcc ends at 0x00002bd0
Empty flash at 0x00002bec ends at 0x00002bf0
Empty flash at 0x00002c08 ends at 0x00002c0c
Empty flash at 0x00002c40 ends at 0x00002c44
Empty flash at 0x00002c74 ends at 0x00002c78
Empty flash at 0x00002c7c ends at 0x00002c80
Empty flash at 0x00002cb8 ends at 0x00002cbc
Empty flash at 0x00002cc0 ends at 0x00002cc4
Empty flash at 0x00002cd0 ends at 0x00002cd4
Empty flash at 0x00002cfc ends at 0x00002d00
Empty flash at 0x00002d38 ends at 0x00002d3c
Empty flash a
DM36x initialization passed!
TI UBL Base Version: 1.50
Boot Loader BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000008.
Boot Mode Task Completed
IPNC UBL Version: 1.1.0
Platform: DM368
Jumping to entry point at 0x81080000
U-Boot 1.3.4 (Dec 9 2010 - 17:44:14) DM368-IPNC-1.0.1
I2C: ready
DRAM: 128 MB
NAND: NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
128 MiB
In: serial
Out: serial
Err: serial
ARM Clock :- 432MHz
DDR Clock :- 340MHz
Ethernet PHY: GENERIC @ 0x01
Hit any key to stop autobootty
I am getting these Empty flash messages constanty:
My boot steps are the following:
tftpboot 0x80700000 uImage_ipnc_dm368_IMX036_2.60.01
nand erase 0x500000 0x200000
nand write 0x80700000 0x500000 0x200000
tftpboot 0x82000000 cramfsImage_ipnc_dm368_IMX036_2.60.01
nand erase 0x700000 0xD00000
nand write 0x82000000 0x700000 0xD00000
setenv bootcmd 'nand read 0x82000000 0x700000 0xD00000; nboot 0x80700000 0 0x500000; bootm'
setenv bootargs 'mem=48M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,16M ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:::off eth=00:0C:0C:’
Using these steps i am installing the same uimage and cramfs image that have come with Appro reference design.
Please guide me about any reasons for this error.
Thanks and Regards,
Mayank