Ok, I did so.
Command "flash->silicon_id= epcs_read_electronic_signature(flash->register_base);" reads the id 0xd9800717. It is no option in the following if statement.
So it runs to the else statement. The command "flash->silicon_id = epcs_read_device_id(flash->register_base);" returns 0xd9800717 again.
So the end is "ret_code = -ENODEV; /* No known device found! */"
That tells me what? The controller can not init because the device id is unknown. Right?
What's to do? Had I to modify the alt_epcs_flash_query() function? But Altera dehorts about this.
And the final question I ask my self, why could NIOS boot its software from the flash??
Greets