Otavio Salvador [Mon, 16 Jan 2017 18:22:11 +0000 (16:22 -0200)]
qoriq-base, imx-base: Allow DISTRO and local.conf override of IMAGE_FSTYPES
To allow the DISTRO and local.conf to override the IMAGE_FSTYPES value
we must provide a weak default (using the ??= operator) otherwise
machines need to play with the import order to override it.
Change-Id: I93407b8b6a93e5953bc4bae08f4ae4dafc5c6158 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Tue, 20 Dec 2016 12:18:58 +0000 (20:18 +0800)]
rcw: upgrade to SDK 2.0 GA-1611 release
* disable the endianness switch for qspi u-boot of SEC boot
* included the following commits.
* 3252b8c Merge pull request #20 in SDK/rcw from ~B21989/sdk-rcw:jira/QSDK-3097 to master
* cd271ee Merge pull request #19 in SDK/rcw from ~B52263/rcw:jira/QSDK-3096 to master
* 6a558a2 ls1021a: Fix QSPI endian issue for QSPI boot on LS1021A boards
* fbfddb3 ls1043a: Fix QSPI endian issue for QSPI boot on LS1043AQDS
* 2485a22 ls1046a: fix PBI of changing QSPI endianness
* 7304127 ls1043ardb: adds a RCW with GIC 4K supported
* d413878 ls1043a: Add PBI of changing GIC offset to 4K
* e914a5f Add a tclsh script to swap the rcw endian.
* 8411b78 ls1046aqds: Add RCW for ls1046aqds board
* 6d486d4 ls1046ardb: Add RCW for ls1046ardb board
* 14de148 arm: ls1021a: add the core frequency to 1.2GHZ support
* 98b6bc3 t2080rdb: update SRDS2PLL2CR1 to 0x08004100 for errata A-007186
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Tue, 20 Dec 2016 12:18:55 +0000 (20:18 +0800)]
dpa-offload: upgrade to SDK 2.0 GA-1611 release
The following changes are included:
* 68faa6a dpa_offload: Add support for offloading PPPoE flows
* 8bf3cdf dpa_offload/dpa_classifier: Improve support for "return-to-keygen" table entries
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Tue, 20 Dec 2016 12:18:54 +0000 (20:18 +0800)]
usdpaa-apps: upgrade to SDK 2.0 GA-1611 release
The following changes are included:
* 8fe2e96 usdpaa_apps: Patch to add ipsecfwd config script for perf.
* 9d7f0fe usdpaa_apps: Patch to add lpm ipfwd config scripts for perf.
* f03552a Merge pull request #27 in SDK/usdpaa-apps from ~B06830/usdpaa-apps:bugfix/QUSDPA-869 to sdk-v2.0.x
* 88c1539 ipsecfwd, simple_proto: use DKP for MDHA split key generation
* 41d9630 usdpaa_apps: Patch to fix next header protocol in esp header
* a889294 usdpaa_apps: Patch to add ipfwd_config file for perf.
* 1ef1d53 Merge pull request #18 in SDK/usdpaa-apps from ~B06830/usdpaa-apps:bugfix/QUSDPA-838 to sdk-v2.0.x
* 6172983 usdpaa_apps: Patch to use default queue for functionality
* b992189 usdpa_app: Patch to add ls1046a support in standalone-env.
* 53851fb usdpaa_app: Patch to add fmc config for LS1046ARDB
* 1c7a501 simple_proto: add supplementary MBMS test vectors
* 2536748 simple_proto: MBMS test vector fixes
Signed-off-by: Ting Liu <ting.liu@nxp.com Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Tue, 20 Dec 2016 12:18:50 +0000 (20:18 +0800)]
fmlib: upgrade to SDK 2.0 GA-1611 release
* add ls1046a targets build support
* include the following changes caec18a use mcpu option as 'cortex-a57' for Cortex A72 1f28ceb Makefile fix for LS1046 7e73160 Enable support for LS1046(based on LS1043 integration files)
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Tue, 20 Dec 2016 12:18:49 +0000 (20:18 +0800)]
fmc: upgrade to SDK 2.0 GA-1611 release
* add ls1046a targets support
* include the following changes 81e4796 Revert default platform flag to P4080 4729b49 Enable support for LS1046 (based on LS1043 integration)
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Tue, 20 Dec 2016 12:18:48 +0000 (20:18 +0800)]
linux-qoriq: upgrade to SDK 2.0 GA1611 release
* add 32b build support for aarch64 targets, e.g. ls1043ardb-32b, ls1046ardb-32b
* include the following changes 4004071 Merge branch 'feature/rt-v4.1.30' into yocto/sdk-2.0.x 937dcab Merge branch 'feature/usdpaa' into yocto/sdk-2.0.x b623c51 Merge branch 'feature/asf' into yocto/sdk-2.0.x a0c7a9b Merge pull request #1559 in SDK/linux-sdk2.0 from sdk-rcpm-fix-copyright to sdk-v2.0.x 302aca3 nxp: rcpm: fix copyright f05e97b Merge pull request #1556 in SDK/linux-sdk2.0 from jira/QSDK-3119 to sdk-v2.0.x 5126cb5 dts: ls1046a: fix PMU compatible 2db3941 Merge pull request #1555 in SDK/linux-sdk2.0 from jira/QLINUX-6194 to sdk-v2.0.x 1054c80 Merge pull request #1553 in SDK/linux-sdk2.0 from jira/config/QLINUX-6192 to sdk-v2.0.x ce1586f Merge pull request #1554 in SDK/linux-sdk2.0 from jira/QSDK-3117 to sdk-v2.0.x 1d848c9 Merge pull request #1551 in SDK/linux-sdk2.0 from jira/QLINUX-6155-gianfar-upstream_fix to sdk-v2.0.x f22fd4c arm64: dts: ls1046a: add qdma device tree node 862e403b dts: powerpc: t104x: add ceetm node 6ec4c00 irqchip/ls-scfg-msi: Enable Layerscape 32bit SCFG MSI support a0e8417 gianfar: fix size of scatter-gathered frames 3d80646 Merge pull request #1550 in SDK/linux-sdk2.0 from jira/QLINUX-6140 to sdk-v2.0.x 4c35d4d vfio fsl-pamu: Fix compilation error __udivdi3 dea239d Merge pull request #1549 in SDK/linux-sdk2.0 from jira/dpaa-ethernet/QLINUX-6139 to sdk-v2.0.x ca1bbde dpaa_eth: do not evaluate the A010022 erratum on PPC64 aa29390 Merge pull request #1548 in SDK/linux-sdk2.0 from jira/dpaa-ethernet/QLINUX-6139 to sdk-v2.0.x a318137 dpaa_eth: rework runtime support for erratum A010022 1f2ce64 dpaa_eth: simplify condition 1fbb450 Merge pull request #1537 in SDK/linux-sdk2.0 from jira/QLINUX-5777 to sdk-v2.0.x ad4a28c Merge pull request #1546 in SDK/linux-sdk2.0 from release/ls1046a to sdk-v2.0.x 73a0f66 Merge pull request #1545 in SDK/linux-sdk2.0 from feature/kvm to sdk-v2.0.x 2b22132 Merge pull request #1544 in SDK/linux-sdk2.0 from jira/QLINUX-5953 to feature/kvm b4ea505 Merge pull request #1543 in SDK/linux-sdk2.0 from jira/QLINUX-6045 to feature/kvm 4c47a0d Merge pull request #1476 in SDK/linux-sdk2.0 from jira/qman/QLINUX-5730-qman_high-sync-with-user-space to sdk-v2.0.x 31c4c0b Merge pull request #1536 in SDK/linux-sdk2.0 from jira/QLINUX-5947 to release/ls1046a 479b1fc On ARM64 register index of 31 corresponds to both zero register and SP. However, all memory access instructions, use ZR as transfer register. SP is used only as a base register in indirect memory addressing, or by register-register arithmetics, which cannot be trapped here. 77780d1 arm64/kvm: ls1046a: Add generic v8 KVM target 27fe8a5 staging/fsl_qbman: Fix warnings in self tests e11546d fsl_qbman/qman_high.c: Style cleanup 55e071c fsl_qbman/qman_high.c: Release resources if error f69c8b4 fsl_qbman/qman_high: lni_shaper_disable byte swap 442baed qman_high.c: Endian swap FD for LE CPUs 1d66e04 qbman: Clear interrupt in status register a2a4407 fsl_qbman/qman_high: Check LNI state before enable c95fe7d fsl_qbman/qman_high: Check qman version 6736347 fsl_qman/qman_high: Update unclean portal handling 62ac0bd fsl_qbman: Add error print in message ring cleanup 43317b7 Merge pull request #1539 in SDK/linux-sdk2.0 from jira/dpaa-ethernet/QLINUX-5974 to sdk-v2.0.x e0c7a72 dts: ls1046a: Add PCI and MSI nodes 1a90f80 arm64:pci: fix the IOV device enabled crash issue in designware 0372d4d pci/layerscape: add LS1046A support c5d939c irqchip/ls-scfg-msi: Add MSI test support d52e522 irqchip/ls-scfg-msi: add Layerscape SCFG MSI support 2561dca dts: ls1043a: update MSI node 4feed16 dts: ls1021a: update MSI node 93b4616 dt/bindings: Add bindings for Layerscape SCFG MSI b366f3a dts: ls1043a: change GIC register for rev1.1 7200f11 arm64: ls1046a: dts: add rcpm and ftm0 nodes 0256287 drivers: soc: add the RCPM driver 42591a49 cpuidle: remove cpu_pm calls when entering a idle state 915455c arm64: PSCI: support Suspend-to-RAM state 136070a doc: update rcpm.txt from upstream b1d0ac8 Merge pull request #1470 in SDK/linux-sdk2.0 from jira/qman/QLINUX-5645-qbman-bad-dqqr-sz to sdk-v2.0.x df0a3d4 Merge pull request #1467 in SDK/linux-sdk2.0 from jira/qman/QLINUX-5727-debug-printf-left-in-source to sdk-v2.0.x d3f1454 Merge pull request #1538 in SDK/linux-sdk2.0 from jira/qman/QLINUX-5976 to sdk-v2.0.x ea46d10 dpaa_eth: enable the 4K workaround only for the LS1043 SoC 9d8a40d fsl/fman: use QBMan API c116614 fsl_qman: proper dmaa_addr_t specifier 1d39525 fsl_bman: proper dmaa_addr_t specifier 68e4a9c dpaa_eth: add arm 32bit support cd6f54d dpaa_eth: use proper dma_map size when recycling 9e9a00d dpaa_eth: use QBMan API 84730fa fmd: remove udivdi3 98feb23 fsl_qbman: Use cache inhibited portals on LS1046 007477a soc: fsl: Add ls1046a to GUTS 9ef52a0 base: soc: introduce soc_device_match() interface a109bb8 soc: fsl: rewrite GUTS driver fec049a fsl_qbman: Enable EQCR CI Stashing f8d1192 fsl_qbman: Don't use cacheline zero operation on ARM 880da59 fsl_qbman: Fix DQRR shadow copy alignment 439f884 fsl_qbman: fix ARM64 write prefetch macro 7b05170 fsl_qbman: fix ARM64 prefetch instructions 99c8c40 fsl_qbman: Only invalidate/prefech on PPC systems when PAMU is disabled 72b974d fsl_qman: use original dq in qm_dqrr_cdc_consume_1ptr() a1c99db fsl_qman: fix EQCR_COMMIT_CHECKS for LE f8773f0 fsl_pme: Update PME scatter/gather API usage 4d3026c fsl_dce: Update DCE scatter/gather API usage bc45052 fsl/qman: endianness changes 805c887 fsl_qman: add support for qman portal v3.2.1 e730580 fsl_qbman/qman_high.c: Remove debug print 6e237d9 fsl_pamu: erratum a007907 should be applied on all versions of E6500 chips. 769caaf Merge pull request #1530 in SDK/linux-sdk2.0 from release/ls1046a to sdk-v2.0.x 019cc06 Merge pull request #1529 in SDK/linux-sdk2.0 from jira/QLINUX-6040-32-bit-kernel-support-integration to sdk-v2.0.x 4a8a3c4 fsl_qbman: fix QBmanTest compile error on arm 32bit 27b9fe6 arm: layerscape: add ITS for ls1046ardb aarch32 platform 14d4d34 arm: layerscape: add ITS for ls1043ardb aarch32 platform 6513e86 arm64: dts: Update address-cells and reg properties of cpu nodes 24af721 Armv8: aarch32: Add ITS for LS1012A AArch32 support 21da194 arm: layerscape: enable ppfe in defconfig e08460c arm: layerscape: enable dpaa ethernet in defconfig 50c8128 dpaa_eth: add arm 32bit support 4a441cd arm: add pgprot_cached and pgprot_cached_ns support ebb7268 arm: add new non-shareable ioremap 051e365 armv8: aarch32: Add KVM support for AArch32 on ARMv8 1e46b40 armv8: aarch32: Add AArch32 defconfig for LayerScape SoCs 4434d96 armv8: aarch32: Update Kconfig to support ARCH_LAYERSCAPE_AARCH32 c04c0f1 armv8: aarch32: Allow RAM to be mapped for LayerScape SoC 846fbe1 armv8: aarch32: Add SMP support for 32-bit Linux kernel cb96fb1 armv8: aarch32: Execute 32-bit Linux for LayerScape platforms fbfccce Merge pull request #1528 in SDK/linux-sdk2.0 from jira/QLINUX-6038 to release/ls1046a 5455e08 spi-nor: fslquad: add quad mode read for s25fs512s 70fa4fd mtd: spi-nor: fsl-quad: Add flash S25FS extra support 034bad1 spi: dspi: clear SPI_SR before enable interrupt 6de3d6d dpa_offload/dpa_stats: Fix bad propagation of counters offsets to US during sync get_counters b047fdb dpa_offload/dpa_ipsec: Remove IPSec special manip chain before the node a16bb04 dpa_offload/dpa_classifier: Release header manip chain when table insert is unsuccessful e93fd06 dpa_offload: Add LS1046ARDB device tree files 4da5830 dpa_offload: Align number of network interfaces in LS1043ARDB device tree files c5d6566 dpa_offload: Add support for offloading PPPoE flows 1fd7d61 dpa_offload/dpa_classifier: Improve support for "return-to-keygen" table entries 74187b4 dpa_offload/dpa_classifier: Always interpret IPv4 address in big endian b8cf88f dpa_offload/dpa_stats: Fix IOCTL return code in case of error 45d601d dpa_offload/dpa_stats: Add support for LE platforms 091ccb2 dpa_offload: Add IPSec offloading scenario device tree file for LS1043ARDB 5a647f2 dpa_offload/dpa_ipsec: Add support for LE platforms 502e729 dts: ls1046a: disable sata ecc 9cf974c sata: ls1046a: added ls1046a sata support 83db7d7 mmc: core: Optimize case for exactly one erase-group budget f1927d4 mmc: sdhci-of-esdhc: enable IRQ detecting mode for LS1046A ef0951b ls1046a_usdpaa_dts: Patch to fix issue in usdpaa dts c761ef7 net: phy: fixed: propagate fixed link values to struct 1cb5367 freescale.config: remove CONFIG_MTD_SPI_NOR_USE_4K_SECTORS cc59f31 cpufreq: qoriq: add dfs support on ls1046a soc c10521a ls1046aqds_usdpaa_dts: Patch to add dts for ls1046aqds e5f0d60 freescale.config: add NVMe support 06d5f31 usdpaa_dts: Patch to add usdpaa dts for LS1046ARRDB 425f832 ITS: use ls1046ardb rootfs f00abb8 freescale.config: enable qDMA and testdma a95e599 freescale.config: enable some config options 0d1003c ls1046aqds: add its file 209a3e5 freescale.config: enable macro for LS1046ARDB 2228977 ls1046ardb: add ITS file a0765d1 arm/ls1-msi: fix typo of MSI compatible string 5c6248f net: phy: add driver for aquantia AQR106/107 phy d93acf6 rtc: pcf2127: add pcf2129 device id 6dddef7 clk: qoriq: add ls1046a support 5bcf71e arm64: dts: ls1046a: fix compatible for esdhc 6a37ce8 arm64: dts: ls1046ardb: add dpaa nodes 75bc6da arm64: dts: ls1046aqds: add dpaa nodes f9b5811 arm64: dts: add dpaa nodes in .dtsi 3866c5e arm64: dts: add LS1046A-QDS board support f39e5f1 Documentation: DT: Add entry for QorIQ LS1046A-QDS board b661c31 arm64: dts: add LS1046A-RDB board support 39a74c1 Documentation: DT: Add entry for QorIQ LS1046A-RDB board 9b21627 arm64: dts: add QorIQ LS1046A SoC support 388603e dt-bindings: ahci-fsl-qoriq: updated for SoC ls1046a 202e350 dt-bindings: qoriq-clock: update for more SoCs c8d2cec dt-bindings: i2c: adds two more nxp devices 0dfadf7 dt-bindings: fsl: updates bindings for some SoC-specific devices 9148f56 dt-bindings: fsl: update for more SoCs cf53f83 Merge pull request #1525 in SDK/linux-sdk2.0 from jira/fman/QLINUX-6077 to sdk-v2.0.x ad55d2b Merge pull request #1524 in SDK/linux-sdk2.0 from jira/fman/QLINUX-5975 to sdk-v2.0.x d3542db Merge pull request #1526 in SDK/linux-sdk2.0 from jira/fman/QSDK-2131 to sdk-v2.0.x 4da5272e QSDK-2131: A-008975: The FMAN controller cannot allow empty look-up tables 136e497 QLINUX-6077: A-007273: FMAN hangs at FM reset done with MACs clocks disabled bc36f58 QLINUX-5975: LS1046A DPAA Fman driver integration f70a57c Merge pull request #1508 in SDK/linux-sdk2.0 from jira/rman/QLINUX-6067 to sdk-v2.0.x 6b22a60 uio/rman: use the generic IO access function ea1a5e4 dpio/qbman: fix discrete consumption 206af2a fsl_qbman/qman_high.c: Remove debug print
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Andreas Müller [Wed, 14 Dec 2016 11:42:00 +0000 (12:42 +0100)]
libsdl2: add append to fix build
Our vivante driver does not support the API libsdl2 expects.
Fixes:
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c: In function 'VIVANTE_Create':
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:100:30: error: 'VIVANTE_GLES_LoadLibrary' undeclared (first use in this function)
device->GL_LoadLibrary = VIVANTE_GLES_LoadLibrary;
^~~~~~~~~~~~~~~~~~~~~~~~
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:100:30: note: each undeclared identifier is reported only once for each function it appears in
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:101:33: error: 'VIVANTE_GLES_GetProcAddress' undeclared (first use in this function)
device->GL_GetProcAddress = VIVANTE_GLES_GetProcAddress;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:102:32: error: 'VIVANTE_GLES_UnloadLibrary' undeclared (first use in this function)
device->GL_UnloadLibrary = VIVANTE_GLES_UnloadLibrary;
^~~~~~~~~~~~~~~~~~~~~~~~~~
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:103:32: error: 'VIVANTE_GLES_CreateContext' undeclared (first use in this function)
device->GL_CreateContext = VIVANTE_GLES_CreateContext;
^~~~~~~~~~~~~~~~~~~~~~~~~~
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:104:30: error: 'VIVANTE_GLES_MakeCurrent' undeclared (first use in this function)
device->GL_MakeCurrent = VIVANTE_GLES_MakeCurrent;
^~~~~~~~~~~~~~~~~~~~~~~~
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:105:34: error: 'VIVANTE_GLES_SetSwapInterval' undeclared (first use in this function)
device->GL_SetSwapInterval = VIVANTE_GLES_SetSwapInterval;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:106:34: error: 'VIVANTE_GLES_GetSwapInterval' undeclared (first use in this function)
device->GL_GetSwapInterval = VIVANTE_GLES_GetSwapInterval;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:107:29: error: 'VIVANTE_GLES_SwapWindow' undeclared (first use in this function)
device->GL_SwapWindow = VIVANTE_GLES_SwapWindow;
^~~~~~~~~~~~~~~~~~~~~~~
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:108:32: error: 'VIVANTE_GLES_DeleteContext' undeclared (first use in this function)
device->GL_DeleteContext = VIVANTE_GLES_DeleteContext;
^~~~~~~~~~~~~~~~~~~~~~~~~~
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c: In function 'VIVANTE_CreateWindow':
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:285:29: warning: implicit declaration of function 'SDL_EGL_CreateSurface' [-Wimplicit-function-declaration]
data->egl_surface = SDL_EGL_CreateSurface(_this, data->native_window);
^~~~~~~~~~~~~~~~~~~~~
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:285:27: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
data->egl_surface = SDL_EGL_CreateSurface(_this, data->native_window);
^
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c: In function 'VIVANTE_DestroyWindow':
<workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:306:13: warning: implicit declaration of function 'SDL_EGL_DestroySurface' [-Wimplicit-function-declaration]
SDL_EGL_DestroySurface(_this, data->egl_surface);
^~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tom Hochstein [Tue, 13 Dec 2016 17:55:44 +0000 (11:55 -0600)]
weston: Fix build on i.MX 6SL
Weston requires egl and glesv2 together, or neither. Since the i.MX 6SL
can only provide egl, we configure weston to work without egl. A build
break occurred due to i.MX patches which should not be applied for 6SL.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Sona Sarmadi [Wed, 30 Nov 2016 12:17:39 +0000 (13:17 +0100)]
linux-qoriq: fix CVE-2016-0758
Fixes a flaw in the Linux kernel's ASN.1 DER decoder processed
certain certificate files with tags of indefinite length. A local,
unprivileged user could use a specially crafted X.509 certificate
DER file to crash the system or, potentially, escalate their
privileges on the system.
References:
https://lkml.org/lkml/2016/5/12/270
Upstream patch:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/patch/
?id=af00ae6ef5a2c73f21ba215c476570b7772a14fb [backported from stable 3.16]
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Sona Sarmadi [Wed, 30 Nov 2016 12:17:38 +0000 (13:17 +0100)]
linux-qoriq: fix CVE-2016-2053
The asn1_ber_decoder function in lib/asn1_decoder.c in the Linux
kernel before 4.3 allows attackers to cause a denial of service
(panic) via an ASN.1 BER file that lacks a public key, leading
to mishandling by the public_key_verify_signature function in
crypto/asymmetric_keys/public_key.c.
Dominic Sacré [Mon, 21 Nov 2016 15:53:25 +0000 (16:53 +0100)]
linux-fslc-imx-rt: Add patch to support external imx-gpu-viv driver
Export functions swait_prepare_locked() and swait_finish_locked() to
make them available to the external imx-gpu-viv driver module.
Remove the check whether MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE is
set; both the built-in driver and the external module now work with the
RT kernel.
Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tom Hochstein [Sat, 19 Nov 2016 01:11:49 +0000 (19:11 -0600)]
weston: Use compiler settings provided by IMX-GPU driver pkg-config
The IMX-GPU driver now provides compiler settings through pkg-config,
so don't set them explicitly. The package had to be patched to
link the compositor to egl.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Fabio Berton [Thu, 17 Nov 2016 17:22:24 +0000 (15:22 -0200)]
linux-fslc: Enable TRACER support
Fix warning:
WARNING: lttng-modules-2.8.0+gitAUTOINC+6e4fc6f36d-r0 do_package:
lttng-modules: no modules were created; this may be due to
CONFIG_TRACEPOINTS not being enabled in your kernel.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Fabio Berton [Thu, 17 Nov 2016 17:22:23 +0000 (15:22 -0200)]
linux-imx: Enable TRACER support
Fix warning:
WARNING: lttng-modules-2.8.0+gitAUTOINC+6e4fc6f36d-r0 do_package:
lttng-modules: no modules were created; this may be due to
CONFIG_TRACEPOINTS not being enabled in your kernel.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Andreas Müller [Tue, 15 Nov 2016 15:30:07 +0000 (16:30 +0100)]
qtbase: do not pass -DEGL_API_FB=1 for x11 in distro features
* sympthoms:
* qml applications complain/crash with 'Failed to create OpenGL context...'
* qt5-opengles2-test hangs forever without displaying anything
* analysis:
qtbase's configure complains:
<...>/usr/include/EGL/eglvivante.h:117:16: note: class type '_FBDisplay' is incomplete
and configure ends up with no X11 support:
EGLFS ................ no
EGLFS i.MX6 ........ no
EGLFS i.MX6 Wayland. no
EGLFS EGLDevice .... no
EGLFS GBM .......... no
EGLFS Mali ......... no
EGLFS Raspberry Pi . no
EGLFS X11 .......... no
LinuxFB .............. no
Mir client............ no
XCB .................. yes (system library)
EGL on X ........... no
qtbase: Allow to build eglfs with x11 in DISTRO_FEATURES
* even when x11 is in DISTRO_FEATURES someone might configure qtbase
to build with eglfs, that works OK with Qt 5.5.1, because
-DEGL_API_FB=1 is also passed through
mkspecs/devices/linux-imx6-g++/qmake.conf
but with 5.6 and 5.7 it fails when X11 headers are include with their
own Status enum (the same errors like before
https://codereview.qt-project.org/#/c/105116/2)
Adding -DEGL_API_FB=1 like linux-imx6-g++/qmake.conf does is simplest
workaround to prevent imx-gpu-viv from including Xlib from
EGL/eglvivante.h
* comments on original commit (at today's' environment):
* it breaks GL support for X11
* in meta-freescale's qtbase.bbappend eglfs is disabled explicitly when
x11 in DISTRO_FEATURES so it seems that vivante driver does not support
eglfs and x11 at the same build.
Tested: setting 'eglfs' in PACKAGECONFIG builds fine but bare eglfs
support is skipped.
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>