Ting Liu [Wed, 9 Oct 2013 07:33:11 +0000 (07:33 +0000)]
rcw: export PYTHON to override the assignment in Makefile
As RCW compiler is supported only with Python 2.6.x and
2.7.x, and currently Yocto uses python 2.7.3 or later,
export PYTHON to directly use Yocto's python which can work
with rcw.py definitely for now.
Zhenhua Luo [Wed, 9 Oct 2013 07:33:10 +0000 (07:33 +0000)]
udev-extraconf: update udev rules for fsl dpaa board
* For PCIe ports, renaming breaks the ability to look at the PCIe driver's boot
output to determine what its ethN is, disable it.
* For macless ports, rename to maclessN instead of ethN
* extend renaming rules to fsl_dpa* as shared-mac driver may be named
as fsl_dpa_shared. macless interfaces will not match on this rule as they
do not have device address. legacy interfaces' names are not affected by
this change.
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Ting Liu [Wed, 9 Oct 2013 07:33:09 +0000 (07:33 +0000)]
asf: export KERNEL_PATH as it is needed by all tasks
Avoid the below error:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| Makefile:12: /.config: No such file or directory
| asfconfig.mk:15: *** ASF is Disabled in Kernel. Try to fix. Stop.
| ERROR: Function failed: do_configure
Zhenhua Luo [Tue, 24 Sep 2013 13:08:35 +0000 (21:08 +0800)]
Remove overriding linux-libc-headers
Layers should never need to be overriding linux-libc-headers.
Refer to http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=babbf7a46acaefd9b36031483cafce053f607e66
for the reason.
Fixed [Bug 5249].
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Ting Liu [Tue, 20 Aug 2013 07:14:19 +0000 (07:14 +0000)]
rework machines to use dtb file in KERNEL_DEVICETREE variable
The linux-dtb.inc has been rework to use the Linux kernel build system
to generate the DeviceTree binaries so now KERNEL_DEVICETREE variable
should has the /target/ name, not the file path.
Fix the below error:
|./qemu-options.texi:1521: unknown command `list'
|./qemu-options.texi:1521: table requires an argument: the formatter for @item
|./qemu-options.texi:1521: warning: @table has text but no @item
Zhenhua Luo [Wed, 17 Jul 2013 10:51:13 +0000 (05:51 -0500)]
perf: Remove hard coded include to /usr/local/include in Makefile
Having /usr/local/include hardcoded into the makefile is not necessary
as this is automatically included by GCC. It also infects cross-compile
builds with the host systems includes.
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Zhenhua Luo [Tue, 16 Jul 2013 10:14:29 +0000 (10:14 +0000)]
e500v2: workaround for ICE of gcc-4.8.x
[Issue]
ICE appears when passing -mfloat-gprs=double for e500v2 target build with
gcc-4.8.1, the bug url is: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717#c1
[Workaround]
Replace double-float with single-float for e500v2 build until the ICE is fixed
[TODO]
Revert the commit when the ICE bug is fixed.
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Ting Liu [Wed, 10 Jul 2013 03:45:00 +0000 (03:45 +0000)]
hypervisor: fix sizeof-pointer-memaccess error
Fix the below build error:
| build: src/livetree.c
| .../hypervisor/git-r3/git/src/devtree.c: In function 'read_intmap':
| .../hypervisor/git-r3/git/src/devtree.c:1513:25: error: argument to
| 'sizeof' in 'memset' call is the same expression as the destination;
| did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
| memset(ent, 0, sizeof(ent));
| ^
| cc1: all warnings being treated as errors
| build: src/ipi_doorbell.c
| make[1]: *** [bin/devtree.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory `.../hypervisor/git-r3/git/output'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
Ting Liu [Mon, 8 Jul 2013 03:08:16 +0000 (11:08 +0800)]
change layout to follow oe-core guidelines of recipes
Follow the rules defined in:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes.txt
recipes-bsp - Anything with links to specific hardware or
hardware configuration information
recipes-connectivity - Libraries and applications related to
communication with other devices
recipes-core - What's needed to build a basic working Linux
image including commonly used dependencies
recipes-devtools - Tools primarily used by the build system (but can
also be used on targets)
recipes-extended - Applications which whilst not essential add
features compared to the alternatives in
core. May be needed for full tool functionality
or LSB compliance.
recipes-gnome - All things related to the GTK+ application
framework
recipes-graphics - X and other graphically related system libraries
recipes-kernel - The kernel and generic applications/libraries
with strong kernel dependencies
recipes-lsb4 - Recipes added for the sole purpose of supporting
the Linux Standard Base (LSB) 4.x
recipes-multimedia - Codecs and support utilties for audio, images and
video
recipes-rt - Provides package and image recipes for using and
testing the PREEMPT_RT kernel
recipes-qt - All things related to the Qt application
framework
recipes-sato - The Sato demo/reference UI/UX, its associated
apps and configuration
recipes-support - Recipes used by other recipes but that are not
directly included in images
recipes-dpaa - recipes related to fsl dpaa feature
recipes-virtualization - recipes related to fsl virtualization feature
Remove 85xx NPI/Boards, P102x combo board and P1023RDS board
These boards were not tested with latest released sdk 1.4 codes
(kernel, u-boot, etc.). To avoid confusion and potential error,
detete these machines from master/dylan branch of this layer.
If anyone want to use them, please use danny/denzil/edison branch.
Zhenhua Luo [Wed, 3 Jul 2013 02:12:11 +0000 (02:12 +0000)]
libedit: pull in from meta-oe as it is needed by usdpaa
meta-fsl-ppc should not depends on meta-oe to run, so keep a copy
of libedit in this layer.
libedit commit history in meta-oe: d5bb26f libedit: upgrade to 20121213 and fix download d9619f6 libedit: update to latest version d248ea6 libedit: Remove files folder as no patch was being used 4d2d164 libedit: Adds version 20110802 (initial recipe)
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Ting Liu [Tue, 2 Jul 2013 04:09:20 +0000 (04:09 +0000)]
fix Freescale EULA warning
This takes care of this build warning:
WARNING: eth-config: No generic license file exists for: Freescale in
any provider
WARNING: eth-config: No generic license file exists for: EULA in any
provider
Zhenhua Luo [Mon, 1 Jul 2013 05:47:10 +0000 (13:47 +0800)]
linux-qoriq-sdk(-headers): upgrade to the version of sdk-1.4
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.
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Ting Liu <b28495@freescale.com>
Zhenhua Luo [Thu, 27 Jun 2013 09:20:02 +0000 (09:20 +0000)]
udev-extraconf: unify the name of PCIe Ethernet port for DPAA targets
In kernel-3.8, PCIe Ethernet port is the last one to be brought up,
so the name of PCIe Ethernet card is ethN(N is variant) instead of eth0.
The udev rules update is to unify the PCIe Ethernet port of DPAA targets:
Ethernet card in PCIe slot0: eth0
Ethernet card in PCIe slot1: eth1
Ethernet card in PCIe slot2: eth2
Ethernet card in PCIe slot3: eth3
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Change-Id: Ia2a9cc3eb5b6c49e911bb6cc067a2d2d3cfaec0a
Khem Raj [Mon, 24 Jun 2013 06:59:30 +0000 (06:59 +0000)]
recipes: make meta-fsl-ppc play with other layers
Some recipes are specific to fsl machines but arent marked
so. When building images for other machines while including
meta-fsl-ppc in bblayers exposes the build failures on these
recipes. Lets mark them fsl machine specific
Zhenhua Luo [Tue, 21 May 2013 06:21:07 +0000 (06:21 +0000)]
linux-qoriq-sdk: append SDK version to kernel version
if SDK_VERSION is defined, append the sdk version string to kernel version,
this can make make the sdk version is explicit for users, expecially when same
kernel verison is used for different releases.
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Ting Liu [Tue, 12 Mar 2013 09:30:45 +0000 (09:30 +0000)]
oprofile: remove useless patches
There patches is useless since bb file had been removed in commit:
commit 330e7d07a6c6881ea47038dc7c9d0a588d5218c8
Author: Matthew McClintock <msm@freescale.com>
Date: Thu Jan 17 12:46:12 2013 -0600
oprofile: remove from meta-fsl-ppc and use oe-core
Ting Liu [Tue, 12 Mar 2013 09:20:30 +0000 (09:20 +0000)]
busybox: remove SDK specific bits
There are three kinds of SDK specific bits:
(1) deleted: busybox-1.20.2/busybox-1.19.4-ubi-user-h.patch
This patch is just a workground to fix busybox 1.9 builds when enabling
ubi applets (disabled by default in Yocto). The actual fix exists in
kernel, but was not applied on fsl kernel git tree for SDK 1.3.x. This
patch restored a compatible mtd/ubi-user.h into busybox. Now the kernel
fix was already included in Yocto:
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.2/commit/?id=f210735fe2f17a6225432ee3d1239bcf23a8659c
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.4/commit/?id=f210735fe2f17a6225432ee3d1239bcf23a8659c
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.8/commit/?id=f210735fe2f17a6225432ee3d1239bcf23a8659c
commit f210735fe2f17a6225432ee3d1239bcf23a8659c
headers_install: fix __packed in exported kernel headers
And fsl SDK 1.4 will based on kernel 3.8 which also include this commit.
So this patch can be dropped.
(2) deleted: busybox-1.20.2/defconfig-fsl
This defconfig is SDK specific. Remove it.
(3) deleted: busybox-1.20.2/inetd{.conf}
There is already submitted patches for this, but not applied:
[PATCH] busybox: Add inetd related files
http://patches.openembedded.org/patch/33233/
http://patches.openembedded.org/patch/33235/
The issue still exist and we will send new patches.
Ting Liu [Sat, 9 Mar 2013 15:32:03 +0000 (15:32 +0000)]
udev-extraconf: add rule to rename network interfaces for t4/b4
Since on FManv3 a MEMAC can be configured either as 1G or 10G, rename
all interfaces on T4/B4 to "fmX-macY", with X in the range 1..2 and
Y in the range 1..10.
Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com> Signed-off-by: Ting Liu <b28495@freescale.com>