Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
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.
15316 Discussions

Trying to load freertos image on intel arria 10 soc board

murthyssr
Beginner
171 Views

Hi i am trying to compile and load freertos image on intel arria 10 soc.

while i downloaded  sample source code from freertos.org and imported into arm ds-5 ide.

while try to build that source code i am facing below error.please help on this error.

what is the value had to entered in the below  image for  mcpu, march  locations.issue4.JPG

 

15:33:37 **** Incremental Build of configuration Debug for project RTOSDemo ****
make all
'Building file: ../Altera_Code/SoCSupport/cache_support.c'
'Invoking: GCC C Compiler 7.5.0 [aarch64_be-elf]'
aarch64_be-elf-gcc.exe -march=armv7-a+vfpv4 -mcpu=cortex-a9 -I"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include" -I"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\SoCSupport\include" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_16550_uart.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_acpidmap.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_can.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_clkmgr.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_dap.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_dmanonsecure.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_dmasecure.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_emac.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_f2h.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_fpgamgr.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_fpgamgrdata.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_gpio.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_h2f.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_i2c.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_l3.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_l4wd.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_lwfpgaslvs.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_lwh2f.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_mpul2.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_mpuscu.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_nand.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_nanddata.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_ocram.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_qspi.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_qspidata.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_rom.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_rstmgr.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_scanmgr.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_sdmmc.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_sdr.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_spim.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_spis.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_stm.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_sysmgr.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_tmr.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_uart.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\alt_usb.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\hps.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\socal\socal.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_16550_uart.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_address_space.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_bridge_manager.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_cache.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_clock_group.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_clock_manager.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_dma_common.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_dma_program.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_dma.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_ecc.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_fpga_manager.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_generalpurpose_io.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_globaltmr.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_hwlibs_ver.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_i2c.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_interrupt_common.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_interrupt.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_mmu.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_mpu_registers.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_nand_flash.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_nand_private.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_qspi_private.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_qspi.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_reset_manager.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_sdmmc.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_spi.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_system_manager.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_timers.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_watchdog.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\hwlib.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\SoCSupport\include\cache_support.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\SoCSupport\include\fpga_support.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\SoCSupport\include\mmu_support.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\SoCSupport\include\uart0_support.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_address_space.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_bridge_manager.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_cache.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_clock_group.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_clock_manager.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_dma_common.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_dma_program.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_dma.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_ecc.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_fpga_manager.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_generalpurpose_io.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_globaltmr.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_hwlibs_ver.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_i2c.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_interrupt_common.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_interrupt.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_mmu.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_mpu_registers.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_nand_flash.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_nand_private.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_qspi_private.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_qspi.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_reset_manager.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_sdmmc.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_spi.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_system_manager.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_timers.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\alt_watchdog.h" -include"C:\Users\Tess-2052\Documents\DS-5 Workspace\RTOSDemo\Altera_Code\HardwareLibrary\include\hwlib.h" -O0 -g -Wall -MMD -MP -MF"Altera_Code/SoCSupport/cache_support.d" -MT"Altera_Code/SoCSupport/cache_support.o" -c -o "Altera_Code/SoCSupport/cache_support.o" "../Altera_Code/SoCSupport/cache_support.c"
cc1.exe: error: unknown value 'cortex-a9' for -mcpu
cc1.exe: note: valid arguments are: cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a73 thunderx thunderxt88p1 thunderxt88 thunderxt81 thunderxt83 xgene1 falkor qdf24xx exynos-m1 thunderx2t99p1 vulcan thunderx2t99 cortex-a57.cortex-a53 cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53 generic; did you mean 'cortex-a35'?
cc1.exe: error: unknown value 'armv7-a+vfpv4' for -march
make: *** [Altera_Code/SoCSupport/subdir.mk:29: Altera_Code/SoCSupport/cache_support.o] Error 1

15:33:38 Build Finished (took 1s.29ms)

0 Kudos
1 Reply
EricMunYew_C_Intel
Moderator
116 Views

can you put -mcpu=cortex-a9 and leave -march blank.


Reply