imx6sx app can't run when disable logs by using console=null in uboot

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

imx6sx app can't run when disable logs by using console=null in uboot

944 Views
pisces
Contributor II

Hello, nxp experts

Based on imx6sx platform, on our production version, we need to disable the kernel log by setting the console=null in bootargs in uboot.

But, we found that after we set the console=null,  after power on ,our app cannot run.

Once we open the logs (set console=ttymxc0,115200), our app can run well.

Because no logs output, it is not easy to debug this issue. And without app running, it is not easy to observer the status of our system.

does anyone ever meet this issue ? 

thanks.

our environment:

kernel version: 4.14.206

uboot verson:2019.07

Labels (1)
0 Kudos
4 Replies

932 Views
weidong_sun
NXP TechSupport
NXP TechSupport

console=tty1,115200, tty1 is probably LCD, not other UART.

 

Regards,

Weidong

0 Kudos

930 Views
pisces
Contributor II

yes, this is maybe a solution.

but we want to find the root cause.

because in our previous version (kernel: 4.14.193), by setting console=null, app can run well.

so it is strange why in the new kernel version, this method doesn't work.

0 Kudos

939 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

   You don’t need to set console=null, but you can use other tty terminals as the console, for example, console=tty1,115200 .

try it, please!

Have a nice day!

B.R,

weidong

0 Kudos

937 Views
pisces
Contributor II

Hi weidong,

but our other uart ports have all been used.

 

0 Kudos