Forum Discussion
Altera_Forum
Honored Contributor
19 years agohi hippo,
I found the problem myself. I should use EPCS to configure the FPGA. ================================================ --- Quote Start --- originally posted by electroman74@Mar 7 2007, 10:57 AM 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/stand
ard.sof --output=standard.flash
# sof2flash --epcs ......#
# programming flash with the fpga configuration
nios2-flash-programmer --base=0x00000000 standard.flash
#should use epcs: nios2-flash-programmer --epcs --base=0x800800 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
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=22044)
--- quote end ---
--- Quote End ---