- 論壇徽章:
- 0
|
本帖最后由 chenliangmoran 于 2010-06-21 15:03 編輯
解決方法見(jiàn)6L,非常感謝大家的熱心幫助!
--------
各位前輩,大家好!
小弟在使用Micro2440板子的時(shí)候遇到一個(gè)問(wèn)題, 使用u-boot啟動(dòng)內(nèi)核, 在u-boot運(yùn)行期間,串口正常顯示信息,
但是當(dāng)kernel跑起來(lái)后,串口就沒(méi)有信息顯示了,特向大家請(qǐng)教如何解決此問(wèn)題?
u-boot的環(huán)境變量設(shè)置如下:
[Micro2440]# printenv
baudrate=115200
stdin=serial
stdout=serial
stderr=serial
ethact=dm9000
ethaddr=00:12:34:56:78:91
filesize=1FCAB4
fileaddr=30800000
netmask=255.255.255.0
bootcmd=tftp 0x30008000 uImage ; bootm
bootdelay=3
ipaddr=192.168.1.123
gatewayip=192.168.1.1
serverip=192.168.1.102
bootargs=mem=64M console=ttysole=ttySAC0, 115200 noinitrd init=/linuxrc root=/dev/nfs rw nfsroot=192.168.1.102:/opt/FriendlyARM/micro2440/root_qtopia ip=192.168.1.123:192.168.1.102:192.168.1.1:255.255.255.0:moran:eth0 ff display=dh240
Environment size: 507/131068 bytes
從開(kāi)機(jī)到kernel跑起來(lái)的串口信息如下:
U-Boot 2010.03-dirty (Jun 18 2010 - 20:08:40)
modified by ChenLiang
E-mail: chenliangmoran@gmail.com
MSN: chan_liang@live.cn
I2C: ready
DRAM: 64 MB
Flash: 2 MB
NAND: 128 MiB
Video: 240x320x16 20kHz 62Hz
In: serial
Out: serial
Err: serial
USB slave is enable!
Net: dm9000
Hit any key to stop autoboot: 3 2 1 0
dm9000 i/o: 0x20000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 00:12:34:56:78:91
operating at 100M full duplex mode
Using dm9000 device
TFTP from server 192.168.1.102; our IP address is 192.168.1.123
Filename 'uImage'.
Load address: 0x30008000
Loading: *T #################################################################
#################################################################
##########################################
done
Bytes transferred = 2517088 (266860 hex)
## Booting kernel from Legacy Image at 30008000 ...
Image Name: uImage
Created: 2010-06-17 14:39:11 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2517024 Bytes = 2.4 MB
Load Address: 30008000
Entry Point: 30008040
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux................................................................................................................................................................... done, booting the kernel. |
|