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

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

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

412 次查看
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 项奖励
1 回复

403 次查看
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 项奖励