Skip to contentSkip to conversation

QorIQ SDK 2.0 patches

PATCH In review [email protected] 3 participants 45 messages Jun 24, 2016 – Jun 30, 2016

lore
Share & tools
lore
#0 lore raw

cover QorIQ SDK 2.0 patches

From: Ting Liu <[email protected]>

Based on the below commit:
3699d10 weston: Fix weston window manager for i.MX 6UltraLite

Chunrong Guo (2):
ppa: add recipe
rcw: update to 1af724b

Ting Liu (31):
qemu-fsl: rename to qemu-qoriq
u-boot-ls1: rename to u-boot-qoriq
linux-ls1: rename to linux-qoriq qoriq-arm.inc: split common bits into qoriq.inc
ls1043ardb: add machine file
ls1021atwr: update machine file
u-boot-qoriq: upgrade to 2016.01
u-boot-qoriq: copy right binary for nor/secure_boot
qemu-qoriq: upgrade to v2.4 plus fsl patches
linux-qoriq: upgrade to 4.1 plus fsl patches
udev-rules-qoriq: add recipe
fm-ucode: add recipe
qe-ucode: update to a95f42ae
rcw: swap qspi binary in do_install_append
rcw: update to commit 521008f
apptrk: update to commit 4216af3
apptrk: update to 873f44c
asf: set COMPATIBLE_MACHINE as ls102xa
asf: not package .ko files in PN
asf: remove empty install directories
asf: update to commit 9580a62
asf: update to a8bbba6
cst: update to commit 65f79eb
cst: update to d1c6c28
fmc: add recipe
eth-config: add recipe
flib: add recipe
fmlib: add recipe
usdpaa: add recipe
dpa-offload: add recipe
usdpaa-apps: add recipe

Yuan Yao (1):
change-file-endianess: keep 8 byte alignment

Zhenhua Luo (1):
qoriq-arm64.inc: add

Zongchun Yu (6):
ls2080ardb: Add machine file
management-complex: Add recipe
ls2-phy: Add recipe
ls2-rcw: Add recipe
dpl-examples: Add recipe
restool: Add recipe

 conf/machine/include/qoriq-arm.inc                 |   15 +-
 conf/machine/include/qoriq-arm64.inc               |   10 +
 conf/machine/include/qoriq.inc                     |   12 +
 conf/machine/ls1021atwr.conf                       |   15 +-
 conf/machine/ls1043ardb.conf                       |   27 +
 conf/machine/ls2080ardb.conf                       |   22 +
 openembedded-layer/recipes-kernel/asf/asf_git.bb   |   18 +-
 recipes-bsp/apptrk/apptrk_git.bb                   |    6 +-
 .../change-file-endianess/byte_swap.tcl            |    9 +-
 recipes-bsp/ls2-phy/ls2-phy_git.bb                 |   27 +
 recipes-bsp/ppa/ppa/ppa.its                        |   23 +
 recipes-bsp/ppa/ppa_git.bb                         |   47 +
 recipes-bsp/qe-ucode/qe-ucode_git.bb               |    9 +-
 recipes-bsp/rcw/ls2-rcw_git.bb                     |   31 +
 ...ake-BOARDS-DESTDIR-overidable-in-Makefile.patch |   57 -
 recipes-bsp/rcw/rcw_git.bb                         |   38 +-
 .../u-boot-ls1/0001-uboot-support-gcc5.patch       |   90 -
 .../fix-build-error-under-gcc6.patch               |    0
 ...boot-ls1_2015.01.bb => u-boot-qoriq_2016.01.bb} |   30 +-
 recipes-core/udev/udev-rules-qoriq.bb              |   24 +
 .../71-fsl-dpaa-persistent-networking.rules        |   20 +
 .../72-fsl-dpaa-persistent-networking.rules        |   24 +
 .../73-fsl-dpaa-persistent-networking.rules        |   11 +
 recipes-devtools/cst/cst_git.bb                    |    8 +-
 .../qemu/qemu-qoriq/add-ptest-in-makefile.patch    |   29 +
 recipes-devtools/qemu/qemu-qoriq/run-ptest         |    8 +
 .../qemu/{qemu-fsl_git.bb => qemu-qoriq_git.bb}    |   43 +-
 recipes-dpaa/dpa-offload/dpa-offload_git.bb        |   45 +
 recipes-dpaa/eth-config/eth-config_git.bb          |   17 +
 recipes-dpaa/flib/flib_git.bb                      |   12 +
 recipes-dpaa/fm-ucode/fm-ucode_git.bb              |   35 +
 recipes-dpaa/fmc/fmc_git.bb                        |   48 +
 recipes-dpaa/fmlib/fmlib_git.bb                    |   43 +
 recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bb        |   62 +
 recipes-dpaa/usdpaa/usdpaa_git.bb                  |   25 +
 recipes-dpaa2/dpl-examples/dpl-examples_git.bb     |   30 +
 .../management-complex/management-complex_0.8.4.bb |   33 +
 recipes-dpaa2/restool/restool_git.bb               |   22 +
 ...pic_msi_feature-if-CONFIG_EPAPR_PARAVIRT-.patch |   32 +
 recipes-kernel/linux/linux-ls1.inc                 |   34 -
 ...LLVMLinux-use-static-inline-in-ARM-ftrace.patch |   48 -
 ...nux-Change-extern-inline-to-static-inline.patch |   59 -
 recipes-kernel/linux/linux-ls1/defconfig           | 3159 --------------------
 recipes-kernel/linux/linux-ls1_3.12.bb             |   11 -
 .../0003-use-static-inline-in-ARM-lifeboot.h.patch |   16 +-
 .../fix-the-compile-issue-under-gcc6.patch}        |    0
 recipes-kernel/linux/linux-qoriq_4.1.bb            |   72 +
 47 files changed, 897 insertions(+), 3559 deletions(-)
 create mode 100644 conf/machine/include/qoriq-arm64.inc
 create mode 100644 conf/machine/include/qoriq.inc
 create mode 100644 conf/machine/ls1043ardb.conf
 create mode 100644 conf/machine/ls2080ardb.conf
 create mode 100644 recipes-bsp/ls2-phy/ls2-phy_git.bb
 create mode 100644 recipes-bsp/ppa/ppa/ppa.its
 create mode 100644 recipes-bsp/ppa/ppa_git.bb
 create mode 100644 recipes-bsp/rcw/ls2-rcw_git.bb
 delete mode 100644 recipes-bsp/rcw/rcw/rcw-make-BOARDS-DESTDIR-overidable-in-Makefile.patch
 delete mode 100644 recipes-bsp/u-boot/u-boot-ls1/0001-uboot-support-gcc5.patch
 rename recipes-bsp/u-boot/{u-boot-ls1 => u-boot-qoriq}/fix-build-error-under-gcc6.patch (100%)
 rename recipes-bsp/u-boot/{u-boot-ls1_2015.01.bb => u-boot-qoriq_2016.01.bb} (77%)
 create mode 100644 recipes-core/udev/udev-rules-qoriq.bb
 create mode 100644 recipes-core/udev/udev-rules-qoriq/71-fsl-dpaa-persistent-networking.rules
 create mode 100644 recipes-core/udev/udev-rules-qoriq/72-fsl-dpaa-persistent-networking.rules
 create mode 100644 recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules
 create mode 100644 recipes-devtools/qemu/qemu-qoriq/add-ptest-in-makefile.patch
 create mode 100644 recipes-devtools/qemu/qemu-qoriq/run-ptest
 rename recipes-devtools/qemu/{qemu-fsl_git.bb => qemu-qoriq_git.bb} (55%)
 create mode 100644 recipes-dpaa/dpa-offload/dpa-offload_git.bb
 create mode 100644 recipes-dpaa/eth-config/eth-config_git.bb
 create mode 100644 recipes-dpaa/flib/flib_git.bb
 create mode 100644 recipes-dpaa/fm-ucode/fm-ucode_git.bb
 create mode 100644 recipes-dpaa/fmc/fmc_git.bb
 create mode 100644 recipes-dpaa/fmlib/fmlib_git.bb
 create mode 100644 recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bb
 create mode 100644 recipes-dpaa/usdpaa/usdpaa_git.bb
 create mode 100644 recipes-dpaa2/dpl-examples/dpl-examples_git.bb
 create mode 100644 recipes-dpaa2/management-complex/management-complex_0.8.4.bb
 create mode 100644 recipes-dpaa2/restool/restool_git.bb
 create mode 100644 recipes-kernel/linux/files/only-set-vmpic_msi_feature-if-CONFIG_EPAPR_PARAVIRT-.patch
 delete mode 100644 recipes-kernel/linux/linux-ls1.inc
 delete mode 100644 recipes-kernel/linux/linux-ls1/0001-ARM-8158-LLVMLinux-use-static-inline-in-ARM-ftrace.patch
 delete mode 100644 recipes-kernel/linux/linux-ls1/0001-ARM-LLVMLinux-Change-extern-inline-to-static-inline.patch
 delete mode 100644 recipes-kernel/linux/linux-ls1/defconfig
 delete mode 100644 recipes-kernel/linux/linux-ls1_3.12.bb
 rename recipes-kernel/linux/{linux-ls1 => linux-qoriq}/0003-use-static-inline-in-ARM-lifeboot.h.patch (70%)
 rename recipes-kernel/linux/{linux-ls1/Fix-the-compile-issue-under-gcc6.patch => linux-qoriq/fix-the-compile-issue-under-gcc6.patch} (100%)
 create mode 100644 recipes-kernel/linux/linux-qoriq_4.1.bb
Signature · 1 line
1.9.2
#1 lore raw

PATCH 1/41 qemu-fsl: rename to qemu-qoriq

From: Ting Liu <[email protected]>

---
 recipes-devtools/qemu/{qemu-fsl_git.bb => qemu-qoriq_git.bb} | 11 +++++++++++
 1 file changed, 11 insertions(+)
 rename recipes-devtools/qemu/{qemu-fsl_git.bb => qemu-qoriq_git.bb} (82%)
recipes-devtools/qemu/qemu-qoriq_git.bb renamed from recipes-devtools/qemu/qemu-fsl_git.bb +11 -0
similarity index 82%
rename from recipes-devtools/qemu/qemu-fsl_git.bb
rename to recipes-devtools/qemu/qemu-qoriq_git.bb
index e049b90..ddabd00 100644
@@ -3,6 +3,17 @@ require recipes-devtools/qemu/qemu.inc
 LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
                     file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913"
 
+PROVIDES = "qemu"
+
+python() {
+    pkgs = d.getVar('PACKAGES', True).split()
+    for p in pkgs:
+        if 'qemu-qoriq' in p:
+            d.appendVar("RPROVIDES_%s" % p, p.replace('qemu-qoriq', 'qemu'))
+            d.appendVar("RCONFLICTS_%s" % p, p.replace('qemu-qoriq', 'qemu'))
+            d.appendVar("RREPLACES_%s" % p, p.replace('qemu-qoriq', 'qemu'))
+}
+
 # This means QEMU v2.2.0 with FSL specific patches applied
 PV = "2.2.0+${SRCPV}"
 
Signature · 1 line
1.9.2
#2 lore raw

PATCH 2/41 u-boot-ls1: rename to u-boot-qoriq

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 conf/machine/include/qoriq-arm.inc                                    | 4 ++--
 .../u-boot/{u-boot-ls1 => u-boot-qoriq}/0001-uboot-support-gcc5.patch | 0
 .../{u-boot-ls1 => u-boot-qoriq}/fix-build-error-under-gcc6.patch     | 0
 recipes-bsp/u-boot/{u-boot-ls1_2015.01.bb => u-boot-qoriq_2015.01.bb} | 0
 4 files changed, 2 insertions(+), 2 deletions(-)
 rename recipes-bsp/u-boot/{u-boot-ls1 => u-boot-qoriq}/0001-uboot-support-gcc5.patch (100%)
 rename recipes-bsp/u-boot/{u-boot-ls1 => u-boot-qoriq}/fix-build-error-under-gcc6.patch (100%)
 rename recipes-bsp/u-boot/{u-boot-ls1_2015.01.bb => u-boot-qoriq_2015.01.bb} (100%)
conf/machine/include/qoriq-arm.inc +2 -2
index 20a7594..cd33b75 100644
@@ -1,8 +1,8 @@
 require conf/machine/include/soc-family.inc
 
 # Freescale BSP default providers
-PREFERRED_PROVIDER_u-boot_ls102xa ?= "u-boot-ls1"
-PREFERRED_PROVIDER_virtual/bootloader_ls102xa ?= "u-boot-ls1"
+PREFERRED_PROVIDER_u-boot_ls102xa ?= "u-boot-qoriq"
+PREFERRED_PROVIDER_virtual/bootloader_ls102xa ?= "u-boot-qoriq"
 PREFERRED_PROVIDER_virtual/kernel_ls102xa ?= "linux-ls1"
 
 # Define the default image type
recipes-bsp/u-boot/u-boot-qoriq/0001-uboot-support-gcc5.patch renamed from recipes-bsp/u-boot/u-boot-ls1/0001-uboot-support-gcc5.patch +0 -0
similarity index 100%
rename from recipes-bsp/u-boot/u-boot-ls1/0001-uboot-support-gcc5.patch
rename to recipes-bsp/u-boot/u-boot-qoriq/0001-uboot-support-gcc5.patch
recipes-bsp/u-boot/u-boot-qoriq/fix-build-error-under-gcc6.patch renamed from recipes-bsp/u-boot/u-boot-ls1/fix-build-error-under-gcc6.patch +0 -0
similarity index 100%
rename from recipes-bsp/u-boot/u-boot-ls1/fix-build-error-under-gcc6.patch
rename to recipes-bsp/u-boot/u-boot-qoriq/fix-build-error-under-gcc6.patch
recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb renamed from recipes-bsp/u-boot/u-boot-ls1_2015.01.bb +0 -0
similarity index 100%
rename from recipes-bsp/u-boot/u-boot-ls1_2015.01.bb
rename to recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
Signature · 1 line
1.9.2
#3 lore raw

PATCH 3/41 linux-ls1: rename to linux-qoriq

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 conf/machine/include/qoriq-arm.inc                            |  2 +-
 recipes-kernel/linux/linux-ls1_3.12.bb                        | 11 -----------
 ...1-ARM-8158-LLVMLinux-use-static-inline-in-ARM-ftrace.patch |  0
 ...-ARM-LLVMLinux-Change-extern-inline-to-static-inline.patch |  0
 .../0003-use-static-inline-in-ARM-lifeboot.h.patch            |  0
 .../Fix-the-compile-issue-under-gcc6.patch                    |  0
 recipes-kernel/linux/{linux-ls1 => linux-qoriq}/defconfig     |  0
 recipes-kernel/linux/{linux-ls1.inc => linux-qoriq_3.12.bb}   | 11 ++++++++---
 8 files changed, 9 insertions(+), 15 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-ls1_3.12.bb
 rename recipes-kernel/linux/{linux-ls1 => linux-qoriq}/0001-ARM-8158-LLVMLinux-use-static-inline-in-ARM-ftrace.patch (100%)
 rename recipes-kernel/linux/{linux-ls1 => linux-qoriq}/0001-ARM-LLVMLinux-Change-extern-inline-to-static-inline.patch (100%)
 rename recipes-kernel/linux/{linux-ls1 => linux-qoriq}/0003-use-static-inline-in-ARM-lifeboot.h.patch (100%)
 rename recipes-kernel/linux/{linux-ls1 => linux-qoriq}/Fix-the-compile-issue-under-gcc6.patch (100%)
 rename recipes-kernel/linux/{linux-ls1 => linux-qoriq}/defconfig (100%)
 rename recipes-kernel/linux/{linux-ls1.inc => linux-qoriq_3.12.bb} (77%)
conf/machine/include/qoriq-arm.inc +1 -1
index cd33b75..f20ce56 100644
@@ -3,7 +3,7 @@ require conf/machine/include/soc-family.inc
 # Freescale BSP default providers
 PREFERRED_PROVIDER_u-boot_ls102xa ?= "u-boot-qoriq"
 PREFERRED_PROVIDER_virtual/bootloader_ls102xa ?= "u-boot-qoriq"
