Skip to contentSkip to conversation

patch series to upgrade to fsl 1.4 release

PATCH In review [email protected] 3 participants 19 messages Jun 28, 2013 – Jul 1, 2013

lore
Share & tools
lore
#0 lore raw

v2 cover patch series to upgrade to fsl 1.4 release

From: Ting Liu <[email protected]>

Changes in V2:
1.dropping the PR changes
2.rework commit log for p1020rdb machine conf update

Ting Liu (1):
p1020rdb: update machine conf to use new -pd revision

Zhenhua Luo (11):
linux-qoriq-sdk(-headers): upgrade to the version of sdk-1.4
u-boot: upgrade to the version of sdk1.4
boot-format: update SHA for sdk-1.4
eth-config: upgrade to sha of sdk-1.4
hv-cfg: upgrade to the SHA of sdk-1.4
fmlib: upgrade to the SHA of sdk-1.4
fmc: upgrade to the SHA of sdk-1.4
fm-ucode: upgrade to the SHA of sdk-1.4
hypervisor: upgrade to the SHA of sdk-1.4 and add hypertrk submodule
rcw: upgrade to the version of sdk-1.4
usdpaa: upgrade to the version of sdk-1.4

 conf/machine/p1020rdb.conf                         |    4 +-
 ...option-Automount-devtmpfs-at-dev-in-kerne.patch |   78 --------------------
 ...Undef-before-redefining-__attribute_const.patch |   28 -------
 ...-build-dependencies-for-c-files-requiring.patch |   44 -----------
 .../linux/files/fix_getrusage_for_perf.patch       |   33 --------
 recipes-kernel/linux/linux-qoriq-sdk-headers.bb    |    4 +
 recipes-kernel/linux/linux-qoriq-sdk.bb            |    8 +-
 recipes-kernel/linux/linux-qoriq-sdk.inc           |    7 +-
 recipes-kernel/u-boot/u-boot_git.bb                |    8 +-
 recipes-tools/boot-format/boot-format_git.bb       |    2 +-
 recipes-tools/embedded-hv/hypervisor_git.bb        |   19 ++++-
 recipes-tools/eth-config/eth-config_git.bb         |    2 +-
 recipes-tools/hv-cfg/hv-cfg_git.bb                 |    2 +-
 recipes-tools/rcw/rcw_git.bb                       |    2 +-
 recipes-tools/usdpaa/usdpaa_git.bb                 |   16 ++++-
 recipes-ucode/fm-ucode/fm-ucode_git.bb             |    6 +-
 recipes-ucode/fmc/fmc_git.bb                       |    2 +-
 recipes-ucode/fmlib/fmlib_git.bb                   |    2 +-
 18 files changed, 55 insertions(+), 212 deletions(-)
 delete mode 100644 recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch
 delete mode 100644 recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch
 delete mode 100644 recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch
 delete mode 100644 recipes-kernel/linux/files/fix_getrusage_for_perf.patch
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH v2 1/12 linux-qoriq-sdk(-headers): upgrade to the version of sdk-1.4

From: Zhenhua Luo <[email protected]>

1.Update kernel version to 3.8.

2.add DEPENDS libgcc and append TOOLCHAIN_OPTIONS to KERNEL_{CC,LD}. kernel in sdk 1.4 need run-time support libraries 'libgcc.a', added in file arch/powerpc/Makefile:
LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) Without passing the TOOLCHAIN_OPTIONS (define --sysroot parameter), it will fail to find the libgcc.a.

3.Also remove the patches which were already merged on git tree.

---
 ...option-Automount-devtmpfs-at-dev-in-kerne.patch |   78 --------------------
 ...Undef-before-redefining-__attribute_const.patch |   28 -------
 ...-build-dependencies-for-c-files-requiring.patch |   44 -----------
 .../linux/files/fix_getrusage_for_perf.patch       |   33 --------
 recipes-kernel/linux/linux-qoriq-sdk-headers.bb    |    4 +
 recipes-kernel/linux/linux-qoriq-sdk.bb            |    8 +-
 recipes-kernel/linux/linux-qoriq-sdk.inc           |    7 +-
 7 files changed, 11 insertions(+), 191 deletions(-)
 delete mode 100644 recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch
 delete mode 100644 recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch
 delete mode 100644 recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch
 delete mode 100644 recipes-kernel/linux/files/fix_getrusage_for_perf.patch
recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -78
deleted file mode 100644
index 39783ef..0000000
@@ -1,78 +0,0 @@
-From 3179602e581b6fe8797a5677d5ac4ecfab065cc6 Mon Sep 17 00:00:00 2001
-From: Chunrong Guo <[email protected]>
-Date: Thu, 11 Apr 2013 01:52:48 -0500
-Subject: [PATCH] Enable "the option Automount devtmpfs at /dev" in kernel
-
-Upstream-Status:Pending
-Signed-off-by: Chunrong Guo <[email protected]>
----
- arch/powerpc/configs/85xx/e6500rev1_defconfig |    1 +
- arch/powerpc/configs/corenet32_smp_defconfig  |    1 +
- arch/powerpc/configs/corenet64_smp_defconfig  |    1 +
- arch/powerpc/configs/mpc85xx_defconfig        |    1 +
- arch/powerpc/configs/mpc85xx_smp_defconfig    |    1 +
- 5 files changed, 5 insertions(+)
-
-diff --git a/arch/powerpc/configs/85xx/e6500rev1_defconfig b/arch/powerpc/configs/85xx/e6500rev1_defconfig
-index 4b5866d..32ebb50 100644
---- a/arch/powerpc/configs/85xx/e6500rev1_defconfig
-+++ b/arch/powerpc/configs/85xx/e6500rev1_defconfig
-@@ -72,6 +72,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CMDLINE_PARTS=y
- CONFIG_MTD_CHAR=y
-diff --git a/arch/powerpc/configs/corenet32_smp_defconfig b/arch/powerpc/configs/corenet32_smp_defconfig
-index b43d4b6..3fe10e5 100644
---- a/arch/powerpc/configs/corenet32_smp_defconfig
-+++ b/arch/powerpc/configs/corenet32_smp_defconfig
-@@ -71,6 +71,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CMDLINE_PARTS=y
- CONFIG_MTD_CHAR=y
-diff --git a/arch/powerpc/configs/corenet64_smp_defconfig b/arch/powerpc/configs/corenet64_smp_defconfig
-index 13b032b..74cc46a 100644
---- a/arch/powerpc/configs/corenet64_smp_defconfig
-+++ b/arch/powerpc/configs/corenet64_smp_defconfig
-@@ -66,6 +66,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CMDLINE_PARTS=y
- CONFIG_MTD_CHAR=y
-diff --git a/arch/powerpc/configs/mpc85xx_defconfig b/arch/powerpc/configs/mpc85xx_defconfig
-index 8fb742d..f353a6e 100644
---- a/arch/powerpc/configs/mpc85xx_defconfig
-+++ b/arch/powerpc/configs/mpc85xx_defconfig
-@@ -75,6 +75,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CHAR=y
- CONFIG_MTD_BLOCK=y
-diff --git a/arch/powerpc/configs/mpc85xx_smp_defconfig b/arch/powerpc/configs/mpc85xx_smp_defconfig
-index b31c8ac..cdc2c87 100644
---- a/arch/powerpc/configs/mpc85xx_smp_defconfig
-+++ b/arch/powerpc/configs/mpc85xx_smp_defconfig
-@@ -77,6 +77,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CHAR=y
- CONFIG_MTD_BLOCK=y
--- 
-1.7.9.7
-
recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch deleted +0 -28
deleted file mode 100644
index 597fd3b..0000000
@@ -1,28 +0,0 @@
-From 6f92ab6de9d8daeb575949bbbcbc7bcdcebc60af Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem at gmail.com>
-Date: Thu, 5 Jan 2012 11:42:35 -0800
-Subject: [PATCH] compiler.h: Undef before redefining __attribute_const__
-
-This is required to avoid warnings like
-util/include/linux/compiler.h:8:0: error: "__attribute_const__" redefined [-Werror]
-
-Signed-off-by: Khem Raj <raj.khem at gmail.com>
----
- tools/perf/util/include/linux/compiler.h |    4 +++-
- 1 files changed, 3 insertions(+), 1 deletions(-)
-
---- a/tools/perf/util/include/linux/compiler.h
-+++ b/tools/perf/util/include/linux/compiler.h
-@@ -4,9 +4,11 @@
- #ifndef __always_inline
- #define __always_inline	inline
- #endif
-+#undef __user
- #define __user
-+#undef __attribute_const__
- #define __attribute_const__
--
-+#undef __used
- #define __used		__attribute__((__unused__))
- 
- #endif
recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch deleted +0 -44

44 lines not on this page · raw message

recipes-kernel/linux/files/fix_getrusage_for_perf.patch deleted +0 -33
deleted file mode 100644
index 0029fdc..0000000
@@ -1,33 +0,0 @@
-commit 7b78f13603c6fcb64e020a0bbe31a651ea2b657b
-Author: Markus Trippelsdorf <[email protected]>
-Date: Wed Apr 4 10:45:27 2012 +0200
-
-    perf tools: Fix getrusage() related build failure on glibc trunk
-    
-    On a system running glibc trunk perf doesn't build:
-    
-        CC builtin-sched.o
-    builtin-sched.c: In function ‘get_cpu_usage_nsec_parent’: builtin-sched.c:399:16: error: storage size of ‘ru’ isn’t known builtin-sched.c:403:2: error: implicit declaration of function ‘getrusage’ [-Werror=implicit-function-declaration]
-        [...]
-    
-    Fix it by including sys/resource.h.
-    
-    Signed-off-by: Markus Trippelsdorf <[email protected]>
-    Cc: Peter Zijlstra <[email protected]>
-    Link: http://lkml.kernel.org/r/20120404084527.GA294@x4
-    Signed-off-by: Ingo Molnar <[email protected]>
-
-Upstream-Status: Backport [3.4]
-
-diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c
-index fb8b5f8..1cad3af 100644
---- a/tools/perf/builtin-sched.c
-+++ b/tools/perf/builtin-sched.c
-@@ -17,6 +17,7 @@
- #include "util/debug.h"
- 
- #include <sys/prctl.h>
-+#include <sys/resource.h>
- 
- #include <semaphore.h>
- #include <pthread.h>
recipes-kernel/linux/linux-qoriq-sdk-headers.bb +4 -0
index b1cbb8d..0ee4fc1 100644
@@ -2,6 +2,8 @@ DESCRIPTION = "Linux kernel headers for Freescale platforms"
 SECTION = "devel"
 LICENSE = "GPLv2"
 
