Forum Discussion
Altera_Forum
Honored Contributor
14 years agoTurhan, good to hear it's compiling. Regarding memory on the DE4, I had to fall back to Q10.1 since the Uniphy compiled when used in SOPC works there. Q11 has a different top level port map (the global_reset is gone for example) so I'll port my project to Q11 after I figure out what the problem is there. I also have questions/remarks on using RAM but I'm going to start a new thread to keep it more relevant to the thread title.
NBB, I'm also working on getting flash working but still having issues with the hardware design. will report back if/when I get to working software stage. About your serial issue, under Device Drivers=>Charracter Devices=>Serial Drivers did you remember to deselect "Altera JTAG UART console support" and only select "Altera UART console support"? In the DTS file, did you modify the bootargs under the chosen node to have your serial device; guessing from your DTS and boot output that must be bootargs="debug console=ttyAL1,115200" if you're using your uart0. For early console information it might not work when you have two Altera UARTS though. temporarily comment out the one you're not using in your DTS, and see if it works then. If it does then I would suggest listing the Altera UART you want to use for early console info first in your DTS. This is just a theory, have a look at setup_early_printk in arch\nios2\kernel\early_printk.c and early_altera_uart_or_juart_console in arch\nios2\kernel\prom.c . It uses the first Altera UART device it finds as the early console. Hope it helps