-PREFERRED_PROVIDER_virtual/kernel_ls102xa ?= "linux-ls1"
+PREFERRED_PROVIDER_virtual/kernel_ls102xa ?= "linux-qoriq"
 
 # Define the default image type
 IMAGE_CLASSES ?= "image_types_uboot"
recipes-kernel/linux/linux-ls1_3.12.bb deleted +0 -11
deleted file mode 100644
index eaa0f2a..0000000
@@ -1,11 +0,0 @@
-SUMMARY = "Linux Kernel for Freescale layerscape platforms"
-DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \
-Layerscape1 Family Boards. "
-
-require recipes-kernel/linux/linux-ls1.inc
-require recipes-kernel/linux/linux-dtb.inc
-
-SRCBRANCH = "master"
-SRCREV = "f488de6741d5ba805b9fe813d2ddf32368d3a888"
-
-COMPATIBLE_MACHINE = "(ls102xa)"
recipes-kernel/linux/linux-qoriq/0001-ARM-8158-LLVMLinux-use-static-inline-in-ARM-ftrace.patch renamed from recipes-kernel/linux/linux-ls1/0001-ARM-8158-LLVMLinux-use-static-inline-in-ARM-ftrace.patch +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-ls1/0001-ARM-8158-LLVMLinux-use-static-inline-in-ARM-ftrace.patch
rename to recipes-kernel/linux/linux-qoriq/0001-ARM-8158-LLVMLinux-use-static-inline-in-ARM-ftrace.patch
recipes-kernel/linux/linux-qoriq/0001-ARM-LLVMLinux-Change-extern-inline-to-static-inline.patch renamed from recipes-kernel/linux/linux-ls1/0001-ARM-LLVMLinux-Change-extern-inline-to-static-inline.patch +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-ls1/0001-ARM-LLVMLinux-Change-extern-inline-to-static-inline.patch
rename to recipes-kernel/linux/linux-qoriq/0001-ARM-LLVMLinux-Change-extern-inline-to-static-inline.patch
recipes-kernel/linux/linux-qoriq/0003-use-static-inline-in-ARM-lifeboot.h.patch renamed from recipes-kernel/linux/linux-ls1/0003-use-static-inline-in-ARM-lifeboot.h.patch +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-ls1/0003-use-static-inline-in-ARM-lifeboot.h.patch
rename to recipes-kernel/linux/linux-qoriq/0003-use-static-inline-in-ARM-lifeboot.h.patch
recipes-kernel/linux/linux-qoriq/Fix-the-compile-issue-under-gcc6.patch renamed from recipes-kernel/linux/linux-ls1/Fix-the-compile-issue-under-gcc6.patch +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-ls1/Fix-the-compile-issue-under-gcc6.patch
rename to recipes-kernel/linux/linux-qoriq/Fix-the-compile-issue-under-gcc6.patch
recipes-kernel/linux/linux-qoriq/defconfig renamed from recipes-kernel/linux/linux-ls1/defconfig +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-ls1/defconfig
rename to recipes-kernel/linux/linux-qoriq/defconfig
recipes-kernel/linux/linux-qoriq_3.12.bb renamed from recipes-kernel/linux/linux-ls1.inc +8 -3
similarity index 77%
rename from recipes-kernel/linux/linux-ls1.inc
rename to recipes-kernel/linux/linux-qoriq_3.12.bb
index 85b5391..313cea5 100644
@@ -1,19 +1,23 @@
+SUMMARY = "Linux Kernel for Freescale layerscape platforms"
+DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \
+Layerscape1 Family Boards. "
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
+require recipes-kernel/linux/linux-dtb.inc
+
 inherit kernel fsl-kernel-localversion
 LOCALVERSION ?= "+ls1"
 
+SRCBRANCH = "master"
 SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;branch=${SRCBRANCH} \
     file://defconfig \
-"
-
-SRC_URI += " \
     file://0001-ARM-8158-LLVMLinux-use-static-inline-in-ARM-ftrace.patch \
     file://0001-ARM-LLVMLinux-Change-extern-inline-to-static-inline.patch \
     file://0003-use-static-inline-in-ARM-lifeboot.h.patch \
     file://Fix-the-compile-issue-under-gcc6.patch \
 "
+SRCREV = "f488de6741d5ba805b9fe813d2ddf32368d3a888"
 
 KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 ZIMAGE_BASE_NAME = "zImage-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
@@ -32,3 +36,4 @@ do_deploy_append() {
 }
 
 FILES_kernel-image += "/boot/zImage*"
+COMPATIBLE_MACHINE = "(ls102xa)"
Signature · 1 line
1.9.2
#4 lore raw

PATCH 4/41 qoriq-arm.inc: split common bits into qoriq.inc

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 conf/machine/include/qoriq-arm.inc | 15 +++------------
 conf/machine/include/qoriq.inc     | 12 ++++++++++++
 conf/machine/ls1021atwr.conf       |  3 +++
 3 files changed, 18 insertions(+), 12 deletions(-)
 create mode 100644 conf/machine/include/qoriq.inc
conf/machine/include/qoriq-arm.inc +3 -12
index f20ce56..ec320bb 100644
@@ -1,17 +1,8 @@
+# Provides the QorIQ common settings for ARM
 require conf/machine/include/soc-family.inc
 
-# Freescale BSP default providers
-PREFERRED_PROVIDER_u-boot_ls102xa ?= "u-boot-qoriq"
-PREFERRED_PROVIDER_virtual/bootloader_ls102xa ?= "u-boot-qoriq"
-PREFERRED_PROVIDER_virtual/kernel_ls102xa ?= "linux-qoriq"
-
-# Define the default image type
-IMAGE_CLASSES ?= "image_types_uboot"
 KERNEL_IMAGETYPE ?= "uImage"
 
-UBOOT_ENTRYPOINT_ls102xa = "0x80008000"
-
-MACHINE_FEATURES = "pci ext2 ext3 serial"
-MACHINE_EXTRA_RRECOMMENDS = "udev-extraconf"
+MACHINEOVERRIDES =. "qoriq-arm:"
 
-DEFAULTTUNE_ls102xa ?= "cortexa7hf-neon"
+require conf/machine/include/qoriq.inc
conf/machine/include/qoriq.inc new file +12 -0
new file mode 100644
index 0000000..d583b09
@@ -0,0 +1,12 @@
+# Provides the QorIQ common settings
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq"
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-qoriq"
+PREFERRED_PROVIDER_u-boot ?= "u-boot-qoriq"
+
+MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf kernel-modules"
+
+IMAGE_CLASSES += "image_types_uboot"
+EXTRA_IMAGEDEPENDS += "u-boot"
+
+MACHINEOVERRIDES =. "qoriq:"
conf/machine/ls1021atwr.conf +3 -0
index 4478e95..562ae96 100644
@@ -7,6 +7,8 @@
 require conf/machine/include/qoriq-arm.inc
 require conf/machine/include/tune-cortexa7.inc
 
+DEFAULTTUNE = "cortexa7hf-neon"
+
 SOC_FAMILY = "ls102xa"
 
 UBOOT_CONFIG ??= "nor"
@@ -16,6 +18,7 @@ UBOOT_CONFIG[lpuart] = "ls1021atwr_nor_lpuart_config"
 UBOOT_CONFIG[qspi] = "ls1021atwr_qspi_config"
 UBOOT_CONFIG[secure-boot] = "ls1021atwr_nor_SECURE_BOOT_config"
 
+UBOOT_ENTRYPOINT = "0x80008000"
 QE_UCODE="iram_Type_A_LS1021a_r1.0.bin"
 
 KERNEL_DEVICETREE ?= "ls1021a-twr.dtb"
Signature · 1 line
1.9.2
#5 lore raw

PATCH 5/41 qoriq-arm64.inc: add

In reply to [email protected]

From: Zhenhua Luo <[email protected]>

---
 conf/machine/include/qoriq-arm64.inc | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 conf/machine/include/qoriq-arm64.inc
conf/machine/include/qoriq-arm64.inc new file +10 -0
new file mode 100644
index 0000000..0d923ce
@@ -0,0 +1,10 @@
+# Provides the QorIQ common settings for ARM64
+require conf/machine/include/soc-family.inc
+
+KERNEL_IMAGETYPE ?= "Image"
+
+BBMASK = ".*openjre|.*openjdk"
+
+MACHINEOVERRIDES =. "qoriq-arm64:"
+
+require conf/machine/include/qoriq.inc
Signature · 1 line
1.9.2
#6 lore raw

PATCH 6/41 ls2080ardb: Add machine file

In reply to [email protected]

From: Zongchun Yu <[email protected]>

---
 conf/machine/ls2080ardb.conf | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 conf/machine/ls2080ardb.conf
conf/machine/ls2080ardb.conf new file +22 -0
new file mode 100644
index 0000000..53fd1ec
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: Freescale LS2080ARDB board
+#@SOC: LSCH3
+#@DESCRIPTION: Machine configuration for running LS2080ARDB in 64-bit mode
+#@MAINTAINER: Zongchun Yu <[email protected]>
+
+require conf/machine/include/qoriq-arm64.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+SOC_FAMILY = "fsl-lsch3"
+
+UBOOT_CONFIG ??= "nor"
+UBOOT_CONFIG[nor] = "ls2080ardb_defconfig"
+
+KERNEL_DEFCONFIG ?= "${S}/arch/arm64/configs/defconfig"
+KERNEL_DEVICETREE ?= "freescale/fsl-ls2080a-rdb.dtb"
+
+SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0"
+SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
+
+EXTRA_IMAGEDEPENDS += "dpl-examples ls2-phy ls2-rcw management-complex"
+USE_VT = "0"
Signature · 1 line
1.9.2
#7 lore raw

PATCH 7/41 ls1043ardb: add machine file

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 conf/machine/ls1043ardb.conf | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 conf/machine/ls1043ardb.conf
conf/machine/ls1043ardb.conf new file +27 -0
new file mode 100644
index 0000000..6cf8566
@@ -0,0 +1,27 @@
+#@TYPE: Machine
+#@NAME: Freescale LS1043ARDB 
+#@SOC: LSCH2
+#@DESCRIPTION: Machine configuration for running LS1043A in 64-bit mode
+#@MAINTAINER: Chunrong Guo <[email protected]>
+
+require conf/machine/include/qoriq-arm64.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+SOC_FAMILY = "fsl-lsch2"
+
+UBOOT_CONFIG ??= "nand sdcard nor"
+UBOOT_CONFIG[nor] = "ls1043ardb_config"
+UBOOT_CONFIG[nand] = "ls1043ardb_nand_config"
+UBOOT_CONFIG[sdcard] = "ls1043ardb_sdcard_config"
+UBOOT_CONFIG[secure-boot] = "ls1043ardb_SECURE_BOOT_defconfig"
+
+QE_UCODE = "iram_Type_A_LS1021a_r1.0.bin"
+
+KERNEL_DEFCONFIG ?= "${S}/arch/arm64/configs/defconfig"
+KERNEL_DEVICETREE ?= "freescale/fsl-ls1043a-rdb.dtb freescale/fsl-ls1043a-rdb-usdpaa.dtb"
+
+SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyAMA0"
+SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
+
+EXTRA_IMAGEDEPENDS += "fm-ucode rcw ppa qe-ucode"
+USE_VT = "0"
Signature · 1 line
1.9.2
#8 lore raw

PATCH 8/41 ls1021atwr: update machine file

In reply to [email protected]

From: Ting Liu <[email protected]>

* build multiple u-boot binaries
* support QSPI and IFC in SD boot
* define KERNEL_DEFCONFIG
* add rcw and qe-ucode as EXTRA_IMAGEDEPENDS

---
 conf/machine/ls1021atwr.conf | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
conf/machine/ls1021atwr.conf +8 -4
index 562ae96..dfe09fe 100644
@@ -1,7 +1,8 @@
 #@TYPE: Machine
 #@NAME: Freescale LS1021ATWR board
 #@SOC: ls102xa
-#@DESCRIPTION: Machine configuration for running LS1021ATWR in 32-bit mode
+#@DESCRIPTION: Machine configuration for Freescale QorIQ LS1 Tower System
+#              Module Rev2.0 with ARM Cortex-A7 core
 #@MAINTAINER: Zhenhua Luo <[email protected]>
 
 require conf/machine/include/qoriq-arm.inc
@@ -11,9 +12,10 @@ DEFAULTTUNE = "cortexa7hf-neon"
 
 SOC_FAMILY = "ls102xa"
 
-UBOOT_CONFIG ??= "nor"
+UBOOT_CONFIG ??= "sdcard-ifc sdcard-qspi lpuart qspi secure-boot nor"
 UBOOT_CONFIG[nor] = "ls1021atwr_nor_config"
-UBOOT_CONFIG[sdcard] = "ls1021atwr_sdcard_config,sdcard"
+UBOOT_CONFIG[sdcard-ifc] = "ls1021atwr_sdcard_ifc_config"
+UBOOT_CONFIG[sdcard-qspi] = "ls1021atwr_sdcard_qspi_config"
 UBOOT_CONFIG[lpuart] = "ls1021atwr_nor_lpuart_config"
 UBOOT_CONFIG[qspi] = "ls1021atwr_qspi_config"
 UBOOT_CONFIG[secure-boot] = "ls1021atwr_nor_SECURE_BOOT_config"
@@ -21,9 +23,11 @@ UBOOT_CONFIG[secure-boot] = "ls1021atwr_nor_SECURE_BOOT_config"
 UBOOT_ENTRYPOINT = "0x80008000"
 QE_UCODE="iram_Type_A_LS1021a_r1.0.bin"
 
+KERNEL_DEFCONFIG ?= "${S}/arch/arm/configs/ls1021a_defconfig"
 KERNEL_DEVICETREE ?= "ls1021a-twr.dtb"
 
 SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0 115200;ttyLP0 115200;ttyAMA0"
 SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
-USE_VT ?= "0"
 
+EXTRA_IMAGEDEPENDS += "rcw qe-ucode"
+USE_VT ?= "0"
Signature · 1 line
1.9.2
#9 lore raw

PATCH 9/41 u-boot-qoriq: upgrade to 2016.01

In reply to [email protected]

From: Ting Liu <[email protected]>

The main features are:
* Upgrade to 2016.01
* On ARM platforms, the U-Boot image includes the device tree
* Non-secure and Secure Boot (ESBC)
* Primary Protected Application (PPA) firmware integration [LS1043A]
* Clock, CPLD, DUART, DDR3, DDR4, DSPI, eSDHC, GIC-400, GIC-500, I2C, OCRAM, PCIe, USB 2 & 3, SATA, UART
* Networking support using eTSEC, FMAN Independent Mode or DPAA2 networking
* DCU, eMMC 4.5, I2C3, LPUART, QSPI [LS1021A]
* eLBC and IFC access to NOR and NAND flash
* Boot from NOR, NAND flash, eSPI, SDHC
* Boot from SRIO [B4860, P5020, P4080]
* Voltage ID (board specific)
* CodeWarrior debug patch for U-Boot

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

---
 .../u-boot-qoriq/0001-uboot-support-gcc5.patch     | 90 ----------------------
 ...ot-qoriq_2015.01.bb => u-boot-qoriq_2016.01.bb} | 26 +++----
 2 files changed, 9 insertions(+), 107 deletions(-)
 delete mode 100644 recipes-bsp/u-boot/u-boot-qoriq/0001-uboot-support-gcc5.patch
 rename recipes-bsp/u-boot/{u-boot-qoriq_2015.01.bb => u-boot-qoriq_2016.01.bb} (80%)
