]> code.ossystems Code Review - meta-freescale.git/log
meta-freescale.git
8 years agoqe-ucode: update to a95f42ae
Ting Liu [Mon, 13 Jun 2016 09:38:35 +0000 (17:38 +0800)]
qe-ucode: update to a95f42ae

Changelog:
a95f42a Unify the EULA file
441e947 Update the EULA file

update the license file
add fsl-ch2 as COMPATIBLE_MACHINE

Signed-off-by: Ting Liu <ting.liu@nxp.com>
8 years agoopenssl-qoriq: correct the find.pl path
Zhenhua Luo [Thu, 23 Jun 2016 22:09:31 +0000 (17:09 -0500)]
openssl-qoriq: correct the find.pl path

Fix the following build error:
| Can't locate find.pl in @INC (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at perlpath.pl line 7.

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
8 years agoopenssl-qoriq: upgrade to 1.0.2h plus fsl patches
Cristian Stoica [Mon, 25 Jan 2016 11:33:46 +0000 (13:33 +0200)]
openssl-qoriq: upgrade to 1.0.2h plus fsl patches

Based on oe-core openssl-1.0.2h, revision:
e49d337 meta: update patch metadata

extended with patches from fsl to enable more features.

Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
8 years agocryptodev-qoriq: upgrade to 1.8 plus fsl patches
Cristian Stoica [Mon, 25 Jan 2016 09:19:43 +0000 (11:19 +0200)]
cryptodev-qoriq: upgrade to 1.8 plus fsl patches

upstream commit: 87b56e04b24c6d4be145483477eff7d3153290e9
Also:
- move all fsl patches on top of cryptodev-1.8
- add CIOCHASH ioctl
- fix incorrect tests initializations
- modify yocto patches to match updated Makefiles

Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
8 years agoudev-rules-qoriq: add dpaa networking rules for ls1043a
Ting Liu [Thu, 30 Jun 2016 09:06:23 +0000 (17:06 +0800)]
udev-rules-qoriq: add dpaa networking rules for ls1043a

Signed-off-by: Ting Liu <ting.liu@nxp.com>
8 years agoqemu-qoriq: upgrade to v2.4 plus fsl patches
Ting Liu [Thu, 16 Jun 2016 08:58:01 +0000 (16:58 +0800)]
qemu-qoriq: upgrade to v2.4 plus fsl patches

Detailed commit log can be found at:
http://git.freescale.com/git/cgit.cgi/ppc/sdk/qemu.git/log/?h=sdk-v2.0.x

Signed-off-by: Ting Liu <ting.liu@nxp.com>
8 years agoqemu-qoriq: Fix runtime providers
Ting Liu [Thu, 30 Jun 2016 07:09:50 +0000 (15:09 +0800)]
qemu-qoriq: Fix runtime providers

Signed-off-by: Ting Liu <ting.liu@nxp.com>
8 years agolinux-qoriq: add a symlink zImage under /boot
Ting Liu [Fri, 15 Jul 2016 17:50:26 +0000 (01:50 +0800)]
linux-qoriq: add a symlink zImage under /boot

Signed-off-by: Ting Liu <ting.liu@nxp.com>
8 years agolinux-qoriq: add merge_delta_config task
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.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
8 years agolinux-qoriq: upgrade to 4.1 plus fsl patches
Ting Liu [Thu, 16 Jun 2016 09:07:46 +0000 (17:07 +0800)]
linux-qoriq: upgrade to 4.1 plus fsl patches

The main features are:
* Linux kernel 4.1.8
* ARM A7 (AARCH32), A53 and A57 (AARCH64), Little Endian (default)
* Power Architecture e500mc, e5500, e6500
* Multicore SMP support and multithread (e6500)
* 32-bit effective kernel addressing [e500mc, e5500, A57]
* 64-bit effective addressing [e6500, A53, A57]
* Huge Pages (hugetlbfs)
* Linux Real-Time (RT) [P4080, B4860, LS1021A]
* Kernel-based Virtual Machine (KVM)
* Libvirt 1.2.19
* Linux Containers (LXC) 1.1.4 function support

Detailed commit log 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>
8 years agolinux-qoriq: merge .inc and .bb file
Ting Liu [Thu, 30 Jun 2016 07:28:04 +0000 (15:28 +0800)]
linux-qoriq: merge .inc and .bb file

No code change.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
8 years agolinux-fslc-imx: Add simple card driver support
Breno Lima [Wed, 10 Aug 2016 17:57:52 +0000 (14:57 -0300)]
linux-fslc-imx: Add simple card driver support

Select CONFIG_SND_SIMPLE_CARD driver by default.

