Skip to content

AD463x Platform Build uboot

d-samal edited this page Mar 2, 2022 · 2 revisions

As a prerequisite the hdl must be built and referenced when creating a custom version of uboot.

  1. Open a shell(Ctrl+Alt+T)

  2. Setup the environment for the Bootloader build.

     $ ./intelFPGA_lite/18.1/embedded/embedded_command_shell.sh  
    
  3. Launch bsp-editor

     $ bsp-editor 
    
  4. Create a new BSP

     File --> New HPS BSP  
    
  5. Reference the Preloader settings directory

     Navigate to the /home/soceds/ad463x/hdl/projects/ad463x_fmc/tei0022/hps_isw_handoff/system_bd_sys_hps directory. 
    
     Select "Open", then select "OK".
    
  1. Generate the Preloader

     Select "Generate" to create the Preloader project. Select "Exit" to close bsp-editor.
    
  2. Build Preloader

     $ cd /home/soceds/ad463x/hdl/projects/ad463x_fmc/tei0022/software/spl_bsp
     $ make  
    
  3. preloader-mkpimage.bin is located in the spl_bsp directory

  4. Build uboot

     $ make uboot
    
  5. u-boot.img is located in the spl_bsp/uboot-socfpga directory



Next - Build Linux / Devicetree

OR

Next - Build no-OS

Return to Build the Example Design
Return to AD463x Platform User Guide

Clone this wiki locally