Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20756 Discussions

buildroot to build toolchain on Linux

Altera_Forum
Honored Contributor II
8,714 Views

TO_BE_DONE

0 Kudos
107 Replies
Altera_Forum
Honored Contributor II
283 Views

hi hippo 

I meet a pb ,I used DEII board 

i don't know how to change link address 

 

view the rocessor type and features--> 

can't find the (0x00500000) Link address offset for booting 

 

plz help me
0 Kudos
Altera_Forum
Honored Contributor II
283 Views

hi hippo, 

 

I am developing linux applications on CYCLONE_1C12_EVAL Board, following your instructions on website NiosWIKI.  

 

I want to boot from CTI flash. But the linux didn't work but after programming. There is one point I am not clear. Please refer to the following scripts on NIOSWIKI, how do you get the address "0xC0000" in " sof2flash --offset=0xC00000 --". 

------------------------------------------------------------------------------------------- 

cd arch/nios2nommu/boot# Creating .flash file for the FPGA configuration 

sof2flash --offset=0xC00000 --input=$SOPC_KIT_NIOS2/examples/verilog/niosII_cycloneII_2c35/standard/standard.sof --output=standard.flash# Programming flash with the FPGA configuration 

nios2-flash-programmer --base=0x00000000 standard.flash 

----------------------------------------------------------------------------------------------- 

 

 

 

And Please help me to check whether the following selects are right or not. 

 

(I) SOPC. I choose: reset from ext_flash 

 

(II) The addresses in my nios2-system.h are chosen like these: 

 

ext_flash: 0x0--0x800000 

epcs: 0x800800---0x801000 

 

(III) When "make vendor_hwselect SYSPTF=....", the items chosen are chosen ike the following:  

 

--- Please select which CPU you wish to build the kernel against: 

(1) cpu - Class: altera_nios2 Type: s Version: 5.11 

Selection: 1 

--- Please select a device to upload the kernel to: 

(1) ext_flash 

Class: altera_avalon_cfi_flash 

Selection: 1 

--- Please select a device to execute kernel from: 

(1) ext_ssram 

Class: altera_avalon_cy7c1380_ssram 

(2) epcs_controller 

Class: altera_avalon_epcs_flash_controller 

Size: 2048 bytes 

Selection: 1 

 

I will appreciate much if you could spare a minute to reply. 

 

Thank you, 

 

Elec
0 Kudos
Altera_Forum
Honored Contributor II
283 Views

Catherine Zeta Jone SPAM! 

spam posted please report to forum admin (http://catherine-zeta-jone-spam.org/windowsmediaplayer.php?movie=694824)
0 Kudos
Reply