Altera_Forum
Honored Contributor
19 years agoBuilding uCLinux with no CFI flash
I'm trying to get uCLinux running on a Nios processor on a Cyclone II DSP dev board. (not the Cyclone II Nios dev board) I am using the uCLinuxDist from the wiki, running on Ubuntu in VMWare, and have previously successfully built and run uCLinux on a Cyclone Nios dev board.
The Cyclone II DSP board doesn't have a compact flash interface on board. Altera doesn't provide the netlist for the board (which I am going to try to get from them), so I can't alter the board description to add a dummy CFI interface as is recommended in the wiki. I am going to be running the kernel from the DDR2 SDRAM during development. Once we deploy, the zImage will be included in the EPCS configuration device, as described at epcsguide (http://nioswiki.jot.com/wikihome/operatingsystems/epcsguide). So I can't add a CFI to the system PTF, leading to me being unable to build uCLinux, because it needs a CFI for the "upload location" during make linux hw_select. As far as I can tell, the upload location/flash device is only used to be added to nios2_system.h, and is not needed for anything else. So my question is, how can I modify the hw_select and the remaining build process to not require a flash device? (I have had a look at the hw_select.pl and gen_nios2_system.h.pl files, but I don't really want to learn perl just to figure this issue out.) Regards, Josh