+PR = "${INC_PR}.1"
+
 INHIBIT_DEFAULT_DEPS = "1"
 PROVIDES = "linux-libc-headers ${PN}"
 RPROVIDES_${PN}-dev += "linux-libc-headers-dev"
@@ -11,6 +13,8 @@ RRECOMMENDS_${PN}-dbg = "linux-libc-headers-dev (= ${EXTENDPKGV})"
 
 require recipes-kernel/linux/linux-qoriq-sdk.inc
 
+SRC_URI_append += " file://scripts-Makefile.headersinst-install-headers-from-sc.patch"
+
 inherit kernel-arch
 
 do_configure() {
recipes-kernel/linux/linux-qoriq-sdk.bb +4 -4
index a015e49..502132f 100644
@@ -7,11 +7,11 @@ LICENSE = "GPLv2"
 
 require recipes-kernel/linux/linux-qoriq-sdk.inc
 
-PR = "r11"
+PR = "${INC_PR}.1"
 
-SRC_URI += "file://fix_getrusage_for_perf.patch \
-            file://0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch \
-           "
+DEPENDS_append = " libgcc"
+KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}"
+KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}"
 
 do_configure_prepend() {
 	# copy desired defconfig so we pick it up for the real kernel_do_configure
recipes-kernel/linux/linux-qoriq-sdk.inc +3 -4
index f77543e..1c66f9b 100644
@@ -1,11 +1,10 @@
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
-PV = "3.0.51"
-PR = "r11"
+PV = "3.8"
+INC_PR = "r11"
 
-SRCREV = "faac5211f398f25e2be44ac996895335d5218516"
+SRCREV = "4b66366af2d77de68f4bd6548d07421e13d3df05"
 SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git \
-           file://0001-compiler.h-Undef-before-redefining-__attribute_const.patch \
 	  "
 
 KSRC ?= ""
Signature · 1 line
1.7.3.4
#2 lore raw

Re: [meta-fsl-ppc][PATCH v2 01/12] linux-qoriq-sdk(-headers): upgrade to the version of sdk-1.4

"scripts-Makefile.headersinst-install-headers-from-sc.patch" is missing.

ERROR: Fetcher failure: Unable to find file file://scripts-Makefile.headersinst-install-headers-from-sc.patch anywhere. The paths that were searched were:

    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk-headers-3.8/powerpc
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk-headers-3.8/p1022
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk-headers-3.8/p1022ds
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk-headers-3.8/e500v2
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk-headers-3.8/fslmachine
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk-headers-3.8/poky
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk-headers-3.8/
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk-headers/powerpc
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk-headers/p1022
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk-headers/p1022ds
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk-headers/e500v2
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk-headers/fslmachine
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk-headers/poky
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk-headers/
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/powerpc
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/p1022
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/p1022ds
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/e500v2
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/fslmachine
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/poky
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/
    /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/p1022ds/downloads

ERROR: Function failed: Fetcher failure for URL: 'file://scripts-Makefile.headersinst-install-headers-from-sc.patch'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/b19537/jenkins/workspace/meta-fsl-ppc-upstream/label/busy/poky/p1022ds/tmp/work/ppce500v2-poky-linux-gnuspe/linux-qoriq-sdk-headers/3.8-r11.1/temp/log.do_fetch.18859
NOTE: recipe linux-qoriq-sdk-headers-3.8-r11.1: task do_fetch: Failed

Best Regards,

Zhenhua

Quoted 347 lines

-----Original Message-----
From: Liu Ting-B28495
Sent: Friday, June 28, 2013 11:38 AM
To: [email protected]
Cc: Luo Zhenhua-B19537; Liu Ting-B28495
Subject: [meta-fsl-ppc][PATCH v2 01/12] linux-qoriq-sdk(-headers):
upgrade to the version of sdk-1.4

From: Zhenhua Luo <[email protected]>

1.Update kernel version to 3.8.

2.add DEPENDS libgcc and append TOOLCHAIN_OPTIONS to KERNEL_{CC,LD}. kernel in sdk 1.4 need run-time support libraries 'libgcc.a', added in file arch/powerpc/Makefile:
LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) Without passing the TOOLCHAIN_OPTIONS (define --sysroot parameter), it will fail to find the libgcc.a.

3.Also remove the patches which were already merged on git tree.

---
 ...option-Automount-devtmpfs-at-dev-in-kerne.patch |   78 --------------
------
 ...Undef-before-redefining-__attribute_const.patch |   28 -------
 ...-build-dependencies-for-c-files-requiring.patch |   44 -----------
 .../linux/files/fix_getrusage_for_perf.patch       |   33 --------
 recipes-kernel/linux/linux-qoriq-sdk-headers.bb    |    4 +
 recipes-kernel/linux/linux-qoriq-sdk.bb            |    8 +-
 recipes-kernel/linux/linux-qoriq-sdk.inc           |    7 +-
 7 files changed, 11 insertions(+), 191 deletions(-)  delete mode 100644
recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-
dev-in-kerne.patch
 delete mode 100644 recipes-kernel/linux/files/0001-compiler.h-Undef-
before-redefining-__attribute_const.patch
 delete mode 100644 recipes-kernel/linux/files/0001-powerpc-Fix-build-
dependencies-for-c-files-requiring.patch
 delete mode 100644 recipes-

kernel/linux/files/fix_getrusage_for_perf.patch

(quoted diff) +0 -0

devtmpfs-at-dev-in-kerne.patch b/recipes-kernel/linux/files/0001-Enable- the-option-Automount-devtmpfs-at-dev-in-kerne.patch
deleted file mode 100644
index 39783ef..0000000
--- a/recipes-kernel/linux/files/0001-Enable-the-option-Automount- devtmpfs-at-dev-in-kerne.patch
+++ /dev/null

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -4
@@ -1,78 +0,0 @@
-From 3179602e581b6fe8797a5677d5ac4ecfab065cc6 Mon Sep 17 00:00:00 2001
-From: Chunrong Guo <[email protected]>
-Date: Thu, 11 Apr 2013 01:52:48 -0500
-Subject: [PATCH] Enable "the option Automount devtmpfs at /dev" in

kernel

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-
-Upstream-Status:Pending
-Signed-off-by: Chunrong Guo <[email protected]>
----
- arch/powerpc/configs/85xx/e6500rev1_defconfig |    1 +
- arch/powerpc/configs/corenet32_smp_defconfig  |    1 +
- arch/powerpc/configs/corenet64_smp_defconfig  |    1 +
- arch/powerpc/configs/mpc85xx_defconfig        |    1 +
- arch/powerpc/configs/mpc85xx_smp_defconfig    |    1 +
- 5 files changed, 5 insertions(+)
-
-diff --git a/arch/powerpc/configs/85xx/e6500rev1_defconfig

b/arch/powerpc/configs/85xx/e6500rev1_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-index 4b5866d..32ebb50 100644
---- a/arch/powerpc/configs/85xx/e6500rev1_defconfig
-+++ b/arch/powerpc/configs/85xx/e6500rev1_defconfig
-@@ -72,6 +72,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CMDLINE_PARTS=y
- CONFIG_MTD_CHAR=y
-diff --git a/arch/powerpc/configs/corenet32_smp_defconfig

b/arch/powerpc/configs/corenet32_smp_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-index b43d4b6..3fe10e5 100644
---- a/arch/powerpc/configs/corenet32_smp_defconfig
-+++ b/arch/powerpc/configs/corenet32_smp_defconfig
-@@ -71,6 +71,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CMDLINE_PARTS=y
- CONFIG_MTD_CHAR=y
-diff --git a/arch/powerpc/configs/corenet64_smp_defconfig

b/arch/powerpc/configs/corenet64_smp_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-index 13b032b..74cc46a 100644
---- a/arch/powerpc/configs/corenet64_smp_defconfig
-+++ b/arch/powerpc/configs/corenet64_smp_defconfig
-@@ -66,6 +66,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CMDLINE_PARTS=y
- CONFIG_MTD_CHAR=y
-diff --git a/arch/powerpc/configs/mpc85xx_defconfig

b/arch/powerpc/configs/mpc85xx_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-index 8fb742d..f353a6e 100644
---- a/arch/powerpc/configs/mpc85xx_defconfig
-+++ b/arch/powerpc/configs/mpc85xx_defconfig
-@@ -75,6 +75,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CHAR=y
- CONFIG_MTD_BLOCK=y
-diff --git a/arch/powerpc/configs/mpc85xx_smp_defconfig

b/arch/powerpc/configs/mpc85xx_smp_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -14
-index b31c8ac..cdc2c87 100644
---- a/arch/powerpc/configs/mpc85xx_smp_defconfig
-+++ b/arch/powerpc/configs/mpc85xx_smp_defconfig
-@@ -77,6 +77,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CHAR=y
- CONFIG_MTD_BLOCK=y
---
-1.7.9.7
-
(quoted diff) +0 -0

redefining-__attribute_const.patch b/recipes-kernel/linux/files/0001- compiler.h-Undef-before-redefining-__attribute_const.patch deleted file mode 100644
index 597fd3b..0000000
--- a/recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining- __attribute_const.patch
+++ /dev/null

recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch deleted +0 -7
@@ -1,28 +0,0 @@
-From 6f92ab6de9d8daeb575949bbbcbc7bcdcebc60af Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem at gmail.com>
-Date: Thu, 5 Jan 2012 11:42:35 -0800
-Subject: [PATCH] compiler.h: Undef before redefining __attribute_const__
-
-This is required to avoid warnings like
-util/include/linux/compiler.h:8:0: error: "__attribute_const__"

redefined [-Werror]

recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch deleted +0 -21
-
-Signed-off-by: Khem Raj <raj.khem at gmail.com>
----
- tools/perf/util/include/linux/compiler.h |    4 +++-
- 1 files changed, 3 insertions(+), 1 deletions(-)
-
---- a/tools/perf/util/include/linux/compiler.h
-+++ b/tools/perf/util/include/linux/compiler.h
-@@ -4,9 +4,11 @@
- #ifndef __always_inline
- #define __always_inline	inline
- #endif
-+#undef __user
- #define __user
-+#undef __attribute_const__
- #define __attribute_const__
--
-+#undef __used
- #define __used		__attribute__((__unused__))
-
- #endif
(quoted diff) +0 -0

dependencies-for-c-files-requiring.patch b/recipes- kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files- requiring.patch
deleted file mode 100644
index d3464fb..0000000
--- a/recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for- c-files-requiring.patch
+++ /dev/null

recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch deleted +0 -8
@@ -1,44 +0,0 @@
-Upstream-Status: Pending
-
-From 2e7ffea0c0c09c6d9219d604e0351423f43844f4 Mon Sep 17 00:00:00 2001
-From: Matthew McClintock <[email protected]>
-Date: Thu, 6 Sep 2012 13:45:21 -0500
-Subject: powerpc: Fix build dependencies for c files requiring libfdt.h
-
-Several files in obj-plat depend on libfdt header file. Sometimes -when

building one can see the following issue. This patch adds -libfdt as dependency to those object files

recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch deleted +0 -23
-
-| In file included from arch/powerpc/boot/treeboot-iss4xx.c:33:0:
-| arch/powerpc/boot/libfdt.h:854:1: error: unterminated comment In file
-| included from arch/powerpc/boot/treeboot-iss4xx.c:33:0:
-| arch/powerpc/boot/libfdt.h:1:0: error: unterminated #ifndef
-|   BOOTCC  arch/powerpc/boot/inffast.o
-| make[1]: *** [arch/powerpc/boot/treeboot-iss4xx.o] Error 1
-| make[1]: *** Waiting for unfinished jobs....
-|   BOOTCC  arch/powerpc/boot/inflate.o
-| make: *** [uImage] Error 2
-| ERROR: oe_runmake failed
-| ERROR: Function failed: do_compile (see
-| /srv/home/pokybuild/yocto-autobuilder/yocto-slave/p1022ds/build/build
-| /tmp/work/p1022ds-poky-linux-gnuspe/linux-qoriq-sdk-3.0.34-r5/temp/lo
-| g.do_compile.2167 for further information)
-NOTE: recipe linux-qoriq-sdk-3.0.34-r5: task do_compile: Failed
-
-Signed-off-by: Matthew McClintock <[email protected]>
----
- arch/powerpc/boot/Makefile |    1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile -

index b7d8333..6a15c96 100644
---- a/arch/powerpc/boot/Makefile
-+++ b/arch/powerpc/boot/Makefile
-@@ -107,6 +107,7 @@ src-boot := $(addprefix $(obj)/, $(src-boot))
- obj-boot := $(addsuffix .o, $(basename $(src-boot)))
- obj-wlib := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src- wlib))))
- obj-plat := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src- plat))))
-+obj-plat: $(libfdt)

recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch deleted +0 -3
-
- quiet_cmd_copy_zlib = COPY    $@
-       cmd_copy_zlib = sed "s@__used@@;s@<linux/\([^>]*\).*@\"\1\"@" $< >

$@
---
-1.7.9.7

(quoted diff) +0 -1
-
recipes-kernel/linux/files/fix_getrusage_for_perf.patch deleted +0 -10
deleted file mode 100644
index 0029fdc..0000000
@@ -1,33 +0,0 @@
-commit 7b78f13603c6fcb64e020a0bbe31a651ea2b657b
-Author: Markus Trippelsdorf <[email protected]>
-Date: Wed Apr 4 10:45:27 2012 +0200
-
-    perf tools: Fix getrusage() related build failure on glibc trunk
-
-    On a system running glibc trunk perf doesn't build:
-
-        CC builtin-sched.o
-    builtin-sched.c: In function ‘get_cpu_usage_nsec_parent’: builtin-

sched.c:399:16: error: storage size of ‘ru’ isn’t known builtin- sched.c:403:2: error: implicit declaration of function ‘getrusage’ [- Werror=implicit-function-declaration]

recipes-kernel/linux/files/fix_getrusage_for_perf.patch deleted +0 -12
-        [...]
-
-    Fix it by including sys/resource.h.
-
-    Signed-off-by: Markus Trippelsdorf <[email protected]>
-    Cc: Peter Zijlstra <[email protected]>
-    Link: http://lkml.kernel.org/r/20120404084527.GA294@x4
-    Signed-off-by: Ingo Molnar <[email protected]>
-
-Upstream-Status: Backport [3.4]
-
-diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c -

index fb8b5f8..1cad3af 100644
---- a/tools/perf/builtin-sched.c
-+++ b/tools/perf/builtin-sched.c
-@@ -17,6 +17,7 @@
- #include "util/debug.h"

recipes-kernel/linux/files/fix_getrusage_for_perf.patch deleted +0 -6
-
- #include <sys/prctl.h>
-+#include <sys/resource.h>
-
- #include <semaphore.h>
- #include <pthread.h>
recipes- renamed from recipes-kernel/linux/linux-qoriq-sdk-headers.bb +0 -0

kernel/linux/linux-qoriq-sdk-headers.bb
index b1cbb8d..0ee4fc1 100644

recipes-kernel/linux/linux-qoriq-sdk-headers.bb +0 -0
@@ -2,6 +2,8 @@ DESCRIPTION = "Linux kernel headers for Freescale

platforms"
SECTION = "devel"
LICENSE = "GPLv2"

recipes-kernel/linux/linux-qoriq-sdk-headers.bb +2 -0
+PR = "${INC_PR}.1"
+
 INHIBIT_DEFAULT_DEPS = "1"
 PROVIDES = "linux-libc-headers ${PN}"
 RPROVIDES_${PN}-dev += "linux-libc-headers-dev"
@@ -11,6 +13,8 @@ RRECOMMENDS_${PN}-dbg = "linux-libc-headers-dev (=

${EXTENDPKGV})"

require recipes-kernel/linux/linux-qoriq-sdk.inc

+SRC_URI_append += " file://scripts-Makefile.headersinst-install-headers- from-sc.patch"

recipes-kernel/linux/linux-qoriq-sdk-headers.bb +1 -0
+
 inherit kernel-arch
 
 do_configure() {
recipes- renamed from recipes-kernel/linux/linux-qoriq-sdk.bb +0 -0

kernel/linux/linux-qoriq-sdk.bb
index a015e49..502132f 100644

recipes-kernel/linux/linux-qoriq-sdk.bb +4 -4
@@ -7,11 +7,11 @@ LICENSE = "GPLv2"
 
 require recipes-kernel/linux/linux-qoriq-sdk.inc
 
-PR = "r11"
+PR = "${INC_PR}.1"
 
-SRC_URI += "file://fix_getrusage_for_perf.patch \
-            file://0001-Enable-the-option-Automount-devtmpfs-at-dev-in-
 kerne.patch \
-           "
+DEPENDS_append = " libgcc"
+KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}"
+KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}"
 
 do_configure_prepend() {
 	# copy desired defconfig so we pick it up for the real
kernel_do_configure diff --git a/recipes-kernel/linux/linux-qoriq-sdk.inc
b/recipes-kernel/linux/linux-qoriq-sdk.inc
index f77543e..1c66f9b 100644
recipes-kernel/linux/linux-qoriq-sdk.inc +3 -4
@@ -1,11 +1,10 @@
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
-PV = "3.0.51"
-PR = "r11"
+PV = "3.8"
+INC_PR = "r11"
 
-SRCREV = "faac5211f398f25e2be44ac996895335d5218516"
+SRCREV = "4b66366af2d77de68f4bd6548d07421e13d3df05"
 SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git \
-           file://0001-compiler.h-Undef-before-redefining-
 __attribute_const.patch \
 	  "
 

KSRC ?= ""
--
1.7.3.4

#3 lore raw

Re: [meta-fsl-ppc][PATCH v2 01/12] linux-qoriq-sdk(-headers): upgrade to the version of sdk-1.4

Sorry. Forgot to use 'git add' to add the patch when re-submitting commit.

Quoted 450 lines

-----Original Message-----
From: Luo Zhenhua-B19537
Sent: Monday, July 01, 2013 12:16 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: RE: [meta-fsl-ppc][PATCH v2 01/12] linux-qoriq-sdk(-headers):
upgrade to the version of sdk-1.4

"scripts-Makefile.headersinst-install-headers-from-sc.patch" is missing.

ERROR: Fetcher failure: Unable to find file file://scripts- Makefile.headersinst-install-headers-from-sc.patch anywhere. The paths that were searched were:

    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-
sdk-headers-3.8/powerpc
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-
sdk-headers-3.8/p1022
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-
sdk-headers-3.8/p1022ds
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-
sdk-headers-3.8/e500v2
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-
sdk-headers-3.8/fslmachine
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-
sdk-headers-3.8/poky
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-
sdk-headers-3.8/
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-
sdk-headers/powerpc
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-
sdk-headers/p1022
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-
sdk-headers/p1022ds
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-
sdk-headers/e500v2
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-
sdk-headers/fslmachine
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-
sdk-headers/poky
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-
sdk-headers/
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/powerpc
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/p1022
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/p1022ds
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/e500v2
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-
kernel/linux/files/fslmachine
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/poky
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/
    /home/b19537/jenkins/workspace/meta-fsl-ppc-

upstream/label/busy/poky/p1022ds/downloads
ERROR: Function failed: Fetcher failure for URL: 'file://scripts- Makefile.headersinst-install-headers-from-sc.patch'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/b19537/jenkins/workspace/meta- fsl-ppc-upstream/label/busy/poky/p1022ds/tmp/work/ppce500v2-poky-linux- gnuspe/linux-qoriq-sdk-headers/3.8-r11.1/temp/log.do_fetch.18859
NOTE: recipe linux-qoriq-sdk-headers-3.8-r11.1: task do_fetch: Failed

Best Regards,

Zhenhua

Quoted 19 lines

-----Original Message-----
From: Liu Ting-B28495
Sent: Friday, June 28, 2013 11:38 AM
To: [email protected]
Cc: Luo Zhenhua-B19537; Liu Ting-B28495
Subject: [meta-fsl-ppc][PATCH v2 01/12] linux-qoriq-sdk(-headers):
upgrade to the version of sdk-1.4

From: Zhenhua Luo <[email protected]>

1.Update kernel version to 3.8.

2.add DEPENDS libgcc and append TOOLCHAIN_OPTIONS to KERNEL_{CC,LD}. kernel in sdk 1.4 need run-time support libraries 'libgcc.a', added in file arch/powerpc/Makefile:
LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) Without passing the TOOLCHAIN_OPTIONS (define --sysroot parameter), it will fail to find the libgcc.a.

Quoted 6 lines

3.Also remove the patches which were already merged on git tree.

---
 ...option-Automount-devtmpfs-at-dev-in-kerne.patch |   78 ------------

--

Quoted 214 lines

------

 ...Undef-before-redefining-__attribute_const.patch |   28 -------
 ...-build-dependencies-for-c-files-requiring.patch |   44 -----------
 .../linux/files/fix_getrusage_for_perf.patch       |   33 --------
 recipes-kernel/linux/linux-qoriq-sdk-headers.bb    |    4 +
 recipes-kernel/linux/linux-qoriq-sdk.bb            |    8 +-
 recipes-kernel/linux/linux-qoriq-sdk.inc           |    7 +-
 7 files changed, 11 insertions(+), 191 deletions(-)  delete mode

