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>
- 615fdbc Merge remote-tracking branch 'origin/master' into 2016.11+fslc
- 38cacda Merge branch 'master' of git://git.denx.de/u-boot-tegra
- a8d0526 ARM: tegra186: call secure monitor for all cache-wide ops
- 1ab557a armv8: add hooks for all cache-wide operations
- b9ae641 ARM: tegra: translate __asm_flush_l3_cache to assembly
- 6db8e17 ARM: tegra: ensure nvtboot_boot_x0 alignment
- d8c4eb6 Merge branch 'master' of git://git.denx.de/u-boot-net
- aa555fe net: use random ethernet address if invalid and not zero
- 6ecf9e2 net: mvgbe: Fix build error with CONFIG_PHYLIB
- f018545 net: phy: micrel: center FLP burst timing at 16ms
- 2162245 ARM: tegra: enable Ethernet on p2771-0000
- 31c1ff9 ARM: tegra: add DWC EQoS (ethernet) to Tegra186 DT
- 2b950f3 ARM: tegra: configure Ethernet address on Tegra186
- 86919a2 ARM: tegra: add SoC-level hook for board_late_init()
- ba4dfef net: add driver for Synopsys Ethernet QoS device
- afb970f dt: net: add DWC EQoS binding
- dac09fc wandboard: Make Ethernet functional again
- 0f7c6cd mkimage: Allow including a ramdisk in FIT auto mode
- baade49 travis-ci: Try harder to build all ARM targets
- e0f2406 buildman: Fix building based on 'options' field
- 4b6035d mx6sabresd: Make Ethernet functional again
- 97bb1f0 engicam: icorem6: Fix config files
- 68fd5c1 armv8: define get_ticks() for the ARMv8 Generic Timer
- 8add679 doc: update README.arm64
- 2a380cc tools: imximage: check return value when open the plugin file
- ae3de0d image: Protect against overflow in unknown_msg()
- eb9e699 colibri_pxa270: drop lzma support for space reason
- eef55e5 Merge branch 'master' of git://git.denx.de/u-boot-usb
- dd93a8e dfu: align array in dfu_get_dev_type with enum dfu_device_type
- dbdc274 cmd: dfu: Add error handling for board_usb_init
- 7fd1173 Merge git://git.denx.de/u-boot-rockchip
- 4594ac0 rk3288: kconfig: remove duplicate definition of SPL_MMC_SUPPORT
- 3f3e1e3 rockchip: doc: add GPT partition layout
- 7f35bbb rockchip: use rockchip linux partitions layout
- 612a2a0 dts: rk3288: remove node in dmc which not need anymore
- 7d6c78f rk3288: sdram: auto-detect the capacity
- cd2f6b8 rk3288: config change for enable dram capacity auto-detect.
- 0717dde evb-rk3399: config: set emmc as default boot dev
- 1b64a05 rk3288: fix reg address for GRF_SOC_CON2
- 27b95d2 rk3399: disable the clock multiplier support when SoC init
- 5564ed5 rockchip: rk3288: Move rockchip_get_cru() out of the driver
- c8a6bc9 rockchip: rk3399: Move rockchip_get_cru() out of the driver
- 92ac73e rockchip: rk3036: Move rockchip_get_cru() out of the driver
- 8dfb4a2 clk: rk3399: fix rockchip_get_cru
- 6016982 rockchip: RK3288 needs fdt and initrd below 256M now
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
- properly pass on color format in simplified JPEG encoder interface
- add alternative write-callback-style encoding mode
also add encode example variant which uses write-callback style output
- add support for "fake grayscale mode" in encoders
this is done by using I420 internally and filling the U and V planes
with 0x80 bytes
- make sure JPEG quantization table is copied in standardized zig zag order
the VPU does not, so this has to be done explicitely
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
imx-gst1.0-plugin: configure for available platforms only
For the MACHINEOVERRIDES "mx6dl" and "mx6q" PLATFORM is set to MX6DL and MX6Q,
respectively, resulting in the following error from the configure script:
| configure: error: No target platform specified!
| Use ./configure PLATFORM=(MX6/MX6QP/MX6SL/MX6SX/MX6UL/MX7D) to retry
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Richard Purdie [Wed, 2 Nov 2016 12:11:06 +0000 (12:11 +0000)]
linux-mgftool: Fix taskhash changed error
We need to expand KERNEL_VERSION at runtime, not at parse time. The
class extension code can expand variables early so remove the variable
from the datastore temporarily.
Change-Id: Ic0c8c8f62447e8368ce19c2420812f75009a295f Reported-by: Jun Zhu <junzhu@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Adrian Dudau [Mon, 31 Oct 2016 14:53:01 +0000 (15:53 +0100)]
linux-qoriq: fix CVE-2016-5696
net/ipv4/tcp_input.c in the Linux kernel before 4.7 does not
properly determine the rate of challenge ACK segments, which
makes it easier for man-in-the-middle attackers to hijack TCP
sessions via a blind in-window attack.
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/
patch/?id=72c2d3bccaba4a0a4de354f9d2d24eccd05bfccf (This a follow-up
to "tcp: make challenge acks less predictable)
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Fabio Berton [Thu, 27 Oct 2016 11:50:31 +0000 (09:50 -0200)]
linux-fslc-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>
Yuqing Zhu [Thu, 13 Oct 2016 01:59:54 +0000 (09:59 +0800)]
gstreamer1.0-plugins-bad: Fix MRT cannot work in GLES3.0
1. Add #ifdefine Marco to avoid redefinition of GL_COLOR_ATTACHMENT(1,2).
2. Change to use glBlitFramebuffer for textures copy. glCopyTexImage2D
cannot work because we cannot get texture internal format.
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Yuqing Zhu [Thu, 13 Oct 2016 01:59:51 +0000 (09:59 +0800)]
gstreamer1.0-plugins-bad: Accelerate gldownload with directviv API
1) Propose a physical buffer pool to upstream in gldownload
2) Bind the physical buffer with texture via dirctviv
3) In gldownload, wrap the physical buffer to gstbuffer, pass to
downstream plugins.
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Yuqing Zhu [Thu, 13 Oct 2016 01:59:50 +0000 (09:59 +0800)]
gstreamer1.0-plugins-bad: Add directviv to glimagesink to improve playback performance
1.Add a physical buffer uploader in glupload plugin and using viv direct
texture to bind physical continious buffer with texture to avoid memory
copy from videobuffer to texture to gain good performance.
2.Reduce glimagesink load latency by override glimagesink ALLOCATION query to
avoid memory copy.
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Yuqing Zhu [Thu, 13 Oct 2016 01:59:49 +0000 (09:59 +0800)]
gstreamer1.0-plugins-bad: Change wayland default res to 1024x768
In our release, the default display is full screen in LVDS.
The 1024x768 resolution will be better in testing for our release platform.
So change it from 320x240 to 1024x768.
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Fabio Berton [Fri, 21 Oct 2016 18:57:25 +0000 (16:57 -0200)]
u-boot-fslc: Update to the 2016.11-based fork
This updates for the upcoming 2016.11 release.
This is based on top of 2016.11-rc2 plus the following changes:
- c7f1e5 embestmx6boards: Use PARTUUID to specify the rootfs location
- 0c0dcb8 mx6cuboxi: Change finduuid to find on first partition
- caf0311 wandboard: Change finduuid to find on first partition
- aeb1be5 mx6cuboxi: Use PARTUUID to specify the rootfs location
- 1bcfc34 wandboard: Use PARTUUID to specify the rootfs location
- 6d6dba9 wandboard: Set fdt based on board_rev and board_name
- 69176f6 warp: Change default bootenv configuration
- 4d31a07 mx6sabresd: Enable video interfaces in bootargs
- 9904cfb iMX6: Change mmcroot to use fixed mmc block index for USDHC
- 77f6c08 embestmx6boards: Change default bootenv configuration
- 1e89967 mx6sabresd: Use LDO dtb file until LDO bypass support is added
- d434e1b mx6slevk: Use LDO dtb file until LDO bypass support is added
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
- 0dbe853 embestmx6boards: Use PARTUUID to specify the rootfs location
- 7b2aeb5 mx6cuboxi: Change finduuid to find on first partition
- 163cc05 wandboard: Change finduuid to find on first partition
- 72531ef Revert "Revert "embestmx6boards: convert to use
config_distro_bootcmd.h""
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 18 Oct 2016 19:24:14 +0000 (17:24 -0200)]
wic: Change reference wks files to avoid /boot partition use
For the sake of user-friendness we will avoid the use of /boot
partition.
The use of wic images, using this layout, is simpler as it does not
require manual setting of IMAGE_BOOT_FILES and thus allow for generic
use across different machines.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
- 157ec06 mx6cuboxi: Use PARTUUID to specify the rootfs location
- 1009975 wandboard: Use PARTUUID to specify the rootfs location
- 7616d99 configs: wandboard: Set fdt based on board_rev and board_name
- 9128164 Revert "Revert conversion for config_distro_bootcmd.h"
- 0012fc2 Prepare v2016.09.01
- 7148ad9 Revert "image-fit: switch ENOLINK to ENOENT"
- 8303828 Revert "Increase default of CONFIG_SYS_MALLOC_F_LEN for SPL_OF_CONTROL"
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 18 Oct 2016 15:11:25 +0000 (13:11 -0200)]
imx-base: Add i.MX 6ULL base settings
The i.MX 6ULL BSP base settings, this includes:
- MACHINEOVERRIDES_EXTENDER for has PXP and EPDC display support;
- UBOOT_ENTRYPOINT for uImage support;
- DEFAULTTUNE so it uses cortexa7thf-neon by default;
- MACHINE_SOCARCH_SUFFIX to share binaries with i.MX6UL;
- Graphics preference to use software rendering;
- MACHINE_FIRMWARE to include firmware-imx-epdc;
- Default Linux kernel for linux-fslc-imx;
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Changes: 8a050e0 ls1088a: Update SerDes Protocol to support Gen2 PCIe Conroller 7a786b6 armv8: ls1088A: update RCW binaries 08e77ac ls2088qds: Add RCW for SD as boot src 1621397 ls1088a: Add IFC, QSPI RCW binaries for QDS, RDB 59728ba ls2088: Add workaround in RCW for A-009102 5462666 ls2088: Add workaround in RCW for A-009102 2f05e20 update the license to Freescale-Binary-EULA 569c4f6 LS2088qds: Add bin1 configuration with 3,3d serdes 2be56e3 Merge pull request #19 in DPAA2/ls2-rcw from ~B37399/ls2-rcw:master to master 43a2d94 LS2088qds: Update sys-clock frequency to 100MHz bf8e575 LS2088RDB: Add QSPI RCW 1670adb LS2088QDS: Add new serdes configuration 0x4d_0x57 167b0cf LS2088A: Update RCW fa85094 LS2088rdb: Enable the serial interface of these 2 rcw 7e36ea6 LS2088A: Add RCW for adephi's usecase 0c0fce0 LS2088/2085: Add new rcw to support new PCIe lanes 45cc8fa LS2088A: Add RCW for LS2088A
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Ting Liu [Fri, 14 Oct 2016 03:03:07 +0000 (11:03 +0800)]
linux: upgrated to 4.1.30 plus nxp patches
Updated to kernel 4.1.30 which includes several fixes from the community
Detailed log history can be found at:
http://git.freescale.com/git/cgit.cgi/ppc/sdk/linux.git/log/?h=sdk-v2.0.x
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>