mx280:use application uart as a console

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

mx280:use application uart as a console

ソリューションへジャンプ
1,596件の閲覧回数
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,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 件の賞賛
返信
2 返答(返信)
1,351件の閲覧回数
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,352件の閲覧回数
yangsong
Contributor I

thanks for your reply.this problem had been resolved.

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

0 件の賞賛
返信