DM365 linux内核&文件系统的烧写步骤及其uboot参数配置
目录
源文档下载:http://download.csdn.net/detail/zhangjikuan/6443961
第一节:uboot下载
第二节:启动uboot
第三节:修改uboot参数
第四节:ping通
第五节:下载内核uImage
第六节:挂载文件系统yaffs2
第七节:拷贝文件系统到nandflash
第八节:设置nandflash启动文件系统
附件一:uImage启动时打印内容
附件二:挂载文件系统后多打印的内容
附件三:从flash启动文件系统时打印内容
第一节:uboot下载
我是时用的CCS3.3和SEED-XDS560PLUS仿真器下载的UBOOT到DM365的FLASH。详细请参照“CCS3.3下载UBOOT到NANDFLASH步骤”http://download.csdn.net/detail/zhangjikuan/6424595
第二节:启动uboot
连接好PC--串口--板子,并上电。打开secureCRT设置好串口参数,按板子复位键,此时UBOOT启动如下所示
第三节:修改uboot参数
1.输入printenv查看UBOOT参数设置
2.输入setenv ipaddr 172.18.168.223 (板子的IP)
3.输入setenv serverip 172.18.168.63 (虚拟机的IP(ifconfig查看))
4.输入setenv ethaddr 00:00:12:34:56:78(随意设定,格式要正确)
5.输入setenv bootargs ‘console=ttyS0,115200n8 noinitrd rw,nolock mem=80M’
6.输入setenvbootcmd ‘setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip) eth=$(ethaddr); nboot0x80800000 0 0x400000;bootm 0x80800000’
7.输入saveenv (将环境变量写到flash不写的话复位后修改的数据就丢失了)
其他的基本不需要修改,修改后如下输入printenv所示
第四节:ping通
1.连接好网线,打开虚拟机 (复位板子,不然ping不通)
2.输入ping 172.18.168.63(虚拟机的IP,要关闭虚拟机的防火墙,虚拟中输入setup 修改)
Ping通了串口输出host172.18.168.63 is alive
Ping通了就可以通过tftp下载内核了
第五节:下载内核uImage
1.虚拟机中将制作好的内核uImage从/home/workdir/dm365/linux-2.6.18_pro500/arch/boot中拷贝到/tftpboot中
2.串口终端下输入tftp 0x80800000 uImage (将uImage从虚拟机中下载到内存RAM的0x80800000开始地址处)
下载过程如下所示
此时内核已经下载到RAM的0x80800000其实地址处了
3.串口终端输入 nand erase 400000 200000 (擦出nandflash 0x400000起始地址0x200000大小的区域)
4.串口终端输入 nand write 80800000 400000 200000(将RAM的起始地址0x80800000 大小0x200000的内容写到nand的0x400000起始地址处)
成功写入如下所示
5.此时按下复位键打印内容见附件一
第六节:挂载文件系统yaffs2
说明:内核的加载是通过tftp的方式下载的,此种方式需要
内核制作成特殊格式的文件才能被识别下载,文件系统是通过
NFS的形式先挂载到虚拟机中制作好的文件系统中,再通过命
令将文件系统复制到nandflash中
需要用到NFS所以需要重新修改UBOOT参数
1.按下复位键 按回车阻止板子内核的启动
2.输入setenv bootcmd ‘setenvbootargs $(bootargs) root=$(rootfs) rootfstype=$(rootpe) ip=$(ipaddr):$(serverip)eth=$(ethaddr) nfsroot=$(serverip):$(nfsworkdir) ;nboot 0x80800000 00x400000;bootm 0x80700000’
Setenv rootfs /dev/nfs (因为文件系统是挂载的,所以改成nfs)
Setenv rootpe ‘yaffs2 rw’ (rootpe是自己设的参数,不是系统参数)
Setenv workdir /home/workdir/dm365/rootfilesys (确保在虚拟机此目录下有做好的yafs2的文件系统)
输入 saveenv
4.输入printenv如下所示
5.插好网线按下复位键 比内核启动时多打印了内容见附件二
6.输入root打印如下内容
Last login: Thu Jan 1 00:01:43 1970 on console
Linux 172.18.168.223 2.6.18_pro500-davinci_evm-arm_v5t_le#1 PREEMPT Tue Mar 9 15:49:57 CST 2010 armv5tejl GNU/Linux
下面就可以跟虚拟机一样输入命令了
注意:此文件系统是挂载的虚拟机的,不是板子真正运行的
nandflash里的文件系统
第七节:拷贝文件系统到nandflash
1.终端输入 cd /toflash
2. 输入 mount/dev/mtdblock4 /mnt/flash
此时可能会出现很多的partially written block xxxx set for retirement
不用管,一直等着结束出现[email protected]:~#
3.输入ls /mnt/flash 查看是否已经挂载/dev/mtdblock4
4.输入 cp –rf * /mnt/flash
此时也可能会出现很多的东西,不用管等待结束
5.输入 ls /mnt/flash 查看是否已经复制好
第八节:设置nandflash启动文件系统
修改UOOT参数使板子可以启动nandflash中的文件系统,修改好后就不需要使用网线挂载虚拟机中的文件系统
1.修改UBOOT参数
输入setenvrootfs /dev/mtdblock4(挂载的和nand启动的参数区别就是此参数的不同)
输入saveenv
2.复位重启板子
打印内容见附件三
至此大功告成
江南大学物联网学院C426实验室
2013.10.20
附件一:uImage启动时打印内容
U-Boot 1.3.4(Feb 2 2010 - 14:45:12)
start 8
I2C: ready
start 9
start 10
DRAM: 128 MB
start 11
NAND: fujun CONFIG_CMD_NAND before nand_init
inter nand_initinternand_init_chipNAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND512MiB 3,3V 8-bit)
nand_default_bbt
len1024
search_read_bbts
Bad block table found at page262080, version 0x01
Bad block table found at page262016, version 0x01
read_bbt
inter nand_init_chipNANDdevice: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
nand_default_bbt
len1024
search_read_bbts
Bad block table found at page262080, version 0x01
Bad block table found at page262016, version 0x01
read_bbt
1024 MiB
end nand_init
In: serial
Out: serial
Err: serial
------------TechShineDM365-------------
EEPROM @ 0x50 read FAILED!!!
Ethernet PHY: GENERIC @ 0x00
Hit any key to stopautoboot: 0
Loading from NAND 512MiB 3,3V8-bit, offset 0x400000
Image Name: Linux-2.6.18_pro500-davinci_evm-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2060876 Bytes = 2 MB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from LegacyImage at 80800000 ...
Image Name: Linux-2.6.18_pro500-davinci_evm-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2060876 Bytes = 2 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
UncompressingLinux.........................................................................................................................................done, booting the kernel.
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le([email protected]) (gcc 鐗堟湰 4.2.0 (MontaVista4.2.0-16.0.32.0801914 2008-08-30)) #1PREEMPT Tue Mar 9 15:49:57 CST 2010
CPU: ARM926EJ-S [41069265]revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci DM365 EVM
Memory policy: ECC disabled,Data cache writeback
BUG: mapping for 0x04008000at 0xf2000000 overlaps vmalloc space
DaVinci DM0365 variant 0x8
PLL0: fixedrate: 24000000,commonrate: 121500000, vpssrate: 243000000
PLL0: vencrate_sd: 27000000,ddrrate: 243000000 mmcsdrate: 121500000
PLL1: armrate: 297000000,voicerate: 99000000, vencrate_hd: 74250000
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: 20480
Kernel command line:console=ttyS0,115200n8 noinitrd rw ,nolock mem=80Mip=172.18.168.223:172.18.168.63 eth=00:00:12:34:56:78
TI DaVinci EMAC: kernel bootparams Ethernet address: 00:00:12:34:56:78
PID hash table entries: 512(order: 9, 2048 bytes)
Clock event device timer0_0configured with caps set: 07
Console: colour dummy device80x30
Dentry cache hash tableentries: 16384 (order: 4, 65536 bytes)
Inode-cache hash tableentries: 8192 (order: 3, 32768 bytes)
Memory: 80MB = 80MB total
Memory: 76672KB available(3541K code, 712K data, 200K init)
Security Framework v1.0.0initialized
Capability LSM initialized
Mount-cache hash tableentries: 512
CPU: Testing write buffercoherency: ok
NET: Registered protocolfamily 16
MUX: initialized SPI0_SCLK
MUX: initialized SPI0_SDO)
MUX: initialized SPI0_SDI
MUX: initialized SPI0_SDENA0
DaVinci: 104 gpio irqs
MUX: initialized GPIO20
MUX: initialized I2C_SCL
DM365 IPIPE initialized inSingle Shot mode
Generic PHY: Registered newdriver
ch0 default output"COMPOSITE", mode "NTSC"
VPBE Encoder Initialized
LogicPD encoder initialized
Avnetlcd encoder initialized
dm365_afew_hw_init
SCSI subsystem initialized
usbcore: registered newdriver usbfs
usbcore: registered newdriver hub
NET: Registered protocolfamily 2
IP route cache hash tableentries: 1024 (order: 0, 4096 bytes)
TCP established hash tableentries: 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
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash tableentries: 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 Mar 9 2010 16:02:25 Installing.
SGI XFS with no debug enabled
Initializing CryptographicAPI
io scheduler noop registered
io scheduler anticipatoryregistered (default)
Console: switching to colourframe buffer device 90x60
davincifb davincifb.0:dm_osd0_fb: 720x480x16@0,0 with framebuffer size 675KB
davincifb davincifb.0:dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1020KB
davincifb davincifb.0:dm_osd1_fb: 720x480x4@0,0 with framebuffer size 675KB
davincifb davincifb.0:dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1020KB
DAVINCI-WDT: DaVinci WatchdogTimer: heartbeat 60 sec
facedetect major#: 253,minor# 0
facedetect driver registered
imp serializer initialized
davinci_previewer initialized
davinci_resizer initialized
Serial: 8250/16550 driver$Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIOmap 0x1c20000 mem 0xfbc20000 (irq = 40) is a 16550A
serial8250.0: ttyS1 at MMIOmap 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550A
RAMDISK driver initialized: 1RAM disks of 32768K size 1024 blocksize
Davinci EMAC MII Bus: probed
MAC address is00:00:12:34:56:78
TI DaVinci EMAC Linux versionupdated 4.0
netconsole: not configured,aborting
Linux video captureinterface: v2.00
vpfe_init
starting ccdc_reset...<7>
End ofccdc_reset...<5>vpfe_probe
TVP514X : nummber of channels= 1
vpfe ccdc capture vpfe ccdccapture.1: vpif_register_decoder: decoder = TVP514X
Trying to register davincidisplay video device.
layer=c06eb400,layer->video_dev=c06eb560
Trying to register davincidisplay video device.
layer=c06eb200,layer->video_dev=c06eb360
davinci_init:DaVinci V4L2Display Driver V1.0 loaded
af major#: 250, minor# 0
AF Driver initialized
aew major#: 249, minor# 0
AEW Driver initialized
i2c /dev entries driver
nand_davinci nand_davinci.0:Using 4-bit hardware ECC
NAND device: Manufacturer ID:0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
2 NAND chips detected
Bad block table not found forchip 0
Bad block table not found forchip 1
Bad block table not found forchip 0
Bad block table not found forchip 1
Scanning device for badblocks
Scanning device for badblocks
Creating 5 MTD partitions on"nand_davinci.0":
0x00000000-0x003c0000 :"bootloader"
0x003c0000-0x00400000 :"params"
0x00400000-0x00800000 :"kernel"
0x00800000-0x20800000 :"filesystem1"
0x20800000-0x40000000 :"filesystem2"
nand_davinci nand_davinci.0:hardware revision: 2.3
Pin SPI0_SDO) already usedfor GPIO20.
dm_spi.0: davinci SPIController driver at 0xc581e000 (irq = 42) use_dma=0
Initializing USB Mass Storagedriver...
usbcore: registered newdriver usb-storage
USB Mass Storage supportregistered.
usbcore: registered newdriver usbhid
drivers/usb/input/hid-core.c:v2.6:USB HID core driver
musb_hdrc: version 6.0, pio,host, debug=0
MUX: initialized GPIO33
musb_hdrc: USB Host modecontroller at c5874000 using PIO, IRQ 12
musb_hdrc musb_hdrc: MUSBHDRC host driver
musb_hdrc musb_hdrc: new USBbus registered, assigned bus number 1
usb usb1: configuration #1chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mice: PS/2 mouse devicecommon for all mice
davinci-mmc davinci-mmc.0:Supporting 4-bit mode
davinci-mmc davinci-mmc.0:Using DMA mode
Advanced Linux SoundArchitecture Driver Version 1.0.12rc1 (ThuJun 22 13:55:50 2006 UTC).
ASoC version 0.13.1
AIC3X Audio Codec 0.2
aic3x_codec_probe ok
asoc: aic3x <->davinci-i2s mapping ok
ALSA device list:
#0: DaVinci DM365 EVM (aic3x)
IPv4 over IPv4 tunnelingdriver
TCP bic registered
NET: Registered protocolfamily 1
NET: Registered protocolfamily 17
drivers/rtc/hctosys.c: unableto open rtc device (rtc0)
Time: timer0_1 clocksourcehas been installed.
Clock event device timer0_0configured with caps set: 08
Switched to high resolutionmode on CPU 0
IP-Config: Guessing netmask255.255.0.0
IP-Config: Complete:
device=eth0, addr=172.18.168.223,mask=255.255.0.0, gw=255.255.255.255,
host=172.18.168.223, domain=,nis-domain=(none),
bootserver=172.18.168.63,rootserver=172.18.168.63, rootpath=
Looking up port of RPC100003/2 on 172.18.168.63
portmap: server 172.18.168.63not responding, timed out
Root-NFS: Unable to get nfsdport number from server, using default
Looking up port of RPC100005/1 on 172.18.168.63
portmap: server 172.18.168.63not responding, timed out
Root-NFS: Unable to getmountd port number from server, using default
mount: server 172.18.168.63not responding, timed out
Root-NFS: Server returnederror -5 while mounting /tftpboot/172.18.168.223
VFS: Unable to mount root fsvia NFS, trying floppy.
VFS: Cannot open root device"<NULL>" or unknown-block(2,0)
Please append a correct"root=" boot option
Kernel panic - not syncing:VFS: Unable to mount root fs on unknown-block(2,0)
附件二:挂载文件系统后多打印的内容
Looking up port of RPC100003/2 on 172.18.168.63
portmap: server 172.18.168.63not responding, timed out
Root-NFS: Unable to get nfsdport number from server, using default
Looking up port of RPC100005/1 on 172.18.168.63
VFS: Mounted root (nfsfilesystem).
Freeing init memory: 200K
INIT: version 2.86 booting
Starting the hotplug eventsdispatcher: udevd.
Synthesizing the initialhotplug events...done.
Waiting for /dev to be fullypopulated...done.
Activating swap...done.
Remounting root filesystem...done.
Calculating moduledependencies
WARNING: Couldn't opendirectory /lib/modules/2.6.18_pro500-davinci_evm-arm_v5t_le:No such file or directory
FATAL: Could not open/lib/modules/2.6.18_pro500-davinci_evm-arm_v5t_le/modules.dep.tempfor writing: No such file or directory
Loading modules:
Checking all file systems:fsck
fsck 1.40 (29-Jun-2007)
Mounting local filesystems:mount nothing was mounted
umount.nfs: /dev/root: notfound or not mounted
Setting up networking ....
/etc/network/options isdeprecated.
Setting up IP spoofingprotection: rp_filter done.
Disabling IPv4 packetforwarding: done.
Disabling TCP/IP ExplicitCongestion Notification: done.
Starting network interfaces:done.
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....
Cleaning: /tmp /var/lock/var/run done.
Updating /etc/motd...done.
INIT: Entering runlevel: 3
Starting system log daemon:syslogd klogd.
Starting NFS commonutilities: statd.
Starting internetsuperserver: inetd.
Starting OpenBSD Secure Shellserver: sshd.
MontaVista(R) Linux(R)Professional Edition 5.0.0 (0801921)
172.18.168.223 login:
附件三:从flash启动文件系统时打印内容
U-Boot 1.3.4(Feb 2 2010 - 14:45:12)
start 8
I2C: ready
start 9
start 10
DRAM: 128 MB
start 11
NAND: fujun CONFIG_CMD_NAND before nand_init
inter nand_initinter nand_init_chipNANDdevice: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
nand_default_bbt
len1024
search_read_bbts
Bad block table not found forchip 0
Bad block table not found forchip 0
Bad block table written to0x1ffe0000, version 0x01
Bad block table written to0x1ffc0000, version 0x01
inter nand_init_chipNANDdevice: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
nand_default_bbt
len1024
search_read_bbts
Bad block table found at page262080, version 0x01
Bad block table found at page262016, version 0x01
read_bbt
1024 MiB
end nand_init
In: serial
Out: serial
Err: serial
------------TechShineDM365-------------
EEPROM @ 0x50 read FAILED!!!
Ethernet PHY: GENERIC @ 0x00
Hit any key to stopautoboot: 0
Loading from NAND 512MiB 3,3V8-bit, offset 0x400000
Image Name: Linux-2.6.18_pro500-davinci_evm-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2060876 Bytes = 2 MB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from LegacyImage at 80800000 ...
Image Name: Linux-2.6.18_pro500-davinci_evm-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2060876 Bytes = 2 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
UncompressingLinux.........................................................................................................................................done, booting the kernel.
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le([email protected]) (gcc 鐗堟湰 4.2.0 (MontaVista4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPTTue Mar 9 15:49:57 CST 2010
CPU: ARM926EJ-S [41069265]revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci DM365 EVM
Memory policy: ECC disabled,Data cache writeback
BUG: mapping for 0x04008000at 0xf2000000 overlaps vmalloc space
DaVinci DM0365 variant 0x8
PLL0: fixedrate: 24000000,commonrate: 121500000, vpssrate: 243000000
PLL0: vencrate_sd: 27000000,ddrrate: 243000000 mmcsdrate: 121500000
PLL1: armrate: 297000000,voicerate: 99000000, vencrate_hd: 74250000
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: 20480
Kernel command line:console=ttyS0,115200n8 noinitrd rw ,nolock mem=80M root=/dev/mtdblock4rootfstype=yaffs2 rw ip=172.18.168.223:172.18.168.63 eth=00:0c:29:56:fb:44nfsroot=172.18.168.63:/home/workdir/dm365/rootfilesys
TI DaVinci EMAC: kernel bootparams Ethernet address: 00:0c:29:56:fb:44
PID hash table entries: 512(order: 9, 2048 bytes)
Clock event device timer0_0configured with caps set: 07
Console: colour dummy device80x30
Dentry cache hash tableentries: 16384 (order: 4, 65536 bytes)
Inode-cache hash tableentries: 8192 (order: 3, 32768 bytes)
Memory: 80MB = 80MB total
Memory: 76672KB available(3541K code, 712K data, 200K init)
Security Framework v1.0.0initialized
Capability LSM initialized
Mount-cache hash tableentries: 512
CPU: Testing write buffercoherency: ok
NET: Registered protocolfamily 16
MUX: initialized SPI0_SCLK
MUX: initialized SPI0_SDO)
MUX: initialized SPI0_SDI
MUX: initialized SPI0_SDENA0
DaVinci: 104 gpio irqs
MUX: initialized GPIO20
MUX: initialized I2C_SCL
DM365 IPIPE initialized inSingle Shot mode
Generic PHY: Registered newdriver
ch0 default output"COMPOSITE", mode "NTSC"
VPBE Encoder Initialized
LogicPD encoder initialized
Avnetlcd encoder initialized
dm365_afew_hw_init
SCSI subsystem initialized
usbcore: registered newdriver usbfs
usbcore: registered newdriver hub
NET: Registered protocolfamily 2
IP route cache hash tableentries: 1024 (order: 0, 4096 bytes)
TCP established hash tableentries: 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
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash tableentries: 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 Mar 9 2010 16:02:25 Installing.
SGI XFS with no debug enabled
Initializing CryptographicAPI
io scheduler noop registered
io scheduler anticipatoryregistered (default)
Console: switching to colourframe buffer device 90x60
davincifb davincifb.0:dm_osd0_fb: 720x480x16@0,0 with framebuffer size 675KB
davincifb davincifb.0:dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1020KB
davincifb davincifb.0:dm_osd1_fb: 720x480x4@0,0 with framebuffer size 675KB
davincifb davincifb.0:dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1020KB
DAVINCI-WDT: DaVinci WatchdogTimer: heartbeat 60 sec
facedetect major#: 253,minor# 0
facedetect driver registered
imp serializer initialized
davinci_previewer initialized
davinci_resizer initialized
Serial: 8250/16550 driver$Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIOmap 0x1c20000 mem 0xfbc20000 (irq = 40) is a 16550A
serial8250.0: ttyS1 at MMIOmap 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550A
RAMDISK driver initialized: 1RAM disks of 32768K size 1024 blocksize
Davinci EMAC MII Bus: probed
MAC address is00:0c:29:56:fb:44
TI DaVinci EMAC Linux versionupdated 4.0
netconsole: not configured,aborting
Linux video captureinterface: v2.00
vpfe_init
startingccdc_reset...<7>
End ofccdc_reset...<5>vpfe_probe
TVP514X : nummber of channels= 1
vpfe ccdc capture vpfe ccdccapture.1: vpif_register_decoder: decoder = TVP514X
Trying to register davincidisplay video device.
layer=c066b400,layer->video_dev=c066b560
Trying to register davincidisplay video device.
layer=c066b200,layer->video_dev=c066b360
davinci_init:DaVinci V4L2Display Driver V1.0 loaded
af major#: 250, minor# 0
AF Driver initialized
aew major#: 249, minor# 0
AEW Driver initialized
i2c /dev entries driver
nand_davinci nand_davinci.0:Using 4-bit hardware ECC
NAND device: Manufacturer ID:0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
2 NAND chips detected
Bad block table not found forchip 0
Bad block table not found forchip 1
Bad block table not found forchip 0
Bad block table not found forchip 1
Scanning device for badblocks
Scanning device for badblocks
Creating 5 MTD partitions on"nand_davinci.0":
0x00000000-0x003c0000 :"bootloader"
0x003c0000-0x00400000 :"params"
0x00400000-0x00800000 :"kernel"
0x00800000-0x20800000 :"filesystem1"
0x20800000-0x40000000 :"filesystem2"
nand_davinci nand_davinci.0:hardware revision: 2.3
Pin SPI0_SDO) already usedfor GPIO20.
dm_spi.0: davinci SPIController driver at 0xc581e000 (irq = 42) use_dma=0
Initializing USB Mass Storagedriver...
usbcore: registered newdriver usb-storage
USB Mass Storage supportregistered.
usbcore: registered newdriver usbhid
drivers/usb/input/hid-core.c:v2.6:USB HID core driver
musb_hdrc: version 6.0, pio,host, debug=0
MUX: initialized GPIO33
musb_hdrc: USB Host modecontroller at c5874000 using PIO, IRQ 12
musb_hdrc musb_hdrc: MUSBHDRC host driver
musb_hdrc musb_hdrc: new USBbus registered, assigned bus number 1
usb usb1: configuration #1chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mice: PS/2 mouse devicecommon for all mice
davinci-mmc davinci-mmc.0:Supporting 4-bit mode
davinci-mmc davinci-mmc.0:Using DMA mode
Advanced Linux SoundArchitecture Driver Version 1.0.12rc1 (Thu Jun 2213:55:50 2006 UTC).
ASoC version 0.13.1
AIC3X Audio Codec 0.2
aic3x_codec_probe ok
asoc: aic3x <->davinci-i2s mapping ok
ALSA device list:
#0: DaVinci DM365 EVM (aic3x)
IPv4 over IPv4 tunnelingdriver
TCP bic registered
NET: Registered protocolfamily 1
NET: Registered protocolfamily 17
drivers/rtc/hctosys.c: unableto open rtc device (rtc0)
Time: timer0_1 clocksourcehas been installed.
Clock event device timer0_0configured with caps set: 08
Switched to high resolutionmode on CPU 0
IP-Config: Guessing netmask255.255.0.0
IP-Config: Complete:
device=eth0, addr=172.18.168.223,mask=255.255.0.0, gw=255.255.255.255,
host=172.18.168.223, domain=,nis-domain=(none),
bootserver=172.18.168.63, rootserver=172.18.168.63,rootpath=
yaffs: dev is 32505860 nameis "mtdblock4"
yaffs: Attempting MTD mounton 31.4, "mtdblock4"
block 4029 is bad
block 4030 is bad
block 4031 is bad
block 4032 is bad
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009 beingset for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 1009being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
Partially written block 999being set for retirement
VFS: Mounted root (yaffs2filesystem).
Freeing init memory: 200K
INIT: version 2.85 booting
WARNING: .udevdb alreadyexists on the old /dev!
Mounting a tmpfs over/dev...done.
Creating initial devicenodes...done.
Activating swap...done.
Remounting rootfilesystem...done.
Calculating moduledependencies
WARNING: Couldn't opendirectory /lib/modules/2.6.18_pro500-davinci_evm-arm_v5t_le:No such file or directory
FATAL: Could not open/lib/modules/2.6.18_pro500-davinci_evm-arm_v5t_le/modules.dep.tempfor writing: No such file or directory
Loading modules:
Checking all file systems:fsck
fsck 1.35 (28-Feb-2004)
Mounting local filesystems:mount nothing was mounted
Setting up networking(ifupdown) ..
/etc/rc.d/rcS.d/S39ifupdown:line 1: tail: command not found
/etc/rc.d/rcS.d/S39ifupdown:line 84: [: : integer expression expected
Cleaning:/etc/network/run/ifstate done.
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/etc/rc.d/rcS.d/S41portmap: line 70: /var/run/portmap.pid: No such fileor directory
.
INIT: Entering runlevel: 3
MontaVista(R) Linux(R)Professional Edition 4.0.1 (0600980)
172.18.168.223 login: