AnsweredAssumed Answered

mx280:use application uart as a console

Question asked by Yang Song on Dec 23, 2012
Latest reply on Jan 9, 2013 by Yang Song
Branched to a new discussion

     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

 

    

    

 

Outcomes