Forum Discussion
Altera_Forum
Honored Contributor
9 years agoHi,
--- Quote Start --- we are developing a custom board using a max10 device based on the 10m50 design. I am trying to get uboot up on this board but im kind of stuck. The documentation im following is this one: http://www.alterawiki.com/wiki/dasuboot I have already successfully loaded a linux on this same board and I am able to see the output on the uart. I would like to do the same thing using uboot. So, I cloned the uboot repo: git://git.denx.de/u-boot.git I've modified the dts from the 10m50 and default config to match my board, then compiled the project. I've tried both generating a hex file and putting it on the qspi and using the nios2-download -g u-boot. I dont see anything on the output and I would really appreciate if someone could point me out to some debug steps or some documentation I could read. I've tried using both the jtag_uart and the altera_uart. --- Quote End --- Nios2-download requires an elf format file. After the verify check and execution from its entry point, nios2-download will exit, so you need to monitor the output with nios2-terminal etc. The method introduced in the wiki is to send the binary file using the nios2-gdb loader functionality, after executing debug stub program by nios2-gdb-server. In either method, an appropriate terminal is necessary on your PC to communicate with the nios2 side. Kazu