warp7 board needs this driver for audio to work.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc-imx: Bump revision to 59b38c32
Breno Lima [Wed, 10 Aug 2016 17:57:51 +0000 (14:57 -0300)]
linux-fslc-imx: Bump revision to 59b38c32

It includes the following changes:
59b38c32 ARM: dts: imx7s-warp: Enable BT_REG_ON

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-fslc: Bump to revision ae973bc
Daiane Angolini [Mon, 8 Aug 2016 18:13:01 +0000 (15:13 -0300)]
u-boot-fslc: Bump to revision ae973bc

It includes the following changes:

ae973bc warp7: Select secure boot
b66cb5f warp7: Modify fdt_file environment variable

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc-imx: Bump revision to b8fb01d4
Daiane Angolini [Mon, 8 Aug 2016 18:13:00 +0000 (15:13 -0300)]
linux-fslc-imx: Bump revision to b8fb01d4

This merges the 4.1.29 stable release onto the fork and the following changes:

b8fb01d ARM: dts: imx7s-warp: Add Wifi support
fe8d662 ARM: dts: imx7s-warp: Move memory node
07c4014 ARM: dts: imx7s-warp: Enable crypto
51bca3b ARM: dts: warp7: Rename the dts file
8eaed11 ARM: imx_v7_defconfig: Add simple card driver support
a2d0fba sgtl5000.c: HACK, defer probe when I2C not yet running
12ecd0e ARM: dts: imx7d-warp: Add audio support
a0fa08d ARM: dts: imx7d: Add #sound-dai-cells into sai nodes
a0f8868 ARM: dts: imx7d-warp: Add BC3770 support.
0d4b750 ARM: dts: imx7d-warp: Enable bluetooth device
4cc7e24 ARM: dts: imx7d-warp: Add User Button support
ace4c64 ARM: dts: imx7d-warp: Add NFC support
d237364 ARM: dts: imx7d-warp: Add support for precision altimeter
f9dbcc8 ARM: dts: imx7d-warp: Add support for accelerometer and magnetometer
ccdf497 ARM: dts: imx7d-warp: Add I2C4 device node, princtrl
ba38303 Merge tag 'v4.1.29' into 4.1-1.0.x-imx
c3ed55b Linux 4.1.29

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agofsl-kernel-localversion: Make sure build dir exist before create .config
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>
8 years agolinux-imx: patches to file build errors with GCC6
Lauren Post [Mon, 1 Aug 2016 22:53:33 +0000 (17:53 -0500)]
linux-imx: patches to file build errors with GCC6

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx7dsabresd: Add mipi-dsi device tree
Lauren Post [Mon, 1 Aug 2016 22:53:32 +0000 (17:53 -0500)]
imx7dsabresd: Add mipi-dsi device tree

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-imx: Upgrade to 4.1.15-1.2.0 i.MX 7Dual GA release
Lauren Post [Mon, 1 Aug 2016 22:53:31 +0000 (17:53 -0500)]
linux-imx: Upgrade to 4.1.15-1.2.0 i.MX 7Dual GA release

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-imx: Upgrade to 4.1.15-1.1.1 Patch release
Lauren Post [Mon, 1 Aug 2016 22:53:30 +0000 (17:53 -0500)]
linux-imx: Upgrade to 4.1.15-1.1.1 Patch release

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-fslc: Bump revision to 16a2670
Otavio Salvador [Wed, 3 Aug 2016 19:39:22 +0000 (16:39 -0300)]
u-boot-fslc: Bump revision to 16a2670

This backport following changes from upcoming 2016.09 release:

16a2670 arm: imx: Add support for Advantech DMS-BA16 board
b5e61c4 mx7dsabresd: Print secure/non-secure mode info
28830fe mtd: nand: mxs: fix cache alignment for cache lines >32

Change-Id: I332effe171f58f814f5f525e835b22f6e54e5601
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-fslc: Bump to revision e38d99f
Otavio Salvador [Mon, 1 Aug 2016 17:06:41 +0000 (14:06 -0300)]
u-boot-fslc: Bump to revision e38d99f

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>
8 years agoglmark2: Add XWayland support
Tom Hochstein [Wed, 27 Jul 2016 17:32:03 +0000 (12:32 -0500)]
glmark2: Add XWayland support

If DISTRO_FEATURES contains x11 and wayland, configure the package
for a Wayland backend.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoglmark2: Don't include OpenGL ES 2.0 support for Wayland backend on i.MX 6SoloLite
Tom Hochstein [Wed, 27 Jul 2016 17:32:02 +0000 (12:32 -0500)]
glmark2: Don't include OpenGL ES 2.0 support for Wayland backend on i.MX 6SoloLite

