iMX8M mini uboot crashes

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

iMX8M mini uboot crashes

969 Views
kajolkharbanda
NXP Employee
NXP Employee

i have built my own uboot which crashes without major changes

 

U-Boot SPL 2023.04-lf_v2023.04+gaf7d004eaf (Nov 17 2023 - 09:45:27 +0530)

regs->gpio_dir 30240004 l 0
regs->gpio_dir 30240004 l 0 power_bd71837_init
DDRINFO: start DRAM init
DDRINFO: DRAM rate 2400MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
DDRINFO: dram config saved
"Synchronous Abort" handler, esr 0x96000000
elr: 00000000007e8540 lr : 00000000007e8484
x 0: d01e67d541476fe0 x 1: 0000000042200010
x 2: d01e67d4ff276fb1 x 3: 00000000007f1088
x 4: 0000000000000000 x 5: 0000000000000000
x 6: 0000000000000000 x 7: 00000000422000b0
x 8: 0000000000910000 x 9: 0000000000000002
x10: 0000000042201000 x11: 00000000422010af
x12: 0000000000001001 x13: 0000000042200000
x14: 0000000000000030 x15: 0000000042200030
x16: 00000000007e9414 x17: 00000000000000ff
x18: 000000000091fe40 x19: 0000000000000020
x20: 0000000000910000 x21: 0000000000000010
x22: 0000000000000040 x23: 000000000091045c
x24: 000000000091047c x25: 000000000091044c
x26: 000000000091fd48 x27: 0000000000000f07
x28: 000000000000000f x29: 000000000091fc90

Code: cb0e0000 b2400002 8b0001e0 f90005e2 (f9400402)
Rese

0 Kudos
Reply
8 Replies

951 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @kajolkharbanda 

There are variants about  i.MX8MM EVK:

DDR4 version and LPDDR4 version

PMIC: bd71837 and pca9450.

 

Please confirm your board and image type.

 

Best Regards

Zhiming

0 Kudos
Reply

944 Views
kajolkharbanda
NXP Employee
NXP Employee

power_bd71837_init is being called.

image i have built locally

0 Kudos
Reply

935 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please share your board photo and image name you are using(command about how did you flash image)

0 Kudos
Reply

933 Views
kajolkharbanda
NXP Employee
NXP Employee

board.jpg

 

board2.jpg

i am using below command to flash uboot:

sudo dd if=flash.bin of=/dev/mmcblk1  bs=1024 seek=33

 

0 Kudos
Reply

911 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @kajolkharbanda 

How did you build uboot? Have you tried the bootloader in demo image?

0 Kudos
Reply

906 Views
kajolkharbanda
NXP Employee
NXP Employee

i build u-boot using make commands in uboot git repository.

i need to experiment something so need my own uboot

 

the default uboot is working fine.

0 Kudos
Reply

904 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

I believe some steps are missing in your steps, please refer 4.5.13 How to build imx-boot image by using imx-mkimage in this document:

https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

 

You need add more firmwares and assemble them into flash.bin

0 Kudos
Reply

948 Views
kajolkharbanda
NXP Employee
NXP Employee

power_bd71837_init is being called.

image i have built locally

0 Kudos
Reply