Skip to content

ADRV9002 Platform Build uboot

skravats edited this page Sep 14, 2023 · 7 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 up 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/adrv9002/hdl/projects/adrv9002/mitysom_a10s_gen2/hps_isw_handoff sub directory.   
    
     Select "Open", then select "OK".
    
  1. Specify the rbf file

     uboot will read the FPFA image Raw Binary File (RBF) from the FAT partition of the SD card. 
     Enter the filename exactly as shown in the image below - adrv9002_mitysom_a10s.rbf. 
     Select "Generate" to create the uboot project. Select "Exit" to close bsp-editor.
    
  1. Apply custom uboot patch

     $ cd /home/soceds/adrv9002/hdl/projects/adrv9002/mitysom_a10s_gen2/software/uboot_bsp
     $ make patch-apply
    
  2. Build uboot

     $ make  
    
  3. uboot_w_dtb-mkpimage.bin is located in the uboot_bsp directory


Next - Update the SD Card

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

Clone this wiki locally