100644 recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-a t-
dev-in-kerne.patch

 delete mode 100644 recipes-kernel/linux/files/0001-compiler.h-Undef-
before-redefining-__attribute_const.patch
 delete mode 100644 recipes-kernel/linux/files/0001-powerpc-Fix-build-
dependencies-for-c-files-requiring.patch
 delete mode 100644 recipes-

kernel/linux/files/fix_getrusage_for_perf.patch

diff --git a/recipes-kernel/linux/files/0001-Enable-the-option-Automount- devtmpfs-at-dev-in-kerne.patch b/recipes-kernel/linux/files/0001-Enable- the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted file mode 100644
index 39783ef..0000000
--- a/recipes-kernel/linux/files/0001-Enable-the-option-Automount- devtmpfs-at-dev-in-kerne.patch
+++ /dev/null

(quoted diff) +0 -1
@@ -1,78 +0,0 @@
-From 3179602e581b6fe8797a5677d5ac4ecfab065cc6 Mon Sep 17 00:00:00

2001

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -3
-From: Chunrong Guo <[email protected]>
-Date: Thu, 11 Apr 2013 01:52:48 -0500
-Subject: [PATCH] Enable "the option Automount devtmpfs at /dev" in

kernel

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-
-Upstream-Status:Pending
-Signed-off-by: Chunrong Guo <[email protected]>
----
- arch/powerpc/configs/85xx/e6500rev1_defconfig |    1 +
- arch/powerpc/configs/corenet32_smp_defconfig  |    1 +
- arch/powerpc/configs/corenet64_smp_defconfig  |    1 +
- arch/powerpc/configs/mpc85xx_defconfig        |    1 +
- arch/powerpc/configs/mpc85xx_smp_defconfig    |    1 +
- 5 files changed, 5 insertions(+)
-
-diff --git a/arch/powerpc/configs/85xx/e6500rev1_defconfig

b/arch/powerpc/configs/85xx/e6500rev1_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-index 4b5866d..32ebb50 100644
---- a/arch/powerpc/configs/85xx/e6500rev1_defconfig
-+++ b/arch/powerpc/configs/85xx/e6500rev1_defconfig
-@@ -72,6 +72,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CMDLINE_PARTS=y
- CONFIG_MTD_CHAR=y
-diff --git a/arch/powerpc/configs/corenet32_smp_defconfig

b/arch/powerpc/configs/corenet32_smp_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-index b43d4b6..3fe10e5 100644
---- a/arch/powerpc/configs/corenet32_smp_defconfig
-+++ b/arch/powerpc/configs/corenet32_smp_defconfig
-@@ -71,6 +71,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CMDLINE_PARTS=y
- CONFIG_MTD_CHAR=y
-diff --git a/arch/powerpc/configs/corenet64_smp_defconfig

b/arch/powerpc/configs/corenet64_smp_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-index 13b032b..74cc46a 100644
---- a/arch/powerpc/configs/corenet64_smp_defconfig
-+++ b/arch/powerpc/configs/corenet64_smp_defconfig
-@@ -66,6 +66,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CMDLINE_PARTS=y
- CONFIG_MTD_CHAR=y
-diff --git a/arch/powerpc/configs/mpc85xx_defconfig

b/arch/powerpc/configs/mpc85xx_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-index 8fb742d..f353a6e 100644
---- a/arch/powerpc/configs/mpc85xx_defconfig
-+++ b/arch/powerpc/configs/mpc85xx_defconfig
-@@ -75,6 +75,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CHAR=y
- CONFIG_MTD_BLOCK=y
-diff --git a/arch/powerpc/configs/mpc85xx_smp_defconfig

b/arch/powerpc/configs/mpc85xx_smp_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -14
-index b31c8ac..cdc2c87 100644
---- a/arch/powerpc/configs/mpc85xx_smp_defconfig
-+++ b/arch/powerpc/configs/mpc85xx_smp_defconfig
-@@ -77,6 +77,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CHAR=y
- CONFIG_MTD_BLOCK=y
---
-1.7.9.7
-
(quoted diff) +0 -0

redefining-__attribute_const.patch b/recipes-kernel/linux/files/0001- compiler.h-Undef-before-redefining-__attribute_const.patch deleted file mode 100644
index 597fd3b..0000000
---
a/recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining- __attribute_const.patch
+++ /dev/null

(quoted diff) +0 -1
@@ -1,28 +0,0 @@
-From 6f92ab6de9d8daeb575949bbbcbc7bcdcebc60af Mon Sep 17 00:00:00

2001

recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch deleted +0 -3
-From: Khem Raj <raj.khem at gmail.com>
-Date: Thu, 5 Jan 2012 11:42:35 -0800
-Subject: [PATCH] compiler.h: Undef before redefining

__attribute_const__

recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch deleted +0 -3
-
-This is required to avoid warnings like
-util/include/linux/compiler.h:8:0: error: "__attribute_const__"

redefined [-Werror]

recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch deleted +0 -21
-
-Signed-off-by: Khem Raj <raj.khem at gmail.com>
----
- tools/perf/util/include/linux/compiler.h |    4 +++-
- 1 files changed, 3 insertions(+), 1 deletions(-)
-
---- a/tools/perf/util/include/linux/compiler.h
-+++ b/tools/perf/util/include/linux/compiler.h
-@@ -4,9 +4,11 @@
- #ifndef __always_inline
- #define __always_inline	inline
- #endif
-+#undef __user
- #define __user
-+#undef __attribute_const__
- #define __attribute_const__
--
-+#undef __used
- #define __used		__attribute__((__unused__))
-
- #endif
(quoted diff) +0 -0

dependencies-for-c-files-requiring.patch b/recipes- kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files- requiring.patch
deleted file mode 100644
index d3464fb..0000000
---
a/recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for- c-files-requiring.patch
+++ /dev/null

recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch deleted +0 -3
@@ -1,44 +0,0 @@
-Upstream-Status: Pending
-
-From 2e7ffea0c0c09c6d9219d604e0351423f43844f4 Mon Sep 17 00:00:00

2001

recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch deleted +0 -3
-From: Matthew McClintock <[email protected]>
-Date: Thu, 6 Sep 2012 13:45:21 -0500
-Subject: powerpc: Fix build dependencies for c files requiring

libfdt.h

recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch deleted +0 -35
-
-Several files in obj-plat depend on libfdt header file. Sometimes
-when building one can see the following issue. This patch adds
-libfdt as dependency to those object files
-
-| In file included from arch/powerpc/boot/treeboot-iss4xx.c:33:0:
-| arch/powerpc/boot/libfdt.h:854:1: error: unterminated comment In
-| file included from arch/powerpc/boot/treeboot-iss4xx.c:33:0:
-| arch/powerpc/boot/libfdt.h:1:0: error: unterminated #ifndef
-|   BOOTCC  arch/powerpc/boot/inffast.o
-| make[1]: *** [arch/powerpc/boot/treeboot-iss4xx.o] Error 1
-| make[1]: *** Waiting for unfinished jobs....
-|   BOOTCC  arch/powerpc/boot/inflate.o
-| make: *** [uImage] Error 2
-| ERROR: oe_runmake failed
-| ERROR: Function failed: do_compile (see
-| /srv/home/pokybuild/yocto-autobuilder/yocto-slave/p1022ds/build/bui
-| ld
-| /tmp/work/p1022ds-poky-linux-gnuspe/linux-qoriq-sdk-3.0.34-r5/temp/
-| lo
-| g.do_compile.2167 for further information)
-NOTE: recipe linux-qoriq-sdk-3.0.34-r5: task do_compile: Failed
-
-Signed-off-by: Matthew McClintock <[email protected]>
----
- arch/powerpc/boot/Makefile |    1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
- index b7d8333..6a15c96 100644
---- a/arch/powerpc/boot/Makefile
-+++ b/arch/powerpc/boot/Makefile
-@@ -107,6 +107,7 @@ src-boot := $(addprefix $(obj)/, $(src-boot))
- obj-boot := $(addsuffix .o, $(basename $(src-boot)))
- obj-wlib := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src-

wlib))))
- obj-plat := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src- plat))))
-+obj-plat: $(libfdt)

recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch

Quoted 3 lines
recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch deleted +0 -3
-
- quiet_cmd_copy_zlib = COPY    $@
-       cmd_copy_zlib = sed "s@__used@@;s@<linux/\([^>]*\).*@\"\1\"@"

$< >

Quoted 79 lines

$@
---
-1.7.9.7

(quoted diff) +0 -1
-
recipes-kernel/linux/files/fix_getrusage_for_perf.patch deleted +0 -10
deleted file mode 100644
index 0029fdc..0000000
@@ -1,33 +0,0 @@
-commit 7b78f13603c6fcb64e020a0bbe31a651ea2b657b
-Author: Markus Trippelsdorf <[email protected]>
-Date: Wed Apr 4 10:45:27 2012 +0200
-
-    perf tools: Fix getrusage() related build failure on glibc trunk
-
-    On a system running glibc trunk perf doesn't build:
-
-        CC builtin-sched.o
-    builtin-sched.c: In function ‘get_cpu_usage_nsec_parent’: builtin-

sched.c:399:16: error: storage size of ‘ru’ isn’t known builtin- sched.c:403:2: error: implicit declaration of function ‘getrusage’ [- Werror=implicit-function-declaration]

recipes-kernel/linux/files/fix_getrusage_for_perf.patch deleted +0 -23
-        [...]
-
-    Fix it by including sys/resource.h.
-
-    Signed-off-by: Markus Trippelsdorf <[email protected]>
-    Cc: Peter Zijlstra <[email protected]>
-    Link: http://lkml.kernel.org/r/20120404084527.GA294@x4
-    Signed-off-by: Ingo Molnar <[email protected]>
-
-Upstream-Status: Backport [3.4]
-
-diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c
- index fb8b5f8..1cad3af 100644
---- a/tools/perf/builtin-sched.c
-+++ b/tools/perf/builtin-sched.c
-@@ -17,6 +17,7 @@
- #include "util/debug.h"
-
- #include <sys/prctl.h>
-+#include <sys/resource.h>
-
- #include <semaphore.h>
- #include <pthread.h>
(quoted diff) +0 -0

b/recipes- kernel/linux/linux-qoriq-sdk-headers.bb index b1cbb8d..0ee4fc1 100644

recipes-kernel/linux/linux-qoriq-sdk-headers.bb +0 -0
@@ -2,6 +2,8 @@ DESCRIPTION = "Linux kernel headers for Freescale

platforms"
SECTION = "devel"
LICENSE = "GPLv2"

