|
小弟刚入门,遇到一个问题,请各位多指教! 我用资料中的linux-3.0.35--svn21.tar.xz编译生成的uImage,搭配rootfs-linux-minimal.tar.bz2或rootfs-linux.tar.bz2文件系统,配置uboot通过NFS挂载内核和根文件系统,内核和根文件系统均能挂载成功,但内核启动后就只有屏幕输出,串口console被关闭了。怎样才能开启串口console? 下面是启动过程中串口的输出:
U-Boot 2009.08-svn55 (Aug 09 2016 - 12:20:12)
CPU: Freescale i.MX6 family TO1.5 at 792 MHz
Thermal sensor with ratio = 184
Temperature: 44 C, calibration data 0x58f50d69
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock : 66000000Hz
ipg per clock : 66000000Hz
uart clock : 80000000Hz
cspi clock : 60000000Hz
ahb clock : 132000000Hz
axi clock : 264000000Hz
emi_slow clock: 132000000Hz
ddr clock : 528000000Hz
usdhc1 clock : 198000000Hz
usdhc2 clock : 198000000Hz
usdhc3 clock : 198000000Hz
usdhc4 clock : 198000000Hz
nfc clock : 24000000Hz
Board: MYIMX6EK200, i.MX6Q.
Boot Device: SPI NOR
I2C: ready
DRAM: 1 GB
MMC: FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2
JEDEC ID: 0xbf:0x25:0x41
Reading SPI NOR flash 0xc0000 [0x2000 bytes] -> ram 0x27600ac0
SUCCESS
In: serial
Out: serial
Err: serial
Net: got MAC address from IIM: 1c:87:76:51:99:c7
FEC0 [PRIME]
Hit any key to stop autoboot: 0
MYIMX6EK200 > setenv bootcmd 'tftpboot uImage;run bootcmd_net'
MYIMX6EK200 > saveenv
Saving Environment to SPI Flash...
Erasing SPI flash...Erasing SPI NOR flash 0xc0000 [0x2000 bytes]
..SUCCESS
Writing to SPI flash...Writing SPI NOR flash 0xc0000 [0x2000 bytes] <- ram 0x27600ac0
SUCCESS
done
MYIMX6EK200 > boot
FEC: Link is Up ffff
Using FEC0 device
TFTP from server 192.168.2.101; our IP address is 192.168.2.103
Filename 'uImage'.
Load address: 0x10800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
##############
done
Bytes transferred = 4008568 (3d2a78 hex)
## Booting kernel from Legacy Image at 10800000 ...
Image Name: Linux-3.0.35
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4008504 Bytes = 3.8 MB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Linux version 3.0.35 (zuo@U12045S-64) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #1 SMP PREEMPT Thu Jan 4 10:30:43 CST 2018
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: MYZR i.MX6 Evaluation Kit ( DIMM 200 )
Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writealloc
CPU identified as i.MX6Q, silicon rev 1.5
PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 194560
Kernel command line: root=/dev/nfs ip=dhcp nfsrootdebug nfsroot=192.168.2.101:/home/zuo/rootfs,v3,tcp fec_mac= video=mxcfb0:dev=ldb,CVBS-TV,if=RGB666,bpp=16
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 512MB 256MB = 768MB total
Memory: 765580k/765580k available, 282996k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xf4600000 - 0xffe00000 ( 184 MB)
vmalloc : 0xc0800000 - 0xf2000000 ( 792 MB)
lowmem : 0x80000000 - 0xc0000000 (1024 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.init : 0x80008000 - 0x8003f000 ( 220 kB)
.text : 0x8003f000 - 0x80ad720c (10849 kB)
.data : 0x80ad8000 - 0x80b40bc0 ( 419 kB)
.bss : 0x80b40be4 - 0x80b6f3cc ( 186 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:624
MXC GPIO hardware
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
arm_max_freq=1GHz
MXC_Early serial console at MMIO 0x2020000 (options '115200')
bootconsole [ttymxc0] enabled
Console: colour dummy device 80x30
console [tty0] enabled, bootconsole disabled
|
|