- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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, JoshLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can add a dummy tristate bus bridge and CFI to make a fake ptf, which will be used for hwselect only. It should not be used to generate hardware and sof.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo@Jul 19 2006, 08:23 PM you can add a dummy tristate bus bridge and cfi to make a fake ptf, which will be used for hwselect only. it should not be used to generate hardware and sof.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17022)
--- quote end ---
--- Quote End --- hippo 你好,你会说汉语吗?这个问题我也遇到了,你能用汉语帮我解释一下吗?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If your system is completed to your liking (all your components are included).
Add a tristate bridge and CFI-Flash to your SOPCBuilder system en regenerate your PTF file. It doens't matter that your board doesn't have CFI-Flash. Copy the PTF file to another directory were it's save and remove the cfi and tristate bridge. Regenerate your PTF file and continue working with Quartus to make the SOF-file you need. The PTF file you backed up containes the system your using plus a CFI-Flash. This PTF can be used for the hwselect script to compile your kernel. It doesn't matter that your system doesn't actually have a CFI 'cause the kernel only needs the info for some internal checking. Make sure the "fake" CFI doesn't overlap with any of your other components! If you made a change to your SOPCBuilder system you can always copy and paste the CFI component from your backed up PTF file to the new one to recompile your kernel. I hope this clarifies what Hippo already said. Greetz Walter Goossens- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, it did help. Thanks everyone.
I did know that this was what I was supposed to do, but I was running into a problem with SOPC Builder 6.0. In this version, you can create "board descriptions," which specify all the hardware on the board. The problem then, is that once a board description is chosen, it won't allow you to add components that aren't physically on the board, such as a CFI! So, under SOPC Builder 6.0, the board description needs to be set to 'Unassigned' to work well. So I have uCLinux up and running on a Cyclone II DSP dev board now.
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