Zhenhua Luo [Thu, 12 Feb 2015 07:54:18 +0000 (15:54 +0800)]
u-boot-qoriq: fix the build issue with binutils-2.25
Remove _GLOBAL_OFFSET_TABLE_ definition from u-boot/mpc85xx/u-boot*.lds
In binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbols defined by PROVIDE in
u-boot.lds overrides the linker built-in symbols
(https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=b893397a4b1316610f49819344817715e4305de9),
so the linker is treating _GLOBAL_OFFSET_TABLE_ as a definition into the .reloc section.
To align with the change of binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbol
should not be defined in sections, and the symbols in linker generated .got
section should be used(https://sourceware.org/ml/binutils/2008-09/msg00122.html).
Fixed the following build errors with binutils-2.25:
| powerpc-poky-linux-gnuspe-ld.bfd: _GLOBAL_OFFSET_TABLE_ not defined in linker created .got
[YOCTO #7145]
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Sona Sarmadi [Tue, 27 Jan 2015 09:22:10 +0000 (10:22 +0100)]
kvm-iommu: CVE-2014-3601, CVE-2014-8369
CVE-2014-3601
Fixes the third parameter of kvm_iommu_put_pages
The third parameter of kvm_iommu_put_pages is wrong,
It should be 'gfn - slot->base_gfn'.
CVE-2014-8369
Fixes excessive pages un-pinning in kvm_iommu_map error path.
(This vulnerability exists because of an incorrect fix for CVE-2014-3601
Sona Sarmadi [Tue, 27 Jan 2015 08:10:42 +0000 (09:10 +0100)]
Kernel-HID/USB: multiple CVEs
CVE-2014-3181 Kernel: HID: OOB write in magicmouse driver
CVE-2014-3182 Kernel: HID: logitech-dj OOB array access
CVE-2014-3184 Kernel: HID: off by one error in various _report_fixup routine
CVE-2014-3185 Kernel: USB serial: memory corruption flaw
This includes following fixes: 2d35e98 CST : Add P2041 support to cst. c8b29ef CST: initialize uninitialized variables 6d30fc3 Makefile: use CFLAGS environment variable 39a4b89 Makefile: add install rule 7e9d814 Makefile: check OPENSSL setting before use 4ce2fd1 Modify input files to add HASH_FILE and SIGN_FILE felds. 2934719 ls1: ie_key files modified 13cef32 ls1: Remove extra keys from input file in ls1 14660b8 Modify input files to make consisitency with images. 6dbd697 Modify signature offset. b6d3fe6 input_files/uni_sign: Updated uboot binary name to u-boot.bin 2344105 IE Keys : Add input files 517b3d8 Fixed error handling for sign_embed tool. f711555 Modify ESBC header fields and use case for SRK and IE KEY. c9361dd sign_embed: it would embed signature over header passed. ec541fa gen_sign: it would calculate and generate signature over hash passed. 3b0a522 Modifications for changing argc to optind. 78cfdba Parsing of esbc flag is done prior of other fields. c0f49a8 Add feature of comparison of key pairs. c22c94f Add gen_drv tool. 7abb3e1 Modularise the key extraction from key file. 5ac9cd1 Add error handling for not supported values provided as input. 64eb9c4 Modify parsing of field values. c73ae3a Modify Makefile to discard compilation of uni_pbi tool. 8023fa1 Modify usage of gen_otpmk utility. 9065d2a Corrected the setting of FSL_UID and OEM_UID flag 7b688ed uni_pbi tool added 4ae8899 LS2 specific changes. 5e856de Add T2080 as target. 582fa00 Add input files for ie_key usage. f5ac295 Modify features enabled with different options. bcb3791 modify option available. 34c2290 Add key_ext option. 3abf8d3 Signature is moved to end. 7d58769 Add feature to accept externally generated signature. 43a917a Add export hash feature. d1877da Remove redundancy with keys usage. 9b049cb Add LS2 header support. 8b0044b Add IE key usage support for ESBC header. a684f4f support for ESBC header generation 63c901a Add ISBC Extension Key Feature. 746a9b9 Linked implementation for headers and tables 15ae37e Revert "LS1021: unisign fixed for group5" 54661bb Corrected LS1 input files. 5f58c80 Corrected dtb name in input file for LS1 dtb 8c0feeb LS1: Change the input file for NOR addresses
Ting Liu [Fri, 9 Jan 2015 09:09:10 +0000 (17:09 +0800)]
multilib: use ?= to allow overridden in local.conf
The multilib setting was set in <core>.inc which was included by
the <machine>.conf. In bitbake.conf, <machine>.conf is included
after local.conf. Change to use ?= to not override the value in
local.conf.
This is useful when using external toolchain which does not need
to enable multilib.
This includes following fixes: 35af73f Fix: Copy user-space buffer of injected control frame to kernel 00c8040 Add multiple error labels in the probe function 2835689 Fix: Remove memory leaks when the module is removed or fails on probing d770a37 Fix: Remove compile warning on 32b 89e29fc Fix: Remove unnecessary checks adbb47e Beautify: Rename macros into more proper names d5cac6e Add "poll()" function for NPI device 220cee3 Replace rescheduling with work queues 2a5fe4e Add cacheline support for extraction of control frames 6f14f0b Fix: UIO device might not be removed properly if module fails to initialize 2dcea55 Removed unecessary includes 1077880 Add UIO driver 68ab7bd Initial empty repository
update COMPATIBLE_MACHINE to use soc_family.
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Zhenhua Luo [Fri, 9 Jan 2015 02:41:54 +0000 (10:41 +0800)]
cs4315-firmware: remove recipe
The source code of cs4315-firmware is not available in public git repo
due to license issue, remove the recipe.
Build error log:
ERROR: Function failed: Fetcher failure for URL: 'git://git.freescale.com/ppc/sdk/firmware.git;nobranch=1'. Unable to fetch URL from any source.
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
This update to fsl sdk v1.7 release. The detailed changes
can be found at:
http://git.freescale.com/git/cgit.cgi/ppc/sdk/asf.git/
Other changes to sync with meta-fsl-arm:
* install kernel modules to ${D}/lib/modules/${KERNEL_VERSION}/asf
* install scripts to ${D}/${libexecdir}/
* remove dependency on virtual/kernel as it inherit module.bbclass
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Cristian Stoica [Wed, 7 Jan 2015 09:55:01 +0000 (17:55 +0800)]
cryptodev: update origin and remove stale patches
- Nikos handed over project maintainance to Phil Sutter.
- Several pending patches have been merged upstream so we removed
them from the recipe. The remaining ones have been sorted
Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Change-Id: I0c6160c739d379ba787e72423d1564b9a3d05d8b
Reviewed-on: http://git.am.freescale.net:8181/24177 Reviewed-by: Zhenhua Luo <zhenhua.luo@freescale.com> Tested-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Cristian Stoica [Wed, 7 Jan 2015 09:55:00 +0000 (17:55 +0800)]
openssl: upgrade to 1.0.1i plus Freescale patches
- include fixes for algorithm registration and 32-bit application hanging
on E5500 cores.
- add offloading suport for aes-gcm
- upstream patches are kept except for the documentation patch which is
no longer necessary
This update to fsl sdk v1.7 release. There are 143 new commits.
The detailed changes can be found at:
http://git.freescale.com/git/cgit.cgi/ppc/sdk/usdpaa.git/
This includes following fixes: 4cda2e3 fm-ucode: add t1040 and t2080 rev 1.1 files 222cd35 fm-ucode: remove prev version of _t1040_r1.0_107_ c5006bf fm-ucode: add t1024 packages 2698dc3 fm-ucode: release 107.4.2 3b66ca5 fm-ucode: new version 107_4_2_candidate1
Ting Liu [Wed, 7 Jan 2015 04:33:21 +0000 (12:33 +0800)]
qemu: remove unavailable gtk+ options
The preferred version of qemu defined in this layer (1.7) does not have
the same configuration options as the original yocto version (2.0).
Since this recipe includes yocto's qemu.inc, some of the configuration
options defined there generate an error during the do_configure task:
| ERROR: unknown option --disable-vte
Setting PACKAGECONFIG[option] to an empty string fixes the problem.
This includes following fixes: c9c92ac B4:L1 Defense: Add support for hardware watchpoint c4dd0bc b4860: IPC: Make dynamic user space library position independent
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
This includes following fixes: 99b04d9 update libos 805227f ccf: add b4 ccf compatibles 1ed0f70 msi: Differentiate between mpic 4.3 and older ones 4a2ede1 Revert "t1040: workaround A-008007 erratum"
The fixes in libos: 819bda2 Set error int irq index at init time de32355 Properly unmask error interrupts 955ddac Revert "t1040: workaround A-008007 erratum"
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
661d782 fmlib: Fix pointer handles used in FMD wrapper 744e788 fmlib: copy CcNode pointer when appropriate b3a7bc7 fmlib: expose configuration routines in header files bdd6d6f capwap: sync with kernel for frag support 2eafba1 fmlib: add capwap support 87327a1 capwap: transfer to id for reassembly manip 20984f8 fmd: handle possibly undefined macro
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
4f4a3eb ENGR00342608: Major error on ALU PCD: IC_HASH_INDEXED numOfKeys has to b
e powerOfTwo a3e40ab ENGR00342299: ALU PCD (fmc_pcd_ed44_skeleton_TSOC.xml) generates Segmentation fault 71deab3 ENGR00342299: ALU PCD (fmc_pcd_ed44_skeleton_TSOC.xml) generates Segmentation fault aa34fa3 ENGR00341753: Schemes sharing between ports is not working e6fee7f ENGR00341091: False error reported by FMC in ALU PCD: 'ERR: Unresolved cycled dependencies are found' 2fb5b1c ENGR00340476: ALU Issue with pbit marking with a given DSCP (B0198) 284a506 ENGR329197: 32 Schema limit exhausted when FMC duplicates the schemas even if same policy is attached to all the ports 0434629 ENGR00338449: Enable Test automation framework for FMC on Linux host OS d09735b ENGR00338121: fmc: Support new convention for port type in xml config file f46f085 Improvement to: ENGR330486: ALU B0187: FMC/libxml2 SDK1.5 FB3 : Memory leaked during PCD xml application c2330c3 ENGR00330486: ALU B0187 : FMC/ libxml2 SDK1.5 FB3 : Memory leaked during PCD xml application 2bff057 ENGR00325623: PCD : replicator issue 4157f75 ENGR00316689: fmc: Ccnode mask support option fails to propagate into the PCD 35b9363 ENGR00320235: reassembly management with PCD xml (FMC) - FM_PCD_MAX_NUM_OF_CC_GROUPS
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
6ac4597 QEMU:Add support for e5500 core revision v102.1 present on T1024 SOC. b8c87e9 Synchronized Linux headers. f2e4612 hw/arm/virt: Support -cpu host 80cd9c1 target-arm: Provide '-cpu host' when running KVM 8e1f791 target-arm: Don't hardcode KVM target CPU to be A15 885c7a9 hw/arm: Add 'virt' platform 7ea5615 target-arm: Allow secondary KVM CPUs to be booted via PSCI c33ac75 target-arm: Add ARMCPU field for Linux device-tree 'compatible' string 79f0d1c target-arm: Provide PSCI constants to generic QEMU code 5d1a235 hw/arm/boot: Allow boards to provide an fdt blob badc409 device_tree.c: Terminate the empty reservemap in create_device_tree() 7a6947b target-arm: Provide mechanism for getting KVM constants even if not CONFIG_KVM
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
8040e0b eth_config: Add COPYING file 7e7c062 eth_config: Added Makefile 05d30e6 eth_config: Update Shared-Mac config file to new port notation 1777d0a eth_config: General refactoring of config/policy files 8a34b20 eth_config: Moved config/policy files to obsolete folder
Update recipe to match the code changes:
* change copyright to "BSD & GPLv2+"
* call "oe_runmake install" in do_install
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
8d0c6ec Using Makefile to install the package 7d7a893 Add PM demo scripts support 472c2b1 Add startup script for web-sysmon package ca33057 Add T4240QDS support 8508c8f Automatically scan hwmon system 522f8e2 Update the clean target of Makefile 24d3e4c Unify the template of temp/curr/in/power cgi script cd66d0f Update the clean target of Makefile c5dd6e8 Update description of sens_create_rrd
Update recipe to match the code changes:
1. use 'oe_runmake install'
2. install web-sysmon.sh as init script
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
This updates u-boot to sdk v1.7 release which was based
on 2014.07. For detailed changes, see:
http://git.freescale.com/git/cgit.cgi/ppc/sdk/u-boot.git/
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Bob Cochran [Fri, 14 Nov 2014 04:05:20 +0000 (23:05 -0500)]
linux-qoriq: change defconfig for T1040 to match number of cpus
Having a number higher than necessary for NR_CPUS wastes memory by
instantiating unnecessary structures in RAM. An example is in the DPAA
where DPAA_ETH_TX_QUEUES is defined based on NR_CPUS and used to create
dozens of extra qman_fq structures. Using the prior value of 24, which
was left over from the T4240 created an additonal 60 frame queue
structures alone.
This has been tested on t1040rdb-64b.
Signed-off-by: Bob Cochran <yocto@mindchasers.com>
Bob Cochran [Fri, 14 Nov 2014 03:56:20 +0000 (22:56 -0500)]
linux-qoriq: Configure T1040 for FMAN V3
Although the flag existed in Kconfig for FMAN_V3L, it was not set by
default. Also, the T1040 and FMAN V3L only support four O/H ports, so
remove the last two from the DTS files. Otherwise, MAJOR FM Errors
will be reported during FMAN probing / init.
This was tested on t1040rdb-64b
Signed-off-by: Bob Cochran <yocto@mindchasers.com>
CVE-2014-5077 Kernel/SCTP: fix a NULL pointer dereference
A NULL pointer dereference flaw was found in the way the
Linux kernel's Stream Control Transmission Protocol
(SCTP) implementation handled simultaneous connections
between the same hosts. A remote attacker could use this
flaw to crash the system.
The preferred version of qemu defined in this layer (1.7) does not have
the same configuration options as the original yocto version (2.0).
Since this recipe includes yocto's qemu.inc, some of the configuration
options defined there generate an error during the do_configure task:
Ting Liu [Thu, 7 Aug 2014 02:42:34 +0000 (10:42 +0800)]
add layer-specific bbappends when that layer is included
setting BB_DANGLINGAPPENDS_WARNONLY forces the policy for all layers.
If the user is expecting dangling appends to be errors, this hides
potential problems from them.
Ting Liu [Fri, 1 Aug 2014 04:33:18 +0000 (12:33 +0800)]
udev-extraconf: not automount disk partitions
There is a bug found in FSL SDK:
kernel can't boot up (or hang for a long time) when board connects
with a HDD (has extended partition) via pcie sata controller card.
avoid auto-mounting disk partitions. user can do it via fstab.
And move all the customized rules to qoriq-ppc folers.
Ting Liu [Fri, 1 Aug 2014 04:33:17 +0000 (12:33 +0800)]
udev-extraconf: not automount network block devices
The nbd devices are set up loop devices, we first have dead device
nodes, then later we attach stuff behind them. At the time of the udev
creation event, nothing works at nbd devices.
This avoids unnecessary boot error msg:
| nbd0: Attempted send on closed socket
| end_request: I/O error, dev nbd0, sector 0
Ting Liu [Fri, 1 Aug 2014 04:33:16 +0000 (12:33 +0800)]
udev[-extraconf]: skip mmc rpmb partitions
In FSL SDK 1.6 Kernel, mmc driver has created a new partition
with "mmcblkXrpmb" if device expresses it support of RPMB.
RPMB (Replay Protected Memory Block), A signed access to a Replay
Protected Memory Block is provided. This function provides means
for the system to store data to the specific memory area in an
authenticated and replay protected manner.
In that case, any read/write access to this partition device will
report errors which will not impact any fuction.
add rules to skip it, avoid the below error msg:
| mmcblk0rpmb: retrying using single block read
| mmcblk0rpmb: error -110 transferring data
Ting Liu [Thu, 24 Jul 2014 07:48:16 +0000 (15:48 +0800)]
libvirt: add bbappend for qoriq-ppc customizations
* add customized qemu.conf to enable cgroup device and add /dev/net/tun
device as cgroup
* add customized PKGCONFIG as not all features supported on ppc boards.
Ting Liu [Thu, 24 Jul 2014 02:44:22 +0000 (10:44 +0800)]
set BB_DANGLINGAPPENDS_WARNONLY as true
a ppc specific patch for luajit (exist in mete-oe) was moved to this
layer recently. set BB_DANGLINGAPPENDS_WARNONLY as true for the
situation where meta-oe was not pulled in.