recipes-bsp/u-boot/u-boot-qoriq/0001-uboot-support-gcc5.patch deleted +0 -90
deleted file mode 100644
index c269df0..0000000
@@ -1,90 +0,0 @@
-From 3afcde1104f3fa9102911467929d5752eff484aa Mon Sep 17 00:00:00 2001
-From: Chunrong Guo <[email protected]>
-Date: Thu, 29 Oct 2015 03:18:58 -0500
-Subject: [PATCH] uboot : support gcc5
-
-
-Fixed the following build errors with gcc5:
- |error: linux/compiler-gcc5.h: No such file or directory
-
-Upstream-Status: Pending
-
----
- include/linux/compiler-gcc5.h | 65 +++++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 65 insertions(+)
- create mode 100644 include/linux/compiler-gcc5.h
-
-diff --git a/include/linux/compiler-gcc5.h b/include/linux/compiler-gcc5.h
-new file mode 100644
-index 0000000..c8c5659
---- /dev/null
-+++ b/include/linux/compiler-gcc5.h
-@@ -0,0 +1,65 @@
-+#ifndef __LINUX_COMPILER_H
-+#error "Please don't include <linux/compiler-gcc5.h> directly, include <linux/compiler.h> instead."
-+#endif
-+
-+#define __used				__attribute__((__used__))
-+#define __must_check			__attribute__((warn_unused_result))
-+#define __compiler_offsetof(a, b)	__builtin_offsetof(a, b)
-+
-+/* Mark functions as cold. gcc will assume any path leading to a call
-+   to them will be unlikely.  This means a lot of manual unlikely()s
-+   are unnecessary now for any paths leading to the usual suspects
-+   like BUG(), printk(), panic() etc. [but let's keep them for now for
-+   older compilers]
-+
-+   Early snapshots of gcc 4.3 don't support this and we can't detect this
-+   in the preprocessor, but we can live with this because they're unreleased.
-+   Maketime probing would be overkill here.
-+
-+   gcc also has a __attribute__((__hot__)) to move hot functions into
-+   a special section, but I don't see any sense in this right now in
-+   the kernel context */
-+#define __cold			__attribute__((__cold__))
-+
-+#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
-+
-+#ifndef __CHECKER__
-+# define __compiletime_warning(message) __attribute__((warning(message)))
-+# define __compiletime_error(message) __attribute__((error(message)))
-+#endif /* __CHECKER__ */
-+
-+/*
-+ * Mark a position in code as unreachable.  This can be used to
-+ * suppress control flow warnings after asm blocks that transfer
-+ * control elsewhere.
-+ *
-+ * Early snapshots of gcc 4.5 don't support this and we can't detect
-+ * this in the preprocessor, but we can live with this because they're
-+ * unreleased.  Really, we need to have autoconf for the kernel.
-+ */
-+#define unreachable() __builtin_unreachable()
-+
-+/* Mark a function definition as prohibited from being cloned. */
-+#define __noclone	__attribute__((__noclone__))
-+
-+/*
-+ * Tell the optimizer that something else uses this function or variable.
-+ */
-+#define __visible __attribute__((externally_visible))
-+
-+/*
-+ * GCC 'asm goto' miscompiles certain code sequences:
-+ *
-+ *   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
-+ *
-+ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
-+ *
-+ * (asm goto is automatically volatile - the naming reflects this.)
-+ */
-+#define asm_volatile_goto(x...)	do { asm goto(x); asm (""); } while (0)
-+
-+#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
-+#define __HAVE_BUILTIN_BSWAP32__
-+#define __HAVE_BUILTIN_BSWAP64__
-+#define __HAVE_BUILTIN_BSWAP16__
-+#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
--- 
-2.3.3
-
recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb renamed from recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb +9 -17
similarity index 80%
rename from recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
rename to recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb
index 2695c14..284d30a 100644
@@ -1,6 +1,8 @@
 require recipes-bsp/u-boot/u-boot.inc
+inherit fsl-u-boot-localversion
 
-DESCRIPTION = "U-Boot provided by Freescale with focus on QorIQ Layerscape1 boards"
+DESCRIPTION = "U-Boot provided by Freescale with focus on QorIQ boards"
+PROVIDES += "u-boot"
 LICENSE = "GPLv2 & BSD-3-Clause & BSD-2-Clause & LGPL-2.0 & LGPL-2.1"
 LIC_FILES_CHKSUM = " \
     file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
@@ -10,21 +12,16 @@ LIC_FILES_CHKSUM = " \
     file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \
 "
 
-SRCBRANCH = "master"
-SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git;branch=${SRCBRANCH}"
-SRC_URI += "file://0001-uboot-support-gcc5.patch \
+DEPENDS_append = " change-file-endianess-native dtc-native tcl-native"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git;branch=sdk-v2.0.x \
     file://fix-build-error-under-gcc6.patch \
 "
-SRCREV = "6ba8eedbcdc4b063f59a63e6288b938af739e8ad"
-
-LOCALVERSION ?= "+ls1"
+SRCREV = "a9b437f50e2051f8d42ec9e1a6df52de4bc00e1e"
 
 S = "${WORKDIR}/git"
 
-inherit fsl-u-boot-localversion
-
-DEPENDS += "change-file-endianess-native dtc-native"
-PROVIDES += "u-boot"
+LOCALVERSION ?= "+fsl"
 
 do_compile_append () {
  unset i j
@@ -51,9 +48,4 @@ do_compile_append () {
 
 PACKAGES += "${PN}-images"
 FILES_${PN}-images += "/boot"
-
-ALLOW_EMPTY_${PN} = "1"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "(ls102xa)"
-
+COMPATIBLE_MACHINE = "(qoriq)"
Signature · 1 line
1.9.2
#10 lore raw

PATCH 10/41 u-boot-qoriq: copy right binary for nor/secure_boot

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb | 4 ++++
 1 file changed, 4 insertions(+)
recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb +4 -0
index 284d30a..d58b442 100644
@@ -32,6 +32,10 @@ do_compile_append () {
                 j=`expr $j + 1`;
                 if [ $j -eq $i ]; then
                     case "${config}" in
+                        *SECURE*|*SECBOOT*)
+                            :;;
+                        *nor*)
+                            cp ${config}/u-boot-dtb.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX};;
                         *nand* | *sdcard*)
                             cp ${config}/u-boot-with-spl-pbl.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX};;
                         *spi*) 
Signature · 1 line
1.9.2
#11 lore raw

PATCH 11/41 qemu-qoriq: upgrade to v2.4 plus fsl patches

In reply to [email protected]

From: Ting Liu <[email protected]>

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

---
 .../qemu/qemu-qoriq/add-ptest-in-makefile.patch    | 29 +++++++++++++++++
 recipes-devtools/qemu/qemu-qoriq/run-ptest         |  8 +++++
 recipes-devtools/qemu/qemu-qoriq_git.bb            | 36 ++++++++++------------
 3 files changed, 54 insertions(+), 19 deletions(-)
 create mode 100644 recipes-devtools/qemu/qemu-qoriq/add-ptest-in-makefile.patch
 create mode 100644 recipes-devtools/qemu/qemu-qoriq/run-ptest
