Which Uboot version supports Silicon Revision 1.4 for i.MX6DL?

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

Which Uboot version supports Silicon Revision 1.4 for i.MX6DL?

665 Views
bowya_pallavan
Contributor II

Hi all,
We are using customized imx6dl platform, in which CPU is changed to MCIMX6U5EVM10AD. We are not able to boot the board after changing the silicon revision from AC to AD.

We are using U-boot 2015.04, using DCD mode board is booting and silicon revision is also properly detecting. But using plugin mode we are not able to boot the board. Please help us to resolve this issue.


Thank you,

Regards,

Bowya

Labels (1)
0 Kudos
3 Replies

582 Views
bowya_pallavan
Contributor II

Hi,
For finding the SoM configuration, we are adding the below customization in the file "arch/arm/include/asm/arch-mx6/mx6_plugin.S":

before_calling_rom___pu_irom_hwcnfg_setup:
        ldr r3, =ROM_VERSION_OFFSET
        ldr r4, [r3]
#ifdef CONFIG_MX6_IWG15
        /* IWG15: SingleBinary: Checking Processor Type */
        ldr r5, =ANATOP_BASE_ADDR
        ldr r6, [r5,#0x260]
        ldr r3,=0xff0000
        and r6,r6,r3
        cmp r6,#0x630000
        beq quad

        ldr r3, =ROM_VERSION_TO12
        cmp r4, r3
        ldrge r3, =ROM_API_TABLE_BASE_ADDR_MX6DL_TO12
        ldrlt r3, =ROM_API_TABLE_BASE_ADDR_LEGACY
        b common
quad:
        ldr r3, =ROM_VERSION_TO15
        cmp r4, r3
        ldrge r3, =ROM_API_TABLE_BASE_ADDR_MX6DQ_TO15
        ldrlt r3, =ROM_API_TABLE_BASE_ADDR_LEGACY

#else

#if defined(CONFIG_MX6SOLO) || defined(CONFIG_MX6DL)
        ldr r3, =ROM_VERSION_TO12
        cmp r4, r3
        ldrge r3, =ROM_API_TABLE_BASE_ADDR_MX6DL_TO12
        ldrlt r3, =ROM_API_TABLE_BASE_ADDR_LEGACY
#elif defined(CONFIG_MX6Q)
        ldr r3, =ROM_VERSION_TO15
        cmp r4, r3
        ldrge r3, =ROM_API_TABLE_BASE_ADDR_MX6DQ_TO15
        ldrlt r3, =ROM_API_TABLE_BASE_ADDR_LEGACY
#else
        ldr r3, =ROM_API_TABLE_BASE_ADDR_LEGACY
#endif
#endif
common:
        ldr r4, [r3, #ROM_API_HWCNFG_SETUP_OFFSET]
        blx r4

Since SoM was not booting and no prints were coming, we have created a function for led glow and called in the above customization. Then we find LED was glowing, no matter were it is been called, but after the line "ldr r5, =ANATOP_BASE_ADDR".
Then we changed the register for Anatop base address from r5 to r7 and the SoM is booting perfectly. We want to know why SoM is not booting if r5 is used. Please help us to solve this issue.

0 Kudos

582 Views
joanxie
NXP TechSupport
NXP TechSupport

refer to the mx6_plugin.S of U-boot 2015.04 version, it seems r5 has already occupied, maybe you change r5 to r7 or r8, you also can get the same result

0 Kudos

582 Views
joanxie
NXP TechSupport
NXP TechSupport

you can try to use uboot demo image in the latest yocto version, pls download it from the link as below:

SABRE|Automotive-Infotainment|i.MX6 | NXP 

find the "L4.14.98_2.0.0_MX6QDLSOLOX"

0 Kudos