Forum Discussion
Altera_Forum
Honored Contributor
15 years agoBenjamin,
As stated already, you won't get the speeds you are looking for with Linux. It may be possible but difficult on Nios II. But to try to answer your questions --- Quote Start --- 1. How do I compile the kernel with full optimizations? --- Quote End --- There is a setting for the optimization and debug level to use for the build in menuconfig. --- Quote Start --- 2. How do I increase cache size? --- Quote End --- There are settings for cache size and various other parts of the CPU in SOPC Builder, one of the tools used to generate the FPGA image. --- Quote Start --- 3. How do I decrease memory latency? --- Quote End --- This depends on a lot of things -- speed of the RAM, type of the RAM, speed of the processor, cache size, burst settings, etc. You'll need a lot of back and forth with the hardware/fpga designers on this. Some other sections on this forum may be more helpful on this. If you do choose to go with Linux and manage to get any speed improvements, please post back in this thread.