]> code.ossystems Code Review - meta-freescale.git/log
meta-freescale.git
9 years agokernel-module-ceetm: rename back to ceetm
Ting Liu [Sat, 9 Jan 2016 06:43:14 +0000 (14:43 +0800)]
kernel-module-ceetm: rename back to ceetm

ceetm ships not only ceetm.ko, but also q_ceetm.so. Rename back to
ceetm

As the recipe inherits module.bbclass, kernel-module-ceetm will be
created to package ceetm.ko if it is installed into /lib/modules/.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoceetm: update COMPATIBLE_MACHINE for t104x
Ting Liu [Sat, 9 Jan 2016 06:43:13 +0000 (14:43 +0800)]
ceetm: update COMPATIBLE_MACHINE for t104x

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoar: update COMPATIBLE_MACHINE for t104x
Ting Liu [Sat, 9 Jan 2016 06:43:12 +0000 (14:43 +0800)]
ar: update COMPATIBLE_MACHINE for t104x

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1042d4rdb-64b: build usdpaa/usdpaa-shared-interfaces dtb
Ting Liu [Sat, 9 Jan 2016 06:43:11 +0000 (14:43 +0800)]
t1042d4rdb-64b: build usdpaa/usdpaa-shared-interfaces dtb

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1042d4rdb: build usdpaa/usdpaa-shared-interfaces dtb
Ting Liu [Sat, 9 Jan 2016 06:43:10 +0000 (14:43 +0800)]
t1042d4rdb: build usdpaa/usdpaa-shared-interfaces dtb

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1040d4rdb-64b: build usdpaa/usdpaa-shared-interfaces dtb
Ting Liu [Sat, 9 Jan 2016 06:43:09 +0000 (14:43 +0800)]
t1040d4rdb-64b: build usdpaa/usdpaa-shared-interfaces dtb

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1040d4rdb: build usdpaa/usdpaa-shared-interfaces dtb
Ting Liu [Sat, 9 Jan 2016 06:43:08 +0000 (14:43 +0800)]
t1040d4rdb: build usdpaa/usdpaa-shared-interfaces dtb

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agols1021atwr: support QSPI and IFC in SD boot
Ting Liu [Sat, 9 Jan 2016 06:43:07 +0000 (14:43 +0800)]
ls1021atwr: support QSPI and IFC in SD boot

QSPI and IFC are both supported in SD boot. Build two SD boot images,
one supports IFC; the other supports QSPI.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot4160qds: build secure-boot u-boot
Ting Liu [Sat, 9 Jan 2016 06:43:06 +0000 (14:43 +0800)]
t4160qds: build secure-boot u-boot

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agob4860qds-64b: remove UBOOT_MACHINES setting
Ting Liu [Sat, 9 Jan 2016 06:43:05 +0000 (14:43 +0800)]
b4860qds-64b: remove UBOOT_MACHINES setting

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1023rdb-64b: build nor u-boot
Ting Liu [Sat, 9 Jan 2016 06:43:04 +0000 (14:43 +0800)]
t1023rdb-64b: build nor u-boot

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1023rdb: build nor u-boot
Ting Liu [Sat, 9 Jan 2016 06:43:03 +0000 (14:43 +0800)]
t1023rdb: build nor u-boot

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-qoriq: support kernel delta defconfig managed in recipe folder
Zhenhua Luo [Sat, 9 Jan 2016 06:43:02 +0000 (14:43 +0800)]
linux-qoriq: support kernel delta defconfig managed in recipe folder

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-qoriq: update LOCALVERSION
Ting Liu [Sat, 9 Jan 2016 06:43:01 +0000 (14:43 +0800)]
linux-qoriq: update LOCALVERSION

Don't set LOCALVERSION options in .config as this will result in version
mismatch between uImage and kernel modules which packaged in rootfs.

This happens when using uImage built standalone toolchain + rootfs built
by Yocto.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-qoriq: save the merged .config as ${WORKDIR}/defconfig
Ting Liu [Sat, 9 Jan 2016 06:43:00 +0000 (14:43 +0800)]
linux-qoriq: save the merged .config as ${WORKDIR}/defconfig

In fsl-kernel-localversion.bbclass, ${B}/.config will be regenerated
based on ${WORKDIR}/defconfig. Save the merged .config to avoid issue.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-qoriq: update to commit 43cecda
Ting Liu [Sat, 9 Jan 2016 06:42:59 +0000 (14:42 +0800)]
linux-qoriq: update to commit 43cecda

