--- Quote Start ---
when you install SoC EDS there are some examples of baremetal located in <quartus version>\embedded\examples\software. If i am not mistaken, these should be generic to all boards. You can find more examples here:
https://www.altera.com/support/support-resources/design-examples.html#socdesignexamples Note that these are mostly called hwlibs as they uses the Altera-provided HAL. For some of these examples (especially the ones that interfaced to outside world) I believe you will need to use your own preloader (rather than the default one for the CV SoC development kit)
--- Quote End ---
Thanks for the reply Sunshine but I see these examples and as you mentioned, none of these uses outside world peripherals and as I'm getting started I just want to use UART through USB port to debug my programs. About the preloader, I'm not familiar with these structure (I mean boot room, preloader...) but if I understood well, preloader is responsible to configure the peripherals initializing them for the ARM, then when you say that I need to use a different preloader you mean that I need to generate with the bsp-editor, make, etc... all that steps needed to create the new preloader based on my project on quartus/QSYS right? (btw there's a tutorial for these steps?:))