Forum Discussion
Hello Radu,
Were you able to run the example with DDR configuration and Ashling? Because I am stuck in the step 12:
12. To run debug-spl.ds. In Debugger Tab:
- Select Run control to be Connect Only
- Check Run debug initialization debugger script, and click the File System icon to browse for the script /a10_soc_devkit_ghrd/software/bootloader/debug-spl.ds
Click Debug button
Not sure where to use this debug-spl.ds because I just get:
Error in final launch sequence:
Error downloading the program to target!
Error downloading the program to target!
I realized I cannot do everything on Windows, as compiling U-Boot does not work there. Installed WSL and compiled it there with instructions similar with the ones from https://altera-fpga.github.io/rel-25.3/embedded-designs/arria-10/sx/soc/boot-examples/ug-linux-boot-a10-soc/#boot-from-sd-card:
# install required pacakgessudo apt update
sudo apt upgrade
sudo apt install build-essential bison flex libssl-dev bc device-tree-compiler python3 python3-dev swig# create top foldermkdir a10-baremetalcd a10-baremetalexport TOP_FOLDER=$PWD# get toolchaincd $TOP_FOLDERwget https://developer.arm.com/-/media/Files/downloads/gnu/14.3.rel1/binrel/arm-gnu-toolchain-14.3.rel1-x86_64-arm-none-linux-gnueabihf.tar.xztar xf arm-gnu-toolchain-14.3.rel1-x86_64-arm-none-linux-gnueabihf.tar.xzrm arm-gnu-toolchain-14.3.rel1-x86_64-arm-none-linux-gnueabihf.tar.xzexport PATH=`pwd`/arm-gnu-toolchain-14.3.rel1-x86_64-arm-none-linux-gnueabihf/bin:$PATHexport ARCH=armexport CROSS_COMPILE=arm-none-linux-gnueabihf-# get hardware design filescd $TOP_FOLDERmkdir a10_soc_devkit_ghrd && cd a10_soc_devkit_ghrdwget https://releases.rocketboards.org/2025.10/gsrd/a10_gsrd/ghrd_10as066n2.sofwget https://releases.rocketboards.org/2025.10/gsrd/a10_gsrd/hps.xml# compile u-bootcd $TOP_FOLDERrm -rf u-boot-socfpgagit clone -b QPDS25.3_REL_GSRD_PR https://github.com/altera-fpga/u-boot-socfpgacd u-boot-socfpga./arch/arm/mach-socfpga/qts-filter-a10.sh \$TOP_FOLDER/a10_soc_devkit_ghrd/hps.xml \arch/arm/dts/socfpga_arria10_socdk_sdmmc_handoff.hmake clean && make mrpropermake socfpga_arria10_defconfigmake -j 24cd ..
I prefer Linux, but WSL seems to do a good job too. Using Ubuntu inside WSL, on Windows 11.
I will continue in the afternoon.