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.
Ting Liu [Tue, 22 Jul 2014 10:04:00 +0000 (18:04 +0800)]
enable multilib for e5500-64b/e6500/e6500-64b
enable multilib by default as it is needed:
* for e5500-64b/e6500-64b, 32bit toolchain is need to build u-boot
* for e6500, only 64bit kernel is supported
Ting Liu [Fri, 11 Jul 2014 07:24:40 +0000 (02:24 -0500)]
add u-boot as EXTRA_IMAGEDEPENDS
* As the doc said:
EXTRA_IMAGEDEPENDS = "A list of recipes to build that do not
provide packages for installing into the root filesystem."
MACHINE_EXTRA_RRECOMMENDS = "A list of machine-specific packages
to install as part of the image being built"
Ting Liu [Fri, 11 Jul 2014 06:07:56 +0000 (01:07 -0500)]
conf/machine/: move common bits to inc files
* add four new files to hold common bits:
include/qoriq-base.inc
include/qoriq-default-providers.inc
include/qoriq-default-settings.inc
include/qoriq-default-versions.inc
* add 'qoriq-ppc' into list of MACHINEOVERRIDES
Zhenhua Luo [Sat, 14 Jun 2014 06:38:18 +0000 (14:38 +0800)]
cryptodev-linux/module: use fsl maintained source
FSL SDK released its own cryptodev based on 1.6, but not all the codes
was upstreamed, add bbappend to use fsl maintained source. This change
only be applied for fsl machines
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Ting Liu <b28495@freescale.com>
Ting Liu [Thu, 3 Jul 2014 07:32:04 +0000 (02:32 -0500)]
openssl: downgrade to 1.0.1g
openssl released in fsl sdk v1.6 was based on 1.0.1g, so downgrade for fsl boards.
the imported recipes were based on daisy-11.0.0 which FSL SDK based on.
Zhenhua Luo [Sat, 14 Jun 2014 06:34:33 +0000 (14:34 +0800)]
asf: update to sdk v1.6 release
changes:
ASFIPSEC: Fix for IPV6 crash dump when L2blob is not resolved.
ASFIPSEC: Patch to fix P1010/P9131 IPSEC.
ASF: Fix - Reassembly cleanCB not getting called.
ASF: Giving fragmented non TCP/UDP/AH/ESP packet back to linux.
ASFIPSEC:Patch to Fix ICV error in IPv6 case.
asf: handle memory leak due to software buffer counter.
AH-SHA1 does not work with ASF
fmc scripts : 48G fmc config file for T4240RDB
ASFIPSEC: Patch to fix crash when IPSEC traffic is initiated.
Patch to fix klocwork issues
Crash during ping6 test for varied sizes across the tunnel.
FMC : Adding new config file to support 22G ports for T2080QDS
ASF : Porting ASF to kernel 3.13
asf_ipsec: Patch to fix the MD5 issue.
ASF: Memory leaks observed.
asf_ipsec: Patch to fix the issue in AH for 64 bits.
ASF_IPSEC:Same SA is getting added twice under stress traffic
ASF_IPSEC:Multiple times of Addition and deletion of SPD and SAs causing linkage problem.
ASF_IPEC: Unable to delete SPD from ASF.
ASF-IPSEC:SA flush with traffic through the DUT causing crash.
ipsec_scripts: Patch to add scripts for all algorithmic combinations for IPsec.
asf_ipfrag: Patch to fix the issue of crash on P5040RDB.
ASF : Patch to decrement software buffer pool counter when packet send to linux.
ASFCTRL : Patch to reflect back the changes made in linux to netdev_notifier_info_to_dev() of asfctrl.
ASF : update CONFIG_FSL_DPAA_TX_RECYCLE to CONFIG_FMAN_T4240
asf_ipsec: Patch to fix the compilation error.
asf_qos: Patch to fix the compilation error in asf_qos.
ASFIPSEC: Integeration with DPAA eth SG driver
asf_proc: Patch to update the procfs code.
ASFIPSEC : Large size self-generated ping packet crash resolved.
ASF: Patch to fix traffic halt issue in IPSEC fragmentation case.
ASFIPSEC: Patch to fix the crash seen while deleting SA.
ASFCTRL: Patch to check for loopback packet and do not offload it.
ASFIPSEC: invalidate magic number while offloading policy in asfctrl_xfrm_enc_hook
ASFIPSEC: Patch to fix IPSEC fragmented traffic issues.
MODULE_LICENSE is changed to dual(BSD/GPL)
ASF: FMC: Adding 1G port entries for T4240QDS boards.
ASF: Defining flag in ASF for FSL_DPAA_TX_RECYCLE framework
ASF: Adding debug module to create a loopback framawork on DPAA platform
ASF:FMC: Extra line is removed from the file.
Removing make error when ASF is disabled in Kernel
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Ting Liu [Sat, 14 Jun 2014 03:37:54 +0000 (11:37 +0800)]
web-sysmon: update to sdk v1.6 release
changes:
Add T4240QDS case, monitor.conf is an example based on T4240QDS
Add power consumption monitoring support
Adjust monitoring duration: 20mins->10mins, 4hours->1hour
Update copyright
Update refresh rate as every 10 senconds
Disable error logging for lighttpd
Ting Liu [Sat, 14 Jun 2014 04:16:45 +0000 (12:16 +0800)]
cst: update to sdk v1.6 release
changes:
KEY_SELECT removed from input file for u-boot -LS1
Input files added for LS1 (group 5)
Added proper address of u-boot for u-boot header
LS1021: unisign fixed for group5
code clean up
code cleanup
Added sample input file for legacy boot feature in dir: input_files/legacy_cfsign/
Added legacy boot feature
code clean up
Entry point and address changed for increased U-boot Size
add support for SDHC in CSF(ESBC) Header
input files modified for c29x