Wind River Support Network

HomeDefectsLIN8-4477
Fixed

LIN8-4477 : Build failed for fsl-t4xxx

Created: Aug 15, 2016    Updated: Dec 3, 2018
Resolved Date: Aug 15, 2016
Found In Version: 8.0.0.6
Fix Version: 8.0.0.9
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: RM/CM

Description

Building fsl-t4xxx failed when configure --with-rcpl-version=0006/0005..

The fsl-sdk-2-0 has been updated on rcpl0008, but should not on lower rcpl such as 0006/0005

| (1387/2840) powerpc-sata-add-workaround-for-erratum-A-005636-Whe.patch
| [INFO]: check of .kernel-meta/patches/standard/fsl/sdk-2-0/base/links/kernel-meta/features/fsl_qoriq/sdk-2-0/powerpc-sata-add-workaround-for-erratum-A-005636-Whe.patch with "git am" did not pass, trying reduced context.
| [INFO]: Context reduced git-am of .kernel-meta/patches/standard/fsl/sdk-2-0/base/links/kernel-meta/features/fsl_qoriq/sdk-2-0/powerpc-sata-add-workaround-for-erratum-A-005636-Whe.patch with "git am" did not work, trying "apply".
| Context reduced to (2/2) to apply fragment at 2115
| Context reduced to (1/1) to apply fragment at 1511
| error: patch failed: include/linux/ata.h:81
| error: include/linux/ata.h: patch does not apply
| error: patch failed: include/linux/libata.h:211
| error: include/linux/libata.h: patch does not apply
| [ERROR]: Application of .kernel-meta/patches/standard/fsl/sdk-2-0/base/links/kernel-meta/features/fsl_qoriq/sdk-2-0/powerpc-sata-add-workaround-for-erratum-A-005636-Whe.patch failed.
|          Patch needs to be refreshed. Sample resolution script:
|              .git/rebase-apply/resolve_rejects
| ERROR. could not update git tree
| ERROR. Could not apply patches for fsl-t4xxx.
|        Patch failures can be resolved in the devshell (bitbake -c devshell linux-windriver)
| WARNING: /buildarea1/project/eri/test_kernel/bitbake_build/tmp/work/fsl_t4xxx-wrs-linux/linux-windriver/4.1-r0/temp/do_patch/run.do_patch.14984:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_patch (log file is located at /buildarea1/project/eri/test_kernel/bitbake_build/tmp/work/fsl_t4xxx-wrs-linux/linux-windriver/4.1-r0/temp/do_patch/log.do_patch.14984)
ERROR: Task 3 (/buildarea1/project/eri/test_kernel/layers/wr-kernel/recipes-kernel/linux/linux-windriver_4.1.bb, do_patch) failed with exit code '1'

Workaround

$make linux-windriver.distclean
$make linux-windriver.unpack
$cd linux-windriver/kernel-meta
$git checkout LB13_8.0_RCPL0005 or LB13_8.0_RCPL0006 
$cd -
$make linux-windriver

Steps to Reproduce

/net/pek-lpd-susbld/pek-lpd-susbld12/wrlinux-8.0-rcpl/wrlinux-8/wrlinux/configure --enable-rootfs=glibc_small --enable-kernel=standard --enable-board=fsl-t4xxx --with-init=systemd --enable-reconfig --enable-parallel-pkgbuilds=32 --enable-jobs=32 --enable-test=yes --with-rcpl-version=0006
make -C build linux-windriver

Other Downloads


Live chat
Online