Boot Hang issue in iMx8DX6

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

Boot Hang issue in iMx8DX6

1,308 Views
sheraz_ali
Contributor II

Hi Sir,

iMx8DX6 board stops at boot level and after we switch off and on the board it starts working

I have attached the working and non working  logs for your reference

When the boot hangs it stops at the following line

[    1.573346] mmc1: new ultra high speed SDR104 SDIO card at address 0001                          
[    1.608663] cdc_acm 1-1:1.2: ttyACM0: USB ACM device 

[ 1.569061] usb_otg1_vbus: disabling 

The above line is present when the board is booting but not when it hangs ?

Any suggestions why the board is hanging

0 Kudos
7 Replies

987 Views
sheraz_ali
Contributor II

I got DD3 tool from NXP, after editing DDR programming Aid i got the same configuration which i was using earlier. what else would cause the boot hang

0 Kudos

987 Views
igorpadykov
NXP Employee
NXP Employee

only one reliable way to prevent boot hang is reset all board power

(shortly remove all voltages through pmic).

Best regards
igor

0 Kudos

987 Views
sheraz_ali
Contributor II

What do you mean when you say remove all voltages through pmic ?

Secondly How to achieve that via software

0 Kudos

987 Views
igorpadykov
NXP Employee
NXP Employee

>What do you mean when you say remove all voltages through pmic ?

use solution from i.MX8QXP MEK schematic

pastedImage_1.jpg

>Secondly How to achieve that via software

this is not possible.

0 Kudos

986 Views
sheraz_ali
Contributor II

can anyone share the DDR aid tool for DDR3L (iMx8DX6)

0 Kudos

986 Views
igorpadykov
NXP Employee
NXP Employee

Hi sheraz

reason may be ddr memory errors, so one can try to use latest

 i.MX8QXP LPDDR4 Register Programming Aid (MX8QXP_C0_B0_LPDDR4_RPA_1.2GHz_v13.xlsx)

and rerun ddr test (latest v.13.1) , then rebuild image.

Also one can disconnect SDR104 SDIO card and check if it causes the hang.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

987 Views
sheraz_ali
Contributor II

Hi igorpadykov,

                        I am flashing the flash_a.bin flash_b.bin by running the following commands in Linux side

First copying the flash_a.bin and flash_b.bin to /tmp folder then executing the below commands

dd if=/dev/zero of=/dev/mmcblk0 bs=1k seek=4 conv=fsync count=16
sync

echo 0 > /sys/block/mmcblk0boot0/force_ro
dd if=/tmp/flash_a.bin of=/dev/mmcblk0boot0 bs=1k seek=32 conv=fsync
dd if=/tmp/flash_b.bin of=/dev/mmcblk0boot0 bs=1k seek=4096 conv=fsync
echo 1 > /sys/block/mmcblk0boot0/force_ro
sync

Is this method correct or am i missing any steps

Thanks and Regards

Sheraz Ali Shah

0 Kudos