New commits imported:
43cecda fmd: remove cc-aging support
867551d fmd: relocate aging_support field to maintain compatibility
08d3161 Merge pull request #75 in SDK/linux-devel from ~R52568/linux-devel:hotfix/QLINUX-3938-fmd-ioc_compat_fm_pcd_kg_scheme_spc_t to master
1cf7b57 fmd: PCD: fix offline port blocked by fragmented IPV6
295abbb fmd: move compat_copy_fm_pcd_kg_scheme_spc out of DPAA 11 def
976b0aa fmd: PCD: fix offline port blocked by fragmented IPV6
b242e9c fmd: Add support for IPF after HMan
fd8e7c7 Merge pull request #69 in SDK/linux-devel from ~R27762/linux-devel:add_hm_node_stats to master
1c291fd Merge pull request #72 in SDK/linux-devel from ~B56421/linux-devel_sdk_ip-usb:bugfix/QSDK-2454 to master
50eea51 Merge pull request #48 in SDK/linux-devel from ~R52568/linux-devel:bugfix/QLINUX-3822-monitoring-any-match-inside-hash to master
dd05648 arm: dts: ls1021a: Add dma-coherent property to usb3 node
e8c288e drivers: dwc3: Set dma ops for xhci dev
56afee9 drivers: dwc3 : Add support for USB snooping
3f83306 drivers: dwc3: host: Change burst beat and outstanding pipelined transfers requests.
1666d68 fmd: add ioctl call to retrieve scheme counter - spc
a9d0ea5 fmd: Render header manip node statistics available in user space
e176e3f fmd: fix compat layer for aging_support
3a8d082 Merge pull request #65 in SDK/linux-devel from ~R01356/linux-devel:bugfix/QUSDPA-704-segfault-in-dma_mem-allocator.c to master
a57ffba Merge pull request #64 in SDK/linux-devel from ~B06830/linux-devel:bugfix/QSDK-2404-cryptodev-linux-sha1-offloading to master
0586472 Merge pull request #63 in SDK/linux-devel from ~B29983/linux-devel-tyt:QSDK-2438-there-is-some-improper-information to master
61f0e11 Merge pull request #61 in SDK/linux-devel from ~R54964/linux-devel:bug-fix to master
cfb981f dev-exporting dev functions to support ceetm
e98f36e fsl_usdpaa: Remove TLB entries when unmapping memory
8700bab crypto: caam - Change kmalloc to kzalloc to avoid residual data
4fd8cac crypto: caam - fix memory corruption in ahash_final_ctx
16d4087 crypto: caam - Fix incorrect size when DMA unmapping buffer
270c770 crypto: caam - improve initalization for context state saves
67ef9d13 crypto: caam - enable LARGE_BURST for enhancing DMA transactions size
2c27666 crypto: caam - make write transactions bufferable on PPC platforms
418316c cpufreq: qoriq: fix output information error
300c3ff fsl-qbman: Handle memory leaks
56e16e2 fsl-pme: Check for null pointers
3ac31aa fsl-dce: Handle memory allocation failures
e11b65b fsl-dce: Correct error paths and add new labels
ea1259d fsl_qbman: null check for lni in qman_ceemt_sp_release
e82a761 fmd: fix locks in ModifyKey function
dedb4b3 fmd: support aging in CC
0506053 pci/layerscape: Do not check link status
e03bbdd asf_tcp_nf: Patch to correct typecast in tcp timestamp copy.
91aade9 Revert "gianfar: Add dma transfer endian property support"
03dd666 kconfig-asf : asf_qos disabled with asf by default
b8d41cb dev-asf-qos - correcting the qos hooks for dpaa linux qos
18b0779 dpaa_eth: fix bpool seeding for advanced drivers
7faf498 net, gianfar, rt: Update TX_TIMEOUT to 5HZ
502650e net, rt: limit net_rx napi calls in threaded ISR context
e37ce25 powerpc/t1040/dts: Add interrupts for PHYs connected to L2 Switch ports
6da728b fmd: support aging in CC
5cd3a8f fmd: fix policer spelling issues
b5d9899 fmd: Remove FM_PORT_PcdPrsModifyStartOffset routine - not supported
4c642e7 fsl_qbman: enable sending cscn to dcp for old qman revision
b8887bd t4240dts: correct the ceetm node
f33567a dpaa_eth: Add a configurable dpa_tx call
e48b858 mmc: sdhci-of-esdhc: fix compile error on ARM platform
fb9a06b QorIQ/TMU: add TMU node to device tree for QorIQ T1023/T1024
4fbd4cf QorIQ/TMU: add thermal management support based on TMU
a9463a3 QorIQ/TMU: add TMU node to device tree for QorIQ T1040/T1042
6b43e2b thermal: fix cpu_cooling max_level behavior
f0a70b9 mmc: sdhci-of-esdhc: add SDR50 mode support for SD/MMC Legacy Adapter Card
9ac6075 mmc: esdhc: add eMMC45 Adapter Card HS200 mode support
e89634e QorIQ/TMU: add TMU node to device tree for LS1021A
fd1b282 Merge branch 'feature/LS1-for-SDK' of ssh://sw-stash.freescale.net/dnnpi/ls1-linux-jason into LS1-SDKV04-SDK1.9
8d3a3ca t104xd4rdb: add DS26522 nodes to device tree
aaa395f Merge branch 'qoriq-sdk' into LS1-SDK-Rev2.0
ec78b41 arm: ls1021a: mask interrupts before entering deep sleep
13d0daf arm: dts: ls1021a: Add transfer mode property in DSPI2 node
6f50fc1 arm: dts: ls1021atwr: Enable DSPI2 dts node
7a6dba4 arm: ls1021a: change the order of setting PMC interrupt registers
4e61417 crypto: caam - fix SEC ERA reading
bcd5862 crypto: caam - fix snooping for write transactions
eec616d1 arm/dts: Add node for ina220 on LS1021ATWR-Rev
3915d65 arm/defconfig: Add Atheros AT803X PHYs support
e364aa2 QE/HDLC: modify QE-HDLC for both ARM and POWERPC
bb21962 Test patch: Enable CAN SoC level loopback
a4c59bc arm/dts: Add nodes for flexcan devices present on LS1021A-Rev2 SoC
6e9c5a3 can: flexcan: Add support for non RX-FIFO mode
c466de8 can: flexcan: Remodel FlexCAN register r/w APIs for BE instances
306f67c can: flexcan: Add ls1021a flexcan device entry
7e71163d doc/bindings: Add 'endianess' optional-property for FlexCAN controller
1795472 Revert 'can: flexcan: Add ls1021a flexcan device entry'
863d717 Revert 'net: can: Remodel FlexCAN register read/write APIs for BE instances'
41cfacd Revert 'can: flexcan: Add support for non RX-FIFO mode and conditional ERRATA ERR005829 handling'
8d04086 mmc: sdhci: more efficient interrupt enable register handling
e08d8bf pci/layerscape: update MSI code for ls1021 rev2 MSI support
d217d96 mmc: sdhci-pltfm: enable interrupt mode to detect card
7549302 arm: ls1021a: enable sleep and deep sleep for rev 2.0 silicon
3aa9846 ls1021a: dts: Add eTSEC info for 2nd interrupt groups
5217966 Merge branch 'qoriq-sdk' into LS1-SDK-Rev2.0
02d571e ls102xa: nor: Adjust the partition for NOR flash according to the new mapping table
78fd893 arm: ls1021a: add deep sleep support on TWR-LS1021A-PB
b65882a Revert "gianfar: Disable Rx snooping for LS1"
138b929 Revert "gianfar: Remove tx snooping support from LS1"
7b56cb1 arm: ls1021a: add platform notifier for dma-coherent requirement
62a2834 ls102xa: dts: Remove big-endian-regs property for SAI
bebea77 Revert "ls102xa: audio: Workaround for SAI data transfer endian issue"
a449b22 ls102xa: nor: Adjust the partition for NOR flash

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>
9 years agou-boot-qoriq: avoid changing building directory
Ting Liu [Sat, 9 Jan 2016 06:42:58 +0000 (14:42 +0800)]
u-boot-qoriq: avoid changing building directory

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-qoriq: fix indent
Ting Liu [Sat, 9 Jan 2016 06:42:57 +0000 (14:42 +0800)]
u-boot-qoriq: fix indent

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-qoriq: exit if UBOOT_CONFIG not supported
Ting Liu [Sat, 9 Jan 2016 06:42:56 +0000 (14:42 +0800)]
u-boot-qoriq: exit if UBOOT_CONFIG not supported

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-qoirq: update to commit eb3d4fc
Ting Liu [Sat, 9 Jan 2016 06:42:55 +0000 (14:42 +0800)]
u-boot-qoirq: update to commit eb3d4fc

New commit imported:
eb3d4fc powerpc/mpc85xx: fix disable port for FMAN erratum A007273
63dfac1 powerpc/mpc85xx: restrict platform for FMAN erratum A007273
54e5fde powerpc/mpc85xx: Add workaround for FMAN erratum A007273
61ac6ba drivers:usb:fsl: Add affected SOCs for USB Erratum A007792
ced4086 fsl/ddr: updated ddr errata-A008378 for arm and power SoCs
17f724f fsl/errata: move fsl_errata.h to common directory
6acff65 arm: ls102x: add get_svr and IS_SVR_REV helper
0caf24c arm: ls102xa: Set fdt_high and initrd_high to the value of 0xffffffff
263a323 powerpc: e6500: Lock/unlock L2 cache instead of L1 as init_ram
f28fd70 powerpc: configs: Fix init_ram physical address for several boards
46be0a4 ls102xa: fdt: Disable IFC in SD boot for QSPI
f1ca68a ls102xa: etsec: Use proper settings for BE BDs
e0712fe mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition
a04b8b3 mmc: fsl_esdhc: fix mmc read/write error on T4160/T4080
23a735b arm: ls1021a: Fix the patch check warnings for the previous commit
5a42d5d SECURE_BOOT: Correct reading of ITS bit
f6310eb arm: ls1021a: Add QSPI or IFC support in SD boot
ab2db1a arm: ls102xa: fix patch check issue.
7611d2c Merge pull request #40 in SDK/u-boot-devel from ~B29983/u-boot-devel-tyt:feature/QUBOOT-1181-the-u-boot-deepsleep-resume-time to master
d406c4f arm: ls102xa: enable all the snoop signal for masters.
1686b84 Merge pull request #38 in SDK/u-boot-devel from ~B46683/u-boot-devel:bugfix/QUBOOT-1173-ls1021atwr-sd-boot-don-t-support to master
0258a33 Merge pull request #37 in SDK/u-boot-devel from ~B18965/my-u-boot-devel:master to master
dfc49e9 arm: ls1021atwr: optimize the deep sleep latency
2023326 Merge pull request #34 in SDK/u-boot-devel from ~B40530/u-boot-devel:feature/QUBOOT-789-sd-boot-on-t4-rdb to master
3a8f547 Merge pull request #35 in SDK/u-boot-devel from ~B47093/u-boot-devel-sdhc:feature/QLINUX-3755-support-the-uhs-speed-mode-for to master
e4957df Merge pull request #31 in SDK/u-boot-devel from DNNPI/ls1-uboot:feature/LS1-for-SDK1.9 to master
774b080 configs: ls1021atwr: Enable ID EEPROM for SD boot
95a9abb arm: mmu: Add missing volatile for reading SCTLR register
c9a7868 mmc: fsl_esdhc: enable EVDD automatic control for SD/MMC legacy card
3fe5a18 Merge pull request #27 in SDK/u-boot-devel from ~B45475/u-boot-devel-fork:feature/QUBOOT-1057-support-qe-tdm-on-t1040rdbd4 to master
767a4ad powerpc/t1040qds: enable peripheral clock for eSDHC
0867fed powerpc/t1040qds: enable adapter card type identification support
26d6853 mmc: fsl_esdhc: enable dat[4:7] for eMMC4.5
acd4c74 powerpc/t4rdb: Add SD boot support for T4240RDB board
b773c94 configs: ls1021atwr: Disable DSPI2 with NOR boot
98bf337 mtd: sf: Add support AT26DF081A chip
91bdf34 dm: dts: ls1021a-twr: Enable DSPI2 on LS1021ATWR
7289cb9 configs: ls1021atwr: Enable DSPI for LS1021ATWR
870af21 t1040d4rdb: assign muxed pins to qe-tdm when set hwconfig qe-tdm
300674e powerpc/t1023rdb: change default core frequency to 1200MHz
45f88eb powerpc/t1023rdb: eMMC boot without external SD card
aee4875 board/t1023rdb: add support for T1023RDB RevC
2c86026 ls1021atwr: sdboot: change serdes 0x20 to 0x30
8d38d25 LS102XA:workaround:disable priorities within DDR
2621445 arm: ls1021a: allow OCRAM access permission as R/W in SPL
10bc2b0 crypto/fsl: fix "era" property value on LE platforms
6d5733d arm: ls102xa: enable snooping for CAAM transactions
d3e6f11 Revert "Enable snooping on transactions from CAAM block"
a5dc0f7 arm: ls1021a: Ensure LS1021 ARM Generic Timer CompareValue Set 64-bit
0669b57 LS102XA: Workaround: DDR require a register write
449ab6a ls102xa: Enable snoop and DVM message requests.
6ae8810 Revert "arm: ls102xa: workaround for cache coherency problem"
617f1fd Revert "sf: Add support for flag status register on Micron chips"
18bd7bb arm: ls102xa: Add LE mode support for audio IPs on Rev2.0 silicon
80a22d8 QE: modify the address of qe ucode
784f7f2 arm: ls1021atwr: program the regulator for deep sleep
8971e50 ls1021atwr: added deep sleep support in uboot
9f692ae ls102xa: etsec: Enable Tx Data and TxBD snooping
79da560 arm/ls102xa:Add support of conditional workaround implementation as per SoC ver
b6876d0 arm: ls102xa: Adjust the load address of U-Boot for NOR boot