recipes-devtools/qemu/qemu-qoriq/add-ptest-in-makefile.patch new file +29 -0
new file mode 100644
index 0000000..a99f720
@@ -0,0 +1,29 @@
+Upstream-Status: Pending
+
+Add subpackage -ptest which runs all unit test cases for qemu.
+
+Signed-off-by: Kai Kang <[email protected]>
+---
+ tests/Makefile |   10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/tests/Makefile b/tests/Makefile
+index 88f7105..3f40b4b 100644
+--- a/tests/Makefile
++++ b/tests/Makefile
+@@ -405,3 +405,12 @@ all: $(QEMU_IOTESTS_HELPERS-y)
+ 
+ -include $(wildcard tests/*.d)
+ -include $(wildcard tests/libqos/*.d)
++
++buildtest-TESTS: $(check-unit-y)
++
++runtest-TESTS:
++	for f in $(check-unit-y); do \
++		nf=$$(echo $$f | sed 's/tests\//\.\//g'); \
++		$$nf; \
++	done
++
+--
+1.7.9.5
+
recipes-devtools/qemu/qemu-qoriq/run-ptest new file +8 -0
new file mode 100644
index 0000000..f4b8e97
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+#This script is used to run qemu test suites
+ptestdir=$(pwd)
+cd tests
+
+export SRC_PATH=$ptestdir
+make -k runtest-TESTS | sed '/: OK/ s/^/PASS: /g'
recipes-devtools/qemu/qemu-qoriq_git.bb +17 -19
index ddabd00..e59aa36 100644
@@ -1,3 +1,5 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
 require recipes-devtools/qemu/qemu.inc
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
@@ -14,32 +16,27 @@ python() {
             d.appendVar("RREPLACES_%s" % p, p.replace('qemu-qoriq', 'qemu'))
 }
 
-# This means QEMU v2.2.0 with FSL specific patches applied
-PV = "2.2.0+${SRCPV}"
-
-# NOTE: this recipe requires poky's qemu.inc which assumes version 2.3
-# where glx enable config option changed to --enable-opengl. For now we
-# restore it, but we should remove the following lines when upgrading
-# to qemu 2.3:
-PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,mesa"
-
-# remove not supported PACKAGECONFIG by this v2.2.0 based recipe
+# remove not supported PACKAGECONFIG by this recipe
 PACKAGECONFIG[gcrypt] = ""
-PACKAGECONFIG[gnutls] = ""
 PACKAGECONFIG[nettle] = ""
 PACKAGECONFIG[nss] = ""
 
-SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git;branch=master"
-SRCREV = "00ac004143e9fe46944a1885b04268fcd3a95a3a"
+SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git;branch=sdk-v2.0.x"
+SRCREV = "4b846e9b2b15660abace52dd27a406af08c4212d"
 
-S = "${WORKDIR}/git"
+# add ptest patches
+SRC_URI_append = "\
+    file://add-ptest-in-makefile.patch \
+    file://run-ptest \
+"
 
-QEMU_TARGETS = "arm"
-DISABLE_STATIC = ""
+S = "${WORKDIR}/git"
 
-inherit pkgconfig
+QEMU_TARGETS_qoriq-arm = "arm"
+QEMU_TARGETS_qoriq_arm64 = "aarch64"
+PACKAGECONFIG_append = " aio libusb"
 
-do_compile_ptest_base[noexec] = "1"
+DISABLE_STATIC = ""
 
 # Append build host pkg-config paths for native target since the host may provide sdl
 do_configure_prepend() {
@@ -63,7 +60,8 @@ do_install_append() {
     if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi
 }
 
-FILES_${PN} += "/usr/share/qemu/"
+FILES_${PN} += "${datadir}/qemu/"
+INSANE_SKIP_${PN} += "dev-deps"
 
 # FIXME: Avoid WARNING due missing patch for native/nativesdk
 BBCLASSEXTEND = ""
Signature · 1 line
1.9.2
#12 lore raw

PATCH 12/41 linux-qoriq: upgrade to 4.1 plus fsl patches

In reply to [email protected]

From: Ting Liu <[email protected]>

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

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

---
 ...pic_msi_feature-if-CONFIG_EPAPR_PARAVIRT-.patch |   32 +
 ...LLVMLinux-use-static-inline-in-ARM-ftrace.patch |   48 -
 ...nux-Change-extern-inline-to-static-inline.patch |   59 -
 .../0003-use-static-inline-in-ARM-lifeboot.h.patch |   16 +-
 recipes-kernel/linux/linux-qoriq/defconfig         | 3159 --------------------
 ...atch => fix-the-compile-issue-under-gcc6.patch} |    0
 recipes-kernel/linux/linux-qoriq_3.12.bb           |   39 -
 recipes-kernel/linux/linux-qoriq_4.1.bb            |   72 +
 8 files changed, 105 insertions(+), 3320 deletions(-)
 create mode 100644 recipes-kernel/linux/files/only-set-vmpic_msi_feature-if-CONFIG_EPAPR_PARAVIRT-.patch
 delete mode 100644 recipes-kernel/linux/linux-qoriq/0001-ARM-8158-LLVMLinux-use-static-inline-in-ARM-ftrace.patch
 delete mode 100644 recipes-kernel/linux/linux-qoriq/0001-ARM-LLVMLinux-Change-extern-inline-to-static-inline.patch
 delete mode 100644 recipes-kernel/linux/linux-qoriq/defconfig
 rename recipes-kernel/linux/linux-qoriq/{Fix-the-compile-issue-under-gcc6.patch => fix-the-compile-issue-under-gcc6.patch} (100%)
 delete mode 100644 recipes-kernel/linux/linux-qoriq_3.12.bb
 create mode 100644 recipes-kernel/linux/linux-qoriq_4.1.bb
recipes-kernel/linux/files/only-set-vmpic_msi_feature-if-CONFIG_EPAPR_PARAVIRT-.patch new file +32 -0
new file mode 100644
index 0000000..5f3220d
@@ -0,0 +1,32 @@
+From 15895f6880829ee502f0a48412173fb452b23c0b Mon Sep 17 00:00:00 2001
+From: Ting Liu <[email protected]>
+Date: Fri, 17 Jun 2016 10:57:35 +0800
+Subject: [PATCH] only set vmpic_msi_feature if CONFIG_EPAPR_PARAVIRT defined
+
+Upstream-Status: Pending
+
+Signed-off-by: Ting Liu <[email protected]>
+---
+ arch/powerpc/sysdev/fsl_msi.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c
+index 963661a..95d7111 100644
+--- a/arch/powerpc/sysdev/fsl_msi.c
++++ b/arch/powerpc/sysdev/fsl_msi.c
+@@ -658,10 +658,12 @@ static const struct fsl_msi_feature ipic_msi_feature = {
+ 	.msiir_offset = 0x38,
+ };
+ 
++#ifdef CONFIG_EPAPR_PARAVIRT
+ static const struct fsl_msi_feature vmpic_msi_feature = {
+ 	.fsl_pic_ip = FSL_PIC_IP_VMPIC,
+ 	.msiir_offset = 0,
+ };
++#endif
+ 
+ static const struct of_device_id fsl_of_msi_ids[] = {
+ 	{
+-- 
+1.9.2
+
recipes-kernel/linux/linux-qoriq/0001-ARM-8158-LLVMLinux-use-static-inline-in-ARM-ftrace.patch deleted +0 -48

48 lines not on this page · raw message

recipes-kernel/linux/linux-qoriq/0001-ARM-LLVMLinux-Change-extern-inline-to-static-inline.patch deleted +0 -59

59 lines not on this page · raw message

recipes-kernel/linux/linux-qoriq/0003-use-static-inline-in-ARM-lifeboot.h.patch +1 -15
index 6d06776..161bada 100644
@@ -4,24 +4,10 @@ Date: Thu, 8 Oct 2015 22:48:22 -0500
 Subject: [PATCH] use static inline in ARM lifeboot.h
 
 ---
- drivers/input/mouse/lifebook.h   | 2 +-
  drivers/input/mouse/sentelic.h   | 2 +-
  drivers/input/mouse/trackpoint.h | 2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
+ 2 files changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/drivers/input/mouse/lifebook.h b/drivers/input/mouse/lifebook.h
-index 4c4326c..e4c2453 100644
---- a/drivers/input/mouse/lifebook.h
-+++ b/drivers/input/mouse/lifebook.h
-@@ -19,7 +19,7 @@ int lifebook_init(struct psmouse *psmouse);
- inline void lifebook_module_init(void)
- {
- }
--inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
-+static inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
- {
- 	return -ENOSYS;
- }
 diff --git a/drivers/input/mouse/sentelic.h b/drivers/input/mouse/sentelic.h
 index aa697ec..9e69e94 100644
 --- a/drivers/input/mouse/sentelic.h
recipes-kernel/linux/linux-qoriq/defconfig deleted +0 -3159

2,836 lines not on this page · raw message

recipes-kernel/linux/linux-qoriq/fix-the-compile-issue-under-gcc6.patch renamed from recipes-kernel/linux/linux-qoriq/Fix-the-compile-issue-under-gcc6.patch +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-qoriq/Fix-the-compile-issue-under-gcc6.patch
rename to recipes-kernel/linux/linux-qoriq/fix-the-compile-issue-under-gcc6.patch
recipes-kernel/linux/linux-qoriq_3.12.bb deleted +0 -39
deleted file mode 100644
index 313cea5..0000000

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-qoriq_4.1.bb new file +72 -0

72 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.9.2

Part of the diff is not shown here. View the raw message.

#13 lore raw

PATCH 13/41 udev-rules-qoriq: add recipe

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 recipes-core/udev/udev-rules-qoriq.bb              | 24 ++++++++++++++++++++++
 .../71-fsl-dpaa-persistent-networking.rules        | 20 ++++++++++++++++++
 .../72-fsl-dpaa-persistent-networking.rules        | 24 ++++++++++++++++++++++
 .../73-fsl-dpaa-persistent-networking.rules        | 11 ++++++++++
 4 files changed, 79 insertions(+)
 create mode 100644 recipes-core/udev/udev-rules-qoriq.bb
 create mode 100644 recipes-core/udev/udev-rules-qoriq/71-fsl-dpaa-persistent-networking.rules
 create mode 100644 recipes-core/udev/udev-rules-qoriq/72-fsl-dpaa-persistent-networking.rules
 create mode 100644 recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules
recipes-core/udev/udev-rules-qoriq.bb new file +24 -0
new file mode 100644
index 0000000..1980922
@@ -0,0 +1,24 @@
+DESCRIPTION = "udev rules for Freescale QorIQ SOCs"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"
+
+SRC_URI = "\
+    file://71-fsl-dpaa-persistent-networking.rules \
+    file://72-fsl-dpaa-persistent-networking.rules \
+    file://73-fsl-dpaa-persistent-networking.rules \
+"
+S = "${WORKDIR}"
+
+RULE = "71-fsl-dpaa-persistent-networking.rules"
+RULE_e6500 = "72-fsl-dpaa-persistent-networking.rules"
+RULE_e6500-64b = "72-fsl-dpaa-persistent-networking.rules"
+RULE_t1024 = "72-fsl-dpaa-persistent-networking.rules"
+RULE_t1023 = "72-fsl-dpaa-persistent-networking.rules"
+RULE_fsl-lsch2 = "73-fsl-dpaa-persistent-networking.rules"
+
+do_install () {
+    install -d ${D}${sysconfdir}/udev/rules.d/
+    install -m 0644 ${WORKDIR}/${RULE} ${D}${sysconfdir}/udev/rules.d/
+}
+
+COMPATIBLE_MACHINE = "(qoriq)"
recipes-core/udev/udev-rules-qoriq/71-fsl-dpaa-persistent-networking.rules new file +20 -0
new file mode 100644
index 0000000..6c6dc35
@@ -0,0 +1,20 @@
+# Rules for handling naming the DPAA FMan ethernet ports in a consistent way
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4e0000", NAME="fm1-gb0"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4e2000", NAME="fm1-gb1"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4e4000", NAME="fm1-gb2"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4e6000", NAME="fm1-gb3"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4e8000", NAME="fm1-gb4"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4f0000", NAME="fm1-10g"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5e0000", NAME="fm2-gb0"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5e2000", NAME="fm2-gb1"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5e4000", NAME="fm2-gb2"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5e6000", NAME="fm2-gb3"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5e8000", NAME="fm2-gb4"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5f0000", NAME="fm2-10g"
+
+# P1023 has its Fman @ different offsets
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ff7e0000", NAME="fm1-gb0"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ff7e2000", NAME="fm1-gb1"
+
+# Rename macless0 port to "macless0"
+SUBSYSTEM=="net", ATTR{device_type}=="macless0", NAME="macless0"
recipes-core/udev/udev-rules-qoriq/72-fsl-dpaa-persistent-networking.rules new file +24 -0
new file mode 100644
index 0000000..d0eec9c
@@ -0,0 +1,24 @@
+# Rules for handling naming the DPAA FMan ethernet ports in a consistent way
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4e0000", NAME="fm1-mac1"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4e2000", NAME="fm1-mac2"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4e4000", NAME="fm1-mac3"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4e6000", NAME="fm1-mac4"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4e8000", NAME="fm1-mac5"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4ea000", NAME="fm1-mac6"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4ec000", NAME="fm1-mac7"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4ee000", NAME="fm1-mac8"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4f0000", NAME="fm1-mac9"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe4f2000", NAME="fm1-mac10"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5e0000", NAME="fm2-mac1"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5e2000", NAME="fm2-mac2"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5e4000", NAME="fm2-mac3"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5e6000", NAME="fm2-mac4"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5e8000", NAME="fm2-mac5"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5ea000", NAME="fm2-mac6"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5ec000", NAME="fm2-mac7"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5ee000", NAME="fm2-mac8"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5f0000", NAME="fm2-mac9"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="ffe5f2000", NAME="fm2-mac10"
+
+# Rename macless0 to "macless0"
+SUBSYSTEM=="net", ATTR{device_type}=="macless0", NAME="macless0"
recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules new file +11 -0
new file mode 100644
index 0000000..a96b945
@@ -0,0 +1,11 @@
+# Rules for handling naming the DPAA FMan ethernet ports in a consistent way
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1ae0000", NAME="fm1-mac1"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1ae2000", NAME="fm1-mac2"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1ae4000", NAME="fm1-mac3"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1ae6000", NAME="fm1-mac4"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1ae8000", NAME="fm1-mac5"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1aea000", NAME="fm1-mac6"
+SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1af0000", NAME="fm1-mac9"
+
+# Rename macless0 to "macless0"
+SUBSYSTEM=="net", ATTR{device_type}=="macless0", NAME="macless0"
Signature · 1 line
1.9.2
#14 lore raw

PATCH 14/41 management-complex: Add recipe

In reply to [email protected]

From: Zongchun Yu <[email protected]>

---
 .../management-complex/management-complex_0.8.4.bb | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 recipes-dpaa2/management-complex/management-complex_0.8.4.bb
recipes-dpaa2/management-complex/management-complex_0.8.4.bb new file +33 -0
new file mode 100644
index 0000000..70da3f2
@@ -0,0 +1,33 @@
+DESCRIPTION = "DPAA2 Management Complex Firmware"
+LICENSE = "Freescale-Binary-EULA"
+LIC_FILES_CHKSUM = "file://Freescale-Binary-EULA;md5=da89ad557c4a497fb005e76c2600cda3"
+
+inherit deploy
+
+INHIBIT_DEFAULT_DEPS = "1"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/mc-binary.git;branch=sdk-v2.0.x"
+SRCREV = "40e7cc7bfc9b35488394450605d649cb7073051a"
+
+S = "${WORKDIR}/git"
+
+do_install () {
+    M=`echo ${MACHINE} | sed -e 's,[b-z-]*$,,'`
+    install -d ${D}/boot
+    install -m 755 ${S}/${M}/*.itb ${D}/boot
+}
+
+do_deploy () {
+    M=`echo ${MACHINE} | sed -e 's,[b-z-]*$,,'`
+    install -d ${DEPLOYDIR}/mc_app
+    install -m 755 ${S}/${M}/*.itb ${DEPLOYDIR}/mc_app
+    MC_FW=`ls ${S}/${M}/*.itb | xargs basename`
+    ln -sf ${MC_FW} ${DEPLOYDIR}/mc_app/mc.itb
+}
+addtask deploy before do_build after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot"
+
+INHIBIT_PACKAGE_STRIP = "1"
+COMPATIBLE_MACHINE = "(ls2080ardb)"
Signature · 1 line
1.9.2
#15 lore raw

PATCH 15/41 ls2-phy: Add recipe

In reply to [email protected]

From: Zongchun Yu <[email protected]>

---
 recipes-bsp/ls2-phy/ls2-phy_git.bb | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 recipes-bsp/ls2-phy/ls2-phy_git.bb
recipes-bsp/ls2-phy/ls2-phy_git.bb new file +27 -0
new file mode 100644
index 0000000..de1fa25
@@ -0,0 +1,27 @@
+DESCRIPTION = "Firmwares and Standalone Applications"
+LICENSE = "Freescale-EULA"
+LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"
+
+inherit deploy
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/ls2-phy.git;branch=sdk-v2.0.x"
+SRCREV = "554f2648c6a4c6f974827ab326e8c1908dead6f1"
+
+S = "${WORKDIR}/git"
+
+do_install () {
+    install -d ${D}/boot
+    cp -fr ${S}/AQR405 ${D}/boot
+    cp -fr ${S}/CS4340 ${D}/boot
+}
+
+do_deploy () {
+    install -d ${DEPLOYDIR}/ls2-phy
+    cp -fr ${S}/AQR405 ${DEPLOYDIR}/ls2-phy
+    cp -fr ${S}/CS4340 ${DEPLOYDIR}/ls2-phy
+}
+addtask deploy before do_build after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot"
+COMPATIBLE_MACHINE = "(ls2080ardb)"
Signature · 1 line
1.9.2
#16 lore raw

PATCH 16/41 ls2-rcw: Add recipe

In reply to [email protected]

From: Zongchun Yu <[email protected]>

---
 recipes-bsp/rcw/ls2-rcw_git.bb | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 recipes-bsp/rcw/ls2-rcw_git.bb
recipes-bsp/rcw/ls2-rcw_git.bb new file +31 -0
new file mode 100644
index 0000000..cb46778
@@ -0,0 +1,31 @@
+SUMMARY = "Reset Configuration Word"
+DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets"
+LICENSE = "Freescale-EULA"
+LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"
+
+inherit deploy
+
+INHIBIT_DEFAULT_DEPS = "1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/ls2-rcw.git;branch=sdk-v2.0.x"
+SRCREV = "74ec3bcdf33fbbedf417b800e0d486d1e8031115"
+
+S = "${WORKDIR}/git"
+
+do_install () {
+    M=`echo ${MACHINE} | sed -e 's,[b-z-]*$,,'`
+    install -d ${D}/boot/rcw
+    cp -r ${S}/${M}/RDB/* ${D}/boot/rcw
+}
+
+do_deploy () {
+    M=`echo ${MACHINE} | sed -e 's,[b-z-]*$,,'`
+    install -d ${DEPLOYDIR}/rcw
+    cp -r ${S}/${M}/RDB/* ${DEPLOYDIR}/rcw
+}
+addtask deploy before do_build after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot"
+COMPATIBLE_MACHINE = "(ls2080ardb)"
Signature · 1 line
1.9.2
#17 lore raw

PATCH 17/41 dpl-examples: Add recipe

In reply to [email protected]

From: Zongchun Yu <[email protected]>

---
 recipes-dpaa2/dpl-examples/dpl-examples_git.bb | 30 ++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 recipes-dpaa2/dpl-examples/dpl-examples_git.bb
recipes-dpaa2/dpl-examples/dpl-examples_git.bb new file +30 -0
new file mode 100644
index 0000000..867067b
@@ -0,0 +1,30 @@
+SUMMARY = "Datapath layout files"
+LICENSE = "Freescale-EULA"
+LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"
+
+DEPENDS = "dtc-native"
+
+inherit deploy
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/dpl-examples.git;branch=sdk-v2.0.x"
+SRCREV = "2f8a6c2c0607b663afd69aa0477c2047f25031ca"
+
+S = "${WORKDIR}/git"
+
+do_install () {
+    M=`echo ${MACHINE} | sed -e 's,[b-z-]*$,,'`
+    install -d ${D}/boot
+    install -m 644 ${S}/${M}/RDB/*.dtb ${D}/boot
+}
+
+do_deploy () {
+    M=`echo ${MACHINE} | sed -e 's,[b-z-]*$,,'`
+    install -d ${DEPLOYDIR}/dpl-examples
+    install -m 644 ${S}/${M}/RDB/*.dtb ${DEPLOYDIR}/dpl-examples
+}
+addtask deploy before do_build after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot"
+
+COMPATIBLE_MACHINE = "(ls2080ardb)"
Signature · 1 line
1.9.2
#18 lore raw

PATCH 18/41 restool: Add recipe

In reply to [email protected]

From: Zongchun Yu <[email protected]>

---
 recipes-dpaa2/restool/restool_git.bb | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 recipes-dpaa2/restool/restool_git.bb
recipes-dpaa2/restool/restool_git.bb new file +22 -0
new file mode 100644
index 0000000..1fce733
@@ -0,0 +1,22 @@
+DESCRIPTION = "DPAA2 Resource Manager Tool"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e613b54e73c0e4a2a8918c61924bd623"
+
+RDEPENDS_${PN} += "bash"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/restool.git;branch=sdk-v2.0.x"
+SRCREV = "eba25cdfdccef45f7ba02dd2f829b9b55198fbb1"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = 'CC="${CC}"'
+
+do_compile_prepend () {
+    export EXTRA_CFLAGS="-Wno-missing-field-initializers -Wno-missing-braces"
+}
+
+do_install () {
+    oe_runmake install DESTDIR=${D}
+}
+
+COMPATIBLE_MACHINE = "(ls2080ardb)"
Signature · 1 line
1.9.2
#19 lore raw

PATCH 19/41 change-file-endianess: keep 8 byte alignment

In reply to [email protected]

From: Yuan Yao <[email protected]>

---
 .../change-file-endianess/change-file-endianess/byte_swap.tcl    | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
recipes-bsp/change-file-endianess/change-file-endianess/byte_swap.tcl +8 -1
index aca956b..a4e8008 100755
@@ -11,6 +11,13 @@ fconfigure $fileid_o -translation {binary binary}
 
 set old_bin [read $fileid_i]
 set new_bin {}
+set old_length [string length $old_bin]
+set old_rem [expr $old_length % $num_b]
+if {$old_rem != 0} {
+	for {set i 0} {$i< [expr $num_b - $old_rem]} {incr i 1} {
+	        append old_bin y
+	}
+}
 for {set i 0} {$i<[string length $old_bin]} {incr i $num_b} {
         for {set j $num_b} {$j>0} {incr j -1} {
                 append new_bin [string index $old_bin [expr $i+($j-1)]]
@@ -20,7 +27,7 @@ for {set i 0} {$i<[string length $old_bin]} {incr i $num_b} {
 for {set i 0} {$i<[string length $old_bin]} {incr i $num_b} {
         set binValue [string range $old_bin [expr $i+0] [expr $i+($num_b-1)]]
         binary scan $binValue H[expr $num_b*2] hexValue
-        
+
         set binValue [string range $new_bin [expr $i+0] [expr $i+($num_b-1)]]
         binary scan $binValue H[expr $num_b*2] hexValue
 }
Signature · 1 line
1.9.2
#20 lore raw

PATCH 20/41 ppa: add recipe

In reply to [email protected]

From: Chunrong Guo <[email protected]>

---
 recipes-bsp/ppa/ppa/ppa.its | 23 ++++++++++++++++++++++
 recipes-bsp/ppa/ppa_git.bb  | 47 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)
 create mode 100644 recipes-bsp/ppa/ppa/ppa.its
 create mode 100644 recipes-bsp/ppa/ppa_git.bb
recipes-bsp/ppa/ppa/ppa.its new file +23 -0
new file mode 100644
index 0000000..c157b6e
@@ -0,0 +1,23 @@
+/dts-v1/;
+
+/{
+	description = "PPA Firmware";
+#address-cells = <1>;
+	images {
+		firmware@1 {
+			description = "PPA Firmware: Version 0.1";
+			data = /incbin/("obj/monitor.bin");
+			type = "firmware";
+			arch = "arm64";
+			compression = "none";
+		};
+	};
+
+	configurations {
+		default = "config@1";
+		config@1 {
+			description = "Boot PPA firmware";
+			firmware = "firmware@1";
+		};
+	};
+};
recipes-bsp/ppa/ppa_git.bb new file +47 -0

47 lines not on this page · raw message

Signature · 1 line
1.9.2
#21 lore raw

PATCH 21/41 fm-ucode: add recipe

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 recipes-dpaa/fm-ucode/fm-ucode_git.bb | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 recipes-dpaa/fm-ucode/fm-ucode_git.bb
recipes-dpaa/fm-ucode/fm-ucode_git.bb new file +35 -0
new file mode 100644
index 0000000..9383772
@@ -0,0 +1,35 @@
+DESCRIPTION = "Fman microcode binary"
+LICENSE = "Freescale-EULA"
+LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"
+
+inherit deploy
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/fm-ucode.git;branch=sdk-v2.0.x"
+SRCREV = "7ebea4539f6e075448a12ee8808a1fc17a558bfd"
+
+S = "${WORKDIR}/git"
+
+REGLEX ?= "${MACHINE}"
+REGLEX_t1023 = "t1024"
+REGLEX_t1040 = "t1040"
+REGLEX_t1042 = "t1040"
+REGLEX_b4420 = "b4860"
+REGLEX_t4160 = "t4240"
+REGLEX_ls1043ardb = "t2080"
+
+do_install () {
+    UCODE=`echo ${REGLEX} | sed -e 's,-.*$,,' -e 's,[a-zA-Z]*$,,'`
+    install -d ${D}/boot
+    install -m 644 fsl_fman_ucode_${UCODE}*.bin ${D}/boot/
+}
+
+do_deploy () {
+    UCODE=`echo ${REGLEX} | sed -e 's,-.*$,,' -e 's,[a-zA-Z]*$,,'`
+    install -d ${DEPLOYDIR}/
+    install -m 644 fsl_fman_ucode_${UCODE}*.bin ${DEPLOYDIR}/
+}
+addtask deploy before do_build after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot"
+COMPATIBLE_MACHINE = "(qoriq-ppc|fsl-lsch2)"
Signature · 1 line
1.9.2
#22 lore raw

PATCH 22/41 qe-ucode: update to a95f42ae

In reply to [email protected]

From: Ting Liu <[email protected]>

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

update the license file
add fsl-ch2 as COMPATIBLE_MACHINE

---
 recipes-bsp/qe-ucode/qe-ucode_git.bb | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
recipes-bsp/qe-ucode/qe-ucode_git.bb +4 -5
index 28af4b6..e2805d4 100644
@@ -1,12 +1,12 @@
 DESCRIPTION = "qe microcode binary"
 SECTION = "qe-ucode"
 LICENSE = "Freescale-EULA"
-LIC_FILES_CHKSUM = "file://EULA;md5=60037ccba533a5995e8d1a838d85799c"
+LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"
 
 inherit deploy
 
-SRC_URI = "git://git.freescale.com/ppc/sdk/qe-ucode.git;nobranch=1"
-SRCREV= "49efc94b553de5c2a9bd28093592eff0068e161c"
+SRC_URI = "git://git.freescale.com/ppc/sdk/qe-ucode.git;branch=sdk-v2.0.x"
+SRCREV= "a95f42aef152fc613f11099d7e7bc25b44c09836"
 
 S = "${WORKDIR}/git"
 
@@ -32,5 +32,4 @@ addtask deploy before do_build after do_install
 
 PACKAGES += "${PN}-image"
 FILES_${PN}-image += "/boot/*"
-ALLOW_EMPTY_${PN} = "1"
-COMPATIBLE_MACHINE = "(ls102xa)"
+COMPATIBLE_MACHINE = "(ls102xa|fsl-lsch2)"
Signature · 1 line
1.9.2
#23 lore raw

PATCH 23/41 rcw: swap qspi binary in do_install_append

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 ...ake-BOARDS-DESTDIR-overidable-in-Makefile.patch | 57 ----------------------
 recipes-bsp/rcw/rcw_git.bb                         | 10 ++--
 2 files changed, 7 insertions(+), 60 deletions(-)
 delete mode 100644 recipes-bsp/rcw/rcw/rcw-make-BOARDS-DESTDIR-overidable-in-Makefile.patch
recipes-bsp/rcw/rcw/rcw-make-BOARDS-DESTDIR-overidable-in-Makefile.patch deleted +0 -57
deleted file mode 100644
index 49d99fc..0000000
@@ -1,57 +0,0 @@
-From f2e796c903b2a3f81dbd38da3dc087cb7539d307 Mon Sep 17 00:00:00 2001
-From: Zhenhua Luo <[email protected]>
-Date: Wed, 3 Sep 2014 03:03:42 -0500
-Subject: [PATCH] Makefile: make BOARDS/DESTDIR overidable and add endian
- switch
-
-1. For one specific board, no need to build the rcw for all supported
-   targets, make BOARDS and DESTDIR overridable to achieve this.
-2. Add the endian swap for qspiboot rcw
-
-Upstream-Status: Pending
-
-Signed-off-by: Zhenhua Luo <[email protected]>
----
- Makefile     |    4 ++--
- Makefile.inc |    9 +++++++--
- 2 files changed, 9 insertions(+), 4 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 6ec1697..0f94293 100644
---- a/Makefile
-+++ b/Makefile
-@@ -1,5 +1,5 @@
--DESTDIR = .
--BOARDS = b4420qds b4860qds \
-+DESTDIR ?= .
-+BOARDS ?= b4420qds b4860qds \
- 	 ls1021aqds ls1021atwr \
- 	 p2041rdb p3041ds p4080ds p5020ds p5040ds \
- 	 t1024qds t1023rdb t1024rdb t1040rdb t1042rdb t1042rdb_pi t1040qds \
-diff --git a/Makefile.inc b/Makefile.inc
-index 4cadb2e..6e8b78f 100644
---- a/Makefile.inc
-+++ b/Makefile.inc
-@@ -1,4 +1,4 @@
--DESTDIR = .
-+DESTDIR ?= .
- INSTALL = install
- PYTHON ?= python2
- RCW = $(PYTHON) ../rcw.py
-@@ -18,7 +18,12 @@ all: $(targets)
- install: $(targets)
- 	$(INSTALL) -d $(DESTDIR)
- 	@for file in $^; do \
--		$(INSTALL) -m 644 -D $$file $(DESTDIR)/$$file; \
-+		case $$file in \
-+			*qspiboot*) file_swap="`echo $$file | sed -e 's/qspiboot/qspiboot_swap/'`"; \
-+						tclsh byte_swap.tcl $$file $$file_swap 8 ; \
-+						$(INSTALL) -m 644 -D $$file_swap $(DESTDIR)/$$file_swap ;; \
-+			*) $(INSTALL) -m 644 -D $$file $(DESTDIR)/$$file; \
-+        esac \
- 	done
- 	$(INSTALL) -m 644 -D README $(DESTDIR)
- 
--- 
-1.7.9.7
-
recipes-bsp/rcw/rcw_git.bb +7 -3
index 2a03309..f524b61 100644
@@ -9,9 +9,7 @@ inherit deploy
 
 SRCBRANCH = "master"
 SRCREV = "426f7a6535d93dac76f5125035e0938a85e778d2"
-SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;branch=${SRCBRANCH} \
-    file://rcw-make-BOARDS-DESTDIR-overidable-in-Makefile.patch \
-"
+SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;branch=${SRCBRANCH}"
 
 S = "${WORKDIR}/git"
 
@@ -20,6 +18,12 @@ EXTRA_OEMAKE = "BOARDS=${@d.getVar('MACHINE', True).replace('-64b','')} DESTDIR=
 do_install () {
     oe_runmake install
 }
+do_install_append_ls102xa () {
+    for f in `find ${D}/boot/rcw/ -name "*qspiboot*"`;do
+        f_swap=`echo $f |sed -e 's/qspiboot/qspiboot_swap/'`
+        tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl $f $f_swap 8
+    done
+}
 
 do_deploy () {
     install -d ${DEPLOYDIR}/rcw
Signature · 1 line
1.9.2
#24 lore raw

PATCH 24/41 rcw: update to commit 521008f

In reply to [email protected]

From: Ting Liu <[email protected]>

New commits imported:
521008f t1023rdb: RCW's added for Secure Boot
9e7c9d9 t1040qds: rcw: Add SD card SDR mode RCW
7467e6e t1040qds: rcw: set HWA_CGA_M1_CLK_SEL to 1
07af33e t2080qds: rcw: Add eMMC HS200 mode RCW
57fd2c9 t1040qds: rcw: Add eMMC HS200 mode RCW
e0b2272 arm: ls1021atwr: fix a bug change serdes to 0x30
795e6e7 arm: ls1021atwr: remove rcw for serdes 0x20
553eff7 arm: ls1021atwr: Change serdes 0x20 to 0x30
8847c6d arm: ls1021atwr: Add rcw for serdes 0x30 support
988d1ca arm: ls1021atwr: Enable Audio and HDMI for 0x70
1d4f34e arm: ls1021atwr: Enable DSPI2 when boot from QSPI and NOR
690613a arm: ls102xa: update PBI for PCIe and SCFG
27642c2 arm: ls102xa: Adjust the PBI command about the load address of U-Boot for NOR boot

---
 recipes-bsp/rcw/rcw_git.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
recipes-bsp/rcw/rcw_git.bb +2 -3
index f524b61..d2a4f2d 100644
@@ -7,9 +7,8 @@ DEPENDS += "change-file-endianess-native"
 
 inherit deploy
 
-SRCBRANCH = "master"
-SRCREV = "426f7a6535d93dac76f5125035e0938a85e778d2"
-SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;branch=${SRCBRANCH}"
+SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;branch=sdk-v1.9.x"
+SRCREV = "521008fe6ec9897fe245e1c1241fc27dad98f24d"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.9.2
#25 lore raw

PATCH 25/41 rcw: update to 1af724b

In reply to [email protected]

From: Chunrong Guo <[email protected]>

Changelog:
1af724b update End-User License Agreement
76854c9 ls1043aqds: revise the description of SERDES1 Protocol 0x3358 970cc5d ls1043aqds: add SATA support under QSPI boot 017ed94 ls1021a/ls1043a: byte_swap: should 8 byte alignment ea90914 ls1021a: remove the unnecessary PBI
3f37603 ls1043aqds: Clear SerDes RxBoost on lane D
cbf49c1 LS1043a-RDB: Add RCW files for UEFI bootloader 419bd59 ls1043ardb: SECURE_BOOT- RCW added
ae3461a qe-tdm: add qe-tdm support on ls1043ardb
26042fa ls1043ardb: Add RCW for ls1043ardb board
4ae7fc3 ls1043aqds: Add RCW for ls1043aqds board

* change license to Freescale-EULA
* add support for fsl-lsch2

---
 recipes-bsp/rcw/rcw_git.bb | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)
recipes-bsp/rcw/rcw_git.bb +17 -12
index d2a4f2d..8cd2629 100644
@@ -1,18 +1,20 @@
 SUMMARY = "Reset Configuration Word"
 DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd208e"
+LICENSE = "Freescale-EULA"
+LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"
 
-DEPENDS += "change-file-endianess-native"
+inherit deploy siteinfo
 
-inherit deploy
+DEPENDS += "change-file-endianess-native tcl-native"
 
-SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;branch=sdk-v1.9.x"
-SRCREV = "521008fe6ec9897fe245e1c1241fc27dad98f24d"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;branch=sdk-v2.0.x"
+SRCREV = "1af724b64347170e9d9ba8e8f277dd30026a1a7e"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE = "BOARDS=${@d.getVar('MACHINE', True).replace('-64b','')} DESTDIR=${D}/boot/rcw/"
+EXTRA_OEMAKE = "BOARDS=${@d.getVar('MACHINE', True).replace('-64b','').replace('-${SITEINFO_ENDIANNESS}','')} DESTDIR=${D}/boot/rcw/"
 
 do_install () {
     oe_runmake install
@@ -24,6 +26,13 @@ do_install_append_ls102xa () {
     done
 }
 
+do_install_append_fsl-lsch2 () {
+     for f in `find ${D}/boot/rcw/ -name "*qspiboot*"`;do
+         f_swap=`echo $f |sed -e 's/qspiboot/qspiboot_swap/'`
+         tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl $f $f_swap 8
+     done 
+}
+
 do_deploy () {
     install -d ${DEPLOYDIR}/rcw
     cp -r ${D}/boot/rcw/* ${DEPLOYDIR}/rcw/
@@ -32,8 +41,4 @@ addtask deploy after do_install
 
 PACKAGES += "${PN}-image"
 FILES_${PN}-image += "/boot"
-
-ALLOW_EMPTY_${PN} = "1"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "(ls102xa)"
+COMPATIBLE_MACHINE = "(qoriq-arm|fsl-lsch2)"
Signature · 1 line
1.9.2
#26 lore raw

PATCH 26/41 apptrk: update to commit 4216af3

In reply to [email protected]

From: Ting Liu <[email protected]>

New commits imported:
4216af3 Fix stepping over branch instructions in Thumb
59524e6 Error while reading CPSR
712a099 PowerPC Support for hardware breakpoints and watchpoints c7c4b2b Incorrect mode (thumb/arm) after exec()
4e962d4 Thumb support for ARMv7
fd94e7f Fix TrkHandleExecEvent for ARMv7
50e2180 Invalidate traced breakpoint after release in TargetCleanupTrace for PA 18f4450 Fix crash when running a 32bit threaded application on a 64bit AppTrk

---
 recipes-bsp/apptrk/apptrk_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/apptrk/apptrk_git.bb +2 -2
index 4453cf8..207a92a 100644
@@ -7,11 +7,11 @@ DEPENDS = "elfutils"
 
 inherit kernel-arch
 
-SRC_URI = "git://git.freescale.com/ppc/sdk/apptrk.git;nobranch=1 \
+SRC_URI = "git://git.freescale.com/ppc/sdk/apptrk.git;branch=sdk-v1.9.x \
     file://apptrk-install-create-all-components-of-DEST.patch \
     file://no-strip.patch \
 "
-SRCREV = "cbed10997c5e2a4aaa004fb0e1efec858bf1bbe1"
+SRCREV = "4216af328452ed25a557759715a2087986a5a4bd"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.9.2
#27 lore raw

PATCH 27/41 apptrk: update to 873f44c

In reply to [email protected]

From: Ting Liu <[email protected]>

Changelog:
873f44c Use unified EULA file
f0ef785 Update End-User License Agreement
df1f1d8 ARM Support for hardware breakpoints and watchpoints

---
 recipes-bsp/apptrk/apptrk_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-bsp/apptrk/apptrk_git.bb +3 -3
index 207a92a..5ab88c6 100644
@@ -1,17 +1,17 @@
 SUMMARY = "Debug agent for Freescale CodeWarrior"
 SECTION = "apptrk"
 LICENSE = "Freescale-EULA"
-LIC_FILES_CHKSUM = "file://COPYING;md5=95560debfde180684364319811cc1421"
+LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"
 
 DEPENDS = "elfutils"
 
 inherit kernel-arch
 
-SRC_URI = "git://git.freescale.com/ppc/sdk/apptrk.git;branch=sdk-v1.9.x \
+SRC_URI = "git://git.freescale.com/ppc/sdk/apptrk.git;branch=sdk-v2.0.x \
     file://apptrk-install-create-all-components-of-DEST.patch \
     file://no-strip.patch \
 "
-SRCREV = "4216af328452ed25a557759715a2087986a5a4bd"
+SRCREV = "873f44ca6b219508f738825299453d92975fb897"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.9.2
#28 lore raw

PATCH 28/41 asf: set COMPATIBLE_MACHINE as ls102xa

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 openembedded-layer/recipes-kernel/asf/asf_git.bb | 1 +
 1 file changed, 1 insertion(+)
openembedded-layer/recipes-kernel/asf/asf_git.bb +1 -0
index 97cbcc9..6f007e5 100644
@@ -31,3 +31,4 @@ do_install(){
 
 FILES_${PN} += "${libexecdir} /lib/modules/${KERNEL_VERSION}/asf"
 RDEPENDS_${PN} += "ipsec-tools"
+COMPATIBLE_MACHINE = "(ls102xa)"
Signature · 1 line
1.9.2
#29 lore raw

PATCH 29/41 asf: not package .ko files in PN

In reply to [email protected]

From: Ting Liu <[email protected]>

The .ko files will be packaged into kernel-modules-asf by default.

---
 openembedded-layer/recipes-kernel/asf/asf_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
openembedded-layer/recipes-kernel/asf/asf_git.bb +1 -1
index 6f007e5..5069d20 100644
@@ -29,6 +29,6 @@ do_install(){
 	cp -rf ${S}/../scripts ${D}/${libexecdir}/
 }
 
-FILES_${PN} += "${libexecdir} /lib/modules/${KERNEL_VERSION}/asf"
+FILES_${PN} += "${libexecdir}"
 RDEPENDS_${PN} += "ipsec-tools"
 COMPATIBLE_MACHINE = "(ls102xa)"
Signature · 1 line
1.9.2
#30 lore raw

PATCH 30/41 asf: remove empty install directories

In reply to [email protected]

From: Ting Liu <[email protected]>

If ASF was not enabled in kernel, no .ko will be generated. rm these empty install directories to avoid QA issue.

---
 openembedded-layer/recipes-kernel/asf/asf_git.bb | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
openembedded-layer/recipes-kernel/asf/asf_git.bb +6 -5
index 5069d20..751a0e2 100644
@@ -22,11 +22,12 @@ do_configure_prepend () {
 }
 
 do_install(){
-	mkdir -p ${D}/${libexecdir} 
-	mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/asf
-	cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf 
-	cp -rf ${S}/bin/min  ${D}/lib/modules/${KERNEL_VERSION}/asf
-	cp -rf ${S}/../scripts ${D}/${libexecdir}/
+    install -d ${D}/${libexecdir} 
+    install -d ${D}/lib/modules/${KERNEL_VERSION}/asf
+    cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf 
+    cp -rf ${S}/bin/min  ${D}/lib/modules/${KERNEL_VERSION}/asf
+    cp -rf ${S}/../scripts ${D}/${libexecdir}/
+    find ${D}/lib -depth -type d -exec rmdir --ignore-fail-on-non-empty {} \;
 }
 
 FILES_${PN} += "${libexecdir}"
Signature · 1 line
1.9.2
#31 lore raw

PATCH 31/41 asf: update to commit 9580a62

In reply to [email protected]

From: Ting Liu <[email protected]>

New commits imported:
9580a62 asf_ipsec: Patch to fix the compilation error.
e7a1828 Merge pull request #84 in SDK/asf from ~B49015/asf:sdk_1.9_master to sdk_1.9_master
eee4467 DEBUG: compilation error fixed when ASF_IPSEC_DEBUF flag is enabled.
71db029 asf_tcp: Patch to correct tcp timestamp type.
f8e3df0 IPSEC: Fixed for stack dump on running fragmented ping traffic
c63ffa5 asfipsec: Patch to fix iph issue in non-proto offload case.
7170610 asfipsec: Patch to decrement buffer count of all frag in red off case
f5cd876 asfipsec: Patch to fix inSA offload in NAT-T case.
d455e70 Makefile: use KBUILD_OUTPUT to point to build-artifacts
be19cd0 asf_frag: Patch to fix crash on mtu change.
0f88dae asf_ipv6_frag: Patch to fix ipv6 UDP frag and ping6 forwarding issue.
8c3f4bc ipsecfp.h: Patch to add support of SHA2-384 and SHA2-512
03bd11a ipsecfp.c: Patch to fix crash in ipsec in full mode.
e2213ef ipsec ctrl - correction in container index check
33e0fd4 ipsec - ah - fix the fragmentation case for dpbp check
f5f542d asf - return packets to linux on interface not found
1c7241e asfipsec - 64 bit support Signed-off-by: Hemant Agrawal <[email protected]>
879b161 asfctrl - using ASF defined number of interfaces
83b6181 IPSEC: Crash fixed in case of revalidation
1b26690 ASF_REASM_DEBUG: Fix for compilation error when ASF_REASM_DEBUG is enabled
74a5953 ASF_DEBUG: Improving prints for ASF Debugging
eee54a3 asf icmp reply support for DF flag
10e3bf8 asfipsec - error checks, debug prints and error handling corrections
c47696c ipsec - lock, unlikely, null checks
5d26d9f ipsec- meaningfull caam error prints
834f88a asfipsec-ah- correction in ah shared desc direction
88edb32 asf_ipsec: adds the support for SHA2 algorithms in AH.
ca8c486 ASFIPSEC: While deleting container properly freeing the pSASPDMapNode in SA
c2c81cc ASF_IPSEC: Wrong counter being incremented. When OuSA is not found
32cea7f ASFIPSEC: Patch to avoid looping in case of rekeying on running traffic.
239c317 ASF_IPSEC: Adding local_bh_enable() in error case. CQ:ENGR00336981 Signed-off-by: Sridhar Pothuganti <[email protected]> Change-Id: If72f7135fe5e294a51f0c582bdbd56ca3c78f844 Reviewed-on: http://git.am.freescale.net:8181/24207 Reviewed-by: Nikhil Agarwal <[email protected]> Reviewed-by: Sandeep Malik <[email protected]> Tested-by: Sandeep Malik <[email protected]> 42837b8 ASF_IPSEC_AH: ASFSkbFree is not happening for DPAA/QMAN based platforms in some error cases as the free is under check. Correcting this. CQ:ENGR00336981 Signed-off-by: Sridhar Pothuganti <[email protected]> Change-Id: Iaf847710cf583ff4d7e708013af77f522027e2eb Reviewed-on: http://git.am.freescale.net:8181/24208 Reviewed-by: Arun Pathak <[email protected]> Reviewed-by: Sandeep Malik <[email protected]> Tested-by: Sandeep Malik <[email protected]> e0410f9 ASFIPSEC: [sswan] Fix for issues with Child SA re-negotiation.
e52f3c5 ASFIPSEC: Patch to fix flow re-validation issue.
b99fb26 ASF_IPSEC: Freeing the skb in case of ICV comparion failed for AH
163ed89 asf: Patch to fix ping6 fragmentation issue.
48220d7 asf: Patch to fix skb data pointer and other frag issue.
2ff46e7 ASF for DPAA integrated with Linux QoS module
a7d1981 asf-disabling qos compilation for dpaa platforms
8bcee43 ipsec-changing multi-policy sa support to be compile time
580a4f7 ipsecproc: Patch to fix display of ipsec stats.
955d26f asfctrl: Patch to fix error print when vlan i/f is removed.
44a5110 asf_fmc: Patch to update the name of xml files.
9f67f3f asf: Patch to fix ipv6 issue on dpaa.
fac492d asf: Patch to return jumbo packet back
6b3d862 Removing Ethernet padding in abuf to skb conversion
db49a6b Aligning function ASFFFPProcessAndSendFD and ASFFFPProcessAndSendPkt while validating flows
6b5e75d ASFIPSEC: Patch to fix issues of order conversion while code review.
1c80cd5 Klocwork_LS1021_ASF: Fixing klocwork issues.
6a4a834 ASF ARM Porting: Using ASF network order and host order macros.
e60d41c asfipsec: Patch to fix crash in running traffic when ipsec script is run.
b682589 Adding HARD_TX_LOCK while doing dev hard xmit.
da26fbd ASFIPSEC: Fix for out_sa stats not incremented in IPv6
3a41ff1 ASFQOS: Crash on configuring DRR QDisc after flushing out DRR Qdisc first time.
04fd26d ASFIPSEC: Patch to fix ICV error due to cache cohorency issue.
26b8f9d ASFIPSEC: Porting ASFIPSEC to LS1021
80d1153 ASFIPSEC: Flushing ah-sha1 policy at high rate
982d542 Firewall rules don't work if applied, before flows get offloaded.
a7a2fee ASF_FW/NAT: SCP is not working when SNAT [IPv4/IPv6] is enabled on the DUT.
9d2ed93 Applying Firewall rule in running traffic gives CRASH.
426aefa ASFIPSEC: Getting crash while testing for IPv6-in-IPv6 ESP with TCP protocol.
d3843de ASFIPSEC: Crash on making interface down.
ae72e06 ASF IPv6 Firewall: Sending high rate traffic in the
e19c45e ASF ARM Porting: While forwarding if we down Egress interface, we get crash.
c01729e ASF ARM Porting: Cannot remove configured VLan
0ac82ad ASFIPSEC: Porting IPSEC AH to LS1021A (arm based).
38671c3 ASF ARM porting: IPv6 Fragmentation
fb2ca85 ASF ARM porting: IPv4 Fragmentation
471a4b2 ASF ARM porting: IPv6 forwarding with TCP/UDP header.
4d443a1 ASF ARM Porting: Removing compilation error of ASF without rx tx patch in linux.
aa33f01 ASF ARM porting: IPv4 forwarding with UDP/TCP header.
f5a8705 ASF ARM porting: Defining order conversion macros.
3f76910 ASF ARM porting: Setting ARCH=$(ARCH) in Makefile
d5dabe7 ASF: Removing compilation error because of updation in linux structure 'dpa_priv_s'.
01cd004 asf: Patch to fix crash in case of ipsec at high rate traffic.
66fe758 asfipsec_ah: Patch to fix sha256 in case of AH only.
a81d920 asf: Patch to fix wrong port no assigned in ipsec flow.
8ebb93b asf: Patch to handle ipv6 traffic in case of seqno overflow.
fcd0843 asf: Patch to fix sha256 issue.
7467249 Crash observed with AH-ONLY-SHA384
9e37dc8 asf: Patch to fix some klockwork issue.
e1b2a12 ASFIPSEC: Adding support for handling IPv6 in IPv4 and IPv4 in IPv6 case in QMAN SEC4x
3c05ad1 ASFIPSEC: TOS is not correctly copied in IPv4 in IPv6 case
6363e0b Solution to Fragmented packets are not getting through AH tunnel
5a96807 asf: Patch to fix tail pointer-offset issue in 64-bit machine.
26375d3 ASFIPSEC: Solving problem in secfp_inCompleteCheckAndTrimPkt code
bdb17ab ASFIPSEC: Solving case of infinite loop in secfp_qman_out_submit
13dc5a9 ASFIPSEC: Freeing correct sgt pointer in espDQRRCallback
ca75bf9 ASFIPSEC: Incrementing pSG->len by ulFragPadlen in secfp_qman_in_submit
a58ba45 ASFIPSEC: struct addr in scatter_gather_entry_t is changed.
81d797b ASFIPSEC: Linearising frag_list or nr_frags coming from Linux
9458153 asf: Patch to remove conflict of skb cb field b/w reasm and ipsec.
4d3993b Solution to ESP IP pakcet more than interface MTU going out
1175536 ASFIPSEC: Handling seq number overflow in espDQRRCallback
b5fb8fc ASF: Removing compilation error after adding patch: "ASFFFP adding support for PPP-IPV6 traffic"
4018106 ASFFFP - adding support for PPP-IPV6 traffic
b26d25f asf_klockwork: Patch to fix issue reported by klockwork
36ffe84 ASFIPSEC: Fix for crash seen on T4240 in case of ping
ef4a7a1 asf_compilation: Patch to remove the compilation warnings.
3f7d40c secfp_finishOffloadOutPacket: corrected the SPD index value l2blob refresh
837a5f9 ASFIPSEC_AH: Fix for crash seen on T4240 in AH only case
745a912 ASFIPSEC: Fixing miscellaneous error
1cdde18 asfIpv4Fragment was not copying the IP options in fragmented packets.
62b1311 asfIpv4Defrag IP header length corruption solved
c7c8ba3 ASF fragmentation: Buffer freed in case of VLAN parent device not found
2c478eb asf_free_buf_skb function was not considering the frag_lsit while releasing the buffer to BMan. asf_free_buf_skb is also called, in error case, after ip reassemmbly. In that case the buffers are leaked.
d0572b1 ASFIPSEC: Removing compilation errors.
ee1e3e8 ASF_IPSEC: Fix for SA leak(Orphaned SA wothout Container)
b2ac65f asf_ipsec: Patch to add the support for AH in Sec 3.x
44cb2b0 asf_reasm: Patch to fix the processing for re-asm.
99f89ed asf_ipsec: Patch for multi-policy single SA additional cases.
a6cb24c ASF-IPSEC:SA flush with traffic through the DUT causing crash.
fd7f119 ASFCTRL: Out SA is not getting offloaded if SA and then policy is configured.
93eb52b TC/TOS in inner header is not getting copied to TOS/TC of outer header respectively.
0fc4363 asf: Resolve fragmentation issue in case of red-off ipsec.
2ed8b33 ASF: Patch to fix hop-limit/ttl decrement in asf IPSec module.
d6cc5b5 ASFREASM: Patch to fix the crash in case cb not found.
aef3564 asf_ipsec_ah: Patch to fix the issue of ping6 not working.
5a82c4d ASFIPSEC: Use correct length in descriptor while using dpovrd for multiple policy.
f305c67 asf_ipsec: Patch to fix the ICV errors in case of ESN.
9b5ae90 asf_ipsec: Patch to fix the crash seen in case of AH IPsec.
ae85d24 ASFIPSEC: Trim correct fragment after decrypting packet.
8d2c11c ASFIPSEC_AH: Search AH table to find SA in case of dropping packet.
d83a4d5 ASFIPSEC: Changing the block size of AES-CTR.
a37f009 ASFIPSEC: Added des/3des-xcbc support.
38259f6 asf_ipsec: Patch for ICV errors seen in case of SHA256.
07e2c90 ASFIPSEC: Fix for ASF-IPSec to run with SA first then policy configuration.
62844a7 asf_ipsec: Patch to fix the issue of crash in Ping6.
4f60755 asf_ipsec: Patch to add the support of multiple policy mapping to single SA.
b5c14e6 ASF-AH: Take care of padding in ICV of AH Header
98c79ea asf_ipsec: Patch to fix the issue of errors introduced while removing the compilation errors.
31ab748 asf_ipsec: Patch to fix the issue of memory leak for ping6.
0e3836e asfipsec: TCP retransmission fails with IPSec configuration.
efdf28a ASF-IPv6-IPSEC : proper link table creation for IPv6 packets having nr_frags
69fccba ASFIPSEC: Correcting the in_sa and sa_list stats display
6552560 sf_ipsec: Patch to fix the issue of packet drop for > 1360 bytes.
55be89f ASFIPSEC: Added support for NULL XCBC algorithm.
a2a0982 asf_ipsec_qos: Patch to fix the memory leak in IPsec module.
103094e asf_ipsec: Patch to fix the AH IPv6 ping with ESN.
24cde96 ASFIPSEC: Fragment the IPv4 packet if required and send for IPv4-in-IPv6 tunnel.
2c16da6 ASF: setting gianfar_destructor to NULL before sending packet to linux.
9d817d0 asf_ipsec: Patch to add the support to copy DSCP from inner to outer header.
0992f05 IPSEC: fix for fragmentation data buffer corruption.
db18bda IPSEC- Supporting cipher algo AES-CTR, ESP-NULL and
81b20cd asfipsec-enabling seq overflow handling and adding re-keying in overflow case.
c23b1ae IPSEC-supporting PMTU based icmp in Source NAT case.
fd708ce asfipsec-fix the tail stripping for fragmented packets
1887c6d asfipsec-optimizing the mtu length check and l2blob expiry.
76c5d69 Fixed ESP padding in IPsec to be monotonically increasing numbers.
ca74bfa ASF: Removing compilation errors for XTRA Stats
606c594 Adding more functionality in asf_pktdump
80c8fa0 ASF: Supporting Multiple flows in SCTP
2ba1847 ASF: Miscellaneous changes
d27137e ASF: Supporting SCTP traffic in firewall/NAT
82a89e4 ASF: Invalidate all VSG's in asfctrl_invalidate_sessions function
ec6d625 ASF: Added VSG support
df42b23 ASF_V6: Patch to fix crash if first fragmented packet is sent to Linux
63a13e2 ASF: optimization of SG while fragmentation to reuse the first buffer
7718065 ASF: Check the more fragment bit for IPv6 at proper offset
810f173 ASF_FFP: Patch to fix the race condition in case of RT
c9e4edd ASF: dummy functions removal
e63f176 ASF: Making asfGetNode and asfReleaseNode thread safe
3e8e7b3 ASF: Fix for iface_not_found problem when device ifindex > 16
1354c95 ASF_REASMBLY: Modifying IP options only if option header is present
349d6d9 ASF: Change the dummy packet offset
b3ee577 ASF: made old_l2blob_jiffies_timeout user configurable
93c4864 ASF - runtime packet dump support
2471d1d ASF Cleanup - Timer RQ corrections
4180b6e Using IP header Identifcation field from the Head SKB itself.
a82969d ASF_IPv6: Porting the miscellenous changes for IPv6 activity.
61c08a4 ASF STATS - Adding extra stats for Reassembly and Timer
6def023 ASFSTATS - Enhancing the stats printing
3009524 Replacing printk with pr_err, pr_info, pr_warning
1f896bf ASF: Patch to avoid creation of duplicate flows
5862af3 ASF: Patch to add support for ip_options.
4c58c87 ASFIPSEC: Adding proc interface for showing IN/OUT SA list
4398bc9 ASF: Cleanup and reallignement of common global variables
1ebe80c ASFCTRL: Enabling the net MTU change event
7062cec ASF_REASSEM: Allocating fragmentation frame from outer dev
2875982 ASF: Minor enhancements
d41f350 ASF: Setting skb->next to null in asfReasmCleanCb
51d7efa ASF: Defining dimensioning macros at single place
93d673d ASF: updating the the asf reassembly library

---
 openembedded-layer/recipes-kernel/asf/asf_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
openembedded-layer/recipes-kernel/asf/asf_git.bb +2 -2
index 751a0e2..4c52c86 100644
@@ -3,8 +3,8 @@ SECTION = "asf"
 LICENSE = "GPLv2 & GPLv2+ & BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287"
 
-SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git;branch=sdk-v1.8.x"
-SRCREV = "62ba10ab6bab8f8f53934e4bb55b5a552bf3fd6b"
+SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git;branch=sdk-v1.9.x"
+SRCREV = "9580a629d3aec3ab3c5e152c6693846b96787906"
 
 inherit module
 
Signature · 1 line
1.9.2
#32 lore raw

PATCH 32/41 asf: update to a8bbba6

In reply to [email protected]

From: Ting Liu <[email protected]>

Changelog:
a8bbba6 Adding missing NULL checks for pointers
a57b54c ASF: Fix for compilation error in IPSEC
4c1e657 IPSEC: Fix for crash with RedSide disabled.
53c68a9 ASFQOS: Removing Compilation errors.
a2435dd ASF: Changing dpa files path and Flag
03d158e asf: Patch to fix api issue in kernel change.
30fe696 asf_ipsec: Patch to fix the insmod issue with gcc5.2 705730c asf: Patch to remove compilation error when ASF_IPV6 is disabled. 08c71f3 asfipsec: Patch to linearize nr_frag and fraglist coming from linux.

---
 openembedded-layer/recipes-kernel/asf/asf_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
openembedded-layer/recipes-kernel/asf/asf_git.bb +2 -2
index 4c52c86..6844c2c 100644
@@ -3,8 +3,8 @@ SECTION = "asf"
 LICENSE = "GPLv2 & GPLv2+ & BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287"
 
-SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git;branch=sdk-v1.9.x"
-SRCREV = "9580a629d3aec3ab3c5e152c6693846b96787906"
+SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git;branch=sdk-v2.0.x"
+SRCREV = "a8bbba6c2fd23bd79446c0ee62e352bfed528fb4"
 
 inherit module
 
Signature · 1 line
1.9.2
#33 lore raw

PATCH 33/41 cst: update to commit 65f79eb

In reply to [email protected]

From: Ting Liu <[email protected]>

Update LIC_FILES_CHKSUM as the code layout changed. New commits imported:
65f79eb Corrected Bit number printing for LayerScape SoC's 336e5f3 Added attribution to Brad Conte for SHA256 code 6d867f4 OTPMK and DRV utilities have been renamned 0cf0787 Hash_DRBG library license chanaged to BSD 4c941cd VERBOSITY option added in Makefile
8313f56 Makefile modified for distclean
becbb28 OTPMK Hamming algorithm used from library f3c205f Library compiled as a static library d17368c hash_drbg library integrated in CST 66ac7df CST directory structure modified
f84a78e Memory errors resolved
ea0ead0 gen_otpmk: Corrected bit Order Printing 74bbb24 LS1043: Input Files added
2f8225a LS1:: Modify input file addresses for LS1021 Rev2.0

---
 recipes-devtools/cst/cst_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-devtools/cst/cst_git.bb +3 -3
index 08dbd56..62a9d05 100644
@@ -3,14 +3,14 @@ SECTION = "cst"
 LICENSE = "BSD"
 
 # TODO: fix license - this file is not a license
-LIC_FILES_CHKSUM = "file://RELEASENOTES;beginline=8;endline=43;md5=5a7b22a2c96b5f94e0498c5f413aa8d3"
+LIC_FILES_CHKSUM = "file://include/common.h;beginline=8;endline=30;md5=573e4049ebb103e1cb3f63bc8aaf00b2"
 
 DEPENDS += "openssl"
 
 inherit kernel-arch
 
-SRC_URI = "git://git.freescale.com/ppc/sdk/cst.git;branch=master"
-SRCREV = "6f57c86c93cab0f4d0a40d83b685afa6932a6301"
+SRC_URI = "git://git.freescale.com/ppc/sdk/cst.git;branch=sdk-v1.9.x"
+SRCREV = "65f79eb1443211826a58ff225e86b251af5f0e12"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.9.2
#34 lore raw

PATCH 34/41 cst: update to d1c6c28

In reply to [email protected]

From: Ting Liu <[email protected]>

Changelog:
9413594 Correct the prototype of function calc_srk_hash_ta_3_x() 4aa0411 add BSD license on scripts
a53d641 ls1043/ppa: add input file for PPA validation 412e350 IE: Add IE based input files fro LS2085 7318fa2 IE Table: Made IE Table Address as 64 bit 05383c9 uni_pbi: Update PBI commands to add IE Key Table Address cb28fa5 create IE KEY Table as SG ENTRY 1 for ISBC e1d65a3 add API to create IE KEY Table
59318fb Makefile: Disable strict aliasing warnings ed6cd51 Fix the compile error
0ad2103 Add input files for LS2085
d0e1439 modify Makefile to copy scripts in Home Directory dbeecbe resolve Klocwork issues
7bea8ff update the README
fe5d376 correct CRC calculation for PBI
af0b811 correct the macro name
6ff901e add check for length of input file field dc59aef Add LS2080 in Trust 3.0
5d874e8 Input Files corrected
cfec3ae create_hdr_pbi: correct image hash calculation ccab293 ISBC Key Extension for ESBC Header
d5cadb0 CST Version print added
ea5b622 Directory structure for code changed
376fa05 New tool added for creating CF Header
d192616 Input Files added
cde107b Image Hash calculation different for Trust1 Non-PBL 04fc50b SG Flag is not set on platforms other than TRUST1 PBL f1ad29a ISBC Header: Add Support for TRUST 1.x
e2176d7 ESBC Header: SRK Table not supported on TRUST1 a3512ad ESBC Header: Support Added for TRUST 1 and TRUST 2 a3491e7 isbc_hdr_ta2: Dump Header corrected
4a21d92 ISBC Header: Support Added for TRUST 2.x 6a452c3 Scripts modified to have similar usage as earlier e620e9d command line options added to tools
4870135 common functions moved to one file
73d1ec0 srk_hash and img_hash options added to tools f90a426 Crypto Functions Moved to crypto_utils
34dd208 TAAL (TA Abstraction Layer) initialization changed af43ea3 wrapper scripts added fro tools
b9ad23b Sample Input Files added
6caf90f New CST Tools added
a723374 Remove existing tools

update the license file accordingly.

---
 recipes-devtools/cst/cst_git.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
recipes-devtools/cst/cst_git.bb +4 -4
index 62a9d05..548acd0 100644
@@ -1,16 +1,16 @@
-DESCRIPTION = "utility for security boot"
+SUMMARY = "utility for security boot"
 SECTION = "cst"
 LICENSE = "BSD"
 
 # TODO: fix license - this file is not a license
-LIC_FILES_CHKSUM = "file://include/common.h;beginline=8;endline=30;md5=573e4049ebb103e1cb3f63bc8aaf00b2"
+LIC_FILES_CHKSUM = "file://common/include/global.h;endline=26;md5=e31e31c35cc53f6fba7e3c4e9baf4339"
 
 DEPENDS += "openssl"
 
 inherit kernel-arch
 
-SRC_URI = "git://git.freescale.com/ppc/sdk/cst.git;branch=sdk-v1.9.x"
-SRCREV = "65f79eb1443211826a58ff225e86b251af5f0e12"
+SRC_URI = "git://git.freescale.com/ppc/sdk/cst.git;branch=sdk-v2.0.x"
+SRCREV = "d1c6c28ee78f8ed2aa92dbd6c0c00e6defe1242b"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.9.2
#35 lore raw

PATCH 35/41 fmc: add recipe

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 recipes-dpaa/fmc/fmc_git.bb | 48 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 recipes-dpaa/fmc/fmc_git.bb
recipes-dpaa/fmc/fmc_git.bb new file +48 -0
new file mode 100644
index 0000000..f9d70bd
@@ -0,0 +1,48 @@
+SUMMARY = "Frame Manager Configuration tool"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a504ab5a8ff235e67c7301214749346c"
+
+DEPENDS = "libxml2 fmlib tclap"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/fmc.git;branch=sdk-v1.9.x"
+SRCREV = "a079d2c844edd85dff85a317a63198e7988bcd09"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \
+    FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \
+    TCLAP_HEADER_PATH="${STAGING_INCDIR}" '
+EXTRA_OEMAKE_virtclass-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \
+    FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \
+    TCLAP_HEADER_PATH="${STAGING_INCDIR}" '
+
+EXTRA_OEMAKE_PLATFORM ?= ""
+EXTRA_OEMAKE_PLATFORM_b4 = "b4860qds"
+EXTRA_OEMAKE_PLATFORM_t2 = "b4860qds"
+EXTRA_OEMAKE_PLATFORM_t4 = "b4860qds"
+EXTRA_OEMAKE_PLATFORM_t1 = "t1040qds"
+EXTRA_OEMAKE_PLATFORM_fsl-lsch2 = "ls1043"
+
+do_compile () {
+    oe_runmake MACHINE=${EXTRA_OEMAKE_PLATFORM} -C source
+}
+
+do_install () {
+    install -d ${D}${bindir}
+    install -m 755 ${S}/source/fmc ${D}${bindir}
+
+    install -d ${D}${sysconfdir}/fmc/config
+    install -m 644 ${S}/etc/fmc/config/hxs_pdl_v3.xml ${D}${sysconfdir}/fmc/config
+
+    install -d ${D}/${includedir}/fmc
+    install ${S}/source/fmc.h ${D}${includedir}/fmc
+
+    install -d ${D}${libdir}
+    install ${S}/source/libfmc.a ${D}${libdir}
+}
+
+PARALLEL_MAKE = ""
+BBCLASSEXTEND = "native"
+COMPATIBLE_MACHINE = "(qoriq-ppc|fsl-lsch2)"
Signature · 1 line
1.9.2
#36 lore raw

PATCH 36/41 eth-config: add recipe

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 recipes-dpaa/eth-config/eth-config_git.bb | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 recipes-dpaa/eth-config/eth-config_git.bb
recipes-dpaa/eth-config/eth-config_git.bb new file +17 -0
new file mode 100644
index 0000000..a9a9d2b
@@ -0,0 +1,17 @@
+DESCRIPTION = "Ethernet Configuration Files"
+LICENSE = "BSD & GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=8ed5eddbfbb84af5089ea94c382d423c"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/eth-config.git;branch=sdk-v2.0.x"
+SRCREV = "c1a4b3ae8e2bb6e5abe4d316e5d1f339085e8156"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = "D=${D}"
+
+do_install() {
+    oe_runmake install
+    chown -R root:root ${D}
+}
+
+CLEANBROKEN = "1"
Signature · 1 line
1.9.2
#37 lore raw

PATCH 37/41 flib: add recipe

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 recipes-dpaa/flib/flib_git.bb | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 recipes-dpaa/flib/flib_git.bb
recipes-dpaa/flib/flib_git.bb new file +12 -0
new file mode 100644
index 0000000..0e49c28
@@ -0,0 +1,12 @@
+DESCRIPTION = "Frame Manager Foundation Library"
+LICENSE = "BSD & GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=75d2f6a74299640c05ae6c69ed7a4ad6"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/flib.git;branch=sdk-v2.0.x"
+SRCREV = "08e2aeb7d5c72ebbef30277ab4e73ab147c4c0c7"
+
+S = "${WORKDIR}/git"
+
+do_install(){
+    oe_runmake install DESTDIR=${D}
+}
Signature · 1 line
1.9.2
#38 lore raw

PATCH 38/41 fmlib: add recipe

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 recipes-dpaa/fmlib/fmlib_git.bb | 43 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 recipes-dpaa/fmlib/fmlib_git.bb
recipes-dpaa/fmlib/fmlib_git.bb new file +43 -0
new file mode 100644
index 0000000..effe1aa
@@ -0,0 +1,43 @@
+DESCRIPTION = "Frame Manager User Space Library"
+LICENSE = "BSD & GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=3f16fa8e677e45af3127c5c4bafc3c00"
+
+DEPENDS += "virtual/kernel"
+DEPENDS_virtclass-native = ""
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/fmlib.git;branch=sdk-v2.0.x"
+SRCREV = "43fa98fdbf0c697167e415c3f060896d5b482791"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \
+        CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}"
+
+TARGET_ARCH_FMLIB = "${DEFAULTTUNE}"
+TARGET_ARCH_FMLIB_e5500 = "ppc32e5500"
+TARGET_ARCH_FMLIB_e6500 = "ppc32e6500"
+TARGET_ARCH_FMLIB_fsl-lsch2 = "arm64a53"
+
+FMLIB_TARGET = "libfm-${TARGET_ARCH_FMLIB}"
+FMLIB_TARGET_t1 = "libfm-${TARGET_ARCH_FMLIB}-fmv3l"
+
+do_compile () {
+    oe_runmake ${FMLIB_TARGET}.a
+}
+
+do_compile_class-native () {
+    :
+}
+
+do_install () {
+    oe_runmake install-${FMLIB_TARGET}
+}
+
+do_install_class-native () {
+    install -d ${D}${includedir}
+    cp -rf ${S}/include/* ${D}${includedir}
+}
+
+BBCLASSEXTEND = "native"
+COMPATIBLE_HOST ?= "(none)"
+COMPATIBLE_HOST_qoriq = ".*"
Signature · 1 line
1.9.2
#39 lore raw

PATCH 39/41 usdpaa: add recipe

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 recipes-dpaa/usdpaa/usdpaa_git.bb | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 recipes-dpaa/usdpaa/usdpaa_git.bb
recipes-dpaa/usdpaa/usdpaa_git.bb new file +25 -0
new file mode 100644
index 0000000..5f324dc
@@ -0,0 +1,25 @@
+DESCRIPTION = "User-Space Data-Path Acceleration Architecture Drivers"
+LICENSE = "BSD & GPLv2"
+LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f"
+
+inherit pkgconfig
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+DEPENDS += "flib"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/usdpaa.git;branch=sdk-v2.0.x"
+SRCREV = "940d8f7f989c567b8c554ddba7bc4f0f4f21eb11"
+
+S = "${WORKDIR}/git"
+
+WRAP_ARCH ?= "${TARGET_ARCH}"
+WRAP_ARCH_fsl-lsch2 = "arm64"
+EXTRA_OEMAKE = 'CC="${CC}" LD="${LD}" AR="${AR}" ARCH="${WRAP_ARCH}"'
+
+do_install () {
+    oe_runmake install LIBDIR=${BASELIB} DESTDIR=${D}
+}
+
+PARALLEL_MAKE = ""
+COMPATIBLE_MACHINE = "(qoriq-ppc|fsl-lsch2)"
Signature · 1 line
1.9.2
#40 lore raw

PATCH 40/41 dpa-offload: add recipe

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 recipes-dpaa/dpa-offload/dpa-offload_git.bb | 45 +++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 recipes-dpaa/dpa-offload/dpa-offload_git.bb
recipes-dpaa/dpa-offload/dpa-offload_git.bb new file +45 -0
new file mode 100644
index 0000000..d0037cc
@@ -0,0 +1,45 @@
+DESCRIPTION = "Data-Path Acceleration Architecture Offloading User-Space Drivers"
+LICENSE = "BSD & GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=c03ebb7a330b209986517466c74da72c"
+
+inherit pkgconfig
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+DEPENDS = "usdpaa fmlib"
+DEPENDS_append_b4 = " ipc-ust"
+
+RDEPENDS_${PN} = "libgcc bash"
+RDEPENDS_${PN}_append_b4 = " ipc-ust"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/usdpaa/dpa-offload.git;branch=sdk-v2.0.x"
+SRCREV = "fed08b0667172fbe47d256b7d08be955e3333fdf"
+
+S = "${WORKDIR}/git"
+
+WRAP_ARCH ?= "${TARGET_ARCH}"
+WRAP_ARCH_fsl-lsch2 = "arm64"
+EXTRA_OEMAKE = 'CC="${CC}" LD="${LD}" ARCH="${WRAP_ARCH}"'
+
+FMAN_VARIANT ?= "P4080"
+FMAN_VARIANT_b4 = "FMAN_V3H"
+FMAN_VARIANT_t1 = "FMAN_V3L"
+FMAN_VARIANT_t2 = "FMAN_V3H"
+FMAN_VARIANT_t4 = "FMAN_V3H"
+FMAN_VARIANT_p1023rdb = "P1023"
+
+do_compile_prepend () {
+    export USDPAA_CFLAGS="-I ${STAGING_INCDIR}/usdpaa"
+    export FMLIB_CFLAGS="-I ${STAGING_INCDIR}/fmd \
+        -I ${STAGING_INCDIR}/fmd/Peripherals \
+        -I ${STAGING_INCDIR}/fmd/integrations \
+        -D${FMAN_VARIANT} -DNCSW_LINUX"
+}
+
+do_install () {
+    oe_runmake install DESTDIR=${D}
+}
+
+ALLOW_EMPTY_${PN} = "1"
+PARALLEL_MAKE = ""
+COMPATIBLE_MACHINE = "(qoriq-ppc|fsl-lsch2)"
Signature · 1 line
1.9.2
#41 lore raw

PATCH 41/41 usdpaa-apps: add recipe

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bb | 62 +++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)
 create mode 100644 recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bb
recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bb new file +62 -0
new file mode 100644
index 0000000..c056dea
@@ -0,0 +1,62 @@
+DESCRIPTION = "User-Space Data-Path Acceleration Architecture Demo Applications"
+LICENSE = "BSD & GPLv2"
+LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=d2a5d894118910d49993347f3f6e0f1e"
+
+inherit pkgconfig
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+DEPENDS = "libxml2 libedit ncurses fmc usdpaa dpa-offload libnl"
+DEPENDS_append_b4 = " ipc-ust"
+
+RDEPENDS_${PN} = "libgcc bash"
+RDEPENDS_${PN}_append_b4 = " ipc-ust"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/usdpaa/usdpaa-apps.git;branch=sdk-v2.0.x"
+SRCREV = "835cbceb4f76de1b493fea5dbe43a90f516b6f35"
+
+S = "${WORKDIR}/git"
+
+WRAP_ARCH ?= "${TARGET_ARCH}"
+WRAP_ARCH_fsl-lsch2 = "arm64"
+EXTRA_OEMAKE = 'CC="${CC}" LD="${LD}" AR="${AR}" ARCH="${WRAP_ARCH}"'
+
+SOC ?= "P4080"
+SOC_b4 = "B4860"
+SOC_t1 = "T1040"
+SOC_t2 = "T2080"
+SOC_t4 = "T4240"
+SOC_fsl-lsch2 = "LS1043"
+
+FMAN_VARIANT ?= "P4080"
+FMAN_VARIANT_b4 = "FMAN_V3H"
+FMAN_VARIANT_t1 = "FMAN_V3L"
+FMAN_VARIANT_t2 = "FMAN_V3H"
+FMAN_VARIANT_t4 = "FMAN_V3H"
+FMAN_VARIANT_fsl-lsch2 = "LS1043"
+
+do_compile_prepend () {
+    export SOC=${SOC}
+    export FMC_EXTRA_CFLAGS="-I ${STAGING_INCDIR}/fmc"
+    export FMLIB_EXTRA_CFLAGS="-I ${STAGING_INCDIR}/fmd \
+        -I ${STAGING_INCDIR}/fmd/Peripherals \
+        -I ${STAGING_INCDIR}/fmd/integrations \
+        -D${FMAN_VARIANT}"
+    export USDPAA_EXTRA_CFLAGS="-I ${STAGING_INCDIR}/usdpaa"
+    export DPAOFFLOAD_EXTRA_CFLAGS="-I ${STAGING_INCDIR}/dpa-offload"
+    export LIBNL_EXTRA_CFLAGS="-I ${STAGING_INCDIR}/libnl3"
+    export LIBNL_EXTRA_LDFLAGS="-lnl-3 -lnl-route-3"
+    export LIBXML2_CFLAGS="`pkg-config --cflags libxml-2.0`"
+    export LIBXML2_LDFLAGS="`pkg-config --libs --static libxml-2.0`"
+    export LIBEDIT_CFLAGS="`pkg-config --cflags libedit`"
+    export LIBEDIT_LDFLAGS="`pkg-config --libs --static libedit`"
+}
+
+do_install () {
+    export SOC=${SOC}
+    oe_runmake install LIBDIR=${BASELIB} DESTDIR=${D}
+}
+
+PARALLEL_MAKE = ""
+FILES_${PN} += "/root/SOURCE_THIS /usr/etc/"
+COMPATIBLE_MACHINE = "(qoriq-ppc|fsl-lsch2)"
Signature · 1 line
1.9.2
#42 lore raw
In reply to [email protected]

Hello Ting,

Quoted 48 lines · On Fri, Jun 24, 2016 at 7:40 AM, <[email protected]> wrote:

From: Ting Liu <[email protected]>

Based on the below commit:
3699d10 weston: Fix weston window manager for i.MX 6UltraLite

Chunrong Guo (2):
ppa: add recipe
rcw: update to 1af724b

Ting Liu (31):
qemu-fsl: rename to qemu-qoriq
u-boot-ls1: rename to u-boot-qoriq
linux-ls1: rename to linux-qoriq qoriq-arm.inc: split common bits into qoriq.inc
ls1043ardb: add machine file
ls1021atwr: update machine file
u-boot-qoriq: upgrade to 2016.01
u-boot-qoriq: copy right binary for nor/secure_boot
qemu-qoriq: upgrade to v2.4 plus fsl patches
linux-qoriq: upgrade to 4.1 plus fsl patches
udev-rules-qoriq: add recipe
fm-ucode: add recipe
qe-ucode: update to a95f42ae
rcw: swap qspi binary in do_install_append
rcw: update to commit 521008f
apptrk: update to commit 4216af3
apptrk: update to 873f44c
asf: set COMPATIBLE_MACHINE as ls102xa
asf: not package .ko files in PN
asf: remove empty install directories
asf: update to commit 9580a62
asf: update to a8bbba6
cst: update to commit 65f79eb
cst: update to d1c6c28
fmc: add recipe
eth-config: add recipe
flib: add recipe
fmlib: add recipe
usdpaa: add recipe
dpa-offload: add recipe
usdpaa-apps: add recipe

Yuan Yao (1):
change-file-endianess: keep 8 byte alignment

Zhenhua Luo (1):
qoriq-arm64.inc: add

Quoted 7 lines

Zongchun Yu (6):
ls2080ardb: Add machine file
management-complex: Add recipe
ls2-phy: Add recipe
ls2-rcw: Add recipe
dpl-examples: Add recipe
restool: Add recipe

All development for the QorIQ products family is centered to the meta-freescale layer so I see no reason to include those changes on meta-fsl-arm as those are not tested by NXP on this environment. Instead, we ought to speed the move for meta-freescale for both product lines and stop diverging from what is provided by NXP.

What are your view on this?

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#43 lore raw

Hello Otavio,

Quoted 69 lines

-----Original Message-----
From: Otavio Salvador [mailto:[email protected]]
Sent: Monday, June 27, 2016 6:52 PM
To: Ting Liu <[email protected]>
Cc: [email protected]; Zhenhua Luo <[email protected]>; Lauren Post <[email protected]>; Weng White-B18292 <[email protected]>
Subject: Re: [meta-freescale] [meta-fsl-arm][PATCH 00/41] QorIQ SDK 2.0 patches

Hello Ting,

Quoted 48 lines · On Fri, Jun 24, 2016 at 7:40 AM, <[email protected]> wrote:

From: Ting Liu <[email protected]>

Based on the below commit:
3699d10 weston: Fix weston window manager for i.MX 6UltraLite

Chunrong Guo (2):
ppa: add recipe
rcw: update to 1af724b

Ting Liu (31):
qemu-fsl: rename to qemu-qoriq
u-boot-ls1: rename to u-boot-qoriq
linux-ls1: rename to linux-qoriq qoriq-arm.inc: split common bits into qoriq.inc
ls1043ardb: add machine file
ls1021atwr: update machine file
u-boot-qoriq: upgrade to 2016.01
u-boot-qoriq: copy right binary for nor/secure_boot
qemu-qoriq: upgrade to v2.4 plus fsl patches
linux-qoriq: upgrade to 4.1 plus fsl patches
udev-rules-qoriq: add recipe
fm-ucode: add recipe
qe-ucode: update to a95f42ae
rcw: swap qspi binary in do_install_append
rcw: update to commit 521008f
apptrk: update to commit 4216af3
apptrk: update to 873f44c
asf: set COMPATIBLE_MACHINE as ls102xa
asf: not package .ko files in PN
asf: remove empty install directories
asf: update to commit 9580a62
asf: update to a8bbba6
cst: update to commit 65f79eb
cst: update to d1c6c28
fmc: add recipe
eth-config: add recipe
flib: add recipe
fmlib: add recipe
usdpaa: add recipe
dpa-offload: add recipe
usdpaa-apps: add recipe

Yuan Yao (1):
change-file-endianess: keep 8 byte alignment

Zhenhua Luo (1):
qoriq-arm64.inc: add

Quoted 7 lines

Zongchun Yu (6):
ls2080ardb: Add machine file
management-complex: Add recipe
ls2-phy: Add recipe
ls2-rcw: Add recipe
dpl-examples: Add recipe
restool: Add recipe

Quoted 7 lines

All development for the QorIQ products family is centered to the meta- freescale layer so I see no reason to include those changes on meta-fsl-arm as those are not tested by NXP on this environment.
Instead, we ought to speed the move for meta-freescale for both product lines and stop diverging from what is provided by NXP.

What are your view on this?

[Luo Zhenhua-B19537] Since meta-fsl-arm and meta-fsl-ppc are the formal layers of QorIQ support in Yocto community currently, we are working on the patches submission for the 2 layers to ensure latest OorIQ SDK(2.0) can be got from Yocto official repository. We will also port the patches for meta-freescale as well. To ensure those patches of fsl-arm and fsl-ppc layers work, we will done both build and sanity test. I am working on the patches review and test for fsl-ppc layer. Can you please kindly help to review and merge the patches of fsl-arm layer?

I fully agree that we should speed up the move for meta-freescale to Yocto official repository, hope this work can be done in 2016. May I know about your option about when the transfer can be done?

Best Regards,

Zhenhua

Quoted 4 lines

-
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750

author
#44 lore raw

Hello Otavio,

Quoted 89 lines

-----Original Message-----
From: Zhenhua Luo
Sent: Tuesday, June 28, 2016 10:54 AM
To: Otavio Salvador <[email protected]>; Ting Liu <[email protected]>
Cc: [email protected]; Lauren Post <[email protected]>; White Weng <[email protected]>
Subject: RE: [meta-freescale] [meta-fsl-arm][PATCH 00/41] QorIQ SDK 2.0 patches

Hello Otavio,

Quoted 6 lines

-----Original Message-----
From: Otavio Salvador [mailto:[email protected]]
Sent: Monday, June 27, 2016 6:52 PM
To: Ting Liu <[email protected]>
Cc: [email protected]; Zhenhua Luo <[email protected]>; Lauren Post <[email protected]>;

Weng

Quoted 63 lines

White-B18292 <[email protected]>
Subject: Re: [meta-freescale] [meta-fsl-arm][PATCH 00/41] QorIQ SDK 2.0 patches

Hello Ting,

Quoted 48 lines · On Fri, Jun 24, 2016 at 7:40 AM, <[email protected]> wrote:

From: Ting Liu <[email protected]>

Based on the below commit:
3699d10 weston: Fix weston window manager for i.MX 6UltraLite

Chunrong Guo (2):
ppa: add recipe
rcw: update to 1af724b

Ting Liu (31):
qemu-fsl: rename to qemu-qoriq
u-boot-ls1: rename to u-boot-qoriq
linux-ls1: rename to linux-qoriq qoriq-arm.inc: split common bits into qoriq.inc
ls1043ardb: add machine file
ls1021atwr: update machine file
u-boot-qoriq: upgrade to 2016.01
u-boot-qoriq: copy right binary for nor/secure_boot
qemu-qoriq: upgrade to v2.4 plus fsl patches
linux-qoriq: upgrade to 4.1 plus fsl patches
udev-rules-qoriq: add recipe
fm-ucode: add recipe
qe-ucode: update to a95f42ae
rcw: swap qspi binary in do_install_append
rcw: update to commit 521008f
apptrk: update to commit 4216af3
apptrk: update to 873f44c
asf: set COMPATIBLE_MACHINE as ls102xa
asf: not package .ko files in PN
asf: remove empty install directories
asf: update to commit 9580a62
asf: update to a8bbba6
cst: update to commit 65f79eb
cst: update to d1c6c28
fmc: add recipe
eth-config: add recipe
flib: add recipe
fmlib: add recipe
usdpaa: add recipe
dpa-offload: add recipe
usdpaa-apps: add recipe

Yuan Yao (1):
change-file-endianess: keep 8 byte alignment

Zhenhua Luo (1):
qoriq-arm64.inc: add

Quoted 7 lines

Zongchun Yu (6):
ls2080ardb: Add machine file
management-complex: Add recipe
ls2-phy: Add recipe
ls2-rcw: Add recipe
dpl-examples: Add recipe
restool: Add recipe

Quoted 7 lines

All development for the QorIQ products family is centered to the meta- freescale layer so I see no reason to include those changes on meta-fsl-arm as those are not tested by NXP on this environment. Instead, we ought to speed the move for meta-freescale for both product lines and stop diverging from what is provided by NXP.

What are your view on this?

Quoted 8 lines

[Luo Zhenhua-B19537] Since meta-fsl-arm and meta-fsl-ppc are the formal layers of QorIQ support in Yocto community currently, we are working on the patches submission for the 2 layers to ensure latest OorIQ SDK(2.0) can be got from Yocto official repository. We will also port the patches for meta- freescale as well. To ensure those patches of fsl-arm and fsl-ppc layers work, we will done both build and sanity test. I am working on the patches review and test for fsl-ppc layer. Can you please kindly help to review and merge the patches of fsl-arm layer?

[Liu Ting-B28495] SDK 2.0 supports two important QorIQ ARMv8 NPIs (ls1043ardb and ls2080ardb), we hope that the recipes of the two boards can be available in Yocto official repository soon. May I know what the status of fsl-arm patches is now? Any help is needed from us to support the patch merge?

Quoted 3 lines

I fully agree that we should speed up the move for meta-freescale to Yocto official repository, hope this work can be done in 2016. May I know about your option about when the transfer can be done?

[Liu Ting-B28495] +1
It will be great if you can share the detailed plan to move meta-freescale layer to Yocto official repository.

Quoted 10 lines

Best Regards,

Zhenhua

Quoted 4 lines

-
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750