how to set bootconsole on imx6 board

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

how to set bootconsole on imx6 board

跳至解决方案
11,916 次查看
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 解答
3,618 次查看
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 回复数
3,619 次查看
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 项奖励
3,618 次查看
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 项奖励
3,618 次查看
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.

3,618 次查看
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 项奖励
3,618 次查看
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 项奖励
3,618 次查看
EricNelson
Senior Contributor II

Hi Tonny,

The sources are available. See this post for details.

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

3,618 次查看
LeonardoSandova
Specialist I

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

0 项奖励