Hi,
First of all sincere thanks to Anshuman for guiding me.
Now i am able to get the board boot up but i am getting the erros as given below:
umping 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 autoboot: 0
Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000
Image Name: Linux-2.6.18_pro500-davinci_IPNC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1865336 Bytes = 1.8 MB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.18_pro500-davinci_IPNC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1865336 Bytes = 1.8 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Linux version 2.6.18_pro500-davinci_IPNC_DM368_2.6.0 (mayank@mayank-laptop) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Sun1
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/mtdblock3 rw initrd=0x82000000,16M ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:::’
TI DaVinci EMAC: kernel boot params Ethernet address: 00:0C:0C:A0:00:24��’
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: 28196KB available (3193K code, 654K data, 184K 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 Sep 4 2011 17:00:04 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
Davinci EMAC MII Bus: probed
MAC address is 00:0C:0C:A0:00:24
TI DaVinci EMAC Linux version updated 4.0
netconsole: not configured, aborting
Linux video capture interface: v2.00
Trying to register davinci display video device.
layer=c2f08000,layer->video_dev=c2f08160
Trying to register davinci display video device.
layer=c2f1be00,layer->video_dev=c2f1bf60
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
musb_hdrc: version 6.0, cppi-dma, peripheral, debug=0
musb_hdrc musb_hdrc: No DMA interrupt line
musb_hdrc: USB Peripheral mode controller at c3866000 using DMA, IRQ 12
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
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
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 08:05:43 (946713943)
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: Complete:
device=eth0, addr=192.168.1.101, mask=255.255.255.0, gw=192.168.1.1,
host=192.168.1.101, domain=, nis-domain=(none),
bootserver=192.168.1.100, rootserver=192.168.1.100, rootpath=
RAMDISK: Couldn't find valid RAM disk image starting at 0.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 184K
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: disagrees about version of symbol struct_module
insmod: cannot insert `./csl.ko': Invalid module format (-1): Exec format error
drv: disagrees about version of symbol struct_module
insmod: cannot insert `./drv.ko': Invalid module format (-1): Exec format error
BusyBox v1.2.2 (2007.03.11-00:56+0000) multi-call binary
Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR
Create a special file (block, character, or pipe).
Options:
-m create the speccmemk: disagrees about version of symbol struct_module
ial file using the specified mode (default a=rw)
TYPEs include:
b: Make a block (buffered) device
c or u: Make a character (un-buffered) device
p: Make a named pipe. MAJOR and MINOR are ignored for named pipes
BusyBox v1.2.2 (2007.03.11-00:56+0000) multi-call edmak: disagrees about version of symbol struct_module
binary
Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR
Create a special file (block, character, or pipe).
Options:
-m create the special file using the specified mode (default a=rw)
TYPEs include:
b: Make a block (buffered) device
c or u: Make a character (un-buffered) device
p: Make a named pipe. MAJOirqk: disagrees about version of symbol struct_module
R and MINOR are ignored for named pipes
insmod: cannot insert `cmemk.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `edmak.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `irqk.ko': Invalid module format (-1): Exec fdm365mmap: disagrees about version of symbol struct_module
ormat error
insmod: cannot insert `dm365mmap.ko': Invalid module format (-1): Exec format error
Creat queue id:0
queue id:0
FileMngThread created
Creat queue id:32769
queue id:32769
queue id:32769
AlramThread created
Share memory init success
IPNC_DM368_2.6.0 (mayank@mayank-laptop) (gcc version 4.2.0 (Mon
Creat queue id:65538
queue id:65538
Starting mounting local filesystems: mount queue id:65538
Creat queue id:98307
queue id:98307
CPU is DM368
./av_server.out DM368 NTSC APPRO2A AEWB 720P H264 5000000 VBR AUTO MENUOFF &
Check_device_version : DEVICE VER = 1 !!
none on /dev/shm type tmpfs (rw,size=5M)
none on /var/run type tmpfs (rw)
none on /tmp type tmpfs (rw,sync)
Setting up networking ...rm: unable to remove `/etc/network/run': Read-only file system
ApproDrvInit: 7
CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
Error: ApproDrvInit fail
SystemInit success
Schedule manager init success
Starting hotplug subsystem:
pci
pci [success]
usb
AVSERVER UI: Initializing.
ERROR (drv.c|DRV_init|31): CSL init
ERROR (drv.c|DRV_init|107): DRV_init()
ERROR (avServerApi.c|AVSERVER_init|572): DRV_init()
ERROR (avServerUi.c|UI_start|54): AVSERVER_init()
usb [success]
isapnp
isapnp [success]
ide
ide [success]
input
input [success]
scsi
scsi [success]
done.
Starting portmap daemon: portmap.
Starting internet superserver: inetdcrc_ccitt: disagrees about version of symbol struct_module
.
libcrc32c: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/crc-ccitt.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/libcrc32c.ko': Invalid module format (-1): Exec format error
deadline_iosched: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/deadline-iosched.ko': Invalid module format (-1): Exec format error
cfq_iosched: disagrees about version of symbol struct_module
i2c_emac: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/cfq-iosched.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/i2c-emac.ko': Invalid module format (-1): Exec format error
sbull: disagrees about version of symbol struct_module
crc32c: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/sbull.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/crc32c.ko': Invalid module format (-1): Exec format error
deflate: disagrees about version of symbol struct_module
des: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/deflate.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/des.ko': Invalid module format (-1): Exec format error
md5: disagrees about version of symbol struct_module
sha1: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/md5.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/sha1.ko': Invalid module format (-1): Exec format error
nls_ascii: disagrees about version of symbol struct_module
nls_utf8: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/nls_ascii.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/nls_utf8.ko': Invalid module format (-1): Exec format error
exportfs: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/exportfs.ko': Invalid module format (-1): Exec format error
nfsd: disagrees about version of symbol struct_module
loop: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/nfsd.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/loop.ko': Invalid module format (-1): Exec format error
tun: disagrees about version of symbol struct_module
slhc: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/tun.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/slhc.ko': Invalid module format (-1): Exec format error
netconsole: disagrees about version of symbol struct_module
ppp_generic: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/netconsole.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/ppp_generic.ko': Invalid module format (-1): Exec format error
ppp_synctty: disagrees about version of symbol struct_module
ppp_async: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/ppp_synctty.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/ppp_async.ko': Invalid module format (-1): Exec format error
ppp_deflate: disagrees about version of symbol struct_module
davinci_emac: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/ppp_deflate.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/davinci_emac.ko': Invalid module format (-1): Exec format error
mmc_core: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/mmc_core.ko': Invalid module format (-1): Exec format error
mmc_block: disagrees about version of symbol struct_module
davinci_mmc: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/mmc_block.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/davinci-mmc.ko': Invalid module format (-1): Exec format error
usbcore: disagrees about version of symbol struct_module
musb_hdrc: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/usbcore.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/musb_hdrc.ko': Invalid module format (-1): Exec format error
usbmon: disagrees about version of symbol struct_module
scsi_transport_iscsi: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/usbmon.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/scsi_transport_iscsi.ko': Invalid module format (-1): Exec format error
libiscsi: disagrees about version of symbol struct_module
iscsi_tcp: disagrees about version of symbol struct_module
insmod: cannot insert `/opt/ipnc/modules/libiscsi.ko': Invalid module format (-1): Exec format error
insmod: cannot insert `/opt/ipnc/modules/iscsi_tcp.ko': Invalid module format (-1): Exec format error
sbull: disagrees about version of symbol struct_module
insmod: cannot insert `sbull.ko': Invalid module format (-1): Exec format error
mkdosfs 3.0.6 (04 Oct 2009)
queue id:0
umount: /mnt/mmc: not mounted
killall: dhcpcd: no process killed
rm: cannot remove `/var/run/dhcpcd-eth0.pid': No such file or directory
net_search_gateway:eth0, 1A8C0, 0, 1
dns=192.168.1.1
net_search_gateway:eth0, 1A8C0, 0, 1
net_search_gateway:eth0, 0, FE01A8C0, 3
dns=192.168.1.1
cp: unable to open `/mnt/ramdisk/usbconf.exe': Read-only file system
cp: unable to open `/mnt/ramdisk/autorun.inf': Read-only file system
cp: unable to open `/mnt/ramdisk/NET.TXT': Read-only file system
ERROR: Module g_file_storage does not exist in /proc/modules
g_file_storage: disagrees about version of symbol struct_module
insmod: cannot insert `g_file_storage.ko': Invalid module format (-1): Exec format error
system_server/531[CPU#0]: BUG in local_bh_enable at kernel/softirq.c:196
ApproDrvInit: 3
CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
ApproDrvInit: 9
CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
ApproDrvInit: 8
CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
ApproDrvInit: 2
ApproDrvInit: 6
CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
ApproDrvInit: 10
CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
INIT: Entering runlevel: 3
CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774)
192.168.1.101 login: root
Welcome to MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774).
login[722]: root login on `console'
# cd /opt/ipnc/
/opt/ipnc/dhcpcd/ /opt/ipnc/modules/
# cd /usr/
/usr/bin/ /usr/lib/ /usr/local/ /usr/sbin/ /usr/share/
# cd /usr/
/usr/bin/ /usr/lib/ /usr/local/ /usr/sbin/ /usr/share/
# cd /usr/share/
/usr/share/alsa/ /usr/share/udhcpc/ /usr/share/zoneinfo/
# cd /usr/share/
/usr/share/alsa/ /usr/share/udhcpc/ /usr/share/zoneinfo/
# cd /usr/share/
/usr/share/alsa/ /usr/share/udhcpc/ /usr/share/zoneinfo/
# cd /usr/share/
/usr/share/alsa/ /usr/share/udhcpc/ /usr/share/zoneinfo/
# cd /usr/share/
# ls
alsa udhcpc zoneinfo
# pwd
/usr/share
# ls
alsa udhcpc zoneinfo
#
#
#
# ls
alsa udhcpc zoneinfo
# ls
alsa udhcpc zoneinfo
# pwd
/usr/share
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:0C:A0:00:24
inet addr:192.168.1.168 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3914 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:413763 (404.0 KiB) TX bytes:3773 (3.6 KiB)
Interrupt:52 Base address:0x7000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
The output of printenv is as follows:
bootdelay=4
baudrate=115200
setboot=setenv bootargs $(bootargs)
bootamd=nboot 0x80700000 0 0x500000;bootm
bootfile=""
ethaddr=00:0C:0C:A0:FF:FA
rootpath=/home/mayank/DM36x/ipnc/target/filesys
nfshost=10.17.8.125
filesize=DCE000
fileaddr=82000000
ipaddr=10.17.8.131
serverip=10.17.8.125
eth=00:0C:0C:A0:07:Ea
bootcmd=nboot 0x80700000 0 0x500000;bootm
bootargs=mem=48M console=ttyS1,115200n8 root=/dev/mtdblock3 rw initrd=0x82000000,16M ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:::off eth=00:0’
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 1.3.4 (Dec 9 2010 - 17:44:14) DM368-IPNC-1.0.1
Environment size: 623/131068 bytes
Actually I created my own uimage in release mode and the filesystem i am using is same filesystem which
i got after untarring the Appro original cramfsImage_dm368_ipnc_2.60.01 image
I understand that because of incompatibility of uimage and cramfs image i am getting the
driver related errors.But ic ouldn't understand the solution.
Also cramfs file system is readonly so once even after mounting the filesystemon board
i cannot create any directory say in /usr/share and see the same dir on the board.
So my doubts are:
how to get rid of these errors(if we have to use some other filesystem or fs image.)
2.Also if someone could tell the diff b/w /dev/nfs,/dev/ram0,/dev/mtdblock3 in bootargs.
Thanks and Regards,
Mayank