打印

DM365启动Linux问题

[复制链接]
9024|6
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
空下这个座|  楼主 | 2010-3-18 15:59 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 空下这个座 于 2010-3-19 09:49 编辑

现用ICETEK-DM365-KB-EZ开发套件烧录完Linux开发环境上带的uImage与ramdisk.gz文件后,无法启动LINUX,提示警告Warning: unable to open an initial console.便无法启动,下面会带上启动环境与启动时的打印信息,请大家帮帮忙看看有什么问题:

环境参数:
bootdelay=4
baudrate=115200
ethaddr=00:40:01:2B:64:60
bootcmd=nand read 0x82000000 0x600000 0x300000;nboot 0x80700000 0 0x400000;bootm
filesize=1F3738
fileaddr=80700000
ipaddr=192.168.1.3
serverip=192.168.1.103
bootfile=uImage
bootargs=mem=70M console=ttyS0,115200n8 root=/dev/mtdblock3 rw rootfstype=yaffs2 ip=192.168.1.3:192.168.1.103:192.168.1.1:255.255.255.0::eth0:off eth=00:40:01:2B:64:60 video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=4 davinci_enc_mngr.ch0_mode=pal
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 1.3.4 (May 22 2009 - 11:25:39)

Environment size: 616/262140 bytes

启动信息:
boot

NAND read: device 0 offset 0x600000, size 0x300000
3145728 bytes read: OK

Loading from NAND 1GiB 3,3V 8-bit, offset 0x400000
   Image Name:   Linux-2.6.18_pro500-davinci_evm-
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2055440 Bytes =  2 MB
   Load Address: 80008000
   Entry Point:  80008000
