TI中文支持网
TI专业的中文技术问题搜集分享网站

在linux下用minicom 向达芬奇dm64647T烧写内核并启动,但是却启动不了,不知道是什么问题,请问有人知道怎么解决吗?

SEED-DVS6467 #                                                                                                                                                

U-Boot 1.2.0 (Sep  6 2010 – 14:49:27)                                           

                                                                                

I2C:   ready                                                                    

DRAM:  256 MB                                                                   

MY AMD Flash: 16 MB                                                             

In:    serial                                                                   

Out:   serial                                                                   

Err:   serial                                                                   

ARM Clock :- 495MHz                                                             

DDR Clock :- 396MHz                                                             

Hit any key to stop autoboot:  0                                                

TFTP from server 172.20.62.130; our IP address is 172.20.62.134                 

Filename 'uImage'.                                                              

Load address: 0x80800000                                                        

Loading: #################################################################      

         #################################################################      

         #################################################################      

         #########################################################              

done                                                                            

Bytes transferred = 1286864 (13a2d0 hex)                                        

Automatic boot of image at addr 0x80800000 …                                  

## Booting image at 80800000 …                                                

   Image Name:   Linux-2.6.10_mvl401-davinci_evm-                               

   Image Type:   ARM Linux Kernel Image (uncompressed)                          

   Data Size:    1286800 Bytes =  1.2 MB                                        

   Load Address: 80008000                                                       

   Entry Point:  80008000                                                       

   Verifying Checksum … OK                                                    

OK                                                                              

                                                                                

Starting kernel …                                                             

                                                                                

Uncompressing Linux…………………………………………………….

……………………… done, booting the kernel.                           

 

 

 

打印参数设置如下:

 

SEED-DVS6467 # pri                                                              

bootdelay=3                                                                     

baudrate=115200                                                                 

bootfile="uImage"                                                               

ipadr=0.0.0.2                                                                   

setenv=serverip 192.168.1.100                                                   

tftp=serverip 127.0.0.1                                                         

env=root=/dev/nfs nfsroot=192.20.62.134:/opt/nfs video=dm6467fb:output=pal      

rw=ip=192.20.62.134:255.255.255.0:192.20.62.1 root=/dev/nfs nfsroot=192.20.62.13

3:/opt/nfs video=dm6467fb:output=pal                                            

0x80800000=uImage                                                               

filesize=13a298                                                                 

fileaddr=80800000                                                               

gatewayip=172.20.62.1                                                           

netmask=255.255.0.0                                                             

loadaddr=0x80800000                                                             

machid=fd9                                                                      

serverip=172.20.62.130                                                          

ipaddr=172.20.62.134                                                            

ethaddr=00:0C:29:94:D7:D6                                                       

bootcmd=tftp                                                                    

autostart=yes                                                                   

sutostart=yes                                                                   

bootargs=mem=120M console=ttyUSB0,115200n8 noinitrd rw ip=172.20.62.133:255.255.

255.0:172.20.62.1 root=/dev/nfs nfsroot=172.20.62.130:/opt/nfs video=dm6467fb:ou

tput=pal                                                                        

stdin=serial                                                                    

stdout=serial                                                                   

stderr=serial                                                                   

                                                                                

Environment size: 752/131068 bytes      

Chris Meng:

你好,

用windows下的串口工具烧写就可以正常启动了么?

Shine:

请看一下是否是下面的问题引起一直停留在booting the kernel
processors.wiki.ti.com/…/Kernel_-_Common_Problems_Booting_Linux

user5274107:

回复 Chris Meng:

windows下的串口烧写还没有尝试,这个以前本来是我们实验室已经烧写成功了的,老师为了让我熟悉就让我自己多做几遍,然后我在另外的电脑作为服务器主机向其烧写就启动不了了,又换回最原来的主机去烧写也出现问题了,中间就参照网上改过一此机器码,改了还是不行,现在也不知道原来本来的机器码是多少,我觉得是不是机器码不一致造成的。

user5274107:

回复 Shine:

