Wind River Support Network


LIN6-14197 : WRL6, RCPL35 None of the local kernel patches applied

Created: Jan 18, 2018    Updated: Dec 3, 2018
Resolved Date: Apr 13, 2018
Found In Version:
Fix Version:
Severity: Critical
Applicable for: Wind River Linux 6
Component/s: Kernel


I need to understand why a patch generated outside of kernel development shells is ignored by the flow and another patch with the same changes generated in the kernel development shell applies without any problem.

Patch generated without devshell  (doesn't work)

Patch generated with devshell  (works fine)

Steps to Reproduce

1. Create a project 
configure --enable-parallel-pkgbuilds=10 --enable-jobs=10 --enable-checkout-all-layers=yes --enable-rm-oldimgs=yes --enable-sdkimage-staticlibs=yes --enable-reconfig --enable-bootimage=hdd,iso --enable-board=intel-x86-64 --enable-kernel=preempt-rt --enable-rootfs=ovp-kvm --enable-addons=wr-ovp --enable-internet-download=no --with-template=feature/initramfs,feature/build_libc --with-package=python --without-template=i40e --with-layer=meta-jnp_test_layer --with-rcpl-version=0035

2. modify the linux-windriver_3.10.bbappend file to absorb the 0001-aer_inject.patch" file.

3. make fs 

4. Check that drivers/pci/pcie/aer/aer_inject.c in the kernel is not being modified. Hence, the patch is being ignored.

5. Modify again inux-windriver_3.10.bbappend fiel to abosorb this time the 0001-aer_inject_devshell.patch  file.

6. make -C build linux-windriver.clean

7. make -C build linux-windriver.rebuild

8. This time drivers/pci/pcie/aer/aer_inject.c should contain the changes.

Other Downloads

Live chat