Forum Discussion
Altera_Forum
Honored Contributor
11 years agoYou was choose correct direction !
And why at once modify and compile Preloader ? In .txt I see: --- Quote Start --- This Preloader was already compiled and it is provided with the project. --- Quote End --- Usually in Preloader HPS-UART is initialized with a necessary parameters and it's output is seen in UART console on host:U-Boot SPL 2013.01.01 (Jul 07 2014 - 11:47:21... However, the example is a little strange: I run program hello.axf as described in .txt (usual way) and stop in main(), step 2 lines, see output "Hello World!\n", then change PC in Registers window to 0x00100080 (entry point) in order to see in debugger all startup way, step a few times -- and program not run correctly ! I want certain of starting code avoids "SVC" commands. Then I add to Makefile a commands to generate .objdump: no "SVC" in disassemble. WHY ?!! :) ...I try to boot from SD-card as described in .txt unsuccessful: using of alt-boot-disk-util.exe -p preloader_scrubbing/preloader-mkpimage.bin -a write -d E return error "device open failed!".