how to set bootconsole on imx6 board

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

how to set bootconsole on imx6 board

ソリューションへジャンプ
13,745件の閲覧回数
tonnywong
Contributor III

Hi,

I use i.Mx 6Quad Sabrelite board to develop android systems, it works well except the uart console.

When the android system(4.04,kernel 3.0.15) boots up, the console always stops at:

/********************************************************/

console [ttymxc0] enabled, bootconsole disabled

/********************************************************/

and then it prints nothing, but the android system is running well.

So how can I set the bootconsole enable to get the entire boot log from system, Can anybody know this problem?

1 解決策
5,447件の閲覧回数
louiskoziarz
Contributor II

If you get that much and then the console goes silent, that means the kernel has picked up the console configuration data from the u-boot command line and switched serial ports.  Stop your bootloader and do a 'printenv' and look for the bootargs command.  You should see something like

bootargs=console=ttymxc1,115200... etc etc...

When the kernel sees that in bootargs, it will switch the console to ttymxc1 once the 'early' setup phase is complete and the UARTs are being initialized in the official driver manner.

Start your examination here and see what you find.  Remember that ttymxc0 is UART1 on the IMX6, ttymxc1 is UART2, etc etc.

元の投稿で解決策を見る

0 件の賞賛
返信
7 返答(返信)
5,448件の閲覧回数
louiskoziarz
Contributor II

If you get that much and then the console goes silent, that means the kernel has picked up the console configuration data from the u-boot command line and switched serial ports.  Stop your bootloader and do a 'printenv' and look for the bootargs command.  You should see something like

bootargs=console=ttymxc1,115200... etc etc...

When the kernel sees that in bootargs, it will switch the console to ttymxc1 once the 'early' setup phase is complete and the UARTs are being initialized in the official driver manner.

Start your examination here and see what you find.  Remember that ttymxc0 is UART1 on the IMX6, ttymxc1 is UART2, etc etc.

0 件の賞賛
返信
5,447件の閲覧回数
tonnywong
Contributor III

Thanks a lot, I change the console=ttymxc1 from the u-boot, and it works fine, the former bootargs was: console=ttymxc0...

0 件の賞賛
返信
5,447件の閲覧回数
EricNelson
Senior Contributor II

Also note that ttymxc1 is the console on a SABRE Lite board. That seems to be the issue you're having.

5,447件の閲覧回数
LeonardoSandova
Specialist I

FYI, there is a need Android version (4.2.2), you may try a demo image and see if issue is still present. Check board's page on Freescale.com

Leo

0 件の賞賛
返信
5,447件の閲覧回数
tonnywong
Contributor III

Thank you .

But the  android 4.2.2 source code and image of sabrelite board are not included in the official download page :

i.MX 6 Software Updates and Releases

SABRE Board for Smart Devices

SABRE Platform for Smart Devices

SABRE for Automotive Infotainment

i.MX 6SoloLite Evaluation Kit

i.MX 6 Series Software and Development Tool Resources Product Summary Page</title><meta nam...

Is there any other way to get the android 4.2.2 source or image for the sabrelite board?

0 件の賞賛
返信
5,447件の閲覧回数
EricNelson
Senior Contributor II

Hi Tonny,

The sources are available. See this post for details.

     http://boundarydevices.com/jellybean-imx6/

5,447件の閲覧回数
LeonardoSandova
Specialist I

No idea. BTW, For Android (and Linux), you should use the images provided by BD http://boundarydevices.com/imx6-builds/

0 件の賞賛
返信