## Booting kernel from Legacy Image at 80700000 ...
   Image Name:   Linux-2.6.18_pro500-davinci_evm-
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2055440 Bytes =  2 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux......................................................................................................................................... done, booting the kernel.
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (realtimedsp@realtimedsp-desktop) (gcc 版本 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Tue Dec 22 10:12:18 CST 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci DM365 EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci DM0365 variant 0x8
PLL0: fixedrate: 24000000, commonrate: 121500000, vpssrate: 243000000
PLL0: vencrate_sd: 27000000, ddrrate: 243000000 mmcsdrate: 121500000
PLL1: armrate: 297000000, voicerate: 20482758, 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: 17920
Kernel command line: mem=70M console=ttyS0,115200n8 root=/dev/mtdblock3 rw rootfstype=yaffs2 ip=192.168.1.3:192.168.1.103:192.168.1.1:255.255.255.0::eth0:off eth=00:40:01:2B:64:60 video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=1 davinci_enc_mngr.ch0_mode=pal
TI DaVinci EMAC: kernel boot params Ethernet address: 00:40:01:2B:64:60
PID hash table entries: 512 (order: 9, 2048 bytes)
Clock event device timer0_0 configured with caps set: 07
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: 70MB = 70MB total
Memory: 66432KB available (3525K code, 709K data, 200K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
MUX: initialized SPI1_SDO
DaVinci: 8 gpio irqs
MUX: initialized GPIO20
MUX: initialized I2C_SCL
DM365 IPIPE initialized in Continuous mode
Generic PHY: Registered new driver
ch0 default output "COMPOSITE", mode "PAL"
VPBE Encoder Initialized
LogicPD encoder initialized
Avnetlcd encoder initialized
lr430lcd encoder initialized
dm365_afew_hw_init
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
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 Dec 22 2009 10:24:44 Installing.
SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
davincifb davincifb.0: dm_osd0_fb: 720x576x16@0,0 with framebuffer size 4050KB
davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1224KB
davincifb davincifb.0: dm_osd1_fb: 720x576x4@0,0 with framebuffer size 810KB
davincifb davincifb.0: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1224KB
DAVINCI-WDT: DaVinci Watchdog Timer: 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 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 02:00:10:00:00:00
TI DaVinci EMAC Linux version updated 4.0
netconsole: not configured, aborting
Linux video capture interface: v2.00
vpfe_init
starting ccdc_reset...<7>
End of ccdc_reset...<5>vpfe_probe
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = MT9T001
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = MT9P031
TVP514X : nummber of channels = 1
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = TVP514X
Trying to register davinci display video device.
layer=c05a2600,layer->video_dev=c05a2760
Trying to register davinci display video device.
layer=c05a2400,layer->video_dev=c05a2560
davinci_init:DaVinci V4L2 Display 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 soft ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 2214 at 0x114c0000
Bad eraseblock 2329 at 0x12320000
Bad eraseblock 2486 at 0x136c0000
Bad eraseblock 3294 at 0x19bc0000
Bad eraseblock 3957 at 0x1eea0000
Bad eraseblock 4285 at 0x217a0000
Bad eraseblock 4655 at 0x245e0000
Bad eraseblock 5024 at 0x27400000
Bad eraseblock 5102 at 0x27dc0000
Bad eraseblock 5345 at 0x29c20000
Bad eraseblock 5411 at 0x2a460000
Bad eraseblock 6290 at 0x31240000
Bad eraseblock 6910 at 0x35fc0000
Bad eraseblock 7100 at 0x37780000
Bad eraseblock 7376 at 0x39a00000
Bad eraseblock 7450 at 0x3a340000
Bad eraseblock 8034 at 0x3ec40000
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
dm_spi.1: davinci SPI Controller driver at 0xc481e800 (irq = 17) use_dma=0
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
musb_hdrc: version 6.0, cppi-dma, otg (peripheral+host), debug=0
MUX: initialized GPIO33
musb_hdrc musb_hdrc: No DMA interrupt line
musb_hdrc: USB OTG mode controller at c4874000 using DMA, IRQ 12
mice: PS/2 mouse device common for all mice
ts: Compaq touchscreen protocol output
DaVinci DM365 Keypad Driver
MUX: initialized KEYPAD
input: dm365_keypad as /class/input/input0
ads7846 spi1.0: touchscreen, irq 44
input: ADS784x Touchscreen as /class/input/input1
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 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: Complete:
      device=eth0, addr=192.168.1.3, mask=255.255.255.0, gw=192.168.1.1,
     host=192.168.1.3, domain=, nis-domain=(none),
     bootserver=192.168.1.103, rootserver=192.168.1.103, rootpath=
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
block 2151 is bad
block 2266 is bad
block 2423 is bad
block 3231 is bad
block 3894 is bad
VFS: Mounted root (yaffs2 filesystem).
Freeing init memory: 200K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing
init= option to kernel.

相关帖子

沙发
hulan1985| | 2010-3-18 19:47 | 只看该作者
这么多……

使用特权

评论回复
板凳
空下这个座|  楼主 | 2010-3-19 09:51 | 只看该作者
自已顶下,看有没有人能帮下忙

使用特权

评论回复
地板
空下这个座|  楼主 | 2010-3-19 11:04 | 只看该作者
本帖最后由 空下这个座 于 2010-3-19 11:07 编辑

查到原因了,我用的是北京瑞泰DM365开发套件:ICETEK-DM365-KB-KIT,随板发过来的光盘上的中文使用手册有非常多的问题,从下载地址到启动环境设置全部有错误,后来用的TI提供的启动及环境设置才正常启动了ulinux,下面是TI提供文档的操作及设置,在此严重鄙视瑞泰!!!
1. Download uImage and copy it to NAND partition
tftp 0x80700000 uImage
nand erase 0x400000 0x200000
nand write 0x80700000 0x400000 0x200000
2. Booting with ramdisk, on each reboot
tftp 0x82000000 ramdisk.gz
nand erase 0xC00000 0x300000
nand write 0x82000000 0xC00000 0x300000
setenv bootcmd 'nand read 0x82000000 0xC00000 0x300000; nboot 0x80700000 0 0x400000; bootm'
setenv bootargs 'mem=116M console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x82000000,4M ip=dhcp video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=ntsc'
3. If you use filesystem other than rammdisk, bootcmd needs to be set as
setenv bootcmd 'nboot 0x80700000 0 0x400000; bootm'

使用特权

评论回复
5
maer545| | 2012-4-18 21:35 | 只看该作者
前辈,我也在做DM365 用的也是瑞泰的开发套件,现在按照瑞泰的技术手册,在配置ip时不能上网,这个问题你解决了吧??求指导,感激不尽 1# 空下这个座

使用特权

评论回复
6
sqcumt123| | 2012-5-23 16:20 | 只看该作者
还是要顶,深奥点。

使用特权

评论回复
7
danfering| | 2015-4-30 11:14 | 只看该作者
你好,Ti提供的 技术文档,在哪里下载呢?

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

4

主题

13

帖子

0

粉丝