Building U-Boot for MitySOM-A10S¶
Repository:- git://support.criticallink.com/home/git/u-boot-socfpga.git
- https://support.criticallink.com/git/u-boot-socfpga.git
- mitysom_a10
The following steps will rebuild U-Boot and the U-Boot environment for the development kit. Please note that this process expects the FPGA to already be compiled and that the it is being build with a linux computer.
- Source the intelFPGA environment
/opt/intelFPGA_pro/18.0/embedded/embedded_command_shell.sh
- Change into the fpga project directory (For example A10S-P8-A5E-RC-SB)
- Run the bsp-editor to generate the Makefile and device tree for U-Boot
bsp-create-settings \ --type uboot \ --bsp-dir software/bootloader \ --preloader-settings-dir "hps_isw_handoff" \ --settings software/bootloader/settings.bsp \ --set uboot.boot_device SDMMC \ --set uboot.rbf_filename mitysom_a10s.periph.rbf \ --set uboot.core_rbf_filename "" \ --set uboot.peripheral_rbf_filename "" \ --set uboot.model "MitySOM-A10S"
- Download the U-Boot source from Critical Link
git archive --format=tar.gz --prefix=uboot-socfpga/ --remote=git://support.criticallink.com/home/git/u-boot-socfpga.git mitysom_a10 > software/bootloader/uboot-socfpga.tar.gz
- Build U-Boot
make -C software/bootloader TGZ=uboot-socfpga.tar.gz SOCFPGA_BOARD_CONFIG=mitysom_a10s_dsc_defconfig
- The U-Boot binary will be located in: software/bootloader/uboot_w_dtb-mkpimage.bin
- Build the u-boot environment
software/bootloader/uboot-socfpga/tools/mkenvimage -s 4096 -o ubootenv.bin ubootenv.txt
- The U-Boot environment binary will be called ubootenv.bin
Go to top