AR# 75879

|

2020.1/2 MicroBlaze: PetaLinux tool generates unsupported U-boot distro boot files for MicroBlaze project

Description

In the 2020.1/2 release version of PetaLinux, the tool generates unsupported U-boot distro boot files and recipes for a MicroBlaze project.
$ tree project-spec/meta-user/recipes-bsp/u-boot/
project-spec/meta-user/recipes-bsp/u-boot/
├── files
│   └── platform-top.h
├── u-boot-xlnx_%.bbappend
├── u-boot-zynq-scr
│   ├── boot.cmd.default
│   └── boot.cmd.default.initrd
└── u-boot-zynq-scr.bbappend

2 directories, 5 files
$

Solution

This is a known issue in the 2020.2 release version of PetaLinux and will be fixed in the 2021.1 release.

These files are never used when you build a PetaLinux MicroBlaze project, as U-boot distro boot is supported only for SoC platforms and is not supported for MicroBlaze in the 2020.x releases.

Additionally, the Yocto recipe has a machine compatible check for SoC platforms (see https://github.com/Xilinx/meta-xilinx/blob/rel-v2020.2/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb#L11-L14 ), so you can safely ignore or remove these files as it does not break the functionality.

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
75775 PetaLinux 2020.2/3 - Product Update Release Notes and Known Issues N/A N/A
AR# 75879
Date 11/24/2020
Status Active
Type Known Issues
Devices
Tools
People Also Viewed