Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

Extract BSP settings from a Nios Eclipse project.

SAbba1
Beginner
363 Views

Hello,

 

I have a Nios project that i have created using the ecplies. Now i would like to port over all my settings from the BSP settings into my CMAKE list. The issue is when i build from CMAKE the nios will not boot up and start the program. But when i load the program image via eclipes it starts fine. I need to make sure i have all BSP settings correct in the CMAKE list. How can i extract it from the project.

 

These type of settings im looking for

 

    --set hal.enable_small_c_library true

    --set hal.make.bsp_cflags_optimization "-Os"

    --set hal.sys_clk_timer none

    --set hal.timestamp_timer none

    --set hal.stdin "jtag_uart"

    --set hal.stdout "jtag_uart"

    --set hal.stderr "jtag_uart"

    --set hal.enable_sim_optimize false

    --set hal.enable_gprof false

    --set hal.enable_lightweight_device_driver_api true

    --set hal.enable_sopc_sysid_check true

    --set hal.enable_exit true

    --set hal.enable_clean_exit true

    --set hal.enable_c_plus_plus true

    --set hal.enable_reduced_device_drivers true

    --set hal.max_file_descriptors 32

 

 

Thanks in advance

 

0 Kudos
1 Reply
Ahmed_H_Intel1
Employee
172 Views

Hi,

Where you store your boot image? EPCQ, RAM, etc?

How you boot the NIOS II? XIP or boot copier. This is the main concern first then we can say if the BSP setting is correct or not.

Please check the following page to know more about booting the NIOS II from different memories.

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/nios2/edh_ed_handbook.pd...

Regards,

 

Reply