The i.MX 6SoloLite has no 3D support, so don't build glmark2 with OpenGL
ES 2.0 support.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agogstreamer1.0-plugins-imx: Avoid warning about missing build dependency for G2D
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>
8 years agogstreamer1.0-plugins-imx: Update to version 0.12.2
Carlos Rafael Giani [Thu, 28 Jul 2016 06:54:28 +0000 (08:54 +0200)]
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>
8 years agolinux-fslc-imx: Bump revision to 0c0844f
Fabio Berton [Fri, 22 Jul 2016 14:03:41 +0000 (11:03 -0300)]
linux-fslc-imx: Bump revision to 0c0844f

This includes following change:

  - 0c0844f 4.1.28 Fix bad backport of 8f182270dfec "mm/swap.c: flush lru
    pvecs on compound page arrival"

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-fslc: Bump revision to 9da4a42
Fabio Berton [Thu, 21 Jul 2016 20:25:42 +0000 (17:25 -0300)]
u-boot-fslc: Bump revision to 9da4a42

This includes following changes:

  - 9da4a42 Revert "imx_common: Return MMCSD_MODE_FS in spl_boot_mode() also for EXTFS"
  - 7be8ff4 serial_mxc: Remove unconditional DCE setting
  - 6dec211 mx6: clock: Fix the logic for reading axi_alt_sel
  - 68f2c3e Revert "arch-mx6: fix MX6_PAD_DECLARE macro to work with MX6 duallite"
  - 2fd99ea imx_watchdog: add weak attribute to reset_cpu function
  - c782384 mx7_common: use Kconfig for ARMv7 non-secure mode
  - b8cc70e mx7_common: Put display board info config into board file
  - 72a9967 mx7: set soc environment according to exact SoC type
  - ff3ecc4 usb: ehci-mx6: introduce config for high active power pin
  - 97488b5 usb: ehci-mx6: configure power polarity in usb_power_config
  - ce0c796 usb: move CONFIG_USB_EHCI_MX7 to Kconfig
  - e22ac58 dm: imx: serial: Support DTE mode when using driver model
  - 65db95b warp7: Remove CONFIG_BOOTDELAY variable
  - 1231d04 ARM: configs: cm_fx6: add mtd support
  - 14619b5 ARM: board: cm_fx6: fixup mtd partitions in the fdt
  - 9fa3af0 fdt_support: define stub for fdt_fixup_mtdparts
  - f1a2b56 ARM: configs: cm_fx6: improve default environment
  - d1e28f0 pico-imx6ul: Add PMIC support
  - 292806e wandboard: move environment partition farther from u-boot.img
  - 8b5df31 Revert conversion for config_distro_bootcmd.h
  - 9222180 Merge pull request #11 from Kynetics/2016.07+fslc
  - 1207b97 warp: Change default bootenv configuratio

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx-kobs: Allow kobs-ng to flash the SPL on the 4.x kernel
Fabio Berton [Tue, 19 Jul 2016 12:18:19 +0000 (09:18 -0300)]
imx-kobs: Allow kobs-ng to flash the SPL on the 4.x kernel

Add function to check if kernel support raw_mode and fix function that
calculates the geometry based on known info from the mtd partitionmtd
geometry.

These patches were copied from:
https://github.com/Gateworks/openwrt/commit/379e87df4fb67198fe900ffe2a394e69fbd47801

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimage_types_fsl.bbclass: Ensure i.MX23 and i.MX28 image stream are available
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>
8 years agoimage_types_fsl.bbclass: Allow sdcard dependencies to be set
Otavio Salvador [Sat, 16 Jul 2016 12:47:12 +0000 (09:47 -0300)]
image_types_fsl.bbclass: Allow sdcard dependencies to be set

Instead of resetting the sdcard dependencies, we append them. This
allow those to be set before class inherit.

