Ting Liu [Fri, 15 Jul 2016 17:42:34 +0000 (01:42 +0800)]
linux-qoriq: add merge_delta_config task
fsl-kernel-localversion added a separate task in which defconfig
is needed. But qoriq boards don't have a unified defconfig, different
KERNEL_DEFCONFIG should be copied as ${WORKDIR}/defconfig.
add a merge_delta_config task to merge kernel delta configs.
for ls1043ardb and ls2080ardb, freescale.config should be appended first.
Fabio Berton [Fri, 5 Aug 2016 20:47:59 +0000 (17:47 -0300)]
fsl-kernel-localversion: Make sure build dir exist before create .config
Create directory ${B} before do_preconfigure task creates file ${B}/.config
Fix error:
../fsl-community-bsp/build/tmp/work/imx6slevk-poky-linux-gnueabi/linux-fslc-imx/
4.1-1.0.x+gitAUTOINC+0c0844f9fa-r0/temp/run.do_preconfigure.16220:
line 109: ../fsl-community-bsp/build/tmp/work/imx6slevk-poky-linux-gnueabi/
linux-fslc-imx/4.1-1.0.x+gitAUTOINC+0c0844f9fa-r0/build/.config:
No such file or directory
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This backport following changes from upcoming 2016.09 release:
e38d99f MAINTAINERS: i.MX: Add board/freescale/*mx* path aad9e75 mx7dsabresd: MAINTAINERS: Add mx7dsabresd_secure_defconfig c40981b mx7_common: initialize generic timer on all CPU's bb7dbb1 mx6ul_14x14_evk: Remove unused define 1f89a59 cgtqmx6eval: Remove uneeded PHYS_SDRAM_SIZE 5433e5c novena: Remove uneeded PHYS_SDRAM_SIZE 97145ad bx50v3: Use imx_ddr_size() for calculating the DDR size 557c86a aristainetos: Use imx_ddr_size() for calculating the DDR size f2ff911 warp: Use imx_ddr_size() for calculating the DDR size 7b53769 warp7: Move some USB configuration options to defconfig bc7bbb5 colibri_imx7: add Colibri iMX7S/iMX7D module support c2381c0 cgtqmx6eval: Replace is_mx6q() for macro 9280131 mx6cuboxi: Replace is_mx6q() for macro 5396047 wandboard: Replace is_cpu_type() for macro ccbd486 imx: ventana: add dt fixup for watchdog external reset 6da2a41 imx: ventana: refactor board-specific dt fixups (no functional change) f13197c imx: ventana: make hwconfig initialize based on board configuration 505d466 imx: ventana: add extra DIO's for GW5520 ede70ae imx: ventana: make number of digital I/O's dynamic 85327cb imx: ventana: make RS232 enable board specific 67d376a imx: ventana: re-enable late board info display 1f71a76 imx: ventana: default pci to disabled 71fbd29 pci: allow disabling of pci init/enum via env e315991 imx: ventana: add dt fixup for eth1 mac-address c8bfa71 imx: ventana: add dt fixup for GW16082 irq mapping 6308105 mx7dsabresd_secure_defconfig: Use CONFIG_ARMV7_BOOT_SEC_DEFAULT 6eae48f pico-imx6ul: drop warning due to redefined c5502fb mx6: wandboard: fix warning due to missing prototype a9fef43 Fix build for mx7dsabresd (secure config)
Change-Id: I1fa2a8a4db9d265494831deef53a11633faf3454 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 25 Jul 2016 19:56:47 +0000 (16:56 -0300)]
gstreamer1.0-plugins-imx: Avoid warning about missing build dependency for G2D
The gstreamer1.0-plugins-imx-imxg2d has the dependency satisfied by
the GPU driver, which is already listed as dependency. This marks the
warning as a false-positive.
Fixes:
,----
| WARNING: QA Issue: /usr/lib/gstreamer-1.0/libgstimxg2d.so_gstreamer1.0-plugins-imx-imxg2d
| contained in package gstreamer1.0-plugins-imx-imxg2d requires
| libg2d.so.0.9, but no providers found in its RDEPENDS [file-rdeps]
`----
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
gstreamer1.0-plugins-imx: Update to version 0.12.2
Changes:
* imxv4l2videosrc:
* Stricter checks for video device capabilities
* Add support for more video formats like 8/16-bit grayscale
* pxp: Fix incorrect return code which broke blitter with GStreamer 1.8
* blitter:
* Improvements in error logging
* Fixes for RGBx framebuffer format detection
* Fix for subtle tearing problem by implementing triple buffering
* audio:
* Replace objdump-based scan during build configuration
Codec filenames are instead moved to the C code; the libdir
path of the libfslaudiocodec.pc file is used to know where on
the target the files are placed
* Explicitely add the libfslaudiocodec.pc libdir to the MP3 encoder
Fixes build errors in buildroot
* Minor logging fixes
* misc:
* Proper check for region copies in phys_mem_meta
* Add missing G_END_DECLS lines in headers
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 16 Jul 2016 12:48:28 +0000 (09:48 -0300)]
image_types_fsl.bbclass: Ensure i.MX23 and i.MX28 image stream are available
The i.MX23 and i.MX28 image stream must be built prior the sdcard
generation. The example of a failure is:
,----
| DEBUG: Executing shell function do_image_sdcard
| 0+0 records in
| 0+0 records out
| 0 bytes (0 B) copied, 1.5848e-05 s, 0.0 kB/s
| dd: failed to open '....rootfs.uboot.mxsboot-sdcard': No such file or directory
| WARNING: exit code 1 from a shell command.
`----
The failure has been found by O.S. Systems autobuilder when running
the regression tests.
Change-Id: I64ecca1160e038e15629516f97e8ade5d645be31 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Changelog: 348748b update device trees to increase the number of FQDs available ba627ef t4240qds: add some missing fman ports 4da1b35 experimental: update to match latest device tree f23fe58 b4860qds: update to match latest device tree 70e01ec t4240: update to match latest device tree bb7fd45 t2080: update to match latest device tree 5c2af25 t1042rdb: update to match latest device tree 4ad3b4e t1040: update to match latest device tree 7d82eca t1024: update to match latest device tree a921799 p5040ds: update to match latest device tree 7b27495 p5020ds: update to match latest device tree c2bdb6c p4080ds: update to match latest device tree 027388f p3041ds: update to match latest device tree 3ac3990 p2041rdb: update to match latest device tree
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Ting Liu [Fri, 15 Jul 2016 16:35:47 +0000 (00:35 +0800)]
u-boot-qoriq: Add host compiler flags
U-Boot will compile its own tools during the build, with specific
configurations (aka when CONFIG_FIT_SIGNATURE is enabled) the host tools
require openssl. This patch adds 'openssl' as a PACKAGECONFIG that
enables the use of openssl-native as a dependency and also adds the
HOSTCC flags that U-Boot uses when compiling the host tools.
Ting Liu [Fri, 15 Jul 2016 16:35:42 +0000 (00:35 +0800)]
u-boot-qoriq: upgrade to 2016.01 plus fsl patches
The main features are:
* Upgrade to 2016.01
* On ARM platforms, the U-Boot image includes the device tree
* Non-secure and Secure Boot (ESBC)
* Primary Protected Application (PPA) firmware integration [LS1043A]
* Clock, CPLD, DUART, DDR3, DDR4, DSPI, eSDHC, GIC-400, GIC-500, I2C, OCRAM, PCIe, USB 2 & 3, SATA, UART
* Networking support using eTSEC, FMAN Independent Mode or DPAA2 networking
* DCU, eMMC 4.5, I2C3, LPUART, QSPI [LS1021A]
* eLBC and IFC access to NOR and NAND flash
* Boot from NOR, NAND flash, eSPI, SDHC
* Boot from SRIO [B4860, P5020, P4080]
* Voltage ID (board specific)
* CodeWarrior debug patch for U-Boot
Detailed commit log can be found at:
http://git.freescale.com/git/cgit.cgi/ppc/sdk/u-boot.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>
Ting Liu [Fri, 15 Jul 2016 16:31:30 +0000 (00:31 +0800)]
ls1043ardb: add machine file
The LS1043A Reference Design Board (RDB) is a high-performance computing,
evaluation, and development platform that supports the QorIQ LS1043A
LayerScape Architecture processor. The LS1043ARDB provides SW development
platform for the Freescale LS1043A processor series, with a complete
debugging environment. The LS1043A RDB is lead-free and RoHS-compliant.
The LS1043A integrated multicore processor combines four ARM Cortex-A53
processor cores with datapath acceleration optimized for L2/3 packet
processing, single pass security offload and robust traffic management
and quality of service.
For detailed info, please visit:
http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/qoriq-arm-processors/qoriq-ls1043a-reference-design-board:LS1043A-RDB
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The LS2080A Reference Design (RDB) is a high-performance computing,
evaluation, and development platform that supports the QorIQ LS2080A
Layerscape Architecture processor.
The LS2080A integrated multicore processor combines eight ARM Cortex-A57
processor cores with high-performance data path acceleration logic and network
and peripheral bus interfaces required for networking, telecom/datacom,
wireless infrastructure, and mil/aerospace applications.
For detailed info, please visit:
http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/qoriq-arm-processors/qoriq-ls2080a-rdb-reference-design-board:LS2080A-RDB
Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Besides the 2016.07 final changes, this includes following new
commits:
20b081a usbarmory: Add board_run_command() function 19900ff usbarmory: switch to using kernel zImage 9f616f6 imx6: clock: typo fix 6874a9e arch-mx6: fix MX6_PAD_DECLARE macro to work with MX6 duallite 5f816d8 pico-imx6ul: Add USB Host support 3a09cf7 video: allow version string to be optional when using LOGO
Change-Id: I5d3da661ef6f8e0a766950bb4fcecc7813a19a46 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 11 Jul 2016 11:17:52 +0000 (08:17 -0300)]
linux-fslc-imx: Fix DESCRIPTION to mention 4.1.15-1.0.0 GA as based
The base kernel has been updated for the 4.1.15-1.0.0 GA but the
DESCRIPTION has not been updated when updating the recipes, this fixes
that so the DESCRIPTION in the generated packages and release notes
are right.
Change-Id: Id7539aa65f5466f0bd285766931d4648b0445e44 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 11 Jul 2016 11:06:45 +0000 (08:06 -0300)]
gstreamer1.0-plugins-bad: Remove PACKAGE_ARCH override for i.MX7 and i.MX6UL
The CFLAGS and PACKAGECONFIG changes are applied just for i.MX6 Q, DL,
SX and SL so we can remove the PACKAGE_ARCH override for the i.MX7 and
i.MX6UL as those are unaffected.
Change-Id: Ice33fd3a12566875f9ec2559d0a044f38916d244 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
With the upgrade to gstremaer 1.8.x this patch does no longer apply.
Upstream changed to install the headers required, so the patch is also
no longer needed:
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit?h=1.8&id=c87a7e266732ab9a0bd0e5a5c104b06d0f1a2072
Otavio Salvador [Mon, 4 Jul 2016 19:13:22 +0000 (16:13 -0300)]
imx7dsabresd: Fix the boot of a NXP kernel
Booting a NXP kernel with mainline U-boot leads to the following
kernel crash:
,----
| caam: probe of 30900000.caam failed with error -11
| Unable to handle kernel NULL pointer dereference at virtual address 00000004
| pgd = 80004000
| [00000004] *pgd=00000000
| Internal error: Oops: 805 [#1] PREEMPT SMP ARM
`----
This happens because NXP kernel expects MX7 to boot in secure mode,
so introduce mx7dsabresd_secure_defconfig that selects CONFIG_MX7_SEC
and allows booting a NXP provided kernel successfully.
Change-Id: Ic05912c1328c75e8e25c89e7543b67c8c214e20d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 4 Jul 2016 18:12:21 +0000 (15:12 -0300)]
linux-fslc-imx: Disable Vivante GPU support
The Vivante GPU is used as kernel module for all i.MX6, by default, so
the defconfig should not enable it as other SoC (as i.MX6UL and
i.MX7D) uses the same defconfig and does not have the Vivante GPU.
This avoids the built-in driver build for other SoCs, thus fixing a
build error with GCC 6, which is hidden when using the external
module.
Change-Id: Ib12cfe494d75b6407eaf72c386094cc03606c7f8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 4 Jul 2016 17:20:18 +0000 (14:20 -0300)]
fsl-vivante-kernel-driver-handler.bbclass: Allow build for non-i.MX6
When building for non-i.MX6, we ought to assume the SoC does not has
Vivante GPU at all, or the build will fail. This fixes the build of
linux-fslc-imx-rt for i.MX7D as it does not have a Vivante GPU.
Change-Id: Ic8fc4808880aca381e88f6e1b6c52416bb4520c4 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Changelog: af0a2a1 B4:DSP_BT: Add new DDRC target ID configuration parameter c8a84c6 B4:L1D: Add support for L1 defense New flow 8e79e5c B4:DSP_BT: DSP cache-cluster init now done from DSP boot loader 44da44a B4:DSP_BT: Add support for DSP MMU configuration
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Max Krummenacher [Thu, 23 Jun 2016 22:52:10 +0000 (00:52 +0200)]
libimxvpuapi: use libdir from cross environment
Pass $libdir to 'waf configure' to prevent using the build hosts libdir.
Fixes:
WARNING: libimxvpuapi-0.10.2-r0 do_package: QA Issue: libimxvpuapi: Files/directories were installed but not shipped in any package:
/usr/lib64/libimxvpuapi.so
/usr/lib64/libimxvpuapi.so.0
/usr/lib64/libimxvpuapi.so.0.10.2
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/libimxvpuapi.pc
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Adrian Dudau [Fri, 10 Jun 2016 10:34:38 +0000 (12:34 +0200)]
fsl-kernel-localversion: Configure kernel in a separate task
As it is implemented right now this class overwrites the .config file
making it impossible for any other layer to configure the kernel in a
.bbappend to the kernel recipe. By doing it in a separate task before
do_configure we ensure that recipe .bbappends can make further kernel
configurations in do_configure_prepend.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Fri, 3 Jun 2016 07:49:39 +0000 (15:49 +0800)]
linux-qoriq: exclude DATETIME from vardepsexclude of ZIMAGE_BASE_NAME to fix taskhash mismatch issue
The siggen.py checks the task hash, DATETIME dependency causes Taskhash
mismatch error, exxclude DATETIME variable from vardepsexclude of
ZIMAGE_BASE_NAME.
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Fri, 3 Jun 2016 07:49:38 +0000 (15:49 +0800)]
u-boot: fix build error under gcc6
Fix the following build error under gcc6:
| ../include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc6.h: No such file or directory
| #include gcc_header(__GNUC__)
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Fri, 3 Jun 2016 07:49:36 +0000 (15:49 +0800)]
skmm-ep: fix the build error caused by duplicated definition
Remove the duplicated definition to fix the following build errors:
| apps/skmm/lib/skmm_sram.c:42:18: error: redefinition of 'pa_to_va'
| apps/skmm/lib/skmm_sram.c:51:20: error: redefinition of 'va_to_pa'
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Fri, 3 Jun 2016 07:49:33 +0000 (15:49 +0800)]
eth-config: fix host contamination warnings
Fix the following host contamination warnings:
| eth-config: /eth-config/xxx is owned by uid 1000, which is the same as
| the user running bitbake. This may be due to host contamination
| [host-user-contaminated]
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Fri, 27 May 2016 23:10:50 +0000 (18:10 -0500)]
xf86-video-imxfb-vivante: Upgrade to 5.0.11.p8.4
Fix to fallback to software path when transform is not supported
Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>