Ting Liu [Fri, 17 Jul 2015 07:17:42 +0000 (15:17 +0800)]
t1023rdb[-64b]: add machine files
The T1023 Reference Design Board (RDB) system is a hardware board
featuring the Freescale QorIQ T1023 processor with two Power e5500
cores and speed up to 1.4 GHz.
T1023RDB board Overview
-----------------------
- CoreNet fabric supporting coherent and noncoherent transactions with
prioritization and bandwidth allocation
- Memory: 2GB Micron MT40A512M8HX unbuffered 32-bit fixed DDR4 without ECC
- Accelerator: DPAA components consist of FMan, BMan, QMan, DCE and SEC
- Ethernet interfaces:
- one 1G RGMII port on-board(RTL8211F PHY)
- one 1G SGMII port on-board(RTL8211F PHY)
- one 2.5G SGMII port on-board(AQR105 PHY)
- PCIe: Two Mini-PCIe connectors on-board.
- SerDes: 4 lanes up to 10.3125GHz
- NOR: 128MB S29GL01GS110TFIV10 Spansion NOR Flash
- NAND: 512MB S34MS04G200BFI000 Spansion NAND Flash
- eSPI: 64MB S25FL512SAGMFI010 Spansion SPI flash.
- USB: one Type-A USB 2.0 port with internal PHY
- eSDHC: support SD/MMC card and eMMC on-board
- 256Kbit M24256 I2C EEPROM
- RTC: Real-time clock DS1339 on I2C bus
- UART: one serial port on-board with RJ45 connector
- Debugging: JTAG/COP for T1023 debugging
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Changes:
1. Rebased on git://git.denx.de/u-boot.git v2015.01-487-gab92da9
2. Applied another 143 FSL/backported patches (git log ab92da9..6ba8eed)
3. run script genboardscfg.py to generate boards.cfg firstly
The detailed 143 patches are: 6ba8eed DM: crypto/rsa_mod_exp - Correct copyright on rsa-mod-exp.h d7cfd64 t4rdb: fix reset altbank ab547e7 t4240qds: update rcw to support 1.8GHz 488bca3 crypto/fsl: add support for multiple SEC engines initialization 5eaa15a arch/arm, arch/powerpc: add # of SEC engines on the SOC 2a10e25 arch/arm: add SEC JR0 offset 3851bc8 drivers/elbc:Memory leak fix 3def5c1 powerpc/t1024: update fman liodn for mac1 9ee5a72 T102xRDB: Enable ifc nand ecc encode and decode 03084cb mpc85xx/t104xd4rdb: Update DDR controller settings 98cb1fa T104xD4RDB: Fix PHY address for PHY connected to FM1@DTSEC3 dffab04 net/phy: set led for rtl8211f phy da6438e sf: Add support for flag status register on Micron chips 1e14807 powerpc: mpc85xx: Correct CONFIG_USB_MAX_CONTROLLER_COUNT for p1025 98a6712 mpc85xx/T104xRDB: Remove vbank check redundant code 06546ff powerpc/b4860qds:Update README for DIP switch information b5c2dd2 board/ls1021atwr: Enable bootscript for secure boot 270cea4 powerpc/t1042d4rdb: Update rcw.cfg e2bea76 drivers:usb:fsl: Remove board_usb_init() function cf9cfea drivers:usb:fsl: Return if USB_MAX_CONTROLLER_COUNT is incorrect 8986dfb board/t1040d4rdb: Disable all CPLD interrupts, except QSGMI1 and QSGMI2 6b01f67 arm/ls1021a: Remove ccsr_ddr from immap_ls102xa.h c0953d3 driver/ddr/fsl: Remove deskew_cntrl register 32ea516 arm: ls1021a: Remove the inappropriate use of the function 'sprintf' af1dbff Enable snooping on transactions from CAAM block 0e1f5e1 driver/qe: use strncpy instead of strcpy ef770a2 fsl/sata: Replace sprintf() with snprintf() 9238012 mpc85xx/t104x, t102x: Update CPC debug register value in PBI commands 651251d mpc85xx/t104x:Update README for PBL images c6e1fe8 driver/qe: transform parameter to compatible type 306c7fd powerpc/mpc85xx:Add GCC flag -fno-delete-null-pointer-checks 82db1ee crypto/fsl - enable raw data instead of von Neumann data 6606ff0 crypto/fsl - change starting entropy delay value 3d9d33c crypto/fsl - disable RNG oscillator maximum frequency check 9961bb6 P4080 : Added PAMU driver 4bc7e84 Revert "powerpc/mpc85xx: SECURE BOOT - Bypass PAMU in case of secure boot" 703824e mmc: fsl_esdhc: set ESDHCCTL[PCS] when selecting peripheral clk b80144c board/t2080rdb: reset cs4315 phy cd01a9d net/phy: refactor RTL8211F initialization 8ac0b92 drivers: usb: fsl: Implement Workaround for Erratum A004477 cb362dc mmc: fsl_esdhc: update eMMC44 adapter card erase timeout c93a3ea mpc85xx/T1042D4RDB: Select DIU in cpld mux for T1042D4RDB b176d64 fsl/deepsleep: avoid the DDR restore from being optimized out 6c3b324 arm: ls102xa: Disable regulation of outstanding read transactions for S2 37c695e board/t102x: use fdt_setprop_string instead of fdt_setprop 8f425d1 QE/DeepSleep: add QE deepsleep support for arm 5458df5 kbuild: include config.mk when auto.conf is not older than .config adb1487 ls1021aqds: config: remove default FB DCU support 14d9d27 board/t2080rdb: enable CONFIG_PHY_AQUANTIA 437a114 net/phy: fixup for get_phy_id dacfd54 boards/t2080rdb: update ddr frequency from 1600MT/s to 1867MT/s 1a8bad0 board/p1_p2_rdb_pc: Eliminate the FDT_ERR_NOTFOUND warnning 203635c fsl/pci: Set CFG_READY for PCIe v3.0 and later e7646b8 T104xD4RDB: Enable L2 Switch on T104xD4RDB board e593bba mmc: fsl_esdhc: Add peripheral clock support for t2080qds dfe7a91 mmc: fsl_esdhc: Add adapter card type identification support b878145 arm:ls1021a: Reserve secure code into RAM instead of OCRAM 575e280 ls1021a: ahci: Added workaround for erratum ERR008407 11e63c5 ls1021a: ahci: Added workaround for erratum ERR008402 2b07de2 ls1021a: ahci: Adjust the default settings 6dcb9ea cmd_scsi: Enable SoC AHCI device on platforms with PCI 3140296 T104xD4: Add Secure boot support for T104xD4 platforms. 2d40ae3 drivers:usb:fsl: Implement Erratum A-009116 for XHCI controller 887c1df board/t4240rdb: Enable CONFIG_SYS_CORTINA_FW_IN_NOR f6fb2b8 arm: ls102xa: Enable Driver Model SPI for ls1021atwr 738f236 arm: ls102xa: Enable Driver Model SPI for ls1021aqds 760ce9a arm: ls102xa: Enable CONFIG_DEFAULT_DEVICE_TREE to defconfig for ls1021a 22ad698 sf: Update AT45DB021D flash chip parameters a9e4bb1 sf: probe: Add support Atmel AT45DB series devices special commands 7b18162 dm: spi: Convert Freescale DSPI driver to driver model be352ab dm: spi: Convert Freescale QSPI driver to driver model d7f8021 dm: ls1021a: dts: Add QSPI dts node 8b64aa1 dm: ls1021a: dts: Update DSPI node to support DM SPI 480c575 dm: ls1021a: dts: Change address_cells and size_cells from 2 to 1 3e932cf dm: ls1021a: Bring in ls1021a dts files from linux kernel 91f9040 dm: arm: Bring in skeleton64 device tree file from Linux f62cbd5 dm: introduce dev_get_addr interface c807f2b dm: core: Ignore disabled devices when binding 77db7df dm: spi: Move slave details to child platdata dc7eeff dm: spi: Set up the spi_slave device pointer in child_pre_probe() 22a0a94 dm: core: Allow uclass to set up a device's child before it is probed da110a5 dm: core: Allow the uclass to set up a device's child after binding c6f8f43 dm: spi: Move the per-child data size to the uclass 6312dc6 dm: core: Allow uclasses to specify private data for a device's children 8258af5 dm: core: Add a flag to control sequence numbering 8a151f6 dm: core: Add a function to get a device's uclass ID facf860 dm: core: Add a post_bind method for parents 400bf5b dm: core: Allow uclasses to specify platdata for a device's children f4fc028 dm: core: Allow parents to have platform data for their children be86f28 dm: core: Allocate platform data when binding a device 2141dd9 dm: core: Tidy up error handling in device_bind() f3627ae dm: core: Set device tree node for root device 4472e2f net/phy: Add support for realtek RTL8211F 37d25d5 board/t208xrdb: VID support 52674c7 QE/DeepSleep: add QE deepsleep support for mpc85xx f7e6de8 powerpc/t1023rdb: Add T1023 RDB board support 81d2058 powerpc/t2080rdb: update ddr to support 1866MT/s 67b23a8 arm: ls102xa: workaround for cache coherency problem 839c88b mpc85xx/T104xD4RDB: Add T104xD4RDB boards support 1293181 T104xRDB : remove raw timing parameter 2ec98c2 pci/layerscape: fix link and class issues to support ls2085a 1fe92b5 pci/layerscape: remove unnecessary pcie_layerscape.h 70d18dd driver/pci: add Layerscape PCIe driver b9b27ae arm/ls1021a: add PCIe settings 6ea40af arm/ls102xa: use a array to define pexmscportsr acf3674 arm/ls102xa: create TLB to map PCIe region 450e7ee ls1021atwr: add hwconfig setting to do pin mux ae2b5a0 powerpc/t2080: enable erratum_a007186 for t2080 rev1.1 48f582d SECURE_BOOT: Disable IE Key feature for RAMBOOT eb75fb7 drivers:usb:fsl: Add affected SOCs for USB Erratum A007792 60bae11 drivers:usb: Check if USB Erratum A005697 is applicable on 913x 1498a63 ls-1/usb: Add USB support for ls1021atwr 1b3e623 ls-1/usb: Add XHCI support for ls1021aqds 621c3e2 ls102xa: config: Add USB XHCI controller base address for LS102XA 9322aab drivers: usb: fsl: Add USB XHCI stack support 920eae8 powerpc/mpc85xx: SECURE BOOT-Copy Boot Script on RAM 3b3c26f powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P5020 and P5040 d9b6ccf powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P3041 789db66 ls102xa: ddr4: Use LPUART as console output to verify DCU driver ae8ecf3 arm: ls102xa: Enable regulation of outstanding read transactions for slave interface S2 7d426cc arm: ls1021x: Add support for initializing CAAM's stream id 930f42f arm: ls102xa: Define default values for some CCSR macros 0193232 powerpc: 85xx: Modify CONFIG_USB_MAX_CONTROLLER_COUNT for P1022DS f5da45f drivers:usb: Add device-tree fixup to identify socs having dual phy bdf6935 Add bootscript support to esbc_validate. 64ea65b SECURE_BOOT : enable esbc_validate command for powerpc and arm platforms. eb82578 SECURE BOOT: Add command for validation of images 6f67c1b fsl_sec_mon: Add driver for Security Monitor block of Freescale e6aa74f fsl_sfp : Move ccsr_sfp_regs definition to common include cb9678a rsa : Compile Modular Exponentiation files based on CONFIG_RSA_SOFTWARE_EXP 0c489dc crypto/fsl - Add progressive hashing support using hardware acceleration. 9bc1528 crypto/fsl: Make function names consistent for blob encapsulation/decapsulation. 2fe7e4e rsa: Use checksum algorithms from struct hash_algo 5172da9 Use hash.c in mkimage 3043003 hash: Add function to find hash_algo struct with progressive hash f5082b7 lib/rsa: Add Kconfig for devices supporting RSA Modular Exponentiation f5c65f2 DM: crypto/fsl - Add Freescale rsa DM driver cbf5557 lib/rsa: Modify rsa to use DM driver 0b4c7ac configs: Move CONFIG_FIT_SIGNATURE to defconfig de5370a DM: crypto/rsa_mod_exp: Add rsa Modular Exponentiation DM driver 8f6a26f FIT: Modify option FIT_SIGNATURE in Kconfig 3b55114 rsa: Split the rsa-verify to separate the modular exponentiation 98583e8 net/phy/realtek: Disable interrupt on Realtek Ethernet PHY drivers
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Ting Liu [Fri, 17 Jul 2015 07:17:39 +0000 (15:17 +0800)]
t1/t2/t4/b4: update KERNEL_DEFCONFIG
The KERNEL_DEFCONFIG needs to be updated with the latest kernel codes.
* 85xx/e6500rev2_defconfig -> corenet64_fmanv3h_smp_defconfig
* corenet64_fmanv3_smp_defconfig -> corenet64_fmanv3l_smp_defconfig
* corenet32_fmanv3_smp_defconfig -> corenet32_fmanv3l_smp_defconfig
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Minor version update to 3.12.37-rt51 with new features:
* e6500 hugepage TLB miss performance improvement
* T1023RDB support
* T1040D4RDB and T1042D4RDB support
* DIU [T1042]
* DPAA Ethernet: loadable module
* eMMC: DDR mode [T2080]
* eTSEC: Gianfar upstream updates and fixes
* fmlib: table statistics, stats extension
* IEEE802.1AE (MACSEC) and IEEE802.1X (port-based network access control) [T104x, T102x]
* IEEE1588 ptpd open source stack includes more DPAA processors: P1023, P2041, P3041, P5020, P5040, T4240, T1023
* LAG SGMII 2.5G ports support - IPv4 traffics forwarding on aggregated 2 x 2.5Gb L2 Switch FMAN ports [1040]
* LAG support of IPv6 traffics forwarding and TCP/UDP traffics over IPv6 forwarding (2 x 2.5Gb L2 Switch WAN) [1040]
* LAG support of IPv6 traffics forwarding and TCP/UDP traffics over IPv6 forwarding on both 1 G RGMII port and 1G SGMII port [1040]
* Power Management: Power off feature for all QDS boards except B9132QDS and B4860QDS
* SEC: QI Driver IPSec performance improvement
* SGMII 2.5G fixed link [T1024]
* USB: Dual UTMI
For detailed history, see
http://git.freescale.com/git/cgit.cgi/ppc/sdk/linux.git/tag/?id=fsl-sdk-v1.8
Also remove the patches which already merged in 3.12.37-rt51
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Ting Liu [Fri, 17 Jul 2015 07:17:37 +0000 (15:17 +0800)]
use 64b toolchain binaries to build e6500 kernel
e6500 only supports 64b kernel. When building 64b kernel + 32b rootfs,
kernel build uses a hack previously, ie. append '-m64' and '-elf64ppc'
to 32b toolchain binaries. This fails if kernel use some builtin functions:
| LINK vmlinux
| LD vmlinux.o
| powerpc-fsl-linux-ld.bfd: Relocatable linking with relocations from
| format elf32-powerpc (.../4.9.2/libgcc.a(_popcountdi2.o)) to format
| elf64-powerpc (vmlinux.o) is not supported
| make: *** [vmlinux] Error 1
| ERROR: oe_runmake failed
modify KERNEL_{CC,LD,AR} to use 64b toolchain binaries to avoid error.
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
426f7a6 SECURE BOOT: Add missing RCW's for T4240QDS 756454f SECURE BOOT: Rename the RCW's 7782087 SECURE BOOT: Remove Unwanted RCW's e93c210 LS1021: Unset BOOT_HO bit in rcw. 4375fc4 t1023rdb: update IFC_MODE to 0x2F for errata A-009138 5cf9bc5 T4240QDS: Add four 1800MHz/Core RCW files for T4240QDS board cff536a t1023rdb: set RTC=1 to enable GPIO1[14] a5983f2 T4240RDB: Add one new RCW for T4240RDB board 3a6ae48 ls1021a: fix some serdes settings for SATA 31078e1 ls1021atwr: do not power down PLL which is used by SATA c6d72e3 t2080qds: rcw: Add eMMC DDR mode RCW c77415c T104xD4RDB: update SRDS_PLL_REF_CLK_SEL_S1 value e2c0844 ls1021atwr: add USB 2.0 support fd0c1df p5020/p5040: NAND Secure Boot RCW added with PBI commands 259d57d t1023rdb: add rcw for t1023rdb board c3ab906 T1042: Add t1042d4rdb rcw files for serdes protocol 0x86 ae39560 T1040: Add t1040d4rdb rcw files for serdes protocol 0x66 b9d3c22 p3041: NAND Secure Boot RCW added with PBI commands dc0fad9 t2080rdb: update ddr to 1866MT/s 03c5ee6 t2080: update platform clock to 600MHz 72945fa rcw: ls102xa: merge rcw for lpuart and dcu 6678741 rcw: ls102xa: Adjust the features supported in SD boot f7a54c1 arm: ls102xa: Increase IO drive strength for LS1021AQDS board 3dd07fa B4860-As-B3: Add two new RCW files 69a041c B4860QDS: Add HWA_CGA_M3_CLK_SEL bits define in b4860.rcwi file 87289d5 ls102xa: rcw: Add QSPI boot RCW for LS1021A TWR board 13bf692 t1024: update FM1_MAC_RAT from 0 to 1 5b94b3e t1024rdb: add new rcw 0x135 and minor update
Also align with the one in meta-fsl-arm layer.
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Ting Liu [Fri, 17 Jul 2015 05:36:44 +0000 (13:36 +0800)]
asf: use KBUILD_OUTPUT to point to build-artifacts
In poky commit 46cdaf1, the kernel build output was put into
kernel-build-artifacts, and kernel-source is kept "pristine".
KERNEL_PATH points to kernel-source, while KBUILD_OUTPUT points
to build-artifacts which can be used for external module build.
asf Makefile tries to include the .config, use KBUILD_OUTPUT to
avoid build error.
It is needed to process all the Makefile with new revision.
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This imports following changes: 62ba10a asf_fmc: Patch to update the name of xml files. 8d744dd asf: Patch to fix ipv6 issue on dpaa. ddf9678 asf: Patch to return jumbo packet back. dcda291 asf: Patch to include caam_jr_strstatus in ASF_IPSEC_DEBUG mode. 49f591f asf: Patch to change function signature caam_jr_strstatus f860eff ipsecproc: Patch to fix display of ipsec stats. 461586d ASFIPSEC: fix compilation for SEC 3.x when ASF_IPSEC_DEBUG is defined 03b9bad asf: Patch to fix sha256 issue. a21b2d7 Removing Ethernet padding in abuf to skb conversion a03283d4 Aligning function ASFFFPProcessAndSendFD and ASFFFPProcessAndSendPkt while validating flows
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6f57c86 Modify input files comments. 327932d FIX SFP Write Protect Issue dbc2080 Add support for SFP1.x and SFP2.x in gen_drv utility. 5aa79ec Modify images names in ls1 input files. b5d442b P3/P5: Input Files for NAND Secure Boot 51dc4a4 Makefile: Build uni_pbi tool a647f39 CST : Change Alignment offset
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This import the following changes: 1d6ad16 eth_config: Remove support for T1040RDB/QDS, T1042RDB, T1042RDB-PI c51e333 eth_config: Add support for T1042D4RDB 9736329 eth_config: Add support for T1040D4RDB 10b5f51 eth_config: Add support for T1023RDB
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This imports the following changes: 91bbb13 tls: remove misleading comment 2206af9 PROTOCOL - add IPsec NULL authentication a8bc0be IPsec legacy mode - fix zero-length key(s) cases e92572e PROTOCOL - fix GCM16 and GMAC modes for IPsec b18fb26 fix spurious regression tests failures b0a4577 tls: add stateless 3DES_EDE_CBC_SHA TLS10 kernel descriptors 0e2ffc0 tls: add stateless TLS10 kernel descriptors 0a58a47 rename operation mapping structure member 5bdf1a4 rename iv_flags to b0_flags d1c1b3b Don't use ERA dependent code for AEAD descriptor 8ad040d fix AEAD descriptor pointer size specification ec280b6 add AEAD-like descriptor 11688af add algorithm mode support
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This imports the following changes: b9e52be ENGR00354640: fmc regression: Bad FMan port handle used in FM_PORT_VSPAlloc causes FMD call trace 435d76d ENGR354592: FMC SoftParser 'otherl3' protocol definition generates error 92494f0 Changed makefile to use flags: FMAN_V3H / FMAN_V3L (ENGR353626) 1695da4 ENGR00352834: FMC: Add support for FM_PCD_KgSetAdditionalDataAfterParsing API 450d314 ENGR351010: FMC: Share schemes used for IPR across multiple ports b2b6226 ENGR00349008: ALU PCD generates Segmentation fault for direct schemes usage 6b14996 ENGR00348810: ALU PCD generates: FmPcdCcGetGrpParams: Invalid Handle 955706a ENGR348539: ALU PCD generates: grpId you asked > numOfGroup of relevant tree 06548b6 ENGR00347977: ALU PCD using direct schemes generates Error: Unresolved cycled dependencies e843d51 ENGR00315208: [FMC] failed to configure ALU PCD
Use override mechanism to define EXTRA_OEMAKE_PLATFORM, instead of bash script.
and p1023rds is not supported now, remove the reference to it.
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This imports the following changes: 4938e09 fmlib: sync with kernel for t_FmCtrlMon 549d77e fmlib: implement FM_PORT_GetBmiCounters c1e9c74 fmlib: support FMAN_V3L platforms a3321e2 fmlib: Add fix in FM_PCD_KgSchemeSet function 7572af0 Render table statistics accessible from user space
Switch FMLIB_TARGET to FMAN_V3L for t1.
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Ting Liu [Fri, 17 Jul 2015 05:00:25 +0000 (13:00 +0800)]
pkc-host: update license to BSD & GPLv2+
The license information is moved to COPYING file, use it.
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The changes include:
- bc is added as a runtime dependency for performance tests
- mini_calc is dropped and replaced by bc
- use 'oe_runmake modules_install' to install kernel modules
There are 138 new git commits. For detailed info, see:
http://git.freescale.com/git/cgit.cgi/ppc/sdk/pkc-host.git/tag/?id=fsl-sdk-v1.8
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Ting Liu [Fri, 17 Jul 2015 05:00:23 +0000 (13:00 +0800)]
skmm-host: correct license to BSP & GPLv2+
The right license is BSP & GPLv2+, fix it.
And the licensing information is separated to COPYING file, use it.
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This imports the following changes: a655c57 rename perf script to avoid conflicts with pkc driver 3e40e67 make perf script executable and install it to /usr/bin 1668005 add gitignore 7abf553 update perf script with the fixes from pkc-host driver ec39361 extract licensing information to a separate file e821c4f merge Makefile with config.mk
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This imports the following changes: 80de832 Fix Copyright issues 0c9921f Add support for interrupts on PHYs connected to seville's ports 53de571 fix: Avoid memory leak 6cf2d52 Refractoring uio_seville_main.c file 7b2ccba Fix: Use Seville register when flushing, not remapper's register d347b98 Beautify: Replace big switch() with a 2-line for() f8c8249 Beautify: Fix for() alignment fdde45d Fix: Pad undersized injected CPU control frames 3b9cff6 Fix: Typo for "reciving" 052d776 Fix: Assure that there can't be 2 processes that open the uio device 3c29b27 Fix: Interrupts might occur when /dev/npi is closing 59e3d2e Fix: Assure that only one thread is allowed to inject a frame at a time b96827c Fix: Assure that only one thread may extract a CPU frame at a time 8c9c47e Fix: Remove unecessary check for data in the polling function a202daf Fix: L2 Switch interrupt handler is called twice for each packet 985d4c2 Fix: dev/npi might be opened by two applications 3ecb8f3 Fix: Fix initialization of valiables for struct dev_npi dd74172 Beautify: Add ':' at the end of npi_read_q in description aceb6be Beautify: function do_control_frame_extr_dev() has duplicated code 262876b Beautify: Remove unnecessary macro d737cd8 Fix: Treat interrupts only from group 0 181ae15 Beautify: Rename variable leftovers_start to leftovers_begin
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This imports the following changes: e17b3ec update mux_server ad1da62 Topaz v1.3-010 fca5fef use proper type so that error check makes sense bf76b06 vmpic: fix a null pointer dereference aa8144a pamu: add some missing null pointer checks ced6d18 fix an allocation failure check 4721159 fix potential null pointer dereference 49fd127 don't dereference the pointer we've just checked for null 7559586 check for allocation failure 8ad329e check for invalid config-addr bootargs param 0af857a update libos b161371 handle error domain not found condition 516ecc1 change str(n)cpy calls to safe snprintf c2b7161 fix tlbc guest exploitable array out of bounds error bd9b01e fix fasttlb guest exploitable array out of bounds error 92e62c9 fix off-by-one error in error check ca38ad6 update libos 11edba9 fix an obvious null pointer dereference b5fc4da fix secondary gcpu spin-up for >=4GB guests bedf3f4 erratum A-008139 workaround 365e3ec update libos 745dafa test/nap: Replace open coded delays with existing api 4f7ed57 support basic "rcpm rev2" power management 500cfcc test: add support for ccm errors in ccf-lae test e817b00 test: add support for ccm errors in ccf-mint test e706b33 ccm: add error management support for ccm 701bcb3 ccm: add definitions for error registers 5f52d54 ccm: make version handling more generic
Changes on its submodule libos: 2ff7649 don't bail out if pamu is already enabled ec6fc41 add check for max supported number of threads e0fa2c0 erratum A-008139 workaround c30279c workaround potential issue with default cpu features on MMUv2 70dec64 add ccm fields to platform error struct 5312dd7 correct error int unmasking condition
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Ting Liu [Fri, 17 Jul 2015 14:10:24 +0000 (22:10 +0800)]
mux-server: deploy the binary as it is standalone
The topaz mux-server is a standalone tool, deploy the binary like
other images like u-boot/kernel/rcw.
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Ting Liu [Fri, 17 Jul 2015 03:44:34 +0000 (11:44 +0800)]
mux-server: update LIC_FILES_CHKSUM to point to COPYING
A LGPL COPYING file was added in the git repository.
update LIC_FILES_CHKSUM to point to this COPYING file.
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Ting Liu [Fri, 17 Jul 2015 14:15:16 +0000 (22:15 +0800)]
mux-server: fetch from git instead of local tarball
It is hard to track changes when using local tarball, switch to fetch
the source from a Git server.
Comparing to the tarabal, there are two more changes on git: 3e4c6a4 adjust link order to libpthread a803602 Add COPYING with LGPL license and README file
Also fix indent.
Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 10 Jul 2015 17:28:22 +0000 (14:28 -0300)]
Drop i.MX31 and i.MX35 support
The i.MX31 and i.MX35 has been barely used and without much community
coverage since its inclusion making them untested boards.
There is no reason to keep the support for those SoCs in the BSP layer
as those are virtually not tested and unkown to be working or not.
The metadata related to the i.MX3 SoC family has been removed in this
commit so if someone ever wants to bring it back it is easy to find
out all the necessary changes.
Change-Id: I808bf7d1cfa97eb7d444fba711a93b1e074d5f4d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Wed, 15 Jul 2015 20:21:16 +0000 (17:21 -0300)]
Move external layer's specific changes for 'dynamic-layers' subdir
The external layer's specific changes are now in the 'dynamic-layers'
subdirectory. This approach ease the identification of layer specific
recipes and extensions as all those are more visible isolated of the
main layer components.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Wed, 15 Jul 2015 20:43:21 +0000 (17:43 -0300)]
conf/layer.conf: Use 'freescale-layer' collection
The 'fsl-arm' collection is now renamed for 'freescale-layer'. This
indicates the layer uses the new layout and is incompatible with other
layers relying in meta-fsl-arm or meta-fsl-ppc existing layout.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
62ba10a asf_fmc: Patch to update the name of xml files. 8d744dd asf: Patch to fix ipv6 issue on dpaa. ddf9678 asf: Patch to return jumbo packet back. dcda291 asf: Patch to include caam_jr_strstatus in ASF_IPSEC_DEBUG mode. 49f591f asf: Patch to change function signature caam_jr_strstatus f860eff ipsecproc: Patch to fix display of ipsec stats. 461586d ASFIPSEC: fix compilation for SEC 3.x when ASF_IPSEC_DEBUG is defined 03b9bad asf: Patch to fix sha256 issue. a21b2d7 Removing Ethernet padding in abuf to skb conversion a03283d4 Aligning function ASFFFPProcessAndSendFD and ASFFFPProcessAndSendPkt while validating flows
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
426f7a6 SECURE BOOT: Add missing RCW's for T4240QDS 756454f SECURE BOOT: Rename the RCW's 7782087 SECURE BOOT: Remove Unwanted RCW's e93c210 LS1021: Unset BOOT_HO bit in rcw. 4375fc4 t1023rdb: update IFC_MODE to 0x2F for errata A-009138 5cf9bc5 T4240QDS: Add four 1800MHz/Core RCW files for T4240QDS board cff536a t1023rdb: set RTC=1 to enable GPIO1[14] a5983f2 T4240RDB: Add one new RCW for T4240RDB board 3a6ae48 ls1021a: fix some serdes settings for SATA 31078e1 ls1021atwr: do not power down PLL which is used by SATA c6d72e3 t2080qds: rcw: Add eMMC DDR mode RCW c77415c T104xD4RDB: update SRDS_PLL_REF_CLK_SEL_S1 value e2c0844 ls1021atwr: add USB 2.0 support fd0c1df p5020/p5040: NAND Secure Boot RCW added with PBI commands 259d57d t1023rdb: add rcw for t1023rdb board c3ab906 T1042: Add t1042d4rdb rcw files for serdes protocol 0x86 ae39560 T1040: Add t1040d4rdb rcw files for serdes protocol 0x66 b9d3c22 p3041: NAND Secure Boot RCW added with PBI commands dc0fad9 t2080rdb: update ddr to 1866MT/s 03c5ee6 t2080: update platform clock to 600MHz 72945fa rcw: ls102xa: merge rcw for lpuart and dcu 6678741 rcw: ls102xa: Adjust the features supported in SD boot f7a54c1 arm: ls102xa: Increase IO drive strength for LS1021AQDS board 3dd07fa B4860-As-B3: Add two new RCW files 69a041c B4860QDS: Add HWA_CGA_M3_CLK_SEL bits define in b4860.rcwi file 87289d5 ls102xa: rcw: Add QSPI boot RCW for LS1021A TWR board 13bf692 t1024: update FM1_MAC_RAT from 0 to 1 5b94b3e t1024rdb: add new rcw 0x135 and minor update
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Ting Liu [Fri, 10 Jul 2015 09:45:13 +0000 (17:45 +0800)]
qemu-fsl: upgrade from v1.7 to v2.2.0
Update the supported QEMU version from v1.7 to v2.2.0 and include the
Freescale patches on top of this.
Baseline: http://git.qemu.org/?p=qemu.git;a=tag;h=refs/tags/v2.2.0
Freescale patches: 00ac004 QEMU: PPC: Support for VFIO_IOMMU_DUMMY. 58d1cc4 QEMU: PPC: Identity mapped memory support for qemu. 07d4f5f Qemu: PPC: e500: Move CCSR and MMIO space to upper end of address space a7aee41 QEMU: PPC: e500: Move CCSR definition to params fbcc0ca vfio-pci: add direct pci device assignment for fsl powerpc 536df03 Update Linux Headers from 3.18 ee367e4 QEMU:Add support for e5500 core revision v102.1 present on T1024 SOC. b0c2f44 hw/arm/virt: Use memory_region_allocate_system_memory to allocate memory b2f233e PPC: add e6500 cpu class 694c39a QEMU: PPC: set default cpu type to be 'host' 1572872 QEMU: PPC: specify PVRs for all e500 cores
Also fix indent.
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Ting Liu [Fri, 10 Jul 2015 09:45:11 +0000 (17:45 +0800)]
ls1021aqds: remove as it is not supported
The board is not supported in SDK 1.8 and as it is untested QorIQ team does
not offer support for it. Drop the board to avoid user using untested BSP
components in this board.
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Changes:
1. Rebased on git://git.denx.de/u-boot.git v2015.01-487-gab92da9
2. Applied another 143 FSL/backported patches (git log ab92da9..)
3. add DEPENDS on dtc-native as u-boot brings in device tree files
4. use u-boot-with-spl-pbl.bin for nand
5. replace with u-boot-dtb.bin when swapping the image endianness
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Minor version update to 3.12.37-rt51 with new features:
* e6500 hugepage TLB miss performance improvement
* T1023RDB support
* T1040D4RDB and T1042D4RDB support
* DIU [T1042]
* DPAA Ethernet: loadable module
* eMMC: DDR mode [T2080]
* eTSEC: Gianfar upstream updates and fixes
* fmlib: table statistics, stats extension
* IEEE802.1AE (MACSEC) and IEEE802.1X (port-based network access control) [T104x, T102x]
* IEEE1588 ptpd open source stack includes more DPAA processors: P1023, P2041, P3041, P5020, P5040, T4240, T1023
* LAG SGMII 2.5G ports support - IPv4 traffics forwarding on aggregated 2 x 2.5Gb L2 Switch FMAN ports [1040]
* LAG support of IPv6 traffics forwarding and TCP/UDP traffics over IPv6 forwarding (2 x 2.5Gb L2 Switch WAN) [1040]
* LAG support of IPv6 traffics forwarding and TCP/UDP traffics over IPv6 forwarding on both 1 G RGMII port and 1G SGMII port [1040]
* Power Management: Power off feature for all QDS boards except B9132QDS and B4860QDS
* SEC: QI Driver IPSec performance improvement
* SGMII 2.5G fixed link [T1024]
* USB: Dual UTMI
For detailed history, see
http://git.freescale.com/git/cgit.cgi/ppc/sdk/linux.git/tag/?id=fsl-sdk-v1.8
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
As new i.MX machines are added and product lines are increasing,
having an override for imx machines in general will help clarify
recipes, images, and packagegroups and keep the list of imx
supported machines a little shorter.
Signed-off-by: Ann Thornton <ra43240@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Florian Vallee [Wed, 24 Jun 2015 09:27:02 +0000 (11:27 +0200)]
amd-gpu-x11-mx51: use x11 compatible eglplatform.h
Freescale's default eglplatform.h contains framebuffer headers while
X11 compatible headers are located in eglplatform_1.4.h [1], therefore
overwrite eglplatform.h with eglplatform_1.4.h during install.
This fixes EGL on X support through xcb.
For instance Qt5 would fail to enable CFG_EGL_X [2] due to the
following build error during configure :
invalid conversion from 'EGLNativeDisplayType {aka void*}' to
'Display* {aka _XDisplay*}' [-fpermissive]
This further resulted in a runtime error with Qt5_CinematicExperience:
QXcbIntegration: Cannot create platform OpenGL context, neither GLX
nor EGL are enabled
Otavio Salvador [Wed, 17 Jun 2015 14:54:25 +0000 (11:54 -0300)]
imx-base.inc: Use linux-fslc-mx6 for all i.MX6 by default
The linux-fslc-mx6 recipe provides the FSL Community's i.MX6 Linux
which is a Linux kernel based on Freescale GA release, used by FSL
Community BSP in order to provide support for i.MX6 based platforms.
Every machine can override this value but by default the
linux-fslc-mx6 is now used.
Change-Id: Ia80ad8b9a0a8347197a64062513e18ca5e204a3a Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 6 Feb 2015 15:57:11 +0000 (13:57 -0200)]
linux-fslc-mx6 (3.14-1.0.x): Add recipe
This recipe provides the FSL Community's i.MX6 Linux which is a Linux
kernel based on Freescale 3.14.28-1.0.0 GA release, used by FSL
Community BSP in order to provide support for i.MX6 based platforms.
The fork includes the official Linux kernel stable updates, backported
features and fixes coming from the vendors, kernel community or FSL
Community itself.
This version is based on 3.14.44 stable release and includes following
changes on top of both kernels:
9e71c2c ARM: imx_v6_v7_defconfig: Enable kexec support 3b15ffa Revert "net: fec: fix the warning found by dma debug" 3183696 mmc: sdhci-esdhc-imx: Fixup runtime PM conditions during ->probe() 434d1b2 ARM: 8338/1: kexec: Relax SMP validation to improve DT compatibility 33bb67d gpio: generic: clamp retured value to [0,1] 192f32d ARM: imx6sl: Disable imx6sl-specific code when imx6sl SOC support is disabled
Change-Id: I0d5b21a0381c64b323c73cded73a93a4f218f50d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 15 Jun 2015 13:41:41 +0000 (10:41 -0300)]
core-image-weston: Fail gracefully if using incompatible DISTRO_FEATURES
Vivante GPU driver cannot operate in X11 and Wayland in same
distribution as it needs to have different libraries installed. So in
case 'x11' is in DISTRO_FEATURES, Wayland is disabled.
Fixes [YOCTO: #7814].
Change-Id: Ibde60384b1146ecb0aad353cfbc44163b21b4fc1 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Gary Thomas [Tue, 16 Jun 2015 13:08:51 +0000 (07:08 -0600)]
imx-gpu-viv: Avoid duplicate values in PROVIDES
Additional packages are added to the PROVIDES variable, depending on
the type of processor being supported, e.g. i.MX6Q, i.MX6SX, etc.
The old way this was being set could add multiple versions of the
same package to the PROVIDES variable which in turn can cause confusion
with sstate, e.g. a number of i.MX6 machines use :mx6q:mx6dl in their
overrides whereas others might only have :mx6q. With the previous
setting of PROVIDES, this package would not be sharable via sstate
between such machines.
This patch changes the process so that these extra packages are only
added once, improving the [re]usability of sstate.
Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Gary Thomas [Mon, 15 Jun 2015 14:41:33 +0000 (08:41 -0600)]
image_types_fsl: Fix boot.img overwrite error
Recent updates to the MSDOS tools (OE-core is now at 3.0.28) have made
it an error to overwrite an image using mkfs.vfat:
mkfs.vfat: file XXXX/tmp/work/nitrogen6x-poky-linux-gnueabi/network-demo-image/1.0-r0/boot.img already exists
mkfs.fat 3.0.28 (2015-05-16)
WARNING: exit code 1 from a shell command.
This patch fixes the problem by removing any old/stale images before
trying to create the VFAT file system images.
Change-Id: I74e02fd512b43315b29698f534192632d7780df2 Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
On Variscite Varsom we have three devices connected to MMC
* MMC1: eMMC
* MMC2: SDCard
* MMC3: Wifi
Without this patch only the first device was detected properly.
I found two workarounds which can be removed by this patch:
1. Variscite: booting from SDCard made possible by renumbering MMC devices [1].
2. BoundaryDevices: Add workqueues for each mmc_host [2]. This had been tested
here too but causes crashing sdcard for huge storage traffic.
[1] https://github.com/varigit/linux-2.6-imx/blob/imx_3.10.53_1.1.0_ga_var01/arch/arm/boot/dts/imx6qdl.dtsi / Line 879
[2] https://github.com/boundarydevices/linux-imx6/commit/1d40159a995a298f16901bfb14ae3e0294c65691
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
gstreamer1.0-plugins-imx: Update to version 0.10.2
Changes:
- v4l2src: renamed imxv4l2src to imxv4l2videosrc to avoid name collisions
with the FSL plugins
- v4l2src: Call the buffer pool baseclass stop() function (fixes segfaults)
- uniaudio: Create correct config header even if no codecs were found
- audio: new MP3 encoder element using the libfslcodec MP3 encoder
- g2d/ipu/pxp blitter sink: Respect aspect ratio also in 90/270 degree rotations
- pxp: Remove broken/unsupported formats
- eglvivsink: Fix double mutex unlock
- phys mem meta naming cleanup
Change-Id: Id2c72352f19cfeb6635af2ed0ec625867c28b7a7 Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Neena Busireddy [Tue, 2 Jun 2015 15:08:18 +0000 (10:08 -0500)]
imx-gpu-viv: Upgrade to 5.0.11.p4.5
3.14.28-1.0.1 patch release has the following bug fixes:
MGS-554 [#1644] Fix the false alert with GPU commit dirty
MGS-528 [#ccc] Wayland does not free window memory until the application exits
GRPH-56 [#ccc] Add environment variable to turn off memory fill
GRPH-55 [ccc] Add alpha channel for direct texture viv extension
MA-6540 [#1672] Fix native fence FD leak found by Androidâ„¢ CTS
MGS-663 [#1686] P4 release can't be built statically
MA-6527 [#1666] Fix android.webgl.cts.WebGLTest CTS failure
MGS-511-2 [#1593] Qt 3D app cannot run on i.MX 6SoloX board
MGS-658 [#ccc] Fix build warning of isInApiTraceMode for static link
Revert MGS-352 [#1453] Creating context on 5.x is slower than 4.x due to process name
read
MGS-578 [#1657] GoogleEarth APK encounters a shader compile error
MGS-507 [#1323] RenderToTexture has distorted pictures on screen in DL board
MGS-547 [#ccc] Add YVYU format test in g2d_overlay_test
MGS-547 [#1640] YVYU format gets wrong result when 2D is built
MGS-564 [#ccc] Resolve race condition in display frame sync
MGS-367 [#1589] "CTRL+C" to close the "tutorial7_es20" causes GPU to hang
MGS-543 [#1604] Remove some unsupported extensions in gles10
MGS-436 [#ccc] Memory leak in glimagesink video loop playback
MA-6267 [#1600] Fix ES3.0 benchmark UBenchEnhanced can't run
MA-6208-1 [#1543] Fix build error
MA-6208 [#1543] Fix com.drawelements.deqp.gles3 CTS failure
MGS-511 [#1593] Qt 3D app cannot run on i.MX 6SoloX board
MGS-512 [#1493] Fix es30 conformance failures related to glReadPixels
MGS-502 [#ccc] libCLC failure
MGS-500 [#ccc] Disable apitrace for static build
Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Stefan Christ [Wed, 3 Jun 2015 09:18:11 +0000 (11:18 +0200)]
fsl-eula-unpack: fix deploying EULA
If a recipe, which uses the fsl-eula-unpack bbclass, defines the
variable LIC_FILES_CHKSUM like
LIC_FILES_CHKSUM = "[...]"
(not using "+=") the content of ${FSL_EULA_FILE}, which is added in
fsl-eula-unpack, is overwritten. So the EULA isn't deployed to the
${LICENSE_DIRECTORY}.
Using 'LIC_FILES_CHKSUM_append' should work in any cases.
Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Acked-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This backports following changes from 2015.07 development release:
10aced3 thermal: imx_thermal: use CPU temperature grade for trip points b02bbe4 imx: mx6: add display of CPU temperature grade in print_cpuinfo() 959d59a imx: mx6: add get_cpu_temp_grade to obtain cpu temperature grade from OTP 133492b imx: mx6: display max cpu frequency in print_cpuinfo() b1a9761 imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP ac4fa5f mx6: add OTP bank1 registers 982b630 arm: mx6: ddr: set fast-exit on DDR3 if pd_fast_exit specified c462c40 arm/imx-common: Fix warning 'get_reset_cause' defined but not used 666a3df pmic: pfuze100 fix typo 2216998 imx: mx6sx enable SION for i2c pin mux 019f86c imx: marsboard: Enable thermal DM support 386878a imx: riotboard: Enable thermal DM support 0e80b68 imx: riotboard, marsboard: Enable thermal support bf9a6d7 hummingboard: Remove unused directory c46ff16 imx: ventana: add pmic_setup to SPL d12faa5 imx: ventana: (cosmetic) clean up size defines for improved readability 86f9770 imx: ventana: config: use MMC SPL RAW support c52aa2e env_nand: use nand_spl_load_image for readenv if SPL 5559f42 imx: ventana: use stack relocation cd10311 imx: ventana: add GSC boot watchdog disable to SPL 079ca00 imx: ventana: add gpio setup to SPL 484f580 imx: ventana: use common uart and i2c setup functions in SPL 3dcd603 imx: ventana: detect pmic using i2c probe instead of board model 32f01d2 imx: ventana: move GSC boot watchdog disable function to gsc.c defe0e8 imx: ventana: split out common functions between SPL and uboot 7a22259 imx: ventana: default msata/pci mux to pci before PCI enumeration e2e0076 imx: ventana: fix pcie reset for GW522x 265e3fb imx: ventana: config: enable Thermal support a8c94f9 imx: ventana: enable DM_SERIAL a4f84a5 imx: ventana: register gpio's with gpio_request 872b1ae imx: ventana: config: enable driver model 6f94cad imx: ventana: config: enable gpio command e574abe imx: ventana: display SPL boot device 31da35f imx: ventana: set dtype env var to boot media ebec986 arm: mx6: ddr3: Remove dead code d2249d2 i2c, mxc: rework i2c base address names for different SoCs 9c4a63b arm, imx6, i2c: add I2C4 for MX6DL f27f41c mx6: Set shared override bit in PL310 AUX_CTRL register 143286c tbs2910: add CONFIG_SUPPORT_EMMC_BOOT 0104511 tbs2910: use default CONFIG_SYS_PBSIZE 6358e0b tbs2910: only enable vga output for stdout/stderr when hdmi detected abce3a9 tbs2910: support for usb otg host mode 6d261b5 warp: README: Fix typo 5433284 imx: ventana: fix boot to SD 6219fb9 imx: dek_blob: Add explicit include for mapmem 57ffb41 bugfix i.mx6 pwm: prevent overflow of period_c * duty_ns
Change-Id: I4449a78c6f5ee86476894b146534b30d39a109cd Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Tue, 12 May 2015 09:15:58 +0000 (17:15 +0800)]
skmm-host: packaging mini_calc file in binary package
Fix the following build error:
* ERROR: QA Issue: skmm-host: Files/directories were installed but not shipped
/usr/bin/mini_calc [installed-vs-shipped]
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
This includes some backports of 2015.07-rc1 release which are related
to i.MX and Vybrid families. The backported changes are:
b16ec2d mx6cuboxi: Mention Cubox-i in the README 4cf36bf hummingboard: Remove mx6solo specific support e767d87 mx6cuboxi: Skip usb initialization when booting without HDMI 6d87db5 mx6cuboxi: Pull down PAD_ENET_RXD0/RXD1 ef1be8d mx6cuboxi: Fix Ethernet PHY detection problem c11bc28 logos: Add Solidrun's logo df66a37 mx6cuboxi: Allow HDMI and USB keyboard to be stdout/stdin 43c9802 mx6cuboxi: Add USB host support 9403159 mx6cuboxi: Add HDMI output support 2ee593f Fix mxc_hab documenation f1b4690 arm: mx6: Clamp MMDC and DDR3 clocks for timing calculations 8afedb2 colibri_vf: Enable USB support for Colibri Vybrid 1c322c8 usb: host: Add ehci-vf USB driver for ARM Vybrid SoC's 8f3b4af ARM: vf610: Initial integration for Colibri VF50/VF61 ec4acf4 ARM: vf610: Enable caches d0b33b7 ARM: vf610: Add SoC and CPU type detection 6adfaab ARM: vf610: Enable external 32KHz oscillator 0cbdc08 ARM: vf610: Move DDR3 initialization to imx-common dd995b9 Merge remote-tracking branch 'imx/master' into patches-2015.04 205d586 mx6cuboxi: Load the correct 'fdtfile' variable 6a305f2 mx6cuboxi: Use more standard namings for fdt variables feb6cc5 mx6cuboxi: Differentiate Cubox-i and Hummingboard 8cb6817 mx6cuboxi: Introduce multi-SoC support cfdcc5f mx6cuboxi: Prepare for multi SoC support b684586 mx6cuboxi: Fix the defconfig name f5e23aa unzip: add gzwrite command to write compressed image to block device 5b9f6a3 gunzip: add gzwrite routine for extracting compresed images to block device 120aea5 ARM: cm_fx6: use "select" instead of default value in defconfig 755bd40 ARM: mx6: use "select" instead of default value in defconfig
Change-Id: Ic3a0ecbd09e7a76d3ef732414184473a32952ac3 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Stefan Christ [Tue, 5 May 2015 08:40:08 +0000 (10:40 +0200)]
image_types_fsl.bbclass: use dd's option fsync instead of sync
The shell command sync flushes all filesystem buffers in the system. On
a bigger multiuser system there are multiple gigs of data sometimes in
the buffer which then are written out to disk at once. It's better to
only flush the specific file with dd's option 'fsync'.
Change-Id: I6476444dbbc28e4f8756066e531734ef1de71fdb Signed-off-by: Stefan Christ <s.christ@phytec.de> Tested-by: Nikolay Dimitrov <picmaster@mail.bg> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This fixes a card detection regression which has been introduced by 1b673ef (mmc: sdhci-esdhc-imx: Call mmc_of_parse()) change.
This backports from 4.1-rc1:
ba621b5 mmc: sdhci: fix card presence logic in sdhci_request function
Thanks to Nikolay Dimitrov <picmaster@mail.bg> and Fabio Estevam
<festevam@gmail.com> for helping to find the root cause of the issue.
Change-Id: Ibdee1a58eefbaef901eb2ba8c95e90e7a2dc59f9 Reported-by: Gary Thomas <gary@mlbassoc.com> Tested-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 27 Apr 2015 21:38:36 +0000 (18:38 -0300)]
eglinfo: Restrict i.MX6 backend for SoCs with 3D support
The i.MX6 SoloLite does not include 3D support and the headers are not
installed when building for it making it impossible to use the SoC
backend. Stop setting it.
Change-Id: I929d283df204372bc45888a8327563d81b125081 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 24 Apr 2015 12:03:51 +0000 (09:03 -0300)]
imx-test (00.00.00): Avoid it to be build for non-i.MX boards
The recipe is now restrict to the following SoC families:
- mxs
- mx3
- mx5
- mx6
- vf50
- vf60
Change-Id: I95e5de0e7007a1bbbae436e77fd39dc49dbd675e Reported-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This updates U-Boot 2015.04 version with some fixes and improvements
from 2015.07 release. Those are:
cba4c25 mx6sabresd: Remove uneeded ifdef 407be42 mx6sabresd: Fix SPL memory description 761bc19 nitrogen6x: allow gzipped bitmap display 1c29ad7 iMX: Fix compilation error when enabling SECURE_BOOT 6b396b3 arm: mx6: tqma6: Extract baseboard configs into separate config file 76962d0 power: pfuze100: fix LDO_EN bit value 9e2b0c2 imx: ventana: Update missing memory/calib handling 767d88b imx: ventana: Add new memory configuration 18b3a91 imx: ventana: set HDMI video in to yuv422bt656 for GW551x-A a2559f1 imx: ventana: use hdmiinfmt env var to override HDMI capture format e9fc6d1 imx: ventana: add DT fixup for GW522x to change PCIE_RST# GPIO ee5931d imx: ventana: add 'gsc wd' command for enabling and disabling GSC watchdog 4569cd5 imx: ventana: added device-tree display configuration for LVDS displays f02390b imx: ventana: add support for DLC-700JMGT4 and DLC-800FIGT3 LCD displays 9506970 imx: ventana: add DT fixup for GW54xx compatibility with older kernels 7f14c31 imx: ventana: remove 128x16 calibration (share with 128x32) 06edcb9 imx: ventana: updated 16bit DDR calibration eeca451 imx: ventana: added DT fixup for GW551x-A video input 45af3f7 imx: ventana: gsc: add new hwmon rails e732917 imx: ventana: add mem_mb dynamic env var 16e369f imx: ventana: remove GSC hwmon voltage rail min/max test e2801a9 imx: ventana: update boot scripts to support ubifs boot vol aec3761 imx: ventana: only pinmux FEC enet signals for boards using it 7c5cd42 imx: ventana: add wdis config for GW5520 0417169 imx: ventana: add usb_pgood_delay 2sec default 75f21e3 imx: ventana: Add support for GW551x 0c81b14 imx: ventana: disable IMX6 watchdogs on GW51xx RevA and RevB 1274bd2 imx: ventana: fix various sparse warnings 30dc880 imx: ventana: config: enable EXT4 filesystem read/write support f6747cd imx: ventana: config: enable edid support 8cc25eb imx: ventana: config: Support ramdisk 9543e95 imx: ventana: config: add USB Mass Storage (ums) support 4717e13 imx: ventana: set LTC3676 PMIC to appropriate values per datasheet b0b8334 imx: ventana: add support for 4Gb density mem devices with IMX6DL 29f0d6b imx: ventana: enable precharge power-down fast-exit mode a51de27 imx: ventana: add usb_pcisel hwconfig support 3ee26ec imx: ventana: remove unused GPIO configuration e806b22 imx: ventana: assign default ethprime dynamically 0a6ee03 imx: ventana: add i210 support 306568d imx: ventana: disable 4k tftp/nfs packets b8ce6fe mx6: Add initial SPL support for HummingBoard-i2eX 08daa25 fdt: add new fdt_fixup_display function to configure display 78c5a18 arm: mx6: ddr: add pd_fast_exit flag to system information 32f9ef3 ARM: mxs: Get boot mode from OCRAM
Another change included is:
fb25693 Revert "embestmx6boards: convert to use config_distro_bootcmd.h"
Which has been necessary to allow RIoT Board to work out of box with
current SDCard layout used in meta-fsl-arm. Thanks to Nikolay Dimitrov
<picmaster@mail.bg> and Gary Thomas <gary@mlbassoc.com> for reporting
the issue.
Change-Id: I7d13baefcda8f68fb9be618ea1eb55fc96bce5c2 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 14 Apr 2015 14:53:09 +0000 (11:53 -0300)]
u-boot-fslc: Update to the 2015.04's final release based fork
The 2b3a8e87 has the 2015.04 final release merged. So the current set
of changes applied on top of the 2015.04 release are:
59e39d3 wandboard: Changed mmcroot variable so kernel 3.10.31 boots 48b8a98 iMX6: Change mmcroot to use fixed mmc block index for USDHC 2f1399e mx6sabresd: Use mmcblk0 for CONFIG_MMCROOT b265496 embestmx6boards: Change default bootenv configuration d8c2380 mx6sabresd: Use LDO dtb file until LDO bypass support is added 1556dde mx6slevk: Use LDO dtb file until LDO bypass support is added
Change-Id: I0b9d5b812c20809b35521ff6dab8e2dda50ddd3c Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 10 Apr 2015 22:32:33 +0000 (19:32 -0300)]
imx6sxsabreauto: Use u-boot-imx until u-boot-fslc has SabreAUTO support
Currently the U-Boot FSLC does not has the i.MX6SoloX SabreAUTO
support so for the time being we are using the U-Boot i.MX fork
provided by Freescale as part of 3.14-1.0.0 BSP.
While on that, drop the UBOOT_ENTRYPOINT setting as it is a
duplication of the value of 'imx-base.inc' file.
Change-Id: I9419b6ba5e82d9ca3d12ed3cf339a23ab9b738ac Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>