recipes-kernel/linux/linux-qoriq-sdk-headers.bb +2 -0
+PR = "${INC_PR}.1"
+
 INHIBIT_DEFAULT_DEPS = "1"
 PROVIDES = "linux-libc-headers ${PN}"
 RPROVIDES_${PN}-dev += "linux-libc-headers-dev"
@@ -11,6 +13,8 @@ RRECOMMENDS_${PN}-dbg = "linux-libc-headers-dev (=

${EXTENDPKGV})"

require recipes-kernel/linux/linux-qoriq-sdk.inc

recipes-kernel/linux/linux-qoriq-sdk-headers.bb +2 -0
+SRC_URI_append += "
+file://scripts-Makefile.headersinst-install-headers-

from-sc.patch"

recipes-kernel/linux/linux-qoriq-sdk-headers.bb +1 -0
+
 inherit kernel-arch
 
 do_configure() {
recipes- renamed from recipes-kernel/linux/linux-qoriq-sdk.bb +0 -0

kernel/linux/linux-qoriq-sdk.bb index a015e49..502132f 100644

recipes-kernel/linux/linux-qoriq-sdk.bb LICENSE = "GPLv2" · line 13

Quoted 8 lines
recipes-kernel/linux/linux-qoriq-sdk.bb +1 -3
@@ -7,11 +7,11 @@ LICENSE = "GPLv2"
 
 require recipes-kernel/linux/linux-qoriq-sdk.inc
 
-PR = "r11"
+PR = "${INC_PR}.1"
 
-SRC_URI += "file://fix_getrusage_for_perf.patch \
-            file://0001-Enable-the-option-Automount-devtmpfs-at-dev-

in-

Quoted 15 lines
recipes-kernel/linux/linux-qoriq-sdk.bb +3 -1
 kerne.patch \
-           "
+DEPENDS_append = " libgcc"
+KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}"
+KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}"
 
 do_configure_prepend() {
 	# copy desired defconfig so we pick it up for the real
kernel_do_configure diff --git
a/recipes-kernel/linux/linux-qoriq-sdk.inc
b/recipes-kernel/linux/linux-qoriq-sdk.inc
index f77543e..1c66f9b 100644

recipes-kernel/linux/linux-qoriq-sdk.inc line 1

Quoted 1 line
recipes-kernel/linux/linux-qoriq-sdk.inc +0 -0
@@ -1,11 +1,10 @@
 LIC_FILES_CHKSUM =

"file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

Quoted 16 lines
recipes-kernel/linux/linux-qoriq-sdk.inc +3 -5
-PV = "3.0.51"
-PR = "r11"
+PV = "3.8"
+INC_PR = "r11"
 
-SRCREV = "faac5211f398f25e2be44ac996895335d5218516"
+SRCREV = "4b66366af2d77de68f4bd6548d07421e13d3df05"
 SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git \
-           file://0001-compiler.h-Undef-before-redefining-
 __attribute_const.patch \
 	  "
 
 KSRC ?= ""
--

1.7.3.4

#4 lore raw

Re: [meta-fsl-ppc][PATCH v2 01/12] linux-qoriq-sdk(-headers): upgrade to the version of sdk-1.4

I have posted v3 to include the missing patch.

Best Regards,

Zhenhua

Quoted 492 lines

-----Original Message-----
From: Liu Ting-B28495
Sent: Monday, July 01, 2013 1:32 PM
To: Luo Zhenhua-B19537
Cc: [email protected]
Subject: RE: [meta-fsl-ppc][PATCH v2 01/12] linux-qoriq-sdk(-headers):
upgrade to the version of sdk-1.4

Sorry. Forgot to use 'git add' to add the patch when re-submitting commit.

Quoted 70 lines

-----Original Message-----
From: Luo Zhenhua-B19537
Sent: Monday, July 01, 2013 12:16 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: RE: [meta-fsl-ppc][PATCH v2 01/12] linux-qoriq-sdk(-headers):
upgrade to the version of sdk-1.4

"scripts-Makefile.headersinst-install-headers-from-sc.patch" is missing.

ERROR: Fetcher failure: Unable to find file file://scripts- Makefile.headersinst-install-headers-from-sc.patch anywhere. The paths that were searched were:

    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq
-
sdk-headers-3.8/powerpc
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq
-
sdk-headers-3.8/p1022
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq
-
sdk-headers-3.8/p1022ds
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq
-
sdk-headers-3.8/e500v2
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq
-
sdk-headers-3.8/fslmachine
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq
-
sdk-headers-3.8/poky
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq
-
sdk-headers-3.8/
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq
-
sdk-headers/powerpc
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq
-
sdk-headers/p1022
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq
-
sdk-headers/p1022ds
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq
-
sdk-headers/e500v2
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq
-
sdk-headers/fslmachine
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq
-
sdk-headers/poky
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq
-
sdk-headers/
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
Quoted 1 line

upstream/label/busy/poky/meta-fsl-ppc/recipes-

kernel/linux/files/powerpc

Quoted 4 lines
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/p1022
    /home/b19537/jenkins/workspace/meta-fsl-ppc-

upstream/label/busy/poky/meta-fsl-ppc/recipes-

kernel/linux/files/p1022ds

Quoted 22 lines
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/e500v2
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-
kernel/linux/files/fslmachine
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/poky
    /home/b19537/jenkins/workspace/meta-fsl-ppc-
upstream/label/busy/poky/meta-fsl-ppc/recipes-kernel/linux/files/
    /home/b19537/jenkins/workspace/meta-fsl-ppc-

upstream/label/busy/poky/p1022ds/downloads
ERROR: Function failed: Fetcher failure for URL: 'file://scripts- Makefile.headersinst-install-headers-from-sc.patch'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/home/b19537/jenkins/workspace/meta- fsl-ppc-upstream/label/busy/poky/p1022ds/tmp/work/ppce500v2-poky-linux - gnuspe/linux-qoriq-sdk-headers/3.8-r11.1/temp/log.do_fetch.18859
NOTE: recipe linux-qoriq-sdk-headers-3.8-r11.1: task do_fetch: Failed

Quoted 29 lines

Best Regards,

Zhenhua

Quoted 25 lines

-----Original Message-----
From: Liu Ting-B28495
Sent: Friday, June 28, 2013 11:38 AM
To: [email protected]
Cc: Luo Zhenhua-B19537; Liu Ting-B28495
Subject: [meta-fsl-ppc][PATCH v2 01/12] linux-qoriq-sdk(-headers):
upgrade to the version of sdk-1.4

From: Zhenhua Luo <[email protected]>

1.Update kernel version to 3.8.

2.add DEPENDS libgcc and append TOOLCHAIN_OPTIONS to KERNEL_{CC,LD}. kernel in sdk 1.4 need run-time support libraries 'libgcc.a', added in file arch/powerpc/Makefile:
LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) Without passing the TOOLCHAIN_OPTIONS (define --sysroot parameter), it will fail to find the libgcc.a.

3.Also remove the patches which were already merged on git tree.

---
 ...option-Automount-devtmpfs-at-dev-in-kerne.patch |   78 ----------

--

Quoted 4 lines

--

Quoted 3 lines

------

 ...Undef-before-redefining-__attribute_const.patch |   28 -------
 ...-build-dependencies-for-c-files-requiring.patch |   44 ----------

-

Quoted 238 lines
Quoted 221 lines
 .../linux/files/fix_getrusage_for_perf.patch       |   33 --------
 recipes-kernel/linux/linux-qoriq-sdk-headers.bb    |    4 +
 recipes-kernel/linux/linux-qoriq-sdk.bb            |    8 +-
 recipes-kernel/linux/linux-qoriq-sdk.inc           |    7 +-
 7 files changed, 11 insertions(+), 191 deletions(-)  delete mode

100644 recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs -a
t-
dev-in-kerne.patch

 delete mode 100644
recipes-kernel/linux/files/0001-compiler.h-Undef-
before-redefining-__attribute_const.patch
 delete mode 100644
recipes-kernel/linux/files/0001-powerpc-Fix-build-
dependencies-for-c-files-requiring.patch
 delete mode 100644 recipes-

kernel/linux/files/fix_getrusage_for_perf.patch

diff --git a/recipes-kernel/linux/files/0001-Enable-the-option-Automount- devtmpfs-at-dev-in-kerne.patch b/recipes-kernel/linux/files/0001-Enable- the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted file mode 100644
index 39783ef..0000000
--- a/recipes-kernel/linux/files/0001-Enable-the-option-Automount- devtmpfs-at-dev-in-kerne.patch
+++ /dev/null

(quoted diff) +0 -1
@@ -1,78 +0,0 @@
-From 3179602e581b6fe8797a5677d5ac4ecfab065cc6 Mon Sep 17 00:00:00

2001

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -3
-From: Chunrong Guo <[email protected]>
-Date: Thu, 11 Apr 2013 01:52:48 -0500
-Subject: [PATCH] Enable "the option Automount devtmpfs at /dev" in

kernel

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-
-Upstream-Status:Pending
-Signed-off-by: Chunrong Guo <[email protected]>
----
- arch/powerpc/configs/85xx/e6500rev1_defconfig |    1 +
- arch/powerpc/configs/corenet32_smp_defconfig  |    1 +
- arch/powerpc/configs/corenet64_smp_defconfig  |    1 +
- arch/powerpc/configs/mpc85xx_defconfig        |    1 +
- arch/powerpc/configs/mpc85xx_smp_defconfig    |    1 +
- 5 files changed, 5 insertions(+)
-
-diff --git a/arch/powerpc/configs/85xx/e6500rev1_defconfig

b/arch/powerpc/configs/85xx/e6500rev1_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-index 4b5866d..32ebb50 100644
---- a/arch/powerpc/configs/85xx/e6500rev1_defconfig
-+++ b/arch/powerpc/configs/85xx/e6500rev1_defconfig
-@@ -72,6 +72,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CMDLINE_PARTS=y
- CONFIG_MTD_CHAR=y
-diff --git a/arch/powerpc/configs/corenet32_smp_defconfig

b/arch/powerpc/configs/corenet32_smp_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-index b43d4b6..3fe10e5 100644
---- a/arch/powerpc/configs/corenet32_smp_defconfig
-+++ b/arch/powerpc/configs/corenet32_smp_defconfig
-@@ -71,6 +71,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CMDLINE_PARTS=y
- CONFIG_MTD_CHAR=y
-diff --git a/arch/powerpc/configs/corenet64_smp_defconfig

