IVT issue for WEC2013 bootloader porting for IMX6Q platform RRS feed

  • Question

  • Dear All,

    I am working on WEC 2013 bootloader in IMX6Q board. The Eboot is booting from uboot without using IVT(initial vector table). But When I try to boot eboot directly with IVT its not working.

    I compared Eboot.exe of WEC 2013 with WEC 7.

    Eboot of WEC7 contains IVT at the beginning, next start up code(assembly code) and then follows c code data. Where as Eboot of WEC2013 contains C code in the beginning, next startup code(assembly) and then followed be IVT data. Each time we are updating in WEC2013 bootloader c code, the startup code address will be changed.

    Whether this changes are  expected in WEC 2013?

    IVT header in the middle of the Eboot.nb0 is accepted or i need to make it set at the beginning of the Eboot?

    If Eboot IVT should be at the beginning,how I can make it?

    Thanks and Regards,



    Thursday, August 29, 2013 12:34 PM


All replies

  • Hi Kavya

    The best option for this issue will be to use a JTAG debugger to look at the processor state (ARM vs Thumb) at each point. It was really helpful for us at Adeneo during the development of our WEC2013 BSP for SABRE LITE and SABRE SDB.


    Adeneo-Embedded Dev Team

    Thursday, October 3, 2013 6:09 PM
  • i don't know whether you have seen my earlier reply which i have posted a blog link which helps you to move the required code to start up entry.

    WEC2013 – Understanding STARTUPTEXT macro - Part 2

    Please mark as answer, if it is correct.
    Please vote,if it is helpful post.
    All the Best

    • Marked as answer by Kavya D.C Friday, October 4, 2013 9:33 AM
    Friday, October 4, 2013 8:52 AM
  • Kavya,

    I m facing the same issues as you do.Did you manage to get the EBOOT working directly???

    Please share your knowledge.I m stuck at the exact same point as you do

    Tuesday, February 25, 2014 6:20 AM
  • NivethRichard,

    Please refer following links for details about how to align different binary code segments.

    When you start the System it will be running in ARM mode, so it is necessary for you to make it run in Thumb mode for WEC 2013. So make sure that your Switching ARM mode to Thumb mode in IVT file.




    Monday, March 3, 2014 7:00 AM