1.0 ROLLING CUMULATIVE PATCH LAYER OVERVIEW This is a Rolling Cumulative Patch Layer for the base Wind River Linux 5.0.1 release. This RCPL provides fixes for known problems found in this base release. You can control which RCPL layer to use for a specific build via the "--with-rcpl-version" option of the configure command. The default value for "--with-rcpl-version" is "auto" which will automatically select the newest RCPL installed on the host machine. You can also specifically select an RCPL by setting the "--with-rcpl-version" value to the RCPL number that you wish to use. So, if you wanted to select RCPL 0003 for the project build you could specify that at configure time using "--with-rcpl-version=0003". $ /wrlinux-5/wrlinux/configure --enable-board=common_pc \ --enable-kernel=standard --enable-rootfs=glibc_std \ --with-rcpl-version=0003 This will force this project build to use RCPL 0003 even if an RCPL 0004 or RCPL 0005 has been installed on the host machine. If you wanted to build a project that doesn't use any RCPL's, but just uses the base installation layers, you can set "--with-rcpl-version=0". Once a newer RCPL has been added to the installation, existing projects that have been using the default "--with-rcpl-version=auto" can pick up the new fixes by doing a "make reconfig". This will bring the project up to the newest RCPL on the host: $ make reconfig Any project that had specifically specified an RCPL, say with "--with-rcpl-version=0003", will be unaffected by the installation of a newer RCPL. It will continue to use the one previously specified. This allows a particular project to remain on a specific RCPL. It is also possible to override the "--with-rcpl-version" setting when you do a reconfig by setting the environment variable ENV_RCPL_VERSION . This will override any previous setting from the "--with-rcpl-version" configure option. 2.0 RCPL Update Implementation The distribution is a set of git repositories that are used to generate project directories at configure time. An RCPL appends new fixes to these repositories and so the git repositories can grow with each new RCPL. The original distribution for any of the git repositories is identified by the branch name LB34_5.0.1. That is the branch name that corresponds to the original distribution. As fixes are added to a git repository via an RCPL the git repository tree grows and is marked with a branch name of the form LB34_5.0.1_RCPL000X, wheere X is the RCPL number. If there were no fixes in a particular repository for a particular RCPL then the new branch would coincide with the previous RCPL branch name. 3.0 TOOLS The RCPL layer also contains patch_history directories. These directories are scattered in the various sub-layers of the RCPL and contain all the patches that were applied to that sub-layer's files. The headers contain the defect ids to indicate what fixes were needed for that defect id. One defect could create a fix across multiple sub-layers. Also, one patch might fix multiple defects, and would have multiple defect lines. 3.1 A command line tool - rcpl-rcl.sh This command line tool has been provided to help correlate the various patches to the defects they fixed. It is located here: /wrlinux-5/scripts/rcpl/rcpl-cl.sh You can run this script and provide the defect id to see the patch file, package and files affected by the change to fix the defect. Run the tool's help option for more information. Here is a quick guide: Help : 'rcpl-cl.sh --help' All patches : 'rcpl-cl.sh all' All Linux patches : 'rcpl-cl.sh -r linux' All Toolchain patches : 'rcpl-cl.sh -r toolchain' All CVE patches : 'rcpl-cl.sh -c all' Single Defect : 'rcpl-cl.sh WIND00234376' Just show the Defect #: 'rcpl-cl.sh all -D' 3.2 A gui tool - rcpl-gui.sh This GUI line tool has been provided to help provide advanced functions om addition to the features of the command line tool, including: * Explore the content of an RCPL * Compare one RCPL with another * Compare an existing wrlinux project against an RCPL * Export the data to a Text, CSV, or HTML file. The GUI tool is located here: /wrlinux-4/scripts/rcpl/rcpl-gui.(sh|bat) * On Linux, start the tool with: $ cd $ ./wrlinux-5/scripts/rcpl/rcpl-gui.sh * On Windows, start the tool with: > cd > wrlinux-5\scripts\rcpl\rcpl-gui.bat You can open "Help > Help" for detailed information and examples. Defect List: WIND00318241: Miscellaneous Fixes WIND00394498: Linux Penguin - invalid configure options are available in the WB platform project wizard WIND00396536: Feature Testing: the LAYERVERSION or LAYERDEPENDS is not defined for some wrlinux layers WIND00398501: [Feature Testing] A few gmp tests failed and cause segment fault on ti_omap3530evm WIND00404272: [Feature Testing][networking]on fsl-p50xx, some command execute fail caused by grsec WIND00404452: [Penguin][BSP:UPDATE Intel Xeon Core] In NUMA target, set_mempolicy do not work when mode is MPOL_BIND WIND00404924: error occured when run "export LC_CTYPE=en_US.UTF-8" WIND00405379: lttng2-ust: WARNING: QA Issue: non -staticdev package contains static .a library WIND00405503: Feature Testing: Call Trace occurs when run "usermode-agent" in fsl-p2020-cgl-glibc-cgl. WIND00406160: [Penguin][BSP:UPDATE Intel Xeon Core] LTP test case oom03 fails in wrLinux31 DVD WIND00406572: [5.0.1 Penguin][BSP:fsl-e500mc] kgdboc test failed due to target snuff out while step debug moules on preempt_rt WIND00406573: [Penguin][BSP: CF Cavium Octeon II ] lttng test hang on lx32 WIND00406724: xilinx-zynq: kexec/kdump can not work WIND00406758: WARNING info of lms on intel-xeon-core WIND00406870: The kexec/kdump can't work on t4240qds WIND00406882: [Feature Testing][Networking]if build MLIB, both lib64 crash and lib32 crash should be installed. WIND00406964: sat-solver compilation can fail because of ptr aliasing WIND00407038: fsl-e500mc: RT kernel with git tree works abnormal WIND00407065: BSP Testing:[Async BSP] [fsl-imx6] README issue WIND00407086: host-cross/usr/bin/rpm2cpio is not behaving as rpm2cpio WIND00407483: host tools in projects using wr-prebuilts cannot be rebuilt WIND00407484: [Feature Testing]On fsl-e500mc preempt-rt kernel, the memory size got by free or top is incorrect WIND00407624: [Feature Testing][Networking]kdump does not work when selinux in enforcing mode WIND00407632: apache2: could not start while selinux enabled WIND00407793: [5.0.1 Penguin][BSP:ti-omap3] kgdboc testing console 'ctrl+c' can NOT stop 'gdb vmlinux' 'continue' running kernel on board 3530evm WIND00407799: BSP Testing:[Async BSP] [fsl-imx6] [preempt-rt] calltrace will be popped out when tracing WIND00407857: sshd, named and tcf-agent are unable to start up on cgl kernel + std rootfs WIND00407870: "fdisk" can't be executed when selinux in enforcing mode. WIND00407884: One P2 defect for the to-be-done documentation request of the requirement WIND00331211 WIND00408025: openais and corosync README_TESTING files need to be updated for corrections WIND00408057: cmd_line_build_specs.sh error misleads users to think environment-setup.sh not created WIND00408058: configure failed with LX02a wrlinux5.0.0.1