Change-Id: I588a549abfe756fea38d0133c5c21ef06dfcb230
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agot2080: switch to new UBOOT_CONFIG format
Ting Liu [Fri, 15 Jul 2016 16:35:59 +0000 (00:35 +0800)]
t2080: switch to new UBOOT_CONFIG format

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agot104x: switch to new UBOOT_CONFIG format
Ting Liu [Fri, 15 Jul 2016 16:35:58 +0000 (00:35 +0800)]
t104x: switch to new UBOOT_CONFIG format

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agot1024: switch to new UBOOT_CONFIG format
Ting Liu [Fri, 15 Jul 2016 16:35:57 +0000 (00:35 +0800)]
t1024: switch to new UBOOT_CONFIG format

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agot1023: switch to new UBOOT_CONFIG format
Ting Liu [Fri, 15 Jul 2016 16:35:56 +0000 (00:35 +0800)]
t1023: switch to new UBOOT_CONFIG format

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agop5040: switch to new UBOOT_CONFIG format
Ting Liu [Fri, 15 Jul 2016 16:35:55 +0000 (00:35 +0800)]
p5040: switch to new UBOOT_CONFIG format

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agop5020: switch to new UBOOT_CONFIG format
Ting Liu [Fri, 15 Jul 2016 16:35:54 +0000 (00:35 +0800)]
p5020: switch to new UBOOT_CONFIG format

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agop4080ds: switch to new UBOOT_CONFIG format
Ting Liu [Fri, 15 Jul 2016 16:35:53 +0000 (00:35 +0800)]
p4080ds: switch to new UBOOT_CONFIG format

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agop3041ds: switch to new UBOOT_CONFIG format
Ting Liu [Fri, 15 Jul 2016 16:35:52 +0000 (00:35 +0800)]
p3041ds: switch to new UBOOT_CONFIG format

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agop2041rdb: switch to new UBOOT_CONFIG format
Ting Liu [Fri, 15 Jul 2016 16:35:51 +0000 (00:35 +0800)]
p2041rdb: switch to new UBOOT_CONFIG format

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agohv-cfg: not set HV_CFG_M in machine conf
Ting Liu [Fri, 15 Jul 2016 16:35:50 +0000 (00:35 +0800)]
hv-cfg: not set HV_CFG_M in machine conf

It is simple to do it in hv-cfg recipe.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agohv-cfg: update to 348748b
Ting Liu [Fri, 15 Jul 2016 16:35:49 +0000 (00:35 +0800)]
hv-cfg: update to 348748b

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>
8 years agoremove obsolete UBOOT_SOURCE_* variables in machine file
Ting Liu [Fri, 15 Jul 2016 16:35:48 +0000 (00:35 +0800)]
remove obsolete UBOOT_SOURCE_* variables in machine file

u-boot has switched to the new UBOOT_CONFIG format. These variables
are useless now.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-qoriq: Add host compiler flags
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.

(From OE-Core rev: 7d0edf5d04fba0b642bfb08a1de28fbc8e480209)

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-qoriq: set LOCALVERSION to +fsl
Ting Liu [Fri, 15 Jul 2016 16:35:46 +0000 (00:35 +0800)]
u-boot-qoriq: set LOCALVERSION to +fsl

SDK_VERSION defaults to nodistro.0 which is not expected in
this recipe.
Also adjust the location of some settings, no code change.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-qoriq: add DEPENDS for qoriq-arm64
Ting Liu [Fri, 15 Jul 2016 16:35:45 +0000 (00:35 +0800)]
u-boot-qoriq: add DEPENDS for qoriq-arm64

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-qoriq: remove duplicate settings with oe-core
Ting Liu [Fri, 15 Jul 2016 16:35:44 +0000 (00:35 +0800)]
u-boot-qoriq: remove duplicate settings with oe-core

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-qoriq: switch to new UBOOT_CONFIG format
Ting Liu [Fri, 15 Jul 2016 16:35:43 +0000 (00:35 +0800)]
u-boot-qoriq: switch to new UBOOT_CONFIG format

By using the new UBOOT_CONFIG format, the final u-boot binary will be
configured in machine config file, and will be processed in upstream
u-boot.inc.

Remove the codes to copy final u-boot binary, and append the special
steps which need boot-format/byte_swap tool to regenerate the binary.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-qoriq: upgrade to 2016.01 plus fsl patches
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>
8 years agols1043ardb: add machine file
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>
8 years agols2080ardb: Add machine file
Zongchun Yu [Fri, 15 Jul 2016 16:31:29 +0000 (00:31 +0800)]
ls2080ardb: Add machine file

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>
8 years agoqoriq-base.inc: append image_types_uboot to IMAGE_CLASSES
Ting Liu [Fri, 15 Jul 2016 16:31:28 +0000 (00:31 +0800)]
qoriq-base.inc: append image_types_uboot to IMAGE_CLASSES

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoqoriq-base.inc: update MACHINE_EXTRA_RECOMMENDED
Ting Liu [Fri, 15 Jul 2016 16:31:27 +0000 (00:31 +0800)]
qoriq-base.inc: update MACHINE_EXTRA_RECOMMENDED

* use += to append, instead of ?=
* udev-rules-qoriq is not needed for all the qoriq boards, remove it.
* add udev-extraconf and kernel-modules.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoqoriq-arm64.inc: add
Ting Liu [Fri, 15 Jul 2016 16:31:26 +0000 (00:31 +0800)]
qoriq-arm64.inc: add

