- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
A couple of questions that people might be able to help me out with. There seems to be a common issue with setting up the initial boot sequence for a NIOS boot loader and whilst there is a lot of information out there I seem to be going around in circles at the moment. Here is what I'm after. I have the following system: Flash, 0x00000000 to 0x007FFFFF (i.e. 8Mb worth) SDRAM, 0x01000000 to 0x01FFFFFF (i.e. 16Mb worth) EPCS mapped in as EPCS controller peripheral at location 0x00810800 NIOS II f core with flash/tri-state bridge and EPCS controller Reset address is set to the EPCS controller base address Exception address is set to 0x0100020 (i.e. into SDRAM) Now I want to put the configuration data (.sof) into the EPCS with a UBoot on top of it so that at boot up U-Boot will fire up from the EPCS, it (U-Boot) will then load an elf executable from the flash into sdram and execute it at a later point. When I boot up my current system I have succeeded in getting U-boot to be placed in the FLASH but not into the EPCS, in this arrangement it comes up correctly and the EPCS boot loader correctly loads u-boot out of flash and executes it. The problem I am having is getting all the parameters correct for scripting all of this so that I can get U-boot to come out of the epcs, can anyone suggest the correct steps to take (in script) to make the build happen, obviously I want to automate the, but it is being troublesome getting the correct parameters, also the quartus_pgm utility doesn't like running from within cygwin so this means having to shell out to win32 cmd to execute that, again anyway way around this? Regards, DWLink Copied
- « Previous
-
- 1
- 2
- Next »
21 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ahh thanks Scott, I'd skipped the -O linux on my attempts so the inconsiderate little b***ard was ignoring me during bootup. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif
Regards,
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
- « Previous
-
- 1
- 2
- Next »