- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please explain to me how to boot uClinux kernel and filesystem and Nios2 configuration, when power on the Altera Nios2 cyclone development board. I need to download the FPGA configuration to flash, how can I do it. Do I need some kind of bootloader for the uClinux? Regards CoolManLink Copied
9 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would do the following:
(1) Ensure that your hardware design's reset location is set to the beginning of flash (2) Upload the hardware design into flash (3) Build a kernel to match the hardware design (4) Upload the kernel to flash If you have an Altera board, you could use the "standard" example quartus project as a starting point. Build a kernel using the default configuration minus the IDE controller and upload both the quartus project and kernel to flash. The next time you restart the board, Linux should start up.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ken,
I followed your instructions but failed. Coolman, Do you make it? It seems there is something wrong with the .sof file.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I tried to download the kernel-project and the hardware design with flashprogrammer, but it failed. Then I downloaded the hardware design file (.pof) with Quartus programmer and ByteblasterII to EPSC4-device and the kernel project with flashprogrammer to flash, it worked succesfully! Now I don't have to download .sof-file each time when powering on the board. But tell me, how I can get the rid of starting the uclinux with terminal console. I want that uclinux starts running immadiately when I turns the power on. -CoolMan- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using a JTAG UART ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by coolman@Feb 14 2005, 01:46 AM hi,
i tried to download the kernel-project and the hardware design with flashprogrammer, but it failed. then i downloaded the hardware design file (.pof) with quartus programmer and byteblasterii to epsc4-device and the kernel project with flashprogrammer to flash, it worked succesfully!
now i don't have to download .sof-file each time when powering on the board.
but tell me, how i can get the rid of starting the uclinux with terminal console. i want that uclinux starts running immadiately when i turns the power on.
-coolman --- Quote End --- CoolMan, Could you tell me which hardware configuration you are using now (.pof)? You build your kernel and filesystem based on that file? Why not use .sof file? Thanks, Neo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Neo
I'm using a standard Nios2 configuration for cyclone device. Yes, I built my kernel and filesystem based on that. First I downloaded *.pof - file to EPCS4 with ByteBlaster and then the kernel and filesystem to flash with Flashprogrammer. EPSC4 device needs a *.pof - file when programming with ByteBlasterII. -CoolMan- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi again,
there is own header for EPCS4 in my development board, I used that instead of JTAG UART - header when downloading the configuration. -CoolMan- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, of course I means EPSC4 - device.
-CoolMan http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It sounds as if you have your device being configured corectly (automatically).
I'm assuming your code is programed into your external (not on chip) flash, and compiled corectly. The CPU needs to be set up to boot from a particular memory location. If you are usually loading code into RAM, and it runs, then the CPU is probably not configured corectly. Recompile (rebuild) your CPU with its reset location where your external ROM (flash) is. Reprogram your configuration device, and then it should boot from the flash.
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