Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

compiling u-boot in nios2 ide

Has any one tried to compile u-boot in nios2 ide?

It solves the problem of manually making changes to the board specific header files.

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    It solves the problem of manually making changes to the board specific header files.[/b]

    --- Quote End ---

    Hi,

    did you test that ? on what board ?

    Warm Regards
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Yes. I have tested it by compiling in cygwin for EP1C20. I tried to compile in IDE but got lot of errors. Had shortage of time so had to stop it.

    Now I am trying to port it to a custom board with Nios2 and peripherals like RS 485, Lan chip - smsc 9111.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi shakthi,

    > Has any one tried to compile u-boot in nios2 ide?

    It&#39;s not worth effort ... the source tree is designed to support multiple cpu architectures,

    variants, and boards using the CLI in a unix environment.

    > It solves the problem of manually making changes to the board specific header files.

    You don&#39;t need the IDE for this -- you need to include the Nios system header

    file in your u-boot tree ... and base the u-boot configuration macros on the Nios

    system file macros.

    Regards,

    --Scott