Wind River Support Network

HomeDefectsLIN1019-3404
Fixed

LIN1019-3404 : ostree: There is no boot.scr for multilib rootfs on xilinx-zynqmp bsp

Created: Nov 9, 2019    Updated: Dec 11, 2019
Resolved Date: Nov 20, 2019
Found In Version: 10.19.45.1
Fix Version: 10.19.45.2
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: Userspace

Description

setup.sh --machines=xilinx-zynqmp --distros=wrlinux --dl-layers --templates feature/ostree --layers wr-ostree --accept-eula=yes
. ./oe-init-build-env build

bitbake lib32-wrlinux-image-glibc-std 

on build host:
$sudo ~/scripts/wic_mount.sh lib32-wrlinux-image-glibc-std-xilinx-zynqmp.wic wic1
total 36146
-rwxr-xr-x 1 root root        4 Nov 10 10:05 boot_ab_flag
-rwxr-xr-x 1 root root        4 Nov 10 10:05 boot_cnt
-rwxr-xr-x 1 root root 17903499 Nov 10 10:05 initramfs
-rwxr-xr-x 1 root root 19067392 Nov 10 10:05 vmlinuz
-rwxr-xr-x 1 root root    36753 Nov 10 10:05 zynqmp-zcu102-rev1.0.dtb

Expected:
total 36150
-rwxr-xr-x 1 root root        4 Nov  7 01:23 boot_ab_flag
-rwxr-xr-x 1 root root        4 Nov  7 01:23 boot_cnt
-rwxr-xr-x 1 root root     3112 Nov  7 01:23 boot.scr
-rwxr-xr-x 1 root root 17901735 Nov  7 01:23 initramfs
-rwxr-xr-x 1 root root 19067392 Nov  7 01:23 vmlinuz
-rwxr-xr-x 1 root root    36753 Nov  7 01:23 zynqmp-zcu102-rev1.0.dtb

boot.scr is missing.

Steps to Reproduce

/folk/lpg-build/cdc/fast_prod/WRL10_19/WRL10_19_GIT/wrlinux-10/setup.sh --machines=xilinx-zynqmp --distros=wrlinux --dl-layers --templates feature/ostree --layers wr-ostree --accept-eula=yes 
. ./oe-init-build-env build 
bitbake-layers add-layer /net/pek-lpgtest15/buildarea1/jhu2/wrlinux/wr-testing/bts-dev
echo require templates/feature/bts/template.conf >> conf/local.conf 
echo PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" >> conf/local.conf 
bitbake  lib32-wrlinux-image-glibc-std lib32-wrlinux-image-glibc-small
 
In conf/local.conf :
#jhu2 append as below:
require templates/feature/bts/template.conf
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
BB_NUMBER_THREADS ?= "24"
PARALLEL_MAKE ?= "-j 24"
OSTREE_REMOTE_URL = "http://pek-lpgtest20.wrs.com/OSTREE_PUBLIC_REPO/latest/ostree_repo"
ACTIVE_PLAN = "customized_test_plan.ini"
IMAGE_ROOTFS_EXTRA_SPACE = "2048000"
Live chat
Online