Forum Discussion
Altera_Forum
Honored Contributor
8 years agoHello,
Since I do not want to run Linux on the DE10-nano board I do not think I can help you with your problems. In baremetal-application the FPGA-design is described by header-files, not a device tree. For how to run DS-5 debugger-scripts, I can recommend the "Bare Metal User Guide" from Altera (https://www.altera.com/documentation/lro1424280108409.html). Hope this is any help for you, best regards ISE --- Quote Start --- I just got similar issue widh DE-10 after I loaded with new fpga image. The DE-10 stuck at loading kernel. U-Boot 2013.01.01 (Jun 13 2017 - 10:16:44) cpu : altera socfpga platform board : altera socfpga cyclone v board i2c: ready dram: 1 gib mmc: altera dwmmc: 0 in: serial out: serial err: serial skipped ethaddr assignment due to invalid emac address in eeprom net: mii0 warning: failed to set mac address hit any key to stop autoboot: 0 reading u-boot.scr 232 bytes read in 4 ms (56.6 kib/s) ## executing script at 02000000 reading soc_system.rbf 7007204 bytes read in 386 ms (17.3 mib/s) altera_load: failed with error code -4 ## starting application at 0x3ff795a4 ... ## application terminated, rc = 0x0 reading zimage 5172040 bytes read in 310 ms (15.9 mib/s) reading soc_system.dtb 26527 bytes read in 8 ms (3.2 mib/s) ## flattened device tree blob at 00000100 booting using the fdt blob at 0x00000100 loading device tree to 03ff6000, end 03fff79e ... ok starting kernel ... I hooked a Avalon-slave device on the lwt mm-bridge in the FPGA. I figured that I need to updated the device tree. So I did that, now the system loaded the kernel. But it stuck again after the kernel loaded mmc driver. I did similar changes in the FPGA before, and did not have any problem. The only difference is that the memory map address was different. The slave address is at 0x0, which I think it should be a different address. I have not tried my hypothesis yet. I started a google search, and found your thread :-). Did you try to load a new device tree? Also how do you enable the debug script? thx --- Quote End ---