Remove the useless Fix-the-depend-race-issue.patch.

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>
9 years agou-boot-qoriq: remove external-fsl reference
Ting Liu [Sat, 9 Jan 2016 06:42:54 +0000 (14:42 +0800)]
u-boot-qoriq: remove external-fsl reference

external-fsl should be standalone. Add the changes in its sperated layers.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agousdpaa-apps: use in6_* macros from glibc instead of kernel
Ting Liu [Tue, 22 Dec 2015 16:07:48 +0000 (00:07 +0800)]
usdpaa-apps: use in6_* macros from glibc instead of kernel

Both glibc and the kernel have in6_* macros definition. Use the one from glibc.
Kernel headers will check for previous libc definitions by including
include/linux/libc-compat.h.

Fix the below build error:
|  [CC] xfrm_km.c                           (bin:srio_ipsec_offload)
| In file included from .../tmp/sysroots/b4860qds-64b/usr/include/linux/xfrm.h:4:0,
|                  from src/srio_ipsec_offload/xfrm_km.c:46:
| .../usr/include/netinet/in.h:99:5: error: expected identifier before numeric constant
|      IPPROTO_HOPOPTS = 0,   /* IPv6 Hop-by-Hop options.  */
|      ^
| In file included from .../tmp/sysroots/b4860qds-64b/usr/include/netinet/ip.h:24:0,
|                  from src/srio_ipsec_offload/xfrm_km.c:52:
| .../tmp/sysroots/b4860qds-64b/usr/include/netinet/in.h:209:8: error: redefinition of 'struct in6_addr'
|  struct in6_addr
|         ^
| In file included from .../tmp/sysroots/b4860qds-64b/usr/include/linux/xfrm.h:4:0,
|                  from src/srio_ipsec_offload/xfrm_km.c:46:
| .../tmp/sysroots/b4860qds-64b/usr/include/linux/in6.h:32:8: note: originally defined here
|  struct in6_addr {
|         ^

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agousdpaa-apps: fix the inline function definition with gcc 5.x
Ting Liu [Tue, 22 Dec 2015 06:08:57 +0000 (14:08 +0800)]
usdpaa-apps: fix the inline function definition with gcc 5.x

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoudev-rules-qoriq: remove useless automount.rules
Ting Liu [Tue, 22 Dec 2015 02:27:31 +0000 (10:27 +0800)]
udev-rules-qoriq: remove useless automount.rules

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoskmm-ep: fix the inline function definition with gcc 5.x
Zhenhua Luo [Wed, 23 Sep 2015 13:35:39 +0000 (21:35 +0800)]
skmm-ep: fix the inline function definition with gcc 5.x

There are different semantics for inline functions for gcc-5.x compared to
previous gcc. Fix the following build error.
| skmm.c:(.text.startup+0xfc): undefined reference to `va_to_pa'
| skmm.c:(.text.startup+0x10c): undefined reference to `va_to_pa'

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-ls1: The finale u-boot binary is not named as u-boot.bin for sdcard/spi
Chunrong Guo [Fri, 11 Dec 2015 07:26:16 +0000 (01:26 -0600)]
u-boot-ls1: The finale u-boot binary is not named as u-boot.bin for sdcard/spi

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agobarebox: update to 2015.10
Alexandre Belloni [Mon, 30 Nov 2015 01:30:16 +0000 (02:30 +0100)]
barebox: update to 2015.10

2013.08 doesn't compile anymore because of the switch to gcc 5.2

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoxf86-video-imxfb-vivante: Stop using swaprep.h header
Otavio Salvador [Wed, 2 Dec 2015 13:54:16 +0000 (11:54 -0200)]
xf86-video-imxfb-vivante: Stop using swaprep.h header

The 'swaprep.h' is an internal Xorg header and is not being installed
anymore. The swap features are provided by the 'misc.h' header now.

Fixes [YOCTO: #8737]

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoxf86-video-imxfb-vivante: Stop using Git to write local version
Otavio Salvador [Wed, 2 Dec 2015 13:57:43 +0000 (11:57 -0200)]
xf86-video-imxfb-vivante: Stop using Git to write local version

The standard version does not use a Git repository so we should not
use Git to identify the commit of the build as it can end getting the
version from a wrong repository and can be misleading.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoxf86-video-imxfb-vivante: Move patches attribution to the recipe
Otavio Salvador [Wed, 2 Dec 2015 13:46:08 +0000 (11:46 -0200)]
xf86-video-imxfb-vivante: Move patches attribution to the recipe

The patches applied on top of the source code are version specific and
should not be listed in the '.inc' file.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoxf86-video-imxfb-vivante: Stop running 'make' in debug mode
Otavio Salvador [Wed, 2 Dec 2015 12:51:00 +0000 (10:51 -0200)]
xf86-video-imxfb-vivante: Stop running 'make' in debug mode

There is no need to run 'make' in debug mode, by default, as it
increases log size and build time for no good reason.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc-mx6: Disable Tux logo for default config
Otavio Salvador [Tue, 24 Nov 2015 18:27:58 +0000 (16:27 -0200)]
linux-fslc-mx6: Disable Tux logo for default config

The Tux logo should be disabled by default to allow a cleaner boot
process.

If a different configuration is needed of any specific machine, it can
be overriden using custom config.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc-mx6: Disable 'evbug' module on default config
Otavio Salvador [Tue, 24 Nov 2015 17:40:20 +0000 (15:40 -0200)]
linux-fslc-mx6: Disable 'evbug' module on default config

Disable evbug, so machines using the kernel recipe do not have it
loaded by default.

The evbug kernel module can be enabled if needed, per machine, using a
custom config.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc-mx6: Fix serial console use with SystemD
Otavio Salvador [Tue, 24 Nov 2015 17:01:59 +0000 (15:01 -0200)]
linux-fslc-mx6: Fix serial console use with SystemD

The SystemD requires the CONFIG_FHANDLE option to be enabled to
properly support the serial console getty initialization. This fixes
following error:

,----[ i.MX6Q SABRE Smart Device boot error ]
| [ TIME ] Timed out waiting for device dev-ttymxc0.device.
`----

The error has been catch while testing a customer image in a pure
SystemD distro, based on O.S. Systems Embedded Linux.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agogstreamer1.0-plugins-bad: Fix patch for GStreamer 1.6
Carlos Rafael Giani [Tue, 24 Nov 2015 11:33:42 +0000 (12:33 +0100)]
gstreamer1.0-plugins-bad: Fix patch for GStreamer 1.6

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agokernel-module-imx-gpu-viv: Add 'galcore' to module autoloading
Otavio Salvador [Mon, 23 Nov 2015 12:36:19 +0000 (10:36 -0200)]
kernel-module-imx-gpu-viv: Add 'galcore' to module autoloading

The module autoloading ensures 'galcore' to be probed as early as
possible during the boot. The order is important so the GPU can be
used as fast as possible, ensuring a reduced time until the initial
GPU-based application is loaded.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc (4.1): Update to the latest version e55a6a92
Fabio Estevam [Mon, 16 Nov 2015 11:58:49 +0000 (09:58 -0200)]
linux-fslc (4.1): Update to the latest version e55a6a92

This merges the 4.1.13 stable release fixes into the fork.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoRevert "linux-fslc: Upgrade to 4.3-based kernel"
Otavio Salvador [Tue, 10 Nov 2015 13:16:17 +0000 (11:16 -0200)]
Revert "linux-fslc: Upgrade to 4.3-based kernel"

This reverts commit 649f479f118567d62a5a57d690fb3fe3915f0ea7.

The 4.3 version of kernel cause build errors on lttng and cannot be
included until those are fix. We are reverting it now and will add it
back once OE-Core is fixed to support it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc: Upgrade to 4.3-based kernel
Otavio Salvador [Mon, 9 Nov 2015 11:27:04 +0000 (09:27 -0200)]
linux-fslc: Upgrade to 4.3-based kernel

Besides the revision change, this synchronizes the defconfig used for
the i.MX and the Vybrid SoCs. The only SoCs using a specific defconfig
file are the MXS-based ones (i.MX23 and i.MX28) as the others are
consolidated on the single defconfig file.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-fslc: Update revision to 1b6aee7
Otavio Salvador [Thu, 5 Nov 2015 21:49:27 +0000 (19:49 -0200)]
u-boot-fslc: Update revision to 1b6aee7

This includes following backported changes from 2016.01 development tree:

1b6aee7 mx7dsabresd: add secure boot support
54021ea imx: hab: add mx7 secure boot support
eea967b imx: hab: use read_fuse for secure boot settings
cca95ea arm: imx: add secure boot fuse details for imx7 SoC
5ef219e arm: imx: add secure boot fuse details for imx6 SoC
b2842cc imx: hab: add secure boot fuse details
31454f2 imx: hab: rework unified rom section for mx7
9ac3e4b imx: hab: use unified rom section for mx6sx and mx6ul
20235de imx: hab: rework secure boot support for imx6
8574461 imx: cpu: move common chip revision id's
a0c37ef imx: mx6sabresd: add i.MX6DQP Sabresd support
93bcc5f imx35, flea3: add FIT image support
10ca202 ts4800: add CONFIG_OF_LIBFDT
4198580 arm, imx6, aristainetos2: set gpr register after reset
e06ab75 arm, imx: add some gpr register defines
8af784c driver: misc: add MXC_OCOTP Kconfig entry
a022163 imx-common: timer: clean up code

Besides those, it also include:

4238786 cgtqmx6eval: Fix SPL support

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base.inc: Add imx-vpu to MACHINE_ARCH_FILTER
Carlos Rafael Giani [Thu, 5 Nov 2015 09:32:16 +0000 (10:32 +0100)]
imx-base.inc: Add imx-vpu to MACHINE_ARCH_FILTER

imx-vpu is machine specific due to #define macros for the type of i.MX6
SoC (quad, duallite ..)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolibimxvpuapi: Add new recipe
Carlos Rafael Giani [Thu, 5 Nov 2015 09:27:54 +0000 (10:27 +0100)]
libimxvpuapi: Add new recipe

This is a library for using the i.MX6 VPU. It is an alternative to
libfslvpuwrap, hosted on Github, and has an API that features several
improvements over libfslvpuwrap, which include:

* User-defined context information associated with input frames, which is
  passed on to corresponding output frames (to be able to identify which
  input frame produced which output frame)
* Groundwork for future DMA-BUF/BMM/ION/CMA allocator integration, using
  file descriptors instead of physical addresses
* Indicators for when it is safe to try to decode frames, which is
  critical in multi-threaded playback cases
* Simplified, higher-level JPEG en/decoding API, based on the VPU MJPEG
  codec; useful for picture viewing without the extra boilerplate for
  VPU-based en/decoding

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agogst1.0-fsl-plugin: fix FSL codecs, parser and vpuwrap detection
Javier Viguera [Mon, 2 Nov 2015 18:12:53 +0000 (19:12 +0100)]
gst1.0-fsl-plugin: fix FSL codecs, parser and vpuwrap detection

Patch gst1.0-fsl-plugin's configure script to add a trailing space in the
FSL_MM_CORE_CFLAGS and FSL_MM_CORE_LIBS variables between different
pkg-config executions.

These variables are used later to pass parameters to the compiler and
as they are not built correctly, the 'configure' script fails to detect
some of the functionality:

Disabled features:
    plugin: imxmp3enc
    plugin: vpu_wrap
    plugin: aiur
    plugin: beep

This was working well in previous versions of Yocto, because pkg-config
until v0.28 was adding that trailing space:

http://cgit.freedesktop.org/pkg-config/commit/?id=f26a505826acec6b1e1af8d1efdf959913421c3a

but this is no longer true, so the trailing space has to be added in the
configure script.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoRemove DirectFB support for i.MX6
Otavio Salvador [Thu, 29 Oct 2015 11:22:55 +0000 (09:22 -0200)]
Remove DirectFB support for i.MX6

The DirectFB project is dead upstream for a while and the backend is
deprecated so it is better to drop it and avoid new users to depend on
it and instead to focus in the current technologies for new projects.

This commit removes everything related to the DirectFB support so if
someone wish to revert it locally it can be easily done.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc-mx6-rt: Add new recipe
Dominic Sacré [Thu, 29 Oct 2015 12:20:07 +0000 (13:20 +0100)]
linux-fslc-mx6-rt: Add new recipe

This recipe is based on the now-deleted linux-imx-rt recipe, using the
same set of patches.

The linux-fslc-mx6 kernel is currently at upstream version 3.14.54, for
which no realtime patch has been released, but patch 3.14.51-rt52
applies cleanly.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-qoriq: fix the kernel hang issue with gcc-5.2
Zhenhua Luo [Tue, 10 Nov 2015 05:53:48 +0000 (13:53 +0800)]
linux-qoriq: fix the kernel hang issue with gcc-5.2

Backport a patch to fix the kernel hang issue when the uImage is built
by gcc-5.2.

The details can be found in
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5e95235

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
(backported from meta-fsl-ppc:95d9f9aba81ccdae53011ac8c6fbbc2605b9cedc)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoRemove MCC library
Stefan Agner [Wed, 28 Oct 2015 14:18:25 +0000 (12:18 -0200)]
Remove MCC library

As we moved all the other MCC related recipes (mqxboot and
kernel-module-mcc), we should do so too with libmcc.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-imx-rt: Remove 3.14.28 version as it does not work with GCC 5.2
Otavio Salvador [Wed, 28 Oct 2015 14:18:25 +0000 (12:18 -0200)]
linux-imx-rt: Remove 3.14.28 version as it does not work with GCC 5.2

The 3.14.28 has not been fixed to work with the GCC 5.2 making it
unusable. Remove this version until someone does the upgrade to the
newer releases.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-imx-mfgtool: Remove leftover from 3.14.38 QP upgrade
Otavio Salvador [Wed, 28 Oct 2015 14:14:08 +0000 (12:14 -0200)]
linux-imx-mfgtool: Remove leftover from 3.14.38 QP upgrade

The 33615de (linux-imx: Upgrade to 3.14.38-6QP_beta release) did not
remove the linux-imx-mfgtool-3.14.28/mx6/defconfig file, keeping it
unused. Remove it now.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-fslc: Update to revision 23575d2
Otavio Salvador [Wed, 28 Oct 2015 13:04:12 +0000 (11:04 -0200)]
u-boot-fslc: Update to revision 23575d2

This includes the Congatec QMX6 SPL support which is targetting
inclusion for U-Boot 2016.01 release. The following patches are
included:

23575d2 cgtqmx6eval: Add DFU support
112dfb1 iomux-v3: Take MX6D in consideration for imx_iomux_v3_setup_pad()
bf2ca16 cgtqmx6eval: Add SPL support
3bce451 cgtqmx6eval: Add fastboot support
77b786a cgtqmx6eval: Use SPI NOR to store the environment
f6bc396 cgtqmx6eval: Add SPI NOR flash support
540baa3 spi: Add SPI NOR protection mechanism
6e057b9 spi: sf_ops: Add SPI protection mechanism from the kernel
3f150e4 powerpc: Remove __ilog2_u64 and ffs4 from bitops
2feb00c compat: Remove is_power_of_2() definition
254550e nios2: Use the generic bitops headers
7611cdc nds32: Use the generic bitops headers
f9bfea4 openrisc: Use the generic bitops headers
d2f21eb sparc: Use the generic bitops headers
fde093e sandbox: Use the generic bitops headers
ef582a7 sh: bitops: Use the generic bitops headers
d068eae blackfin: bitops: Use the generic bitops headers
37d32df m68k: bitops: Use the generic bitops headers
902775c4 x86: bitops: Use the generic bitops headers
6ab6bf2 ARM: bitops: Use the generic bitops headers
8324309 include: Add generic bitops headers
5054c77 include: Add log2 header from the kernel

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoRemove Vybrid mcc related recipes
Otavio Salvador [Tue, 27 Oct 2015 11:15:49 +0000 (09:15 -0200)]
Remove Vybrid mcc related recipes

The mqxboot and mcc Linux kernel module requires the Timesys kernel to
work. The kernel is not in use in meta-fsl-arm anymore and in long
term the Vybrid will be using the remoteproc mechanism to share
resources across the different CPU, inside of the SoC.

As consequence of the update for the Linux 4.1 kernel, those recipes
ought to move for meta-fsl-arm-extra where 3rd party boards can keep
using them.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx7dsabresd: fix typo of mfgtool config
Tzu-Jung Lee [Fri, 23 Oct 2015 21:19:38 +0000 (21:19 +0000)]
imx7dsabresd: fix typo of mfgtool config

Signed-off-by: Tzu-Jung Lee <roylee17@currantlabs.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc (4.1): Update to latest version fa868c9e
Fabio Estevam [Sun, 25 Oct 2015 22:07:01 +0000 (20:07 -0200)]
linux-fslc (4.1): Update to latest version fa868c9e

Commit fa868c9e ("dts: imx6: fix sd card gpio polarity specified in
device tree") missed to be applied into 4.1.11 causing esdhc regressions
on mx6, so let's apply it so that we can have SD card working with
4.1.11.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-timesys: Remove unused kernel
Otavio Salvador [Sat, 24 Oct 2015 20:42:26 +0000 (18:42 -0200)]
linux-timesys: Remove unused kernel

The Vybrid reference board (twr-vf65gs10) now uses the linux-fslc
(4.1) kernel. This makes this kernel recipe unused. Remove it as it
has known security flaws, toolchain problems and is quite old.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agotwr-vf65gs10: move to Linux 4.1 based linux-fslc tree
Stefan Agner [Sat, 24 Oct 2015 05:49:34 +0000 (22:49 -0700)]
twr-vf65gs10: move to Linux 4.1 based linux-fslc tree

Change the default Kernel to the linux-fslc 4.1 kernel.

What seems to work:
- UART
- CPU/Memory (obviously) and L2 Cache
- ARM global timer as clock source
- Pinctrl/GPIO support
- SD-Card
- USB Host (according to bootlog, not tested)
- SoC internal RTC (SNVS RTC)
- Watchdog

Not tested, but should be working:
- Audio using SGTL5000 connected via SAI (hardware not available)
- DCU Framebuffer device (hardware not available)
- Ethernet PHYs (not sure, might be a hardware issue)

Known to be missing:
- Spansion Flash S25FL128S connected via QuadSPI
- MCC v1 and v2
- Touchscreen with TWR-LCD-RGB (according to Tony)

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc (4.1): Add defconfig for Vybrid SoCs
Stefan Agner [Sat, 24 Oct 2015 05:49:33 +0000 (22:49 -0700)]
linux-fslc (4.1): Add defconfig for Vybrid SoCs

Add an optimized defconfig for Vybrid which includes NFC (NAND) and
DCU (fbdev) support for Vybrid.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc (4.1): Update to latest version 622e3d41
Stefan Agner [Sat, 24 Oct 2015 05:49:32 +0000 (22:49 -0700)]
linux-fslc (4.1): Update to latest version 622e3d41

This updates linux-fslc to the latest version which includes
the Vybrid related patches.

622e3d4 video: fsl-dcu-fb: fix compile issue without PM_RUNTIME
b71a77f video: fsl-dcu-fb: fix pixel clock polarity
55a3f93 video: fsl-dcu-fb: add suspend/resume support
526c502 video: fsl-dcu-fb: fix signal polarity defines
3b5d7a3 ARM: dts: vf610-colibri: enable DCU framebuffer
0614d77 video: fsl-dcu-fb: support signal polarity configuration
202f53d video: fsl-dcu-fb: use native-display timing
1f632a8 video: fsl-dcu-fb: use num_timings to iterate timings
5801959 Documentation: DT: Add DCU framebuffer driver
5afe56f fb: Add DCU framebuffer driver for Vybrid VF610 platform
fdad0f6 ARM: clk: vf610: Add DCU and TCON clock support
0cdb0dc ARM: dts: vf610-twr: Enable DCU and TCON devices
ca0333a ARM: dts: vf610: Add DCU and TCON nodes
463b5a3 ARM: dts: vf-colibri: enable NAND flash controller
e439239 ARM: dts: vf610twr: add NAND flash controller peripherial
031328c mtd: nand: vf610_nfc: include missing pincrl/consumer.h
5812299 mtd: nand: vf610_nfc: add device tree bindings
48ea668 mtd: nand: vf610_nfc: add hardware BCH-ECC support
ce28974 mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others
4fc9a49 mtd: nand: add common DT init code

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc (4.1): Update to revision 14b3c25b
Fabio Estevam [Sat, 24 Oct 2015 20:42:48 +0000 (18:42 -0200)]
linux-fslc (4.1): Update to revision 14b3c25b

This merges the 4.1.11 stable release fixes into the fork.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoefl: fix build with current master meta-oe/oe-core
Andreas Müller [Thu, 22 Oct 2015 19:11:12 +0000 (21:11 +0200)]
efl: fix build with current master meta-oe/oe-core

fixes:

| In file included from /home/a.mueller/tmp/oe-core-glibc/sysroots/zeravarimx6q/usr/include/EGL/eglplatform.h:38:0,
|                  from /home/a.mueller/tmp/oe-core-glibc/sysroots/zeravarimx6q/usr/include/EGL/egl.h:39,
|                  from ../src/modules/evas/engines/gl_common/evas_gl_api_ext.h:7,
|                  from ../src/modules/evas/engines/gl_common/evas_gl_core_private.h:5,
|                  from modules/evas/engines/gl_generic/evas_engine.c:2:
| /home/a.mueller/tmp/oe-core-glibc/sysroots/zeravarimx6q/usr/include/EGL/eglvivante.h:266:2: error: #error "Platform not recognized"
|  #error "Platform not recognized"
|   ^

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
9 years agoimx6ulevk: Configure machine to use u-boot SPL
Daiane Angolini [Thu, 22 Oct 2015 16:10:22 +0000 (14:10 -0200)]
imx6ulevk: Configure machine to use u-boot SPL

At first, this machine was supported only by u-boot-imx U-Boot provider, however
as soon as u-boot-fslc included this support, the U-Boot provider was changed.

During the change of default U-Boot provider, the SPL configuration end up being
missed.

The needed SPL configuration is set up in this patch.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base.inc: add default tune for Vybrid
Stefan Agner [Thu, 22 Oct 2015 06:48:49 +0000 (23:48 -0700)]
imx-base.inc: add default tune for Vybrid

All Vybrid SoC's use the Cortex-A5 CPU. Add an appropriate default
tune for the vf SoC.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimage_types_fsl.bbclass: Fix image generation for i.MX 6UltraLite
Felipe Provenzano [Wed, 21 Oct 2015 20:22:23 +0000 (18:22 -0200)]
image_types_fsl.bbclass: Fix image generation for i.MX 6UltraLite

When the i.MX 6UltraLite (mx6ul) was separated from the SoC family mx6
(commit 24396b28f0137464cd82b9a19f705c1db180ead2) it started to create
invalid sdcard images.

This is because of SDCARD_GENERATION_COMMAND no more being triggered.

The solution in this moment is add a mx6ul override for the
SDCARD_GENERATION_COMMAND definition.

Signed-off-by: Felipe Provenzano <felipeprovenzano@maxtrack.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-fslc: Update to revision a4338ecf
Otavio Salvador [Wed, 21 Oct 2015 01:19:44 +0000 (23:19 -0200)]
u-boot-fslc: Update to revision a4338ecf

This merges the v2015.10 final changes onto the FSLC fork, bringing
the fixes done on top of the rc5 release.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoRemove unused patch files
Otavio Salvador [Tue, 20 Oct 2015 11:47:25 +0000 (09:47 -0200)]
Remove unused patch files

Those patch files were left orphan when upgrading the linux-imx and
u-boot-imx recipes, becoming unused. The removal of them cause no harm
and helps to keep the metadata clean.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimage_types_fsl.bbclass: Use FAT 32 for images larger than 512MB
Tzu-Jung Lee [Fri, 16 Oct 2015 18:12:00 +0000 (18:12 +0000)]
image_types_fsl.bbclass: Use FAT 32 for images larger than 512MB

Refers to the following commit of poky for more detail.

commit 722430a488f39bf583e4a557a254fb84fae4d0a7
Author: Darren Hart <dvhart@linux.intel.com>
Date:   Wed Dec 12 14:39:15 2012 -0800

    bootimg: Use FAT 32 for images larger than 512MB

        Fixes [YOCTO #2138]

Signed-off-by: Tzu-Jung Lee <roylee17@currantlabs.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-fslc: Update to 982a6474 revision
Otavio Salvador [Thu, 15 Oct 2015 18:18:28 +0000 (15:18 -0300)]
u-boot-fslc: Update to 982a6474 revision

Update the U-Boot fork to a 2015.10-rc5 based version. This brings
several fixes for i.MX and Vybrid based systems. Mainly:

cf04ad3 arm: vf610twr: improve memory layout
d45fd01 colibri_vf: Fix bstlen field
e24bb2b mtd: nand: vf610_nfc: resync with upstream Linux version
f861f51 ls102xa: Fix reset hang
f532727 imx_watchdog: Add a header file for watchdog registers
040ef8f pcm052: fix MTD partitioning
61903b7 imximage: fix commands other than write_data
835c30e imximage: header.length of 4 is valid

Change-Id: Ifdb607d9a94ef594f3fe37d2b6388dc9a8268106
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimage_types_fsl.bbclass: Fail if a Device Tree file is missing
Otavio Salvador [Wed, 14 Oct 2015 18:26:53 +0000 (15:26 -0300)]
image_types_fsl.bbclass: Fail if a Device Tree file is missing

When generating the rootfs we need to include all the referenced
Device Tree files. The code were gracefully checking if the file
existed before building the image however the expected behavior is to
fail.

As consequence of this change, if someone is using a very old kernel
(no Device Tree based) and tries to generate an image, it will fail
until the machine definition is changed to not list Device Tree files
for installation.

Currently all machines supported by meta-fsl-arm BSP are consistent
for the default kernel in use however custom BSP may need to be
changed accordingly.

Change-Id: I548c65c61dfefe24154a455d097032b1598b14d3
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimage_types_fsl.bbclass: Refactor boot image duplicated code
Otavio Salvador [Thu, 15 Oct 2015 18:03:31 +0000 (15:03 -0300)]
image_types_fsl.bbclass: Refactor boot image duplicated code

The code which copies the boot scripts and Device Tree files is
duplicated across the different image types. This patch reworks this
code to avoid this duplication.

Change-Id: Ib9405067a5419e1b295dfac9e3d3bd9b896d424e
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc (4.1): Add Vybrid SoC to compatible machines
Stefan Agner [Thu, 15 Oct 2015 05:28:52 +0000 (22:28 -0700)]
linux-fslc (4.1): Add Vybrid SoC to compatible machines

Upstream Linux 4.1 supports the Vybrid SoC quite well, so enable
linux-fslc also for Vybrid SoC's.

Change-Id: I6745b67f4cc4b12ccc6f05754af9241e60731c6a
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base.inc: Set a default provider for u-boot-mxsboot-native
Otavio Salvador [Wed, 14 Oct 2015 17:33:07 +0000 (14:33 -0300)]
imx-base.inc: Set a default provider for u-boot-mxsboot-native

The O.S. Systems Embedded Linux provides an alternative version of
U-Boot and, for completeness, an alternative recipe for
u-boot-mxsboot-native.

The provider, in imx-base.inc, had no default thus raising a
warning. This turns the u-boot-fslc-mxsboot-native as the default
provider but allows custom distributions to override it.

Change-Id: I46799f9ec744a074d95c383561cf0cbddb26e151
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoopencv: Use the 2.4 release only
Otavio Salvador [Wed, 14 Oct 2015 14:36:04 +0000 (11:36 -0300)]
opencv: Use the 2.4 release only

The opencv 3.0 is not tested and does not have the i.MX6 specific
patch ported so we disable it for the i.MX6 SoC from Quad, DualLite,
SoloX and SoloLite families. The 2.4 is used instead.

This fixes following warning:

,----
| NOTE: multiple providers are available for runtime opencv-samples (opencv-samples, opencv)
| NOTE: consider defining a PREFERRED_PROVIDER entry to match opencv-samples
`----

Change-Id: I2f897cdd31dcee9046ee7d28ef4dcadb154ae88c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agomesa-gl: Blacklist the recipe for i.MX6 SoCs with GPU
Otavio Salvador [Wed, 14 Oct 2015 14:26:01 +0000 (11:26 -0300)]
mesa-gl: Blacklist the recipe for i.MX6 SoCs with GPU

The mesa-gl is not in sure for the i.MX6 SoC from Quad, DualLite,
SoloX and SoloLite families. The full featured, but trimmed, mesa is
used instead.

This fixes following warning:

,----
| NOTE: multiple providers are available for runtime libgl-mesa-dev (mesa, mesa-gl)
| NOTE: consider defining a PREFERRED_PROVIDER entry to match libgl-mesa-dev
| NOTE: multiple providers are available for runtime mesa-driver-swrast (mesa, mesa-gl)
| NOTE: consider defining a PREFERRED_PROVIDER entry to match mesa-driver-swrast
`----

Change-Id: I082b8f7a739e4ea3cfe5f1760c7163d118e9883c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-qoriq: fix gcc 5.2 build issues of ls1021atwr
Zhenhua Luo [Fri, 16 Oct 2015 05:43:15 +0000 (13:43 +0800)]
linux-qoriq: fix gcc 5.2 build issues of ls1021atwr

Cherry picked patches from future kernel versions to fix gcc5.2 build
errors

(Port from meta-fsl-arm rev: d4da62e1972d78a0ebfa51e6bad232732144e4b2)

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
9 years agocryptodev-qoriq: Fix runtime providers so 'cryptodev' is not taken as provider
Zhenhua Luo [Tue, 13 Oct 2015 06:15:55 +0000 (14:15 +0800)]
cryptodev-qoriq: Fix runtime providers so 'cryptodev' is not taken as provider

QorIQ targets should use FSL custom cryprodev instead of the one provided by
poky, fix the runtime providers to ensure 'cryptodev-qoriq' is taken as
provider.

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot4240qds.conf: add missing quotation mark
Zhenhua Luo [Mon, 12 Oct 2015 13:06:31 +0000 (21:06 +0800)]
t4240qds.conf: add missing quotation mark

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc-mx6: Update revision to 964e5a3 revision
Otavio Salvador [Tue, 29 Sep 2015 21:22:22 +0000 (18:22 -0300)]
linux-fslc-mx6: Update revision to 964e5a3 revision

The 964e5a3 revision includes the 3.14.54 stable release fixes plus
following changes contributed by Gateworks:

7292dc7 ASoC: add tda1997x codec support
aa4ee3d ipu3: keep buffer offset aligned
05608b5 ipu3: fix stripe calculation
30c6d90 thermal: imx: allow crit_delta to be passed in via kernel param
334fc35 arm: dts: add handles to anatop regulators
c7a4d85 fec: Russell Kings corruption fix
0c2c11f net: fec: fix the warning found by dma debug
b5b53b5 pci: imx6: Add delay after LTSSM transition
6dba6b0 fec_main: add mb() before setting status
05ab2a6 net: fec: fix NULL pointer dereference in fec_enet_timeout_work
07465db drivers: video: mxc: Add support for interlace on hdmi out
3eca3ca imx: thermal: use CPU temperature grade info for thresholds
172ad49 media: pci: tw6869: Implement ENUM_FRAMESIZES ioctl
a7d429e media: pci: tw6869: add device registered dev info
957f3fa media: pci: tw6869: initial add
cb61124 ARM: dts: imx: fix invalid #address-cells value
ea53bf7f imx:busfreq: disable busfreq driver by default
e3e114d video: mxc: ldb: use native mode for display timings
fa6b13a net: igb: register mii_bus for SerDes w/ external phy
09359b6 net: igb: add phy read/write functions that accept phy addr
d6daeac net: igb: add i210/i211 support for phy read/write
00b2ceb video: mxc: add adv739x TV encoder
3117a93 mxc_capture: add tda1997x HDMI receiver video support
9348099 imx: add imx tda1997x i2s DAI support
b81d263 mfd: add tda1997x HDMI receiver support
dba225f mxc_capture: check for init_camera_struct failure
09f7c1f mxc_capture: add device registration info
1db12fc mxc_hdmi: present sysfs edid as binary data instead of ascii
bd0601d mxc_hdmi: enable overflow interrupt after initialization complete
d6cc9e6 mxc_ipuv3: show device name for overlay fb
a7f44be mxc_ipuv3: show ipu_id/disp_id of registered device
e9ea090 regulator: Add LTC3676 support
3e12a168 regulator: core: Fix the init of DT defined fixed regulators
154b8be hwmon: mma8451: add fxos8700 magnetometer support
e19d671 hwmon: mma8451: add fxos8700 accel support
760c31c cpufreq: imx: add a 25mV tollerance to the operating point voltages
ef2eda1 cpufreq: imx: show soc voltage when debugging
b205762d cpufreq: imx: init mutex before it can be used
04bc9ed input: edt-ft5x06 - add device-tree config for screen res and inversion
1ca89b6 Input: edt-ft5x06 - fix an i2c write for M09 support
dc5f6c9 Input: edt-ft5x06 - add a missing condition
f2854dd Input: edt-ft5x06 - add support for M09 firmware version
390394c Input: edt-ft5x06 - ignore touchdown events
6b60fb3 Input: edt-ft5x06 - adjust delays to conform datasheet
74bceb0 Input: edt-ft5x06 - add DT support
481da81 input: goodix: add invert and rotate support via device-tree
6297f18 input: goodix: add support for performing init sqequence
4746ef3 input: goodix: add device-tree support

For compatibility with the Vivante kernel module build, the following
commit has be also applied:

964e5a3 FSLC: Add busfreq-imx.h header for forward compatibility

Change-Id: I92b566943c7245751b484302f2320b42ec7d761c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agokernel-module-imx-gpu-viv: Fork driver for FSL Community
Otavio Salvador [Wed, 7 Oct 2015 01:38:49 +0000 (22:38 -0300)]
kernel-module-imx-gpu-viv: Fork driver for FSL Community

The driver source code provided by Freescale needs fixes. This fork is
a community driven development and allow faster development and easier
integration of fixes.

The "+fslc" suffix is added to the module during probing to make a
clear identification.

Change-Id: I914f1a7731263effdef75827e3a9fb8daba37ec9
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base.inc: Ensure MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT is expanded
Otavio Salvador [Wed, 7 Oct 2015 18:28:22 +0000 (15:28 -0300)]
imx-base.inc: Ensure MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT is expanded

The MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT needs to be expanded and
cannot have a default overriden later, otherwise it does not respect
the default set in the SoC.

Change-Id: I1d90d173603e6ee258f3e05c7a53e576b3b1f552
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx7dsabresd: Use U-Boot FSLC by default
Otavio Salvador [Thu, 24 Sep 2015 15:28:07 +0000 (12:28 -0300)]
imx7dsabresd: Use U-Boot FSLC by default

The U-Boot 2015.10 adds support for the i.MX7 so we can use it instead
of Freescale fork, preferring the mainline code.

Change-Id: Ib375f8aa10a482b631eb99d7b5eb86866c87351e
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx6ulevk: Use U-Boot FSLC by default
Otavio Salvador [Thu, 17 Sep 2015 20:14:27 +0000 (17:14 -0300)]
imx6ulevk: Use U-Boot FSLC by default

The U-Boot 2015.10 adds support for the i.MX6 UltraLite so we can use
it instead of Freescale fork, preferring the mainline code.

Change-Id: I5dc770bcecd14120b5478b67d9a47eebfc834300
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-fslc: Update to 2015.10-based fork
Otavio Salvador [Wed, 16 Sep 2015 19:04:31 +0000 (16:04 -0300)]
u-boot-fslc: Update to 2015.10-based fork

This updates the fork based on upcoming 2015.10 release. This is
currently based on 2015.10-rc3 tag and offers a very solid release for
start the tests for Yocto Project 2.0 release.

Change-Id: I1d35409a9806a96f8dd538e2b8c2a3520e9104ba
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-gpu-viv.inc: Stop adding libglapi as runtime dependency
Otavio Salvador [Fri, 2 Oct 2015 17:21:34 +0000 (14:21 -0300)]
imx-gpu-viv.inc: Stop adding libglapi as runtime dependency

The runtime dependency of libglapi is automatically added due the
symbols use by the libGL library, so we can stop adding it manually.

Change-Id: I590f25226cf2d8e2bf1f82dccd05db0b0d734b86
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-gpu-viv.inc: Allow libGL libraries to be installed without X11
Otavio Salvador [Fri, 2 Oct 2015 17:08:05 +0000 (14:08 -0300)]
imx-gpu-viv.inc: Allow libGL libraries to be installed without X11

The libGL libraries has been fixed to so the libraries can now be used
with the other backends. This removed the old FIXME item.

Change-Id: I99c7e68591a11fd590982690a8502bb60dc65513
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agokernel-module-imx-gpu-viv: Better work-around for change in name of busfreq-imx.h
Gary Thomas [Tue, 6 Oct 2015 16:03:47 +0000 (10:03 -0600)]
kernel-module-imx-gpu-viv: Better work-around for change in name of busfreq-imx.h

The renaming of include/linux/busfreq-imx6.h to include/linux/busfreq-imx.h
is not consistent over the many kernel versions currently being built.  This
changeset works around this inconsistency by creating a local symbolic link
to whatever file is actually present in the kernel sources.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
9 years agoqt4: Fix *.la pollution
Gary Thomas [Mon, 5 Oct 2015 22:09:17 +0000 (16:09 -0600)]
qt4: Fix *.la pollution

Recent [platform dependent] changes to QT_CONFIG_FLAGS allow
some C-preprocessor defines to creep into *.la (libtool) files.
This are not allowed (or even handled) and cause linker errors
when trying to link against these libraries.

This patch removes the incorrect/erroneous preprocessor directives
to leave the *.la files useable once again.  The change is done in
a post-processing step to clean up the *.la files as they are only
used externally to this package.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Upstream-status: Innapropriate [OE patch causes the problem]
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimage_types_fsl.bbclass: make mkfs.vfat use FAT32 in all cases
Schrempf Frieder [Thu, 1 Oct 2015 12:40:16 +0000 (12:40 +0000)]
image_types_fsl.bbclass: make mkfs.vfat use FAT32 in all cases

as otherwise FAT16 might be used, which seems quite outdated and can
cause issues in certain environments (e.g. older versions of U-Boot)

Change-Id: I2d89ad235084c4a1289fae180df043a2f9e05e63
Signed-off-by: Frieder Schrempf <frieder.schrempf@exceet.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base.inc: Drop explicit 'ext4' filesystem from IMAGE_FSTYPES
Otavio Salvador [Tue, 29 Sep 2015 19:15:49 +0000 (16:15 -0300)]
imx-base.inc: Drop explicit 'ext4' filesystem from IMAGE_FSTYPES

The 'ext4' filesystem is automatically included as dependency of the
SDCard image, so we can avoid this duplication in the IMAGE_FSTYPES
variable.

Change-Id: I235e2478845a4e394bbacd42d2e6e8170d1d4ce0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agogst1.0-fsl-plugin: Upgrade to version 4.0.7
Yuqing Zhu [Wed, 23 Sep 2015 06:05:51 +0000 (14:05 +0800)]
gst1.0-fsl-plugin: Upgrade to version 4.0.7

--Upgrade gst1.0-fsl-plugin to version 4.0.7 released in 3.14.38-6UL_ga and 3.14.38-6QP_ga releases.
--Add gstreamer-plugins-bad as one of the dependency.
--Imxcompositor enhancement:
     1. fix alpha blending capbility query issue of g2d.
     2. add zorder feature.
     3. add keep ratio feature.
     4. find best output format by leverage the total complexity and picture quality.

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agogstreamer1.0-plugins-bad: Install head file of gstaggregator and gstvideoaggregator
Yuqing Zhu [Wed, 23 Sep 2015 06:05:51 +0000 (14:05 +0800)]
gstreamer1.0-plugins-bad: Install head file of gstaggregator and gstvideoaggregator

Install the head file of gstaggregator and gstvideoaggregator.
So that we can use them outside of gstreamer-plugins-bad package.

Add SoC family and package arch.

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoMove mxs-base.inc contents to imx-base.inc
Otavio Salvador [Mon, 21 Sep 2015 20:47:06 +0000 (17:47 -0300)]
Move mxs-base.inc contents to imx-base.inc

The consolidation of all i.MX related base settings allows a more
global view of the settings in place.

One of the reasons for this patch is the fragmentation caused by
i.MX23 and i.MX28 SoCs using mxs-base.inc.

The changes needed to get i.MX23 and i.MX28 SoCs working have been
included in imx-base.inc file already and some values required rework
to apply to specific SoC families to avoid regressions.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base.inc, mxs-base.inc: Use ext4 filesystem for images as default
Otavio Salvador [Mon, 21 Sep 2015 20:06:33 +0000 (17:06 -0300)]
imx-base.inc, mxs-base.inc: Use ext4 filesystem for images as default

The ext4 is now the default for images in OpenEmbedded-Core, we now
follow this change for all i.MX reference boards.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base.inc, mxs-base.inc: Change default image to sdcard.gz
Otavio Salvador [Thu, 17 Sep 2015 17:09:14 +0000 (14:09 -0300)]
imx-base.inc, mxs-base.inc: Change default image to sdcard.gz

Replace .sdcard image to sdcard.gz image as a default image type for
all machines.

The SDCard class has the feature of compress the generated .sdcard image.
It can be used to ease the exchange of this image among developers or machines.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base.inc, mxs-base.inc: Stop generating tar.bz2 image tarball by default
Otavio Salvador [Thu, 17 Sep 2015 14:14:10 +0000 (11:14 -0300)]
imx-base.inc, mxs-base.inc: Stop generating tar.bz2 image tarball by default

The tar.bz2 is useful for people using NFS or generating the SD card
image byhand, those can enable this in the board file or in the
local.conf when needed. By default the SD card image should be the
only image built as it is the most commonly used one for initial
development.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agomxs-base.inc: Consolidate IMAGE_FSTYPES definition
Otavio Salvador [Mon, 21 Sep 2015 19:59:49 +0000 (16:59 -0300)]
mxs-base.inc: Consolidate IMAGE_FSTYPES definition

The default value for IMAGE_FSTYPES including SDCard class enable all
machine to work out of the box using the .sdcard image.

The removed duplication affected the following machines:

 - imx23evk
 - imx28evk

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimage_types_fsl.bbclass: Fix DeviceTree copy for FAT partition
Otavio Salvador [Wed, 23 Sep 2015 12:53:31 +0000 (09:53 -0300)]
image_types_fsl.bbclass: Fix DeviceTree copy for FAT partition

The rootfs generation script now runs outside of the deploy directory
so the code need to use the full path for the installed files. This
fixes the rootfs generation process so the files are copied to the FAT
partition, allowing the system to boot.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Daiane Angolini <daiane.angolini@freescale.com>
9 years agokernel-module-imx-gpu-viv: Fix build against 3.14-based kernels - again
Otavio Salvador [Tue, 22 Sep 2015 22:20:04 +0000 (19:20 -0300)]
kernel-module-imx-gpu-viv: Fix build against 3.14-based kernels - again

The build fail about the bus frequency header (linux/busfreq-imx6.h)
not being found is caused by the mistaken check for the wrong kernel
version.

The regression has been introduced by d476c35
(kernel-module-imx-gpu-viv: Upgrade to 5.0.11.p7.1 for 3.14.38-6QP_ga
release) which has been not properly tested. This patch fixes it,
again, by adding back the removed patch.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoEnable Vivante kernel driver dynamic provider
Otavio Salvador [Tue, 11 Aug 2015 20:32:47 +0000 (17:32 -0300)]
Enable Vivante kernel driver dynamic provider

The linux-imx.inc based kernels now can dynamically provide the
Vivante kernel driver and satisfy the runtime dependency added for the
Vivante GPU user space libraries. The beauty of this solution is that
it makes ease for 3rd party kernel to reuse the same infrastructure
and use the external module easily.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agofsl-vivante-kernel-driver-handler.bbclass: Handle Vivante kernel driver provider
Otavio Salvador [Tue, 11 Aug 2015 20:26:40 +0000 (17:26 -0300)]
fsl-vivante-kernel-driver-handler.bbclass: Handle Vivante kernel driver provider

Enable the kernel to provide or not the Vivante kernel driver and
dynamically set the proper providers per machine.

The following options are supported:

  MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT

     Machine does or does not have support for the Vivante kernel
     driver, options are:

       0 - machine does not have Vivante GPU driver support
       1 - machine has Vivante GPU driver support

  MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE

      Machine uses the Vivante kernel driver as module, options are:

       0 - enable the builtin kernel driver module
       1 - enable the external kernel module

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agokernel-module-imx-gpu-viv: Upgrade to 5.0.11.p7.1 for 3.14.38-6QP_ga release
Neena Busireddy [Tue, 22 Sep 2015 20:02:50 +0000 (15:02 -0500)]
kernel-module-imx-gpu-viv: Upgrade to 5.0.11.p7.1 for 3.14.38-6QP_ga release

- Package name is changed to kernel-module-imx-gpu-viv.
- Patch platform-Fix-kernel-version-check-for-3.14-based-ker.patch is no longer required
  as the fix has been applied upstream.
- Upgrade to graphics version 5.0.11.p7.1
- Makefile patch will be included in next release.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoadjust MACHINEOVERRIDES ordering
Ting Liu [Wed, 12 Aug 2015 08:51:09 +0000 (16:51 +0800)]
adjust MACHINEOVERRIDES ordering

FILESPATH is in part built by using MACHINEOVERRIDES and the path
is built working right to left. Use =. instead of .= to prepend
(e6500-64b:qoriq-ppc) to (soc:board).

Take t2080rdb-64b as example, change from:
FILESOVERRIDES="powerpc64:t2:t2080:t2080rdb-64b:qoriq-ppc:e6500-64b:poky"
MACHINEOVERRIDES="t2:t2080:t2080rdb-64b:qoriq-ppc:e6500-64b"

To:
FILESOVERRIDES="powerpc64:e6500-64b:qoriq-ppc:t2:t2080:t2080rdb-64b:poky"
MACHINEOVERRIDES="e6500-64b:qoriq-ppc:t2:t2080:t2080rdb-64b"

Signed-off-by: Ting Liu <ting.liu@freescale.com>