- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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, ElecLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi 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 ---
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page