move KERNEL_IMAGETYPE setting from qoriq-base.inc as qoriq-arm64
has a different value.

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoqoriq-ppc.inc: rm UBOOT_ENTRYPOINT setting
Ting Liu [Fri, 15 Jul 2016 16:31:25 +0000 (00:31 +0800)]
qoriq-ppc.inc: rm UBOOT_ENTRYPOINT setting

qoriq ppc boards don't need this variable being set.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoqoriq-arm/qoriq-ppc: rm MKUBIFS_ARGS/UBINIZE_ARGS setting
Ting Liu [Fri, 15 Jul 2016 16:31:24 +0000 (00:31 +0800)]
qoriq-arm/qoriq-ppc: rm MKUBIFS_ARGS/UBINIZE_ARGS setting

The value for two variables is specific to each board. They should be
added in machine configure file after being verified on each board.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoqoriq-arm/qoriq-ppc: adjust MACHINEOVERRIDES
Ting Liu [Fri, 15 Jul 2016 16:31:23 +0000 (00:31 +0800)]
qoriq-arm/qoriq-ppc: adjust MACHINEOVERRIDES

Adjust the order of qoriq/qoriq-arm/qoriq-ppc.
Old: e500mc:qoriq:p4080ds:qoriq-ppc
New: qoriq:qoriq-ppc:e500mc:p4080ds

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoqoriq-arm.inc: move DEFAULTTUNE/UBOOT_ENTRYPOINT to ls1021atwr.conf
Ting Liu [Fri, 15 Jul 2016 16:31:22 +0000 (00:31 +0800)]
qoriq-arm.inc: move DEFAULTTUNE/UBOOT_ENTRYPOINT to ls1021atwr.conf

the specific values are for ls1021atwr.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agomanagement-complex: Add recipe
Zongchun Yu [Fri, 15 Jul 2016 16:28:40 +0000 (00:28 +0800)]
management-complex: Add recipe

Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agols2-phy: Add recipe
Zongchun Yu [Fri, 15 Jul 2016 16:28:39 +0000 (00:28 +0800)]
ls2-phy: Add recipe

Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agols2-rcw: Add recipe
Zongchun Yu [Fri, 15 Jul 2016 16:28:38 +0000 (00:28 +0800)]
ls2-rcw: Add recipe

Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agodpl-examples: Add recipe
Zongchun Yu [Fri, 15 Jul 2016 16:28:37 +0000 (00:28 +0800)]
dpl-examples: Add recipe

Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agorestool: Add recipe
Zongchun Yu [Fri, 15 Jul 2016 16:28:36 +0000 (00:28 +0800)]
restool: Add recipe

Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoppa: add recipe
Chunrong Guo [Fri, 15 Jul 2016 16:28:35 +0000 (00:28 +0800)]
ppa: add recipe

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agochange-file-endianess: keep 8 byte alignment
Yuan Yao [Fri, 15 Jul 2016 16:28:34 +0000 (00:28 +0800)]
change-file-endianess: keep 8 byte alignment

Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-fslc: Bump revision to 20b081a
Otavio Salvador [Thu, 14 Jul 2016 17:18:37 +0000 (14:18 -0300)]
u-boot-fslc: Bump revision to 20b081a

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>
8 years agolinux-fslc-imx: Fix description as the kernel is not i.MX6 specific
Otavio Salvador [Thu, 14 Jul 2016 11:17:37 +0000 (08:17 -0300)]
linux-fslc-imx: Fix description as the kernel is not i.MX6 specific

The kernel now supports other SoCs so the description was
misleading. This fixes it.

Change-Id: I3683b387c7126f3fa4d21c960a7687f57e7ef696
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc-imx: Bump revision to 00850640
Otavio Salvador [Thu, 14 Jul 2016 11:02:57 +0000 (08:02 -0300)]
linux-fslc-imx: Bump revision to 00850640

This merges the 4.1.28 stable release onto the fork.

Change-Id: I0ba89e18a0f59cdb88cc1a73abee6cf2a64b4079
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc-imx: Bump revision to 77f6154
Otavio Salvador [Thu, 14 Jul 2016 10:47:05 +0000 (07:47 -0300)]
linux-fslc-imx: Bump revision to 77f6154

This merges the 4.1.15-1.2.0 GA release onto the Linux FSLC fork. It
includes following changes:

