i.MX8QXP boot up failed

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

i.MX8QXP boot up failed

3,565 Views
xinchuan
Contributor III

Hello,

Our new layout i.MX8QXP board can not boot up,

here is the log.

Is there anyone can help me to fix this issue,

thanks

U-Boot 2017.03-00001-ge3819ac36a-dirty (Jun 06 2018 - 10:10:40 +0800)

CPU: Freescale i.MX8QXP revA A35 at 1200 MHz at 19C
Model: Freescale i.MX8QXP MEK
Board: iMX8QXP MEK
Boot: SD1
DRAM: 3 GiB
MMC: Actual rate for SDHC_0 is 333333333
Actual rate for SDHC_1 is 200000000
FSL_SDHC: 0, FSL_SDHC: 1
Run CMD11 1.8V switch
[pcie_ctrlb_sata_phy_init_rc] LNK DOWN 8600000
CONFIG_VIDEO_IMXDPUV1
Display: jc_dlp (854x480)
In: serial
Out: serial
Err: serial

BuildInfo:
- SCFW c873dc14, IMX-MKIMAGE eb790d6d, ATF b4c8b5d
- U-Boot 2017.03-00001-ge3819ac36a-dirty

flash target is MMC:1
Net: eth0: ethernet@5b040000 [PRIME]
Error: ethernet@5b050000 address not set.

Fastboot: Normal
Hit any key to stop autoboot: 0
avb_slot_verify.c:176: ERROR: boot_a: Hash of data does not match digest in descriptor.
verify FAIL, state: UNLOCK
boot 'boot_a' still
Kernel load addr 0x80080000 size 25437 KiB
Kernel command line: console=ttyLP0,115200 earlycon=lpuart32,0x5a060000,115200,115200 init=/init androidboot.console=ttyLP0 consoleblank=0 androidboot.hardware=freescale cma=800M androidboot.selinux=permissive androidboot.serialno=1d0c280b57acbc4a androidboot.soc_type=imx8qxp androidboot.storage_type=sd androidboot.boottime=1BLL:0,1BLE:4397,KL:0,KD:0,AVB:2019,ODT:0,SW:0 androidboot.verifiedbootstate=orange androidboot.slot_suffix=_a skip_initramfs root=/dev/mmcblk1p3
kernel @ 80080000 (26046976)
ramdisk @ 84000000 (6844269)
fdt @ 83000000 (63405)
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 0000000083000000, end 00000000830127ac

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.69-10759-g6f3f71d5f7b8-dirty (chuan@sky) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #295 SMP PREEMPT Mon Jul 2 15:28:15 CST 2018
[ 0.000000] Boot CPU: AArch64 Processor [410fd041]
[ 0.000000] earlycon: lpuart32 at MMIO 0x000000005a060000 (options '115200,115200')
[ 0.000000] bootconsole [lpuart32] enabled
[ 0.000000] Bad mode in Error handler detected on CPU0, code 0xbf000002 -- SError
[ 0.000000] Internal error: Oops - bad mode: 0 [#1] PREEMPT SMP
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.69-10759-g6f3f71d5f7b8-dirty #295
[ 0.000000] Hardware name: Freescale i.MX8QXP MEK (DT)
[ 0.000000] task: ffff0000097ea080 task.stack: ffff0000097d0000
[ 0.000000] PC is at setup_arch+0x108/0x5b4
[ 0.000000] LR is at setup_arch+0x104/0x5b4
[ 0.000000] pc : [<ffff000009424188>] lr : [<ffff000009424184>] pstate: 000000c5
[ 0.000000] sp : ffff0000097d3ef0
[ 0.000000] x29: ffff0000097d3ef0 x28: 0000000081620018
[ 0.000000] x27: 00000000ffe83178 x26: 0000000000000000
[ 0.000000] x25: 0000000000000000 x24: 0000000000000000
[ 0.000000] x23: ffff0000097d8000 x22: ffff0000097d3fe0
[ 0.000000] x21: ffff000009812000 x20: ffff0000097d8000
[ 0.000000] x19: ffff000008080000 x18: 0000000000002010
[ 0.000000] x17: 0000000000001000 x16: 0000000000001c00
[ 0.000000] x15: ffffffffffffffff x14: 0000000000000030
[ 0.000000] x13: 0000000000000000 x12: 0000000000000018
[ 0.000000] x11: 0000000000000007 x10: 0101010101010101
[ 0.000000] x9 : fffffffffffffff9 x8 : 0000000000000008
[ 0.000000] x7 : 0000000000000001 x6 : 0000008000000000
[ 0.000000] x5 : 000000000000005f x4 : 0000000000000072
[ 0.000000] x3 : 0000000000000000 x2 : 0000000000000072
[ 0.000000] x1 : 0000000000000000 x0 : 0000000000000001
[ 0.000000]
[ 0.000000] Process swapper (pid: 0, stack limit = 0xffff0000097d0020)
[ 0.000000] Stack: (0xffff0000097d3ef0 to 0xffff0000097d4000)
[ 0.000000] 3ee0: ffff0000097d3f90 ffff000009420940
[ 0.000000] 3f00: ffff0000097d8000 0000000030d00800 ffff00000995c000 ffff00000995c000
[ 0.000000] 3f20: ffff0000097d8000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] 3f40: 00000000ffe83178 0000000000040945 ffff0000097d8000 ffff7dfffe800000
[ 0.000000] 3f60: 0000000083000000 0000000000000001 ffffffffffffffff 8080800000000000
[ 0.000000] 3f80: 0000000000808080 0000000000040945 ffff0000097d3ff0 ffff0000094201f0
[ 0.000000] 3fa0: 0000000034d5d91d 0000000030d00800 0000000083000000 0000000000000003
[ 0.000000] 3fc0: 0000000000000000 0000000000000000 0000000000000000 0000000083000000
[ 0.000000] 3fe0: ffff0000094aa528 0000000000000000 0000000000000000 00000000810812c0
[ 0.000000] Call trace:
[ 0.000000] [<ffff000009424188>] setup_arch+0x108/0x5b4
[ 0.000000] [<ffff000009420940>] start_kernel+0xa8/0x3f4
[ 0.000000] [<ffff0000094201f0>] __primary_switched+0x74/0x94
[ 0.000000] Code: 9117e000 940040c2 97fff1a8 d50344ff (d5384100)
[ 0.000000] ---[ end trace f68728a0d3053b52 ]---
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] Rebooting in 5 seconds..
[ 0.000000] Reboot failed -- System halted

4 Replies

1,626 Views
igorpadykov
NXP Employee
NXP Employee

Hi  川 辛

basic steps for porting software for new board are the same as

in Chapter 4 How to bring up a new MX8M board *.doc document

included in DDR Test for i.MX8M processor.

i.MX 8M DDR Tool Release 

Similar tool for i.MX8QXP will be posted on public nxp site after its public release (currently

it is in "preproduction" state), as described on

i.MX 8X Applications Processors| Arm® Cortex®-A35, Cortex-M4 |NXP 

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

1,626 Views
xinchuan
Contributor III

Hi Igor,

      Thanks for your reply.This issue is fixed by modfiy uboot imx8qxp_mek.c file.

Best regards,

辛川

0 Kudos

1,626 Views
bensonhuang
Contributor III

Hi 辛川,

Could you please share the solution with us?

We also met the same issue.

Appreciate your help!

Thanks!

0 Kudos

1,626 Views
xinchuan
Contributor III

hello,

以下为改动部分

image003.jpg