Logo RuyiSDK
← Back to HiFive Premier P550
Yocto @ HiFive Premier P550 Test Report

System Version

Status

CFT

Last Update

2025-04-09

Yocto HiFive Premier P550 Test Report

Test Environment

Hardware Information

  • Development Board: HiFive Premier P550
  • Other Hardware:
    • A MicroSD card
    • A USB Type A to C cable

Operating System Information

Installation Steps

  1. Download and extract the OS image and bootloader files.

    wget https://github.com/sifiveinc/freedom-u-sdk/releases/download/2024.11.00-HFP550/demo-coreip-xfce4-hifive-premier-p550.rootfs.ext4.xz
    
    wget https://github.com/sifiveinc/freedom-u-sdk/releases/download/2024.11.00-HFP550/boot.vfat
    
    wget https://github.com/sifiveinc/freedom-u-sdk/releases/download/2024.11.00-HFP550/bootloader_ddr5_secboot.bin
    
    unxz -d demo-coreip-xfce4-hifive-premier-p550.rootfs.ext4.xz
  2. Mount the MicroSD card and use the cp command to copy the image files to the MicroSD card. (Assuming /dev/sdc is the MicroSD card device)

    sudo mount /dev/sdc /mnt/sd
    
    sudo cp ./demo-coreip-xfce4-hifive-premier-p550.rootfs.ext4 ./boot.vfat ./bootloader_ddr5_secboot.bin /mnt/sd
    
    sync
    
    sudo umount /mnt/sd
  3. Insert the MicroSD card, connect the serial port on the development board, boot the development board, and enter the U-Boot in the SPI Flash.

    • Ensure that the DIP switch is the SPI Flash startup mode: DIP_SW1[3:0] = 0100. (SW’s ON = 0, OFF = 1)
    • Quickly press Enter when Hit any key to stop autoboot appears on the serial terminal to enter the U-Boot command line interface.
  4. Burn the image using the custom U-Boot command.

    • Check that the images on the MMC card are readable.

      => ls mmc 1
    • Flash the new bootloader if necessary.

      => ext4load mmc 1 0x90000000 bootloader_ddr5_secboot.bin
      
      => es_burn write 0x90000000 flash
    • Flash the os image.

      => es_fs update mmc 1 boot.vfat mmc 0#boot
      => es_fs update mmc 1 demo-coreip-xfce4-hifive-premier-p550.rootfs.ext4 mmc 0#root
  5. Power cycle the board to boot with the new images.

Expected Results

The system should boot normally and allow login via serial or other methods.

Actual Results

CFT

Test Conclusion

CFT