77f6154 MLK-12948 ARM: dts: imx7d-sdb: change the hardware reset gpio for mipi dsi
042fabd MLK-12946 media: pxp-v4l2: correct the 32 bpp pixel format passed to pxp
801b839 mmc: mmc: fix switch timeout issue caused by jiffies precision
38ed99e mmc: core: fix __mmc_switch timeout caused by preempt
c6c8f8d MLK-12934-2 mmc: sdhci-esdhc-imx: do not touch other bit when config DTOCV
6905ad8 MLK-12934-1 mmc: sdhci-esdhc-imx: correct the max timeout count
a7f1dc6 MLK-12944 fix makefile miss imx7d-12x12-lpddr3-arm2-pcie.dtb
470f930 MLK-12935 ARM: imx: switch system counter clock to 32K in suspend
d86edca MLK-12902: usdhc: Revert "MLK-11685-5 mmc: sdhci-esdhc-imx: no need busfreq for imx6qdl"
fc72198 MLK-12899-2 video: mipi_dsi_samsung: add panel 'TFT3P5581' driver.
e01451b MLK-12899-1 ARM: dts: imx7d-sdb: add dts support for panel 'TFT3P5581'.
9a38200 MLK-12901-3 video: mipi_dsi_samsung: alwasy use video mode to transfer data and cmds.
c88b735 MLK-12901-2 video: mipi_dsi_samsung: add 10msec delay after all the pkt write operation.
f154b5e MLK-12901-1 video: mipi_dsi_samsung: correct the hardware reset calling position.
30b8226 MLK_12886-2 video: mxsfb: handle the assert gpio in driver to support deferred probe
f0fdb61 MLK-12886-1 ARM: dts: imx7d-sdb: the assert gpio for lcdif should be active low
c1d7c35 MLK-12898: ov5640 mipi: Add more delay to wait sensor stable
bbe0e5a MLK-12880 arm: dts: imx7d: correct the PAD_GPIO1_IO01 pin ctrl setting
c29dda8 MLK-12876: mipi csi: Remove regulator enable code when driver probe
d95d2e8 MLK-12860-4 usb: chipidea: imx: add HSIC support for imx7d
abc9926 MLK-12860-3 ARM: imx: gpcv2: add reg_1p2's notifier
85d2f3f MLK-12860-2 ARM: dts: add imx7d 12x12 ARM2 ddr3 board dts
b104675 MLK-12860-1 ARM: dts: imx7d: add vcc-supply at gpc node
e28ae27 MLK-12861-2 ARM: imx: enable necessary clock for RDC resume on i.mx7d
02a2e8d MLK-12861-1 ARM: imx: support runtime clock management on i.mx7d when M4 is enabled
059449a MGS-1851 [#2332] fix the integer id resource leak
7b3c314 MLK-12795 pinctrl: imx: fix initialization of imx_pinctrl_desc
1c60143 MLK-12781 ARM: dts: imx7d-12x12-lpddr3-arm2: add pinctrl for usb vbus
aca1386 MLK-12695 dma: pxp-v2: fixing the mismatch calls of pm_runtime suspend/resume
3455774 MLK-12669-2 dma: pxp-v3: add 'ipg' and 'axi' clocks
9e04de3 MLK-12699-1 ARM: imx7d: clk: add two clocks definition for pxp
2b25e7d MLK-12622: mtd: gpmi: fix the issue in legacy bch support
c479a94 MLK-12602: Documentation: gpmi-nand: legacy bch geometry option for NAND
5102a01 MLK-12601: mtd: gpmi: provide the option to use legacy bch geometry
30c1b15 MLK-12421 usb: chipidea: fix build warning if disable CONFIG_USB_CHIPIDEA_HOST
a49b611 MLK-12509-3 video: mipi_dsi_samsung: add build support for TFT3P5079E panel.
0038221 MLK-12509-2 video: mipi_dsi_samsung: add 'TFT3P5079E' panel driver.
e3a5bdf MLK-12509-1 video: mipi_dsi_samsung: create a new dts for mipi dsi.
83f0dd3 MLK-12449: mtd: gpmi: fix integer overflow issue
4198b7b MLK-12448: mtd: gpmi: fix nand double free issue
8b38103 MLK-12371: ARM: imx: suspend-imx7: correct HW_ANADIG_SNVS_MISC_CTRL set
5db98a4 MLK-12420 fix potential head list corruption.
e6ea96a MLK-12731-2 ARM: dts: Makefile: add dts entry for imx6q-arm2-hsic
b1e060d MLK-12731-1 usb: chipidea: imx: add missing HSIC initialization for imx6qdl/sl
3268392 MLK-12688-02: arm dts: Add csis-clk-settle property
9504f74 MLK-12688-01: mipi csi: Add clk_settle setting
517f750 MLK-12432-03: arm: dts: Replace ov5647 mipi sensor with ov5640
488fd31 MLK-12432-02: capture: Add support for mipi input
c02abe7 MLK-12432-01: ov5640 mipi: support more platform and reduce support mode
9f0881f MLK-12763 ARM: imx7d: iomux: correct uart input sel option value
07c9f26 MLK-12765 ARM: imx: make sure DLL is locked on i.MX7D
a38a53d MLK-12748-3 ARM: imx: adjust imx7d lpddr3 retention exit flow
adfc24c MLK-12748-2 ARM: imx: remove IOMUXC GPR setting for i.mx7d TO1.2
07184c5 MLK-12748-1 ARM: dts: imx7d: correct usdhc1 cd pin setting
8ad5988 MLK-12761 ARM: imx: add mu as wakeup source for i.mx7d
cf0a95b MLK-11262-5: ARM: imx: Change A7 MU ready timing

Change-Id: Id25f069f639654a104bcd17c5b354335b95e7d64
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc-imx: Fix DESCRIPTION to mention 4.1.15-1.0.0 GA as based
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>
8 years agogstreamer1.0-plugins-bad: Remove PACKAGE_ARCH override for i.MX7 and i.MX6UL
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>
8 years agogstreamer1.0-plugins-bad: remove patch
Max Krummenacher [Sat, 9 Jul 2016 09:25:08 +0000 (11:25 +0200)]
gstreamer1.0-plugins-bad: remove patch

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

Updated to 1.8 in oe-core:
http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-multimedia/gstreamer?id=6a326f2b37b0b49e1144428becda32400498c024

or the poky git:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-multimedia/gstreamer?id=79ca8d031e5a706f00d5c97ba23b496e6d700b7e

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-fslc: Upgrade to 2016.07-based fork
Otavio Salvador [Thu, 30 Jun 2016 16:51:39 +0000 (13:51 -0300)]
u-boot-fslc: Upgrade to 2016.07-based fork

This upgrades for the upcoming 2016.07 release. This is based on top
of 2016.07-rc3 plus i.MX pending patches.

Change-Id: I6abdde5f7ada253f62c3adc884a497888a609db8
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx7dsabresd: Fix the boot of a NXP kernel
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>
8 years agolinux-fslc-imx: Bump to revision 960f493
Otavio Salvador [Mon, 4 Jul 2016 17:35:37 +0000 (14:35 -0300)]
linux-fslc-imx: Bump to revision 960f493

This merges the 4.1.26 stable release and include following change:

960f493 of: Allow NXP 4.1 kernel to allocate memory on 2GiB RAM boards

Change-Id: Iacc788ccc36920f9ce7292ece5ce2e9ac210beb2
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc-imx: Disable Vivante GPU support
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>
8 years agofsl-vivante-kernel-driver-handler.bbclass: Allow build for non-i.MX6
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>
8 years agoimx-base.inc: Use linux-fslc-imx for i.MX6UL
Otavio Salvador [Mon, 4 Jul 2016 16:59:04 +0000 (13:59 -0300)]
imx-base.inc: Use linux-fslc-imx for i.MX6UL

Change-Id: I5e075f683e6f39bc2f2e1058eacdbef371a37abf
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx-base.inc: Use linux-fslc-imx for i.MX7
Otavio Salvador [Mon, 4 Jul 2016 16:58:17 +0000 (13:58 -0300)]
imx-base.inc: Use linux-fslc-imx for i.MX7

Change-Id: I6ef0574f3be9a3afd76ed4fbf36dbefab1e207ad
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-fslc: Bump revision to 3106462
Otavio Salvador [Thu, 30 Jun 2016 16:20:23 +0000 (13:20 -0300)]
u-boot-fslc: Bump revision to 3106462

This includes following fixes:

3106462 mx7dsabresd: Fix the boot of a NXP kernel
401468c mx7: Place MX7_SEC option in Kconfig

Change-Id: If54a89f104a6d340df911c43ba4b22f526aa6c65
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoipc.inc: merge into ipc-ust and kernel-module-ipc
Ting Liu [Thu, 14 Jul 2016 16:11:04 +0000 (00:11 +0800)]
ipc.inc: merge into ipc-ust and kernel-module-ipc

Make it possible to seperate ipc userspace and kernel codes in future.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agokernel-module-ipc: not use SOC variable
Ting Liu [Thu, 14 Jul 2016 16:11:03 +0000 (00:11 +0800)]
kernel-module-ipc: not use SOC variable

bsc913x are not supported now.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoipc-ust: not use IPC_UST_SOC variable
Ting Liu [Thu, 14 Jul 2016 16:11:02 +0000 (00:11 +0800)]
ipc-ust: not use IPC_UST_SOC variable

bsc913x are not supported now.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoipc: update to 74d6627
Ting Liu [Thu, 14 Jul 2016 16:11:01 +0000 (00:11 +0800)]
ipc: update to 74d6627

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>
8 years agoremove not supported e500v2 machines
Ting Liu [Thu, 14 Jul 2016 16:11:00 +0000 (00:11 +0800)]
remove not supported e500v2 machines

Remove the below machines which are not supported/tested:
bsc9131rdb, bsc9132qds, p1010rdb, p1020rdb, p1021rdb, p1022ds
p1023rdb, p1025twr, p2020rdb

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolibimxvpuapi: use libdir from cross environment
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>
8 years agoimx-base: Add MACHINE_SOCARCH_FILTER for mx6ul and mx7d
Lauren Post [Mon, 20 Jun 2016 10:26:02 +0000 (05:26 -0500)]
imx-base: Add MACHINE_SOCARCH_FILTER for mx6ul and mx7d

Add missing MACHINE_SOCARCH_FILTER for mx6ul and 7d to include imx multimedia

Signed-off-by: Lauren Post <lauren.post@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx-base: Specific 7d for MACHINE_SOCARCH_SUFFIX
Lauren Post [Mon, 20 Jun 2016 10:26:01 +0000 (05:26 -0500)]
imx-base: Specific 7d for MACHINE_SOCARCH_SUFFIX

Future mx7 will need separate SOCARCH_SUFFIX so don't apply to all mx7

Signed-off-by: Lauren Post <lauren.post@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx-base: Remove XSERVER_DRIVER_mx6ul - default case will work
Lauren Post [Mon, 20 Jun 2016 10:26:00 +0000 (05:26 -0500)]
imx-base: Remove XSERVER_DRIVER_mx6ul - default case will work

mx6ul is not mx6 so default case applies.  This is redundant

Signed-off-by: Lauren Post <lauren.post@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoweston: Fix weston window manager for i.MX 6UltraLite
Tom Hochstein [Mon, 13 Jun 2016 18:14:39 +0000 (13:14 -0500)]
weston: Fix weston window manager for i.MX 6UltraLite

The weston window manager failed to start on i.MX 6UltraLite EVK.

6UL has no GPU, so we need to use pixman. Fixed by removing
EGL/GLES support, and by configuring to use Framebuffer backend
as native.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agofsl-kernel-localversion: Configure kernel in a separate task
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>
8 years agoMove some recipes to dynamic-layers folder
Zhenhua Luo [Tue, 14 Jun 2016 03:54:47 +0000 (11:54 +0800)]
Move some recipes to dynamic-layers folder

The following packages depend on extend Yocto community layers, move related
recipes to dynamic-layers.
* ipsec-demo asf fmc usdpaa-apps web-sysmon

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoeudev: make eudev bbappend version generic
Zhenhua Luo [Tue, 14 Jun 2016 03:54:46 +0000 (11:54 +0800)]
eudev: make eudev bbappend version generic

eudev_3.1.5.bbappend -> eudev_%.bbappend

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-qoriq: exclude DATETIME from vardepsexclude of ZIMAGE_BASE_NAME to fix taskhash...
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>
8 years agou-boot: fix build error under gcc6
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>
8 years agolinux-qoriq: fix build issue under gcc6
Zhenhua Luo [Fri, 3 Jun 2016 07:49:37 +0000 (15:49 +0800)]
linux-qoriq: fix build issue under gcc6

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoskmm-ep: fix the build error caused by duplicated definition
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>
8 years agoipc-ust: skip two insane check
Zhenhua Luo [Fri, 3 Jun 2016 07:49:35 +0000 (15:49 +0800)]
ipc-ust: skip two insane check

Fix the following build issues:
1. WARNING: ipc-ust-git-r0 do_package_qa: QA Issue: /ipc/ipc_test contained in
   package ipc-ust requires libmem.so, but no providers found in
   RDEPENDS_ipc-ust? [file-rdeps]
2. ERROR: ipc-ust-git-r0 do_package_qa: QA Issue: -dev package contains
   non-symlink .so: ipc-ust-dev path
   'work/ppce6500-poky-linux/ipc-ust/git-r0/packages-split/ipc-ust-dev/lib/libipc.so'

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agopkc-host: disable -Werror
Zhenhua Luo [Fri, 3 Jun 2016 07:49:34 +0000 (15:49 +0800)]
pkc-host: disable -Werror

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoeth-config: fix host contamination warnings
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>