b/arch/powerpc/configs/corenet64_smp_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-index 13b032b..74cc46a 100644
---- a/arch/powerpc/configs/corenet64_smp_defconfig
-+++ b/arch/powerpc/configs/corenet64_smp_defconfig
-@@ -66,6 +66,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CMDLINE_PARTS=y
- CONFIG_MTD_CHAR=y
-diff --git a/arch/powerpc/configs/mpc85xx_defconfig

b/arch/powerpc/configs/mpc85xx_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -12
-index 8fb742d..f353a6e 100644
---- a/arch/powerpc/configs/mpc85xx_defconfig
-+++ b/arch/powerpc/configs/mpc85xx_defconfig
-@@ -75,6 +75,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CHAR=y
- CONFIG_MTD_BLOCK=y
-diff --git a/arch/powerpc/configs/mpc85xx_smp_defconfig

b/arch/powerpc/configs/mpc85xx_smp_defconfig

recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-dev-in-kerne.patch deleted +0 -14
-index b31c8ac..cdc2c87 100644
---- a/arch/powerpc/configs/mpc85xx_smp_defconfig
-+++ b/arch/powerpc/configs/mpc85xx_smp_defconfig
-@@ -77,6 +77,7 @@ CONFIG_IPV6=y
- CONFIG_IP_SCTP=m
- CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
- CONFIG_DEVTMPFS=y
-+CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_MTD=y
- CONFIG_MTD_CHAR=y
- CONFIG_MTD_BLOCK=y
---
-1.7.9.7
-

diff --git a/recipes-kernel/linux/files/0001-compiler.h-Undef-before- redefining-__attribute_const.patch b/recipes-kernel/linux/files/0001- compiler.h-Undef-before-redefining-__attribute_const.patch deleted file mode 100644
index 597fd3b..0000000
---
a/recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining -
__attribute_const.patch
+++ /dev/null

(quoted diff) +0 -1
@@ -1,28 +0,0 @@
-From 6f92ab6de9d8daeb575949bbbcbc7bcdcebc60af Mon Sep 17 00:00:00

2001

recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch deleted +0 -3
-From: Khem Raj <raj.khem at gmail.com>
-Date: Thu, 5 Jan 2012 11:42:35 -0800
-Subject: [PATCH] compiler.h: Undef before redefining

__attribute_const__

recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch deleted +0 -3
-
-This is required to avoid warnings like
-util/include/linux/compiler.h:8:0: error: "__attribute_const__"

redefined [-Werror]

recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch deleted +0 -21
-
-Signed-off-by: Khem Raj <raj.khem at gmail.com>
----
- tools/perf/util/include/linux/compiler.h |    4 +++-
- 1 files changed, 3 insertions(+), 1 deletions(-)
-
---- a/tools/perf/util/include/linux/compiler.h
-+++ b/tools/perf/util/include/linux/compiler.h
-@@ -4,9 +4,11 @@
- #ifndef __always_inline
- #define __always_inline	inline
- #endif
-+#undef __user
- #define __user
-+#undef __attribute_const__
- #define __attribute_const__
--
-+#undef __used
- #define __used		__attribute__((__unused__))
-
- #endif
(quoted diff) +0 -0

dependencies-for-c-files-requiring.patch b/recipes- kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files- requiring.patch
deleted file mode 100644
index d3464fb..0000000
---
a/recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for -
c-files-requiring.patch
+++ /dev/null

recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch deleted +0 -3
@@ -1,44 +0,0 @@
-Upstream-Status: Pending
-
-From 2e7ffea0c0c09c6d9219d604e0351423f43844f4 Mon Sep 17 00:00:00

2001

recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch deleted +0 -3
-From: Matthew McClintock <[email protected]>
-Date: Thu, 6 Sep 2012 13:45:21 -0500
-Subject: powerpc: Fix build dependencies for c files requiring

libfdt.h

recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch deleted +0 -31
-
-Several files in obj-plat depend on libfdt header file. Sometimes
-when building one can see the following issue. This patch adds
-libfdt as dependency to those object files
-
-| In file included from arch/powerpc/boot/treeboot-iss4xx.c:33:0:
-| arch/powerpc/boot/libfdt.h:854:1: error: unterminated comment In
-| file included from arch/powerpc/boot/treeboot-iss4xx.c:33:0:
-| arch/powerpc/boot/libfdt.h:1:0: error: unterminated #ifndef
-|   BOOTCC  arch/powerpc/boot/inffast.o
-| make[1]: *** [arch/powerpc/boot/treeboot-iss4xx.o] Error 1
-| make[1]: *** Waiting for unfinished jobs....
-|   BOOTCC  arch/powerpc/boot/inflate.o
-| make: *** [uImage] Error 2
-| ERROR: oe_runmake failed
-| ERROR: Function failed: do_compile (see
-| /srv/home/pokybuild/yocto-autobuilder/yocto-slave/p1022ds/build/b
-| ui
-| ld
-| /tmp/work/p1022ds-poky-linux-gnuspe/linux-qoriq-sdk-3.0.34-r5/tem
-| p/
-| lo
-| g.do_compile.2167 for further information)
-NOTE: recipe linux-qoriq-sdk-3.0.34-r5: task do_compile: Failed
-
-Signed-off-by: Matthew McClintock <[email protected]>
----
- arch/powerpc/boot/Makefile |    1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/arch/powerpc/boot/Makefile

b/arch/powerpc/boot/Makefile
- index b7d8333..6a15c96 100644
---- a/arch/powerpc/boot/Makefile
-+++ b/arch/powerpc/boot/Makefile
-@@ -107,6 +107,7 @@ src-boot := $(addprefix $(obj)/, $(src-boot))
- obj-boot := $(addsuffix .o, $(basename $(src-boot)))
- obj-wlib := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src- wlib))))
- obj-plat := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src- plat))))
-+obj-plat: $(libfdt)

recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch

Quoted 3 lines
recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch deleted +0 -3
-
- quiet_cmd_copy_zlib = COPY    $@
-       cmd_copy_zlib = sed "s@__used@@;s@<linux/\([^>]*\).*@\"\1\"@"

$< >

Quoted 13 lines

$@
---
-1.7.9.7

(quoted diff) +0 -1
-
recipes-kernel/linux/files/fix_getrusage_for_perf.patch deleted +0 -2
deleted file mode 100644
index 0029fdc..0000000
@@ -1,33 +0,0 @@
-commit 7b78f13603c6fcb64e020a0bbe31a651ea2b657b
-Author: Markus Trippelsdorf <[email protected]>
Quoted 8 lines

recipes-kernel/linux/files/fix_getrusage_for_perf.patch

Quoted 8 lines
recipes-kernel/linux/files/fix_getrusage_for_perf.patch deleted +0 -8
-Date: Wed Apr 4 10:45:27 2012 +0200
-
-    perf tools: Fix getrusage() related build failure on glibc trunk
-
-    On a system running glibc trunk perf doesn't build:
-
-        CC builtin-sched.o
-    builtin-sched.c: In function ‘get_cpu_usage_nsec_parent’:

builtin-

Quoted 101 lines
Quoted 59 lines

sched.c:399:16: error: storage size of ‘ru’ isn’t known builtin- sched.c:403:2: error: implicit declaration of function ‘getrusage’ [- Werror=implicit-function-declaration]

recipes-kernel/linux/files/fix_getrusage_for_perf.patch deleted +0 -12
-        [...]
-
-    Fix it by including sys/resource.h.
-
-    Signed-off-by: Markus Trippelsdorf <[email protected]>
-    Cc: Peter Zijlstra <[email protected]>
-    Link: http://lkml.kernel.org/r/20120404084527.GA294@x4
-    Signed-off-by: Ingo Molnar <[email protected]>
-
-Upstream-Status: Backport [3.4]
-
-diff --git a/tools/perf/builtin-sched.c

b/tools/perf/builtin-sched.c
- index fb8b5f8..1cad3af 100644
---- a/tools/perf/builtin-sched.c
-+++ b/tools/perf/builtin-sched.c
-@@ -17,6 +17,7 @@
- #include "util/debug.h"

recipes-kernel/linux/files/fix_getrusage_for_perf.patch deleted +0 -6
-
- #include <sys/prctl.h>
-+#include <sys/resource.h>
-
- #include <semaphore.h>
- #include <pthread.h>
(quoted diff) +0 -0

b/recipes- kernel/linux/linux-qoriq-sdk-headers.bb index b1cbb8d..0ee4fc1 100644

recipes-kernel/linux/linux-qoriq-sdk-headers.bb +0 -0
@@ -2,6 +2,8 @@ DESCRIPTION = "Linux kernel headers for Freescale

platforms"
SECTION = "devel"
LICENSE = "GPLv2"

recipes-kernel/linux/linux-qoriq-sdk-headers.bb +2 -0
+PR = "${INC_PR}.1"
+
 INHIBIT_DEFAULT_DEPS = "1"
 PROVIDES = "linux-libc-headers ${PN}"
 RPROVIDES_${PN}-dev += "linux-libc-headers-dev"
@@ -11,6 +13,8 @@ RRECOMMENDS_${PN}-dbg = "linux-libc-headers-dev (=

${EXTENDPKGV})"

require recipes-kernel/linux/linux-qoriq-sdk.inc

recipes-kernel/linux/linux-qoriq-sdk-headers.bb +2 -0
+SRC_URI_append += "
+file://scripts-Makefile.headersinst-install-headers-

from-sc.patch"

