IMX8M Plus custom board hang on starting_kernel

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

IMX8M Plus custom board hang on starting_kernel

2,086 Views
umit_kayacik
Contributor II

Hi,

We have custom imx8m plus board. 

- Power: giving externally, consumes almost 300mA

- PMIC seems working

- DTS, Uboot, Kernel are latest yocto core-image-base of imx8mplus evk. We followed the image on the yocto user guide on imx tools page.

- DDR calibration + stress test pass on 800mhz for our DDR.

- System booting from sdcard.

 

I added the boot.log. I changed the DDR ram size on u-boot and closed watchdog pin due to its not connected to cpu.

 

System waits on starting kernel...

 

Regards,

Umit

 

0 Kudos
Reply
2 Replies

2,060 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @umit_kayacik 

Can you open earlyprintk function in your kernel?

You need make core rootfs by yourself and select earlyprintk in menuconfig.Then set bootargs in uboot:setenv bootargs ${bootargs} earlyprintk

0 Kudos
Reply

2,075 Views
umit_kayacik
Contributor II

LPDDR4 mpn is : Allicance Memory-AS4C128M32MD4-062BAN

Here is our bdinfo:


u-boot=> bdinfo
boot_params = 0x0000000000000000
DRAM bank = 0x0000000000000000
-> start = 0x0000000040000000
-> size = 0x0000000016000000
DRAM bank = 0x0000000000000001
-> start = 0x0000000058000000
-> size = 0x00000000d8000000
flashstart = 0x0000000000000000
flashsize = 0x0000000000000000
flashoffset = 0x0000000000000000
baudrate = 115200 bps
relocaddr = 0x0000000054ef6000
reloc off = 0x0000000014cf6000
Build = 64-bit
current eth = unknown
ethaddr = (not set)
IP addr = <NULL>
fdt_blob = 0x0000000052eeae20
new_fdt = 0x0000000052eeae20
fdt_size = 0x000000000000af80
lmb_dump_all:
memory.cnt = 0x2
memory.size = 0x0
memory.reg[0x0].base = 0x40000000
.size = 0x16000000
memory.reg[0x1].base = 0x58000000
.size = 0xd8000000

reserved.cnt = 0x1
reserved.size = 0x0
reserved.reg[0x0].base = 0x52ee9a00
.size = 0x2116600
arch_number = 0x0000000000000000
TLB addr = 0x0000000054fe0000
irq_sp = 0x0000000052eeae10
sp start = 0x0000000052eeae10
Early malloc usage: adf0 / 10000

0 Kudos
Reply