你好,根据你发的连接我觉得我的可能是里面的机器码不匹配的问题,然后跟着文档在内核编译那里家了debuggin选项,现在启动不出现那个问题,却出现下面接着打印了乱码信息。
U-Boot 1.2.0 (Sep6 2010 – 14:49:27)
I2C:ready
DRAM:256 MB
MY AMD Flash: 16 MB
In:serial
Out:serial
Err:serial
ARM Clock :- 495MHz
DDR Clock :- 396MHz
Hit any key to stop autoboot:0
SEED-DVS6467 # setenv loadaddr 0x80800000
SEED-DVS6467 # savee
Saving Environment to Flash…
Un-Protected 1 sectors
Erasing Flash…
Erasing sector1 … done.Erase Operation Completed.
Erased 1 sectors
Writing to Flash…\done
Protected 1 sectors
SEED-DVS6467 # tftp 0x80800000 uImage
TFTP from server 172.20.62.130; our IP address is 172.20.62.239
Filename 'uImage'.
Load address: 0x80800000
Loading: ############################################################################################################################################################################################################################################################
done
Bytes transferred = 1287796 (13a674 hex)
Automatic boot of image at addr 0x80800000 …
## Booting image at 80800000 …Image Name:Linux-2.6.10_mvl401-davinci_evm-Image Type:ARM Linux Kernel Image (uncompressed)Data Size:1287732 Bytes =1.2 MBLoad Address: 80008000Entry Point:80008000Verifying Checksum … OK
OK
Starting kernel …
Uncompressing Linux…………………………………………………….
……………………… done, booting the kernel.
Linux version 2.6.10_mvl401-davinci_evm-PSP_01_30_00_070 (root@ldp-ibm) (gcc ver
sion 3.4.3 (MontaVista 3.4.3-25.0.104.0600975 2006-07-06)) #248 Thu Mar 29 15:52
:18 CST 2018
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
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
Machine: DaVinci DM6467 EVM
Memory policy: ECC disabled, Data cache writeback
DM6467
<7>On node 0 totalpages: 30720
<7>DMA zone: 30720 pages, LIFO batch:7
<7>Normal zone: 0 pages, LIFO batch:1
<7>HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: mem=120M console=ttyUSB0,115200n8 noinitrd rw ip=172.20.62.
239:255.255.255.0:172.20.62.1 root=/dev/nfs nfsroot=172.20.62.130:/opt/nfs video
=dm6467fb:output=pal
PID hash table entries: 512 (order: 9, 8192 bytes)
Console: colour dummy device 80×30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>Memory: 120MB = 120MB total
<5>Memory: 118784KB available (2173K code, 455K data, 164K init)
<7>Calibrating delay loop… 246.57 BogoMIPS (lpj=1232896)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
<6>CPU: Testing write buffer coherency: ok
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
desched thread 0 started up.
<6>NET: Registered protocol family 16
<6>DaVinci: 48 gpio irqs
<6>Registering platform device 'serial8250.0'. Parent at platform
<6>Registering platform device 'musb_hdrc'. Parent at platform
<6>Registering platform device 'nor_davinci.0'. Parent at platform
<1>DaVinci I2C DEBUG: 15:51:10 Mar 29 2018
<6>Registering platform device 'i2c'. Parent at platform
<5>ch0 default output "COMPOSITE", mode "NTSC"
<5>ch1 default output "", mode ""
<5>SCSI subsystem initialized
<6>usbcore: registered new driver usbfs
<6>usbcore: registered new driver hub
<6>musb_hdrc: version 2.2a/db-0.4.8 [cppi-dma] [host] [debug=0]
<6>musb_hdrc: ConfigData=0x06 (UTMI-8, dyn FIFOs, SoftConn)
<6>musb_hdrc: MHDRC RTL version 1.500
<7>musb_hdrc: setup fifo_mode 4
<7>musb_hdrc: hw_ep 0shared, max 64
<7>musb_hdrc: hw_ep 1tx, max 512
<7>musb_hdrc: hw_ep 1rx, max 512
<7>musb_hdrc: hw_ep 2tx, max 512
<7>musb_hdrc: hw_ep 2rx, max 1024
<7>musb_hdrc: hw_ep 3tx, max 512
<7>musb_hdrc: hw_ep 3rx, max 512
<7>musb_hdrc: hw_ep 4tx, max 128
<7>musb_hdrc: hw_ep 4rx, max 128
<6>musb_hdrc: USB Host mode controller at c8000000 using DMA, IRQ 13
<6>musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 1 port detected
<6>Registering platform device 'vfb.0'. Parent at platform
<6>fb0: Virtual frame buffer device, using 1024K of video memory
<6>Registering platform device 'DavinciHD_vdce.2'. Parent at platform
<6>Registering platform device 'relay_ctrl_dvs'. Parent at platform
<6>Registering platform device 'tlp121'. Parent at platform
<1>Major:253Minor:0
<1>chdrv: Driver initialized.
<6>Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
<6>Registering platform device 'serial8250'. Parent at platform
ttyS0 at MMIO 0x1c20000 (irq = 40) is a ST16654
4顺锟?锟斤拷/0锟?0锟絧锟斤拷1=锟?锟?!3锟?锟?锟斤拷锟?螬伋锟?锟斤拷锟?锟? V锟酵达拷%R锟?螬伋锟?锟斤拷锟斤拷.K锟斤拷!{锟?V锟酵达拷%R
锟?J锟?锟斤拷锟斤拷锟?K!锟斤拷":1锟?锟酵?/锟?锟斤拷锟斤拷12"锟斤拷5)W锟?6锟?锟紽%锟斤拷0锟?z锟斤拷锟斤拷锟絋锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟絩 !V.
!0锟?z锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷#锟?!"锟斤拷3锟?锟?锟絋!R锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷#锟斤拷5 +锟斤拷/锟?锟斤拷"锟絪0沾锟斤拷锟斤拷锟斤拷锟斤拷#)痛,锟?1)
锟斤拷T3锟斤拷锟斤拷锟斤拷锟斤拷%锟窖狅拷.J锟斤拷%b锟斤拷纱锟?锟?锟?6锟斤拷%%巡锟?$锟斤拷锟斤拷锟?锟斤拷锟? K锟絲锟?0锟斤拷)锟?f锟絋:锟?0锟?锟斤拷:锟?F%锟斤拷0锟?z锟斤拷锟斤拷锟絋锟斤拷锟斤拷锟?0锟斤拷r锟絩 !V.!0锟?z锟斤拷锟?锟斤拷锟?)锟斤拷锟斤拷锟?0崭锟斤拷!锟?锟?锟斤拷:锟紽%锟斤拷0锟?z锟斤拷 锟?锟斤拷T锟斤拷锟斤拷 J3锟?锟?锟斤拷锟絩4!0锟?z锟斤拷锟斤拷锟斤拷锟斤拷F:$锟斤拷锟斤拷锟?K!锟斤拷".粘锟斤拷3锟?锟斤拷)K!锟斤拷".锟?锟?锟斤拷锟斤拷锟?锟斤拷锟斤拷
3{锟斤拷$锟斤拷锟?锟斤拷锟?锟斤拷&锟斤拷%锟?锟紽%V$锟斤拷 锟?+2锟?锟紽/锟絉锟?锟斤拷&锟斤拷锟?3{锟斤拷锟斤拷锟斤拷4锟?锟紽%V$锟斤拷<锟斤拷&锟斤拷%锟?锟?F%V$锟斤拷 锟?+2锟?锟斤拷锟斤拷6$锟斤拷锟斤拷锟?锟?锟?{锟斤拷锟斤拷锟絩#6锟?W3锟斤拷锟斤拷锟?$锟斤拷锟斤拷锟?锟斤拷锟?锟斤拷2锟秸?锟斤拷锟絋锟斤拷锟斤拷.锟缴? ,
锟斤拷锟?锟?锟斤拷:锟紽%锟斤拷锟?锟斤拷锟斤拷锟絋3锟斤拷锟?锟斤拷锟斤拷s锟?锟斤拷锟斤拷%锟?锟斤拷锟?锟斤拷锟?):2锟斤拷<螅懃锟斤拷()=0/锟斤拷锟?锟酵狅拷)K
!锟斤拷"锟斤拷锟斤拷锟斤拷 锟?T2:锟斤拷锟?螅功锟?锟斤拷4锟斤拷锟斤拷锟?锟?+2锟?螅功锟?锟斤拷4锟斤拷锟斤拷锟?z2锟斤拷 锟?锟?锟斤拷锟斤拷锟?锟斤拷锟?)
锟斤拷锟斤拷锟?r锟斤拷锟?锟斤拷/锟絢锟斤拷 锟斤拷锟?锟斤拷锟?锟?锟紽%V$0锟斤拷锟?锟斤拷锟斤拷92锟?锟?:锟秸达拷'锟?锟?锟?锟斤拷"锟斤拷锟斤拷锟?锟斤拷3锟斤拷%9+ 3
锟?锟斤拷:锟?锟斤拷"锟?锟斤拷锟斤拷5V$锟斤拷锟?锟?锟?锟?锟斤拷$1锟斤拷<锟斤拷锟?锟?锟紽%V$0锟斤拷锟?锟斤拷锟斤拷91锟?锟斤拷锟?锟?锟紽%V$0锟斤拷锟?锟斤拷
锟斤拷9锟絊锟?锟斤拷.J'锟?锟斤拷锟?锟斤拷锟斤拷锟斤拷.V5锟?锟斤拷)锟斤拷.J'锟斤拷0锟斤拷要锟?*锟斤拷锟?C锟斤拷!"锟斤拷锟?.锟?6锟斤拷锟斤拷詹锟?V5锟?,
锟诫睋..锟斤拷,锟?锟?氡?.锟?69锟斤拷锟斤拷锟?锟斤拷锟?z锟?锟?锟斤拷J,锟?锟?f%植锟?V5傻s锟斤拷锟斤拷锟絍2+锟斤拷锟?.锟斤拷3,
锟斤拷4!C}占蟋将锟?5 /F锟斤拷 #10锟斤拷2/锟斤拷锟?.锟斤拷3锟斤拷锟襟拷'5 /F锟斤拷 #10锟絳1/锟斤拷锟?.锟斤拷3锟斤拷6锟?锟斤拷.+
$锟斤拷4(锟?锟斤拷锟斤拷3+锟斤拷锟斤拷<锟?V锟斤拷')锟?锟絡/锟?1锟?辗2锟斤拷覡s!锟?锟斤拷/%锟?锟?锟斤拷锟?锟斤拷锟斤拷%锟?

赞(0)
未经允许不得转载:TI中文支持网 » 在linux下用minicom 向达芬奇dm64647T烧写内核并启动,但是却启动不了,不知道是什么问题,请问有人知道怎么解决吗?
分享到: 更多 (0)