recipes-kernel/linux/linux-qoriq-sdk-headers.bb +1 -0
+
 inherit kernel-arch
 
 do_configure() {
recipes- renamed from recipes-kernel/linux/linux-qoriq-sdk.bb +0 -0

kernel/linux/linux-qoriq-sdk.bb index a015e49..502132f 100644

recipes-kernel/linux/linux-qoriq-sdk.bb LICENSE = "GPLv2" · line 13

Quoted 8 lines
recipes-kernel/linux/linux-qoriq-sdk.bb +1 -3
@@ -7,11 +7,11 @@ LICENSE = "GPLv2"
 
 require recipes-kernel/linux/linux-qoriq-sdk.inc
 
-PR = "r11"
+PR = "${INC_PR}.1"
 
-SRC_URI += "file://fix_getrusage_for_perf.patch \
-            file://0001-Enable-the-option-Automount-devtmpfs-at-dev-

in-

Quoted 15 lines
recipes-kernel/linux/linux-qoriq-sdk.bb +3 -1
 kerne.patch \
-           "
+DEPENDS_append = " libgcc"
+KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}"
+KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}"
 
 do_configure_prepend() {
 	# copy desired defconfig so we pick it up for the real
kernel_do_configure diff --git
a/recipes-kernel/linux/linux-qoriq-sdk.inc
b/recipes-kernel/linux/linux-qoriq-sdk.inc
index f77543e..1c66f9b 100644

recipes-kernel/linux/linux-qoriq-sdk.inc line 1

Quoted 1 line
recipes-kernel/linux/linux-qoriq-sdk.inc +0 -0
@@ -1,11 +1,10 @@
 LIC_FILES_CHKSUM =

"file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

Quoted 16 lines
recipes-kernel/linux/linux-qoriq-sdk.inc +3 -5
-PV = "3.0.51"
-PR = "r11"
+PV = "3.8"
+INC_PR = "r11"
 
-SRCREV = "faac5211f398f25e2be44ac996895335d5218516"
+SRCREV = "4b66366af2d77de68f4bd6548d07421e13d3df05"
 SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git \
-           file://0001-compiler.h-Undef-before-redefining-
 __attribute_const.patch \
 	  "
 
 KSRC ?= ""
--

1.7.3.4

#5 lore raw

PATCH v2 2/12 u-boot: upgrade to the version of sdk1.4

In reply to [email protected]

From: Zhenhua Luo <[email protected]>

install the right nand-uboot for p1010rdb and bsc913x. u-boot-with-spl.bin is the right nand-uboot image.

---
 recipes-kernel/u-boot/u-boot_git.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
recipes-kernel/u-boot/u-boot_git.bb +4 -4
index e322ab7..7427dfc 100644
@@ -11,9 +11,9 @@ DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc libgcc"
 
 inherit deploy
 
-SRCREV = "7bcd7f45c8974978f8eb73ae4d32e71cb6a49b77"
-SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git \
-		"
+SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git"
+SRCREV = "831b30de4b768f0b3b7dbfa11739b14cea612d7e"
+
 python () {
 	ml = d.getVar("MULTILIB_VARIANTS", True)
 	arch = d.getVar("OVERRIDES", True)
@@ -68,7 +68,7 @@ do_compile () {
 				cp ${S}/${board}/u-boot.bin  ${S}/${board}/${UBOOT_TARGET}.bin
             elif [ "${UBOOT_TARGET}" == "u-boot-nand" ];then
 				if [ "${DEFAULTTUNE}" = "ppce500v2" ];then
-                    if echo $board |egrep "(P1020RDB|P1021RDB|P1024RDB|P2020RDB|P1022DS|P1025RDB)" 2>&1 >/dev/null;then
+                    if echo $board |egrep "(P1010RDB|P1020RDB|P1021RDB|P1024RDB|P2020RDB|P1022DS|P1025RDB|BSC9131RDB|BSC9132QDS)" 2>&1 >/dev/null;then
                         cp ${S}/${board}/u-boot-with-spl.bin ${S}/${board}/${UBOOT_TARGET}.bin
                     fi
                 else
Signature · 1 line
1.7.3.4
#6 lore raw

PATCH v2 3/12 p1020rdb: update machine conf to use new -pd revision

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 conf/machine/p1020rdb.conf |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
conf/machine/p1020rdb.conf +2 -2
index 70132c5..b17213c 100644
@@ -6,9 +6,9 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p1020"
 BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_800M.dat"
-UBOOT_MACHINES ?= " P1020RDB-PC P1020RDB-PC_SPIFLASH P1020RDB-PC_NAND P1020RDB-PC_SDCARD P1020RDB-PC_36BIT P1020RDB-PC_36BIT_SPIFLASH P1020RDB-PC_36BIT_NAND P1020RDB-PC_36BIT_SDCARD"
+UBOOT_MACHINES ?= " P1020RDB-PD P1020RDB-PD_NAND P1020RDB-PD_SDCARD P1020RDB-PD_SPIFLASH"
 
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1020rdb-pc_32b.dts"
+KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1020rdb-pd_32b.dts"
 
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
 
Signature · 1 line
1.7.3.4
#7 lore raw

PATCH v2 4/12 boot-format: update SHA for sdk-1.4

In reply to [email protected]

From: Zhenhua Luo <[email protected]>

---
 recipes-tools/boot-format/boot-format_git.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes-tools/boot-format/boot-format_git.bb +1 -1
index 0abd286..ac1504d 100644
@@ -4,7 +4,7 @@ PR = "r6"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/boot-format.git"
-SRCREV = "7a837a487eb42f30cf3ada07ca44251ee11a2940"
+SRCREV = "d9bbfaba0c9316ae33455099c47bae429479e530"
 
 S = "${WORKDIR}/git"
 EXTRA_OEMAKE = 'CC="${CC}"'
Signature · 1 line
1.7.3.4
#8 lore raw

PATCH v2 5/12 eth-config: upgrade to sha of sdk-1.4

In reply to [email protected]

From: Zhenhua Luo <[email protected]>

---
 recipes-tools/eth-config/eth-config_git.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes-tools/eth-config/eth-config_git.bb +1 -1
index 3ed50a5..606937b 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=cf02dc8eb5ac4a76f3812826520dea87"
 PR = "r2"
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/eth-config.git"
-SRCREV = "c1400695e56aa80f2f4c88c4e0582028248ae06f"
+SRCREV = "c255231fb606bff18390da3b26e1ee9fca55e4e6"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.7.3.4
#9 lore raw

PATCH v2 6/12 hv-cfg: upgrade to the SHA of sdk-1.4

In reply to [email protected]

From: Zhenhua Luo <[email protected]>

---
 recipes-tools/hv-cfg/hv-cfg_git.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes-tools/hv-cfg/hv-cfg_git.bb +1 -1
index d675a41..2c6bb85 100644
@@ -20,7 +20,7 @@ COMPATIBLE_HOST ?= "(none)"
 
 inherit deploy
 
-SRCREV = "deb55b9564ef8fb9e1fda1112233f11ae2a12d4a"
+SRCREV = "d037ab9d5b9ecd58e10a7dac2b601d781ed9b5bf"
 SRC_URI = "git://git.freescale.com/ppc/sdk/hv-cfg.git"
 
 S = "${WORKDIR}/git"
Signature · 1 line
1.7.3.4
#10 lore raw

PATCH v2 7/12 fmlib: upgrade to the SHA of sdk-1.4

In reply to [email protected]

From: Zhenhua Luo <[email protected]>

---
 recipes-ucode/fmlib/fmlib_git.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes-ucode/fmlib/fmlib_git.bb +1 -1
index dd67b7b..7a7b8f2 100644
@@ -9,7 +9,7 @@ DEPENDS = "linux-libc-headers"
 DEPENDS_virtclass-native = ""
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/fmlib.git"
-SRCREV = "e80c0625d4f2671ac4f15cabfdd1b334143eb515"
+SRCREV = "7d843485bdac963d98f81773c0f3cb15936e09da"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.7.3.4
#11 lore raw

PATCH v2 8/12 fmc: upgrade to the SHA of sdk-1.4

In reply to [email protected]

From: Zhenhua Luo <[email protected]>

---
 recipes-ucode/fmc/fmc_git.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes-ucode/fmc/fmc_git.bb +1 -1
index fd23896..20f93f6 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a504ab5a8ff235e67c7301214749346c"
 PR = "r2"
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/fmc.git"
-SRCREV = "6db53fae9dfe72db0312a383733e0d3598aad3f2"
+SRCREV = "f2e1a831a96f1d04d3d5a5970d2e54c38098cf39"
 
 DEPENDS = "libxml2 fmlib tclap"
 
Signature · 1 line
1.7.3.4
#12 lore raw

PATCH v2 9/12 fm-ucode: upgrade to the SHA of sdk-1.4

In reply to [email protected]

From: Zhenhua Luo <[email protected]>

Also update regex to match new ucode binaries (106.9.x)

---
 recipes-ucode/fm-ucode/fm-ucode_git.bb |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
recipes-ucode/fm-ucode/fm-ucode_git.bb +2 -4
index c2c3de0..f71fcd6 100644
@@ -5,11 +5,11 @@ LIC_FILES_CHKSUM = "file://EULA;md5=60037ccba533a5995e8d1a838d85799c"
 
 PR = "r1"
 
-COMPATIBLE_MACHINE = "(p1023rds|p2041rdb|p3041ds|p4080ds|p5020ds|p5040ds|p5020ds-64b|p5040ds-64b|b4420qds|b4420qds-64b|b4860qds|b4860qds-64b|t4160qds|t4160qds-64b|t4240qds|t4240qds-64b)"
+COMPATIBLE_MACHINE = "(p1023rdb|p2041rdb|p3041ds|p4080ds|p5020ds|p5040ds|p5020ds-64b|p5040ds-64b|b4420qds|b4420qds-64b|b4860qds|b4860qds-64b|t4160qds|t4160qds-64b|t4240qds|t4240qds-64b)"
 inherit deploy
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/fm-ucode.git"
-SRCREV = "219bb2c6aaa1e040fb849a771a9bdf3e8dbc49e9"
+SRCREV = "4ca0e41de225b34962e1517c2c75bbb31a381e1a"
 
 S = "${WORKDIR}/git"
 
@@ -20,7 +20,6 @@ do_install () {
         t4240qds|t4240qds-64b|t4160qds|t4160qds-64b) UCODE=t4240qds;;
         p5020ds|p5020ds-64b) UCODE=p5020ds;;
         p5040ds|p5040ds-64b) UCODE=p5040ds;;
-        p1023rds) UCODE=P1023RDS;;
         *) UCODE=${MACHINE};;
     esac
     UCODE=`echo $UCODE | sed -e 's,[a-zA-Z]*$,,'`
@@ -34,7 +33,6 @@ do_deploy () {
         t4240qds|t4240qds-64b|t4160qds|t4160qds-64b) UCODE=t4240qds;;
         p5020ds|p5020ds-64b) UCODE=p5020ds;;
         p5040ds|p5040ds-64b) UCODE=p5040ds;;
-        p1023rds) UCODE=P1023RDS;;
         *) UCODE=${MACHINE};;
     esac
     UCODE=`echo $UCODE | sed -e 's,[a-zA-Z]*$,,'`
Signature · 1 line
1.7.3.4
#13 lore raw

PATCH v2 10/12 hypervisor: upgrade to the SHA of sdk-1.4 and add hypertrk submodule

In reply to [email protected]

From: Zhenhua Luo <[email protected]>

---
 recipes-tools/embedded-hv/hypervisor_git.bb |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)
recipes-tools/embedded-hv/hypervisor_git.bb +16 -3
index 5e9e442..dc86406 100644
@@ -17,14 +17,16 @@ SRC_URI = " \
 	git://git.freescale.com/ppc/sdk/hypervisor/kconfig.git;name=kconfig;destsuffix=git/kconfig \
 	git://git.freescale.com/ppc/sdk/hypervisor/libos.git;name=libos;destsuffix=git/libos \
 	git://www.jdl.com/software/dtc.git;name=dtc;destsuffix=dtc \
+	git://git.freescale.com/ppc/sdk/hypertrk.git;name=hypertrk;destsuffix=git/hypertrk \
 	file://81-fsl-embedded-hv.rules \
 	  "
 
 SRCREV_FORMAT="hypervisor"
