we want to bring up imx6dl with uboot plugin mode,uboot code from freescale official git repository uboot-imx,branch is imx_v2015.04_4.1.15_1.0.0_ga.use defconfig is configs/mx6qsabreauto_defconfig.boot mode is emmc.
when we try uboot DCD mode, burn u-boot.imx into emmc boot partition, uboot booting sucessful. Then I uncomment
include/configs/mx6sabre_common.h Line 19 #define CONFIG_USE_PLUGIN,make plugin mode work,and compile u-boot.imx,burn to emmc, uboot can't boot.
DDR was calibrated，and calibration data already fill to mx6dl.cfg and plugin.S macro imx6dlsabreauto_ddr_setting.
I add a macro to output clk on GPIO0 to debug:
ldr r0, =IOMUXC_BASE_ADDR
ldr r1, =0x0
str r1, [r0, #0x20C]
ldr r0, =CCM_BASE_ADDR
ldr r1, =0x81
str r1, [r0, #0x060]
when call imx6_pll2_clko1 after imx6q_qos_setting like:
I can measure the waveform
when call when call imx6_pll2_clko1 after after_calling_rom___pu_irom_hwcnfg_setup like:
can't measure the waveform.
Attachment is my my u-boot.imx.
Anyone knows why plugin uboot can't boot?