Forum Discussion
Altera_Forum
Honored Contributor
15 years agoExecute uClinux on Flash
Hi,
I have a working uClinux image which can start from SDRAM. As I want to have settings for the board loaded from flash which a user should change through a website I decided to upload the image on my flash device. But I always get "Verify failed" errors while uploading the image. These are steps I made:- execute
make vendor_hwselect SYSPTF=/pathToMyPtfFile - select flash on upcoming menu
- run
to build the image with the changesmake - upload the image with
nios2-download -g images/zImage
2 Replies
- Altera_Forum
Honored Contributor
You'll still need to select the RAM for the menu in vendor_hwselect, nios2 uClinux does not support XIP from flash.
If you want to run your image from flash, you'll need to write it there using the nios2-flash-programmer. Please see http://www.alterawiki.com/wiki/flash_programmer for more information. - Altera_Forum
Honored Contributor
Thank you very much Tklauser!
This really saves me a lot of time while searching for a solution for a thing that can't work.