Wind River Support Network

HomeDefectsLIN10-7152
Fixed

LIN10-7152 : xilinx-zynqmp BSP README : instructions for booting the target are incomplete

Created: Apr 14, 2020    Updated: Jul 14, 2020
Resolved Date: Jul 8, 2020
Found In Version: 10.17.41.1
Fix Version: 10.17.41.21
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: BSP

Description

It is not possible to boot the Xilinx-zynqmp target when only following the instructions the Boot instructions from the README file. 
 Instructions are incomplete and misleading for both boot methods :
 —
 4. Boot Instructions
 ====================
 ...
 4.1 MTD Root File System (NOR and NAND Flash)
 ---------------------------------------------
 ...
 4.2 Boot from SD card
 ---------------------
 —

The type of project and image needed for these 2 boot methods is also not clear.

Steps to Reproduce

A. with image + dtb + rootfs tarball

1. Setup a project for Xilinx-ynqmp :
setup.sh --machines xilinx-zynqmp  --accept-eula yes
2. . ./environment-setup-x86_64-wrlinuxsdk-linux
    . ./oe-init-build-env 

3. bitbake -c do_build wrlinux-image-glibc-small  (or -std)

4. bitbake -c devshell virtual/kernel
    make xilinx/zynqmp-zcu102-rev1.0.dtb

Refer to the README to see how to boot ! 
==> How to boot with the created uImage, rootfs tarball and dtb file?


B. with cpio image

1. Setup a project for Xilinx-ynqmp :
setup.sh --machines xilinx-zynqmp --templates feature/initramfs-integrated --accept-eula yes

2. . ./environment-setup-x86_64-wrlinuxsdk-linux
    . ./oe-init-build-env 

3. customize local.conf as needed
BB_NO_NETWORK = '0'
INITRAMFS_IMAGE = " wrlinux-image-initramfs "
INITRAMFS_IMAGE_BUNDLE = "1"
INITRAMFS_MAXSIZE = "630000"
INITRAMFS_MAXSIZE = "720000"
IMAGE_FSTYPES = "cpio.gz"
LINUX_KERNEL_TYPE = "preempt-rt"
---

4. bitbake -c do_build wrlinux-image-initramfs

Refer to the README to see how to boot ! 
==> How to boot with the generated cpio.gz file

C. follow the README instructions to generate jffs2 image 
==> does not help at all!

Live chat
Online