Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

compiling u-boot in nios2 ide

Altera_Forum
Honored Contributor II
1,677 Views

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.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
500 Views

<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
0 Kudos
Altera_Forum
Honored Contributor II
500 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
500 Views

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
0 Kudos
Reply