how to set bootconsole on imx6 board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to set bootconsole on imx6 board

Jump to solution
11,841 Views
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 Solution
3,543 Views
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.

View solution in original post

0 Kudos
7 Replies
3,544 Views
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 Kudos
3,543 Views
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 Kudos
3,543 Views
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,543 Views
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 Kudos
3,543 Views
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 Kudos
3,543 Views
EricNelson
Senior Contributor II

Hi Tonny,

The sources are available. See this post for details.

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

3,543 Views
LeonardoSandova
Specialist I

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

0 Kudos