-SRCREV = "d3f8d79ca252fc17d4a9ca5f44f563c8a291a9a1"
-SRCREV_kconfig = "47a6c4ac5e0621ecbc309bf1b7b588f08858b7e6"
-SRCREV_libos = "8a88243d057c32c83595ba201eaf20fc5ec76190"
+SRCREV = "e6092cdf2a225c66c1ea46b1151eb828da29d139"
+SRCREV_kconfig = "a56025d4da992b856796b0eccac2e410d751dbac"
+SRCREV_libos = "5268371581f3ef3959be2a53235edfa6a8c6aa7c"
 SRCREV_dtc = "033089f29099bdfd5c2d6986cdb9fd07b16cfde0"
+SRCREV_hypertrk = "975c98b562186afbd3bbf103ae54b96cf9b3e533"
 
 EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"'
 
@@ -39,7 +41,17 @@ do_configure () {
 	oe_runmake ${DEFCONFIG}
 }
 
+PKG_HV_HYPERTRK_SUPPORT = "n"
 do_compile () {
+	if [ "${PKG_HV_HYPERTRK_SUPPORT}" = "y" ]
+	then
+		oe_runmake silentoldconfig
+		export HV_DIR=$PWD
+		cd hypertrk
+		oe_runmake deploy
+		cd ..
+	fi
+
 	oe_runmake
 	oe_runmake partman
 }
@@ -71,6 +83,7 @@ do_deploy_append() {
 	rm -f ${S}/../hv
 }
 
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 ALLOW_EMPTY_${PN} = "1"
 PACKAGES_prepend = "${PN}-image ${PN}-partman "
 FILES_${PN}-image = "/boot/"
Signature · 1 line
1.7.3.4
#14 lore raw

PATCH v2 11/12 rcw: upgrade to the version of sdk-1.4

In reply to [email protected]

From: Zhenhua Luo <[email protected]>

---
 recipes-tools/rcw/rcw_git.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes-tools/rcw/rcw_git.bb +1 -1
index f33685d..c532a9d 100644
@@ -13,8 +13,8 @@ COMPATIBLE_HOST ?= "(none)"
 
 inherit deploy
 
-SRCREV = "c66f5fcbc1ecd2ae7c504bcbf5ddf7973496a94e"
 SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git"
+SRCREV = "5d3c819bcca6d09dcf7b52b3f2855dda304a5997"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.7.3.4
#15 lore raw

PATCH v2 12/12 usdpaa: upgrade to the version of sdk-1.4

In reply to [email protected]

From: Zhenhua Luo <[email protected]>

---
 recipes-tools/usdpaa/usdpaa_git.bb |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)
recipes-tools/usdpaa/usdpaa_git.bb +14 -2
index f76ee1d..cb7b76b 100644
@@ -10,17 +10,29 @@ DEPENDS = "libxml2 libedit ncurses readline flib fmc"
 RDEPENDS_${PN} = "libgcc"
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/usdpaa.git"
-SRCREV = "670ad8827fd83169ccb54a008c638dbb497b1c61"
+SRCREV = "97fe45d9697ef339e10a1885539b23fa7fcb113e"
 
 COMPATIBLE_HOST_fslmachine = ".*"
 COMPATIBLE_HOST ?= "(none)"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE = 'V=1 CC="${CC}" LD="${LD}" AR="${AR}"'
+EXTRA_OEMAKE = 'CC="${CC}" LD="${LD}" AR="${AR}"'
 export ARCH="${TARGET_ARCH}"
 
 do_compile_prepend () {
+	case ${MACHINE} in
+		b4420qds|b4420qds-64b|b4860qds|b4860qds-64b) SOC=B4860;;
+		t4240qds|t4240qds-64b) SOC=T4240;;
+		p1023rdb) SOC=P1023;;
+		*) SOC=P4080;;
+	esac
+	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 $SOC"
+
 	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)"
Signature · 1 line
1.7.3.4
Reviewed-by on the v2 series
#16 lore raw
In reply to [email protected]
Quoted 5 lines · On Fri, Jun 28, 2013 at 12:38 AM, <[email protected]> wrote:

From: Ting Liu <[email protected]>

Changes in V2:
1.dropping the PR changes
2.rework commit log for p1020rdb machine conf update

I didn't build the recipes but from review point of view they seem fine.

You can include:

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

#17 lore raw
Quoted 16 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, June 29, 2013 1:44 AM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v2 00/12] patch series to upgrade to fsl 1.4 release

Quoted 5 lines · On Fri, Jun 28, 2013 at 12:38 AM, <[email protected]> wrote:

From: Ting Liu <[email protected]>

Changes in V2:
1.dropping the PR changes
2.rework commit log for p1020rdb machine conf update

Quoted 5 lines

I didn't build the recipes but from review point of view they seem fine.

You can include:

Thanks for your review. I will do it next time.

Quoted 5 lines

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

#18 lore raw
In reply to [email protected]

Following patch series is applied in master, thanks.

[meta-fsl-ppc,v2,12/12] usdpaa: upgrade to the version of sdk-1.4 [meta-fsl-ppc,v2,11/12] rcw: upgrade to the version of sdk-1.4 [meta-fsl-ppc,v2,10/12] hypervisor: upgrade to the SHA of sdk-1.4 [meta-fsl-ppc,v2,09/12] fm-ucode: upgrade to the SHA of sdk-1.4 [meta-fsl-ppc,v2,08/12] fmc: upgrade to the SHA of sdk-1.4
[meta-fsl-ppc,v2,07/12] fmlib: upgrade to the SHA of sdk-1.4
[meta-fsl-ppc,v2,06/12] hv-cfg: upgrade to the SHA of sdk-1.4
[meta-fsl-ppc,v2,05/12] eth-config: upgrade to sha of sdk-1.4
[meta-fsl-ppc,v2,04/12] boot-format: update SHA for sdk-1.4
[meta-fsl-ppc,v2,03/12] p1020rdb: update machine conf to use new -pd revision [meta-fsl-ppc,v3] linux-qoriq-sdk(-headers): upgrade to the version of sdk-1.4 [meta-fsl-ppc,26/26] web-sysmon: add recipe
[meta-fsl-ppc,25/26] skmm: add recipe
[meta-fsl-ppc,24/26] qoriq-debug: add recipe
[meta-fsl-ppc,23/26] mux-server: add recipe
[meta-fsl-ppc,22/26] cst: add recipe
[meta-fsl-ppc,21/26] asf: add recipe
[meta-fsl-ppc,13/26] flib: upgrade to the SHA of sdk-1.4
[meta-fsl-ppc,10/26] udev-extraconf: fix the name conflict of macless and PCIe Ethernet port in slot3 [meta-fsl-ppc,09/26] udev-extraconf: unify the name of PCIe Ethernet port for DPAA targets [meta-fsl-ppc,08/26] Add BSC9132QDS support
[meta-fsl-ppc,07/26] Add BSC9131RDB support
[meta-fsl-ppc,06/26] Add P1025TWR support
[meta-fsl-ppc,05/26] add p1023rdb support
[meta-fsl-ppc,03/26] qemu: upgrade to the version of sdk-1.4

Best Regards,

Zhenhua

Quoted 61 lines

-----Original Message-----
From: Liu Ting-B28495
Sent: Friday, June 28, 2013 11:38 AM
To: [email protected]
Cc: Luo Zhenhua-B19537; Liu Ting-B28495
Subject: [meta-fsl-ppc][PATCH v2 00/12] patch series to upgrade to fsl 1.4 release

From: Ting Liu <[email protected]>

Changes in V2:
1.dropping the PR changes
2.rework commit log for p1020rdb machine conf update

Ting Liu (1):
p1020rdb: update machine conf to use new -pd revision

Zhenhua Luo (11):
linux-qoriq-sdk(-headers): upgrade to the version of sdk-1.4
u-boot: upgrade to the version of sdk1.4
boot-format: update SHA for sdk-1.4
eth-config: upgrade to sha of sdk-1.4
hv-cfg: upgrade to the SHA of sdk-1.4
fmlib: upgrade to the SHA of sdk-1.4
fmc: upgrade to the SHA of sdk-1.4
fm-ucode: upgrade to the SHA of sdk-1.4
hypervisor: upgrade to the SHA of sdk-1.4 and add hypertrk submodule
rcw: upgrade to the version of sdk-1.4
usdpaa: upgrade to the version of sdk-1.4

 conf/machine/p1020rdb.conf                         |    4 +-
 ...option-Automount-devtmpfs-at-dev-in-kerne.patch |   78 --------------
------
 ...Undef-before-redefining-__attribute_const.patch |   28 -------
 ...-build-dependencies-for-c-files-requiring.patch |   44 -----------
 .../linux/files/fix_getrusage_for_perf.patch       |   33 --------
 recipes-kernel/linux/linux-qoriq-sdk-headers.bb    |    4 +
 recipes-kernel/linux/linux-qoriq-sdk.bb            |    8 +-
 recipes-kernel/linux/linux-qoriq-sdk.inc           |    7 +-
 recipes-kernel/u-boot/u-boot_git.bb                |    8 +-
 recipes-tools/boot-format/boot-format_git.bb       |    2 +-
 recipes-tools/embedded-hv/hypervisor_git.bb        |   19 ++++-
 recipes-tools/eth-config/eth-config_git.bb         |    2 +-
 recipes-tools/hv-cfg/hv-cfg_git.bb                 |    2 +-
 recipes-tools/rcw/rcw_git.bb                       |    2 +-
 recipes-tools/usdpaa/usdpaa_git.bb                 |   16 ++++-
 recipes-ucode/fm-ucode/fm-ucode_git.bb             |    6 +-
 recipes-ucode/fmc/fmc_git.bb                       |    2 +-
 recipes-ucode/fmlib/fmlib_git.bb                   |    2 +-
 18 files changed, 55 insertions(+), 212 deletions(-)  delete mode 100644
recipes-kernel/linux/files/0001-Enable-the-option-Automount-devtmpfs-at-
dev-in-kerne.patch
 delete mode 100644 recipes-kernel/linux/files/0001-compiler.h-Undef-
before-redefining-__attribute_const.patch
 delete mode 100644 recipes-kernel/linux/files/0001-powerpc-Fix-build-
dependencies-for-c-files-requiring.patch
 delete mode 100644 recipes-

kernel/linux/files/fix_getrusage_for_perf.patch

--
1.7.3.4