mx280:use application uart as a console

cancel
Showing results for 
Search instead for 
Did you mean: 

mx280:use application uart as a console

Jump to solution
269 Views
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 Kudos
1 Solution
24 Views
yangsong
Contributor I

thanks for your reply.this problem had been resolved.

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

View solution in original post

0 Kudos
2 Replies
24 Views
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 Kudos
25 Views
yangsong
Contributor I

thanks for your reply.this problem had been resolved.

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

View solution in original post

0 Kudos