- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all
Now I have a Vmlinux ,I can run it in ddram. using the "nios2-download -g vmlinux" now I want to boot it from flash . i want to know how to create a flash of file ,which can boot when power on . the reset address have been set in flash(0x0000000). pls help me !Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check the wiki,
http://nioswiki.jot.com/wikihome/operating...flashprogrammer (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux/flashprogrammer) 0. base address and size of your flash, epcs ? 1. how do you config fpga? from epcs or from cfi flash? 2. where the nios2 boot? from epcs or cfi flash ? If you have epcs, you should use epcs to config fpga. If your epcs is big, you can store zImage in epcs. you can setup mtd partitions for epcs and flash. so that you may update your fpga, and linux.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have reslove the problem .
<div class='quotetop'>QUOTE </div> --- Quote Start --- # Creating .flash file for the project $SOPC_KIT_NIOS2/bin/elf2flash --base=0x00000000 --end=0xffffff --reset=0x0 --inp ut=vmlinux --output=ext_vmlinux.flash --boot=$SOPC_KIT_NIOS2/components/alter a_nios2/boot_loader_cfi.srec # Programming flash with the project $SOPC_KIT_NIOS2/bin/nios2-flash-programmer --base=0x00000000 ext_vmlinux.flash[/b] --- Quote End --- thanks hippo
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