industrialNETworXnetx

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 15.08.2007 | 13:37 | 1 reply

Error: failed to query the load address

I will summarize all points, which can be the trigger for the problem which appears, when you try to build a bootimage from an existing elf file.

Error: failed to query the load address

  1. Please check the netx.xml file from your Bootwizard installation.

    At the beginning of the file you will find a section with Toolset.
    Please check, if the global variable "%PATH_GNU_ARM%bin\" is valid.
    (Check it with set path_gnu)

    The output should look like:

    D:\Daten\_eigene_Projekte\netX>set path_gnu
    PATH_GNU_ARM=C:\Programme\Hitex\GnuToolPackageArm\

    You can also enter the direct path into the xml file.

    [/*:m]

  2. An other problem could be in the linker description file (*.ld). Please open the file and search for the entry:
    /* We have to locate the Stack first of all */
    .stack 0x00000800 : /* 2 KByte */
    {
    *(.stack_data)
    }

    now enter the value "(NOLOAD)" behind the address
    /* We have to locate the Stack first of all */
    .stack 0x00000800 (NOLOAD) : /* 2 KByte */
    {
    *(.stack_data)
    }

    Compile the project again and try to create the bootimage.

    [/*:m]

  3. In some cases there where a problem with the folder names: The problem are some 'Space' characters in the folder name.

    For Example:

    Quote:
    "This is a Test" = will show the described error Message
    "This_is_a_Test" or "ThisisaTest" = will work without any problems.
    [/*:m]

[/]

HP

HP

| 16.08.2007 | 08:50

I voted "it solved my problem" since we had the problem with spaces on a new machine a few weeks ago.

Login