imx8qxp : After change debug uart, can't work kernel.

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

imx8qxp : After change debug uart, can't work kernel.

401 Views
brian_kim
Contributor II

Hi,

I changed debug port from uart0 to uart1,

u-boot is normal. ( I can see debug messages.)

After load kernel and dtb, I can't check debug message.

=> setenv mmcargs 'setenv bootargs console=ttyLP1,115200 earlycon=lpuart32,0x5a070000,115200 root=${mmcroot}'
=> boot
switch to partitions #0, OK
mmc0(part 0) is current device
Failed to load 'boot.scr'
28770816 bytes read in 108 ms (254.1 MiB/s)
Booting from mmc ...
92860 bytes read in 2 ms (44.3 MiB/s)
Moving Image from 0x80280000 to 0x80400000, end=82000000
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 0000000083000000, end 0000000083019abb

 

I think kernel into unlimited loop.

 

power supply

Normal boot : about 450mA

Now : (Start kernel) -> over 400mA -> 200~300ms -> 370mA (holding)

 

I can't see kernel message and I can't access ssh with eth0.

 

How can I solve this issue ?

0 Kudos
1 Reply

392 Views
brian_kim
Contributor II

When I check source code, 

I think it has error abou "stdout-path" in early_init_dt_scan_chosen_stdout(), driver/of/fdt.c

0 Kudos