AnsweredAssumed Answered

IMX6Q with Oreo: Uboot stop at stopped at “Jumping to OS image.” without going further.

Question asked by Benson Wu on Jun 10, 2018
Latest reply on Jun 13, 2018 by Benson Wu

I am porting Android 8.0 (Oreo) on our head Unit ( imx6q )

However, I met a problem . When I executed download image via mfgtool , the mfgtool stopped at “Jumping to OS image.” without going further.

My procedure is listed as follows:

  1. Generate   MX6Q_SDA9_DDR3_2GB_64bit_Benson.inc with I.MX6DQSDL DDR3 Script Aid V0.10.
  2. Execute DDR_Tester.exe(V2.8) and download the script: MX6Q_SDA9_DDR3_2GB_64bit_Benson.inc with I.MX6DQSDL DDR3 Script Aid V0.10.
  3. Perform calibration successfully (log is attached)
  4. Apply the registers in  step 3 & MX6Q_SDA9_DDR3_2GB_64bit_Benson.inc with I.MX6DQSDL DDR3 Script Aid V0.10. to source code@ at ${MY_ANDROID}/vendor/nxp-opensource/uboot-imx/board/freescale/mx6sabresd/
    • plugin.s
    • mx6q_sabresd.c
    • mx6q_4x_mt41j128.cfg
  5. Follow ch3.2 in user guide to build images
     source build/envsetup.sh
     lunch sabresd_6dq-userdebug
     make 2>&1 | tee build-log.txt
    Copy the generated files (boot-imx6q.img, system.img, recovery-imx6q.img, u-boot-imx6q.imx from ${MY_ANDROID}/out/target/product/sabresd_6dq/ to $mfgtool \Profiles\Linux\OS Firmware\files\android\sabresd

  6. Follow ch3.3 in user guide to build U-boot image .
     make mx6qsabresd_config
     make
    Copy the generated U-boot( u-boot-dtb.imx@${MY_ANDROID}/vendor/nxp-opensource/uboot-imx) to $mfgtool \Profiles\Linux\OS Firmware\firmware

  7. Follow ch3.4 in user guide to build kernel ZImage
     make imx_v7_mfg_defconfig
     make KCFLAGS=-mno-android -j4
    Copy the generated image( ZImage@ ${MY_ANDROID}/vendor/nxp-opensource/kernel_imx/arch/arm/boot/zImage) to $mfgtool \Profiles\Linux\OS Firmware\firmware

  8. Perform mfgtool(MfgTool.log)

 

 

I found there is one difference between my platform and sabresd .

Is that the root cause for my problem? Should I adjust something in Uboot?

 

In download mode

 

 

GPIO Override(SW6,BOOT_CFG)

Boot_Mode pin

Sabresd EVB

00001100 (from 1-8 bit, mfgtool download mode)

BM1=1, BM0=0(boot from internal)

My platform

11010110(from 1-8 bit, EMMC 8bit)

BM1=0, BM0=0(fuses)

 

In normal mode

 

 

GPIO Override(SW6,BOOT_CFG)

Boot_Mode pin

Sabresd EVB

11010110 (from 1-8 bit, EMMC 8bit)

BM1=1, BM0=0(boot from internal)

My platform

11010110(from 1-8 bit, EMMC 8bit)

BM1=1, BM0=0(boot from internal)

 

 

Outcomes