mx280:use application uart as a console

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

mx280:use application uart as a console

跳至解决方案
1,595 次查看
yangsong
Contributor I

     for debug uart was used as i2c funtion, and i need to configure application uart0 as a console,i do this as the steps listed below

     boot from sdcard

     1.run ./ltib -m config, change default kernel command line from "noinitrd console=ttyAM0" to "noinitrd console=ttySP0"

     2.change inittab startup line from "::respawn:/sbin/getty -L ttyAM0" to "::respawn:/sbin/getty -L ttySP0"

     3.enter kernel menuconfig, and enable "support for console on i.MXS application serial port"

     4.run ./ltib -p boot_stream.spec -f and ./mk_mx_sdcard

     5.then insert sdcard ,and power on. it stop after "booting the kernel"

    

PowerPrep start initialize power...

Battery Voltage = 4.20V

boot from battery. 5v input not detected

Dec 20 201220:33:03

FRAC 0x92925A52

Wait for ddr ready 1power 0x00820616

Frac 0x92925A52

start change cpu freq

hbus 0x00000003

cpu 0x00010001

start test memory accress

ddr2 0x40000000

finish simple test

Uncompressing kernel................................................................done,booting the kernel

    

    

0 项奖励
回复
1 解答
1,350 次查看
yangsong
Contributor I

thanks for your reply.this problem had been resolved.

app uart 0 was not initialized before used as a console.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,350 次查看
JackyAtFreescal
Senior Contributor II

The next thing being printed from console should be "Linux version  2.6.35...", did you see it from the debug uart (instead of application uart)?

https://community.nxp.com/message/311153/edit" style="font-style: inherit; font-family: inherit; col...

0 项奖励
回复
1,351 次查看
yangsong
Contributor I

thanks for your reply.this problem had been resolved.

app uart 0 was not initialized before used as a console.

0 项奖励
回复