UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 69757

2017.1/2 Zynq UltraScale+ MPSoC: PetaLinux fails to compile u-boot with link error after UBI command line is enabled.

描述

To support UBIFS, the UBI command line need be enabled in u-boot configuration under "Command Line interface ---> Enable UBI - Unsorted block images commands".

In 2017.1/2 PetaLinux fails to compile u-boot with a large number of missing reference errors.

解决方案

To work around this issue, add the following lines to <plnx-proj-root>/project-spec/meta-user/recipes-bsp/u-boot/files/platform-top.h:

#if !defined(CONFIG_SPL_BUILD)
#define CONFIG_CMD_UBI
#define CONFIG_RBTREE
#define CONFIG_CMD_UBIFS
#define CONFIG_LZO
#define CONFIG_CMD_MTDPARTS
#define CONFIG_MTD_DEVICE
#define CONFIG_MTD_PARTITIONS
#define CONFIG_MTD_UBI_WL_THRESHOLD 4096
#define CONFIG_MTD_UBI_BEB_LIMIT 0
#if defined(CONFIG_ZYNQMP_QSPI)
/* SPI layer registers with MTD */
#define CONFIG_SPI_FLASH_MTD
#endif
#endif
AR# 69757
日期 10/02/2017
状态 Active
Type 综合文章
器件
  • Zynq UltraScale+ MPSoC
Tools
  • PetaLinux - 2017.2
  • PetaLinux - 2017.1
Boards & Kits
  • Zynq UltraScale+ MPSoC Boards and Kits
的页面