Hi,
I am using Appro DM368 IPNC IMX122 camera, and the software SDK version is IPNC 2.6.
According to the hardware design files, we have layouter another suite of the Appro DM368 IPNC IMX122, however, we used the 32MB flash (not the 128MB flash in the BOM). And I am very sure this is the only difference. And I have flashed the kerner & root file system into the 32MB flash, then I power on the camera.
However, the camera starts failed. And the UART log print the following messages. Now, my question is:
(1) Does I must change to use the 128MB flash ? Since my another product is using IPNC 3.0 with 32MB flash and MT9P006 CMOS, and we have done many works on this product. And now I want to make the IMX122 can also share the same software code.
(2) How can I do some changes on the sourcecode of IPNC 2.6 kernel or app. codes, to make it just use 32MB? Which means doing the flash partitioning.
(3) Since I have already a good working IPNC camera (DM368 + IPNC3.0 + 32MB flash + MT9P006), my final & idear purpose is to make the IMX122 CMOS can also run on this hardware & software architecture. Is it possible to do this? and How? Does I need to port the driver ?
Thanks
.........................
and_davinci nand_davinci.0: Using 4-bit hardware ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MiB 3,3V 8-bit)
Creating 7 MTD partitions on "nand_davinci.0":
0x00000000-0x00300000 : "bootloader"
0x00300000-0x00500000 : "params"
0x00500000-0x00700000 : "kernel"
0x00700000-0x0270 0000 : "filesystem"
mtd: partition "filesystem" extends beyond the end of device "nand_davinci.0" -- size truncated to 0x1900000
0x02700000-0x02900000 : "data1"
mtd: partition "data1" is out of reach -- disabled
0x02900000-0x02d00000 : "Calibration"
mtd: partition "Calibration" is out of reach -- disabled
0x02d00000-0x02000000 : "data2"
mtd: partition "data2" is out of reach -- disabled
nand_davinci nand_davinci.0: hardware revision: 2.3
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 00:00:00 (946684800)
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.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 180K
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 Oct 3 2011 11:17:10
I2C: Module install successful, device major num = 252
DMA: Module install successful, device major num = 251
DRV: Module install successful
DRV: Module built on Oct 26 2011 10:12:27
DRV: EDMACC.QUEPRI = 00000777
DRV: SYSTEM.MSTPRI0 = 00440022
DRV: SYSTEM.MSTPRI1 = 00000244
DRV: ISP.BCR = 00000002
DRV: SYSTEM.MISC = 00000319
CMEMK module: built on Apr 24 2012 at 17:42:18
Reference Linux version 2.6.18
File /home/user/workdir/dvsdk_2_10_01_18_Mega/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 Apr 24 2012 at 17:42:21
Reference Linux version 2.6.18
File /home/user/workdir/dvsdk_2_10_01_18_Mega/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
IRQK module: built on Apr 24 2012 at 17:42:22
Reference Linux version 2.6.18
File /home/user/workdir/dvsdk_2_10_01_18_Mega/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
irqk initialized
jffs2: Too few erase blocks (0)
mount: wrong fs type, bad option, bad superblock on /dev/mtdblock4,
missing codepage or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so
Creat queue id:0
queue id:0
FileMngThread created
Creat queue id:32769
queue id:32769
AlramThread created
Share memory init success
IPNC_DM368_2.6.0 (root@localhost.localdomain) (gcc ª©¥» 4.2.0 2
Creat queue id:65538
queue id:65538
queue id:32769
FileMng: Error Can't create system file
FileMng: Error Initialize fail (FileMgnInit)
FileMsgDrv: Error
Data read error
Kill queue id:32769
Error CleanupFileEnv is called
queue id:65538
Creat queue id:98305
queue id:98305
FileMsgDrv: Error
Data read error
Can't get system info!!
Starting mounting local filesystems: mount none on /dev/shm type tmpfs (rw,size=5M)
none on /var/run type tmpfs (rw)
none on /tmp type tmpfs (rw,sync)
FileMsgDrv: Error
Data read error
Setting up networking ...rm: unable to remove `/etc/network/run': Read-only file system
Starting hotplug subsystem:
pci
pci [success]
usb
usb [success]
isapnp
isapnp [success]
ide
ide [success]
input
input [success]
scsi
scsi [success]
done.
Starting portmap daemon: portmap.
Starting internet superserver: inetdio scheduler deadline registered.
io scheduler cfq registered
TI DaVinci EMAC: kernel boot params Ethernet address: 00:0C:0C:A0:05:91
sbulla: unknown partition table
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
loop: loaded (max 8 devices)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
CSLIP: code copyright 1989 Regents of the University of California
netconsole: not configured, aborting
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
Davinci EMAC MII Bus: probed
MAC address is 00:0C:0C:A0:05:91
TI DaVinci EMAC Linux version updated 4.0
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
usbcore: registered new driver usbfs
usbcore: registered new driver hub
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 c38fa000 using DMA, IRQ 12
Loading iSCSI transport class v1.1-646.<5>iscsi: registered transport (tcp)
sbulla: unknown partition table
mkdosfs 3.0.6 (04 Oct 2009)
unable to get drive geometry, using default 255/63
/dev/sbulla has 255 heads and 63 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 1024 sectors;
file system has 2 12-bit FATs and 4 sectors per cluster.
FAT size is 1 sector, and provides 247 clusters.
Root directory contains 512 slots.
Volume ID is 38ce8ddf, no volume label.
queue id:0
TimeOut occure in boot_proc.
Program exit.
ApproDrvInit: 3
Creat queue id:131075
queue id:131075