Ozone - Relocate symbols

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Ozone - Relocate symbols

    Using J-Link V612 and Ozone V2.22d.

    I've been able to load u-boot into DDR of i.MX6Q at base 0x17800000 address using Ozone. u-boot then relocates in RAM. Is there a way to have Ozone relocate the symbols? I can do it using GDB with symbol-file and add-symbol-file as described here - denx.de/wiki/DULG/DebuggingUBoot

    I'd prefer to continue debugging using Ozone after relocation.

    Thanks,
    Daryl
  • Hi,

    No, this is currently not possible. Ozone can only work with the symbol information which are part of the Elf file.
    We will add the option to use symbol files or similar to the wishlist for Ozone.

    Best regards
    Johannes
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Thanks for the update.

    In case this helps anyone else, I was able to get the same result by rebuilding u-boot with the relocated address. For the i.MX6Q, I changed the CONFIG_SYS_TEXT_BASE in mx6_common.h from 0x17800000 to the relocated address and re-built it. I then loaded the new elf into Ozone to get the relocated symbols.