Tom Zanussi [Tue, 7 Aug 2012 21:11:14 +0000 (16:11 -0500)]
yocto-bsp: generate default properties even if json specified
Users seem to want to specify incomplete property sets when using json
input. Allow this by generating default properties before the
user-specified properties are applied; the user will then get the
defaults for any unspecified values, and avoid cryptic backtraces.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Tom Zanussi [Mon, 6 Aug 2012 05:56:55 +0000 (00:56 -0500)]
yocto-bsp: use rstrip() for assignment lines
strip() isn't necessary and causes unintended formatting changes in
the output; rstrip() remove the trailing newlines as intended while
leaving indenting whitespace intact.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Paul Eggleton [Mon, 20 Aug 2012 16:05:47 +0000 (17:05 +0100)]
poky.conf: restore Ubuntu 12.04 LTS to tested distro list
Apparently some people don't apply the normal updates to their Ubuntu
installations, in which case they will not have the version updated to
12.04.1. Since the distinction between the two is fairly minimal,
restore the old version string in addition to the new one.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker [Fri, 17 Aug 2012 15:24:19 +0000 (11:24 -0400)]
routerstationpro: move board off 3.0 and onto the 3.4 kernel
The updated patch series to support this target is in place
on the BSP specific branch in the 3.4 kernel tree now[1], so
we can move it ahead off of the old 3.0 kernel.
Cc: Bruce Ashfield <bruce.ashfield@windriver.com> Cc: Saul Wold <sgw@linux.intel.com> Acked-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Darren Hart [Tue, 21 Aug 2012 16:27:16 +0000 (09:27 -0700)]
README: Clarify where to send patches
There is still a great deal of confusion over where patches for the
various components of the poky repository should be sent. Attempt to
mitigate this by including a blurb in the poky README similar to what
other layers and repositories do.
V2: Call out the special care required when dealing with the scripts
directory per Saul Wold's recommendation.
V3: Recommend applying patches to oe-core prior to sending patches to
the oe-core mailing list.
Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Richard Purdie <richard.purdie@intel.com> CC: Paul Gortmaker <paul.gortmaker@windriver.com> CC: Paul Eggleton <paul.eggleton@linux.intel.com> CC: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 21 Aug 2012 07:17:20 +0000 (08:17 +0100)]
atom-pc: Drop glibc --with-tls option, its now the only option for glibc
This option is unused by (e)glibc since 2011 and is the default. It has been
shown to interact badly with the configure option in ia32-base.inc from meta-intel
causing a rebuild of the whole system despite the only change being an
assignment with += vs =. The easiest fix is simply to drop it.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 9 Aug 2012 19:48:27 +0000 (19:48 +0000)]
linux-yocto/meta-yocto/3.4: BSP, uprobes, config and cleanups
Updating the linux-yocto meta-yocto 3.4 with consolidated fixes, BSPs
and cleanups.
From the kernel meta branch:
28bcd46 meta: move emgd features to staging 6c01949 meta: Crystal Forest Machine Created. 3c19c4d meta/qemuppc: remove redundant profiling options a5da4d5 meta: kgdb: update configuration for out of box functionality 1d13e00 meta: update status/series and patches for v3.4 b96c408 fsl-mpc8315e-rdb: replace leading dot with hash in cfg file 7c9a3b0 usb: fix scc and cfg filename collision with ktypes/base/ aa0e1f6 kconfig: make CONFIG_BLOCK=y part of base config 3d1a2f2 kconfig: add tty/serial file to hardware listing 60b600f routerstationpro: specify chosen filesystems in audit input. 8b5c8c7 routerstationpro: add config data for audit purposes d7ae8fa meta: add ath79 Kconfig to hardware listing.
And from the standard branch:
c77666c powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr. c262f3e powerpc: Uprobes port to powerpc d40e73d powerpc: Add trap_nr to thread_struct 6a64190 Revert "This is the port of uprobes to powerpc. Usage is similar to x86." e422119 Revert "powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr." d4ef82f keys: kill task_struct->replacement_session_keyring 1cc141e keys: kill the dummy key_replace_session_keyring() 090ca45 keys: change keyctl_session_to_parent() to use task_work_add() 61bc7a8 genirq: reimplement exit_irq_thread() hook via task_work_add() 5ee34dd task_work_add: generic process-context callbacks 70754de move key_repace_session_keyring() into tracehook_notify_resume() 6f70bc1 powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr. e5f6a4c This is the port of uprobes to powerpc. Usage is similar to x86. 2bc4597 On RISC architectures like powerpc, instructions are fixed size. Instruction analysis on such pl 8893371 perf probe: Detect probe target when m/x options are absent 544d531a perf probe: Provide perf interface for uprobes 103b503 tracing: Fix kconfig warning due to a typo 9bb012e tracing: Provide trace events interface for uprobes b9b7281 tracing: Extract out common code for kprobes/uprobes trace events 91f0360 tracing: Modify is_delete, is_return from int to bool a8600f2 uprobes/core: Decrement uprobe count before the pages are unmapped a252056 uprobes/core: Make background page replacement logic account for rss_stat counters 3efc15b uprobes/core: Optimize probe hits with the help of a counter 20f3d76 uprobes/core: Allocate XOL slots for uprobes use 77bfad8 uprobes/core: Handle breakpoint and singlestep exceptions 7196d9a uprobes/core: Rename bkpt to swbp c99bc18 uprobes/core: Make order of function parameters consistent across functions 7e9be99 uprobes/core: Make macro names consistent c4247f2 uprobes: Update copyright notices f066ff9 uprobes/core: Move insn to arch specific structure e91cf65 uprobes/core: Remove uprobe_opcode_sz 942b91c uprobes/core: Make instruction tables volatile 56c1e99 uprobes: Move to kernel/events/ 0a7ad1c uprobes/core: Clean up, refactor and improve the code 3760d62 uprobes, mm, x86: Add the ability to install and remove uprobes breakpoints
Two BSP updates:
- Crystal Forest Machine has been added
- routerstationpro configuration updates for 3.4
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kang Kai [Wed, 25 Jul 2012 09:13:53 +0000 (09:13 +0000)]
upstream_tracking.inc: update some packages
Update packages mingetty, qmmp, liburi-perl and ltp's version info
and/or manual check date.
Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kang Kai [Wed, 25 Jul 2012 09:13:52 +0000 (09:13 +0000)]
maintainers.inc: update some packages' maintainer info
Take over some packages belongs to Xiaofeng.Yang.
Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker [Fri, 20 Jul 2012 00:01:55 +0000 (20:01 -0400)]
mpc8315: build u-boot v2012.04 by default.
Validated on real hardware:
U-Boot 2012.04.01 (Jun 29 2012 - 13:48:03)MPC83XX
Reset Status: Software Hard, External/Internal Soft, External/Internal Hard
CPU: e300c3, MPC8315E, Rev: 1.2 at 400 MHz, CSB: 133.333 MHz
Board: Freescale MPC8315ERDB Rev 1.0
I2C: ready
DRAM: 128 MiB (DDR2, 32-bit, ECC off, 266.667 MHz)
Flash: 8 MiB
NAND: 32 MiB
PCIE0: No link
PCIE1: No link
In: serial
Out: serial
Err: serial
Net: eTSEC0, eTSEC1
Hit any key to stop autoboot: 0
[YOCTO #943]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker [Mon, 9 Jul 2012 21:17:14 +0000 (17:17 -0400)]
meta-yocto: mpc8315e-rdb change preferred version to 3.4
Update the yocto hardware reference platform to use the
3.4 kernel by default.
This platform is supported in mainline, so no patch carry
forward or similar is required. Tested via NFS booting the
kernel on real hardware with 3.4.1 and things just work as-is.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Romania team performed package maintainers modification
based on relevant experience and expertise area assignement.
No entries outside Ro team were touched.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manually checked packages for updates.
Changed the necessary fields with updated values.
Added missing recording where necessary.
Beautified some packages info.
Removed small typos in distro_alias.inc and recipe_color.inc.
All changes easy detectable in the diff.
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Darren Hart [Fri, 29 Jun 2012 04:17:59 +0000 (21:17 -0700)]
linux-libc-headers-yocto: Do not include linux-yocto
The only bit we seem to need from the linux-yocto include is the
SRCREV_FORMAT. If we define this explicitly, we can avoid including the
linux-yocto include.
This is desirable so that linux-yocto can require kernel and simplify
the PR update process of all the linux-yocto* recipes. Pulling in
kernel to the linux-libc-headers-yocto recipes causes build failures by
pulling in "update-modules-nativesdk".
Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> CC: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Darren Hart [Thu, 14 Jun 2012 04:05:17 +0000 (21:05 -0700)]
tiny-init: Basic init mechanism for poky-tiny
Currently poky-tiny images will boot and run /bin/sh, which results in
error messages to the console about being unable to open the tty and job
control being disabled.
The shell must be session leader to open the tty, and the tty must not
be /dev/console (it should be a vt or a physical tty like ttyS0), the
tty is required for job control (handling signals, etc.).
The goals of poky-tiny are to be an initial starting point from which to
build a distribution that does what you want, and NOTHING more.
This patch results in a system that boots with the virtual filesystems
mounted, the local network interface up, and a shell with job control
running, and a hook (/etc/rc.local) for easy customization. Nothing
else.
Enabling the basic busybox init, including the ability to give the
controlling console to commands starting with a dash in inittab results
in a 5664 byte delta (compared with 2560 bytes for enabling setsid and
cttyhack). Note that the help in busybox suggests the cttyhack may be
more reliable than the init support for handing over the controlling
terminal.
So the difference between using a standard init and just enabling the
two options is about 3k, but enabling setsid and cttyhack may enable
others to things besides what I am looking to do. Enabling init in both
DISTRO_FEATURES and busybox is fairly trivial to do, so I think it's
better to leave that as something to add if needed, rather than
something to remove, as that is more consistent with the goals of
poky-tiny.
Thanks to Tim Bird for his suggestion to include support for rc.local by
default.
Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tim Bird <tim.bird@am.sony.com> CC: Thomas Frydrych <tf+lists.yocto@r-finger.com> CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> CC: Paul Eggleton <paul.eggleton@linux.intel.com> CC: Phil Blundell <philb@gnu.org> CC: Khem Raj <raj.khem@gmail.com> CC: Koen Kooi <koen@dominion.thruhere.net>
Darren Hart [Mon, 18 Jun 2012 18:12:45 +0000 (11:12 -0700)]
busybox: Introduce poky-tiny defconfig override
When building very small systems, it can be useful to spawn a shell from
a simple init script, rather than a full System V Init process. This
requires the shell be the session leader and be able to open the
controlling terminal if it is to have job control.
Create a busybox bbappend in meta-yocto with a poky-tiny/defconfig.
This adds SETSID and CTTYHACK for poky-tiny on top of the oe-core
defconfig.
Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tim Bird <tim.bird@am.sony.com> CC: Thomas Frydrych <tf+lists.yocto@r-finger.com> CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> CC: Paul Eggleton <paul.eggleton@linux.intel.com> CC: Phil Blundell <philb@gnu.org> CC: Khem Raj <raj.khem@gmail.com> CC: Koen Kooi <koen@dominion.thruhere.net>
Upgraded:
sqlite3: Update to 3.7.13
psmisc: Update to 22.19
sysstat: Update to 10.0.5
util-linux: Update to 2.21.2
libxml2: Update to 2.8.0
mx: Upgrade to 1.4.6
libxml-simple-perl: Upgrade to 2.20
cracklib: Upgrade to 2.8.19
resolvconf: Upgrade to 1.67
libtasn1: Upgrade to 2.13
gnutls: Upgrade to 2.12.20
foomatic-filters: Upgrade to 4.0.16
libidn: Upgrade to 1.25
libtiff: Upgrade to 4.0.2
Bruce Ashfield [Thu, 21 Jun 2012 18:07:44 +0000 (14:07 -0400)]
linux-libc-headers-yocto: update to v3.4 and remove unecessary code
Updating the linux-libc-headers-yocto recipe to 3.4. There are blocks
of code and definitions that are handled by the included libc-headers.inc,
so we shouldn't be repeating them in this recipe.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Bruce Ashfield [Wed, 20 Jun 2012 13:49:15 +0000 (09:49 -0400)]
linux-libc-headers-yocto: use kernel-arch to set ARCH
The arch mapping done in kernel-arch should be used instead of
recipe local mapping. Inheriting kernel-arch consolidates the
code and simplifies the libc-header recipe.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Many people are seeing issues from the empty path warnings from BBPATH.
The empty path entry corresponding to the current working directory is a
problem since if cwd changes, so does BBPATH and build reproducibility.
Simply removing the empty element causes problems since the build
directory then isn't listed in BBPATH which means local.conf isn't found
and this gives an extremely confusing error message about bbappends
being unsatisfied.
The build directory in bitbake terms is TOPDIR. The correct way to fix
things is to add in TOPDIR into bblayers.conf itself. This means the
layers can happily append/prepend to BBPATH at will as its no longer
empty hence neatly solving all the various problems. Since the file has
changed, the version is also changed.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Fri, 15 Jun 2012 16:33:28 +0000 (12:33 -0400)]
linux-yocto/meta-yocto: update yaffs2 and drop rc6
Updating the 3.4 SRCREVs to pickup a yaffs2 update and the removal
of a feature that was required in the 3.2 kernel tree.
1/2 [
meta: rc6: remove rc6 patches for snb
The sandybridge rc6 patches are part of the released v3.4 kernel.
Hence there is no need to keep these patches in the 3.4 linux
yocto kernel repository.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
]
2/2 [
yaffs2: update core support
Uprev yaffs2 to latest version as of 2012-05-29
]
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Saul Wold [Tue, 12 Jun 2012 14:52:41 +0000 (07:52 -0700)]
distro tracking files: Add seperated set of files
This patch creates a split up of the orignal distro_tracking_files
since we need to manage this more in the meta-yocto space, each
file has a set of comments describing the contents
maintainers.inc is a list of the maintainers
recipe_color.inc is a burn down list of recipes that need to be checked
recipe_data.inc contains data for creating the BOM and tracks some
info that could be moved into the recipes directly.
upstream_tracking.inc: Version and Date information that can not be
discovered automagically.
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Fri, 1 Jun 2012 04:43:06 +0000 (00:43 -0400)]
meta-yocto: make 3.4 the default kernel for qemu*
The 3.4 kernel is available and has been built and booted on
all the qemu machines, so it now becomes the default for the
qemu machines, and machines that don't explicitly set a preferred
version.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Bruce Ashfield [Thu, 24 May 2012 03:03:44 +0000 (23:03 -0400)]
linux-yocto/meta-yocto: introduce 3.4 bbappend
Creating the initial meta-yocto bbappend for the 3.4 kernel.
The routerstationpro and beaglboard are not initially marked as
compatible since full testing has not completed. Future updates
will remove this restriction.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Bruce Ashfield [Thu, 24 May 2012 02:45:58 +0000 (22:45 -0400)]
linux-yocto/meta-yocto: add machine aliases for yocto BSPs
To avoid mapping machine names to kernel machine names in recipes,
we can define multiple KMACHINE names for a single in tree board.
This allows the tools to match a board description to multiple
different MACHINEs.
As a result, we can remove the explicit KMACHINE mappings from
the linux-yocto recipes and allow the KMACHINE=${MACHINE} default
to handle mappings. Individual recipes an bbappends can override
this as required.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
README: Correct documentation URL in top-level README file
even though redirection takes care of this, might as well be
accurate.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
[elizabeth.flanagan@intel.com: Fixed up submitted patch as it was corrupt as sent] Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A major effort was completed as part of 1.2 to fix many WARNING
messages, change the level of those fixed areas to ERROR so we
do not backslide on our quality level
Bruce Ashfield [Tue, 8 May 2012 14:52:30 +0000 (10:52 -0400)]
meta-yocto/linux-yocto-3.0: update branch mappings for new tools
Updates to the kern-tools to be more flexible and support multiple
upstream repository formats means that KMACHINE should really only
map to a machine and that KBRANCH should specify branch information.
To adapt to this change, we split the hardware reference boards into
KMACHINE and KBRANCH mappings.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Mon, 7 May 2012 15:14:10 +0000 (11:14 -0400)]
linux-yocto/3.0: mm/msync: tweak tmpfs patch for syscall msync
Bumping the routerstationpro SRCREV for the following fix:
mm/msync: tweak tmpfs patch for syscall msync
Commit 1c3ae5441 "mm: msync: fix issues of sys_msync on tmpfs"
fixes the problem that sys_msync fails with tmpfs on MIPS CPU which
has feature "cache alias".
But it makes POSIX test cases mlockall/3-6 3-7 fail on MIPS.
Case mlockall/3-6 creates a share memory, and maps it to memory.
fd = shm_open(SHM_NAME, O_RDWR|O_CREAT, S_IRUSR|S_IWUSR);
foo = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0);
Then calls mlockall to lock all of the virtual address space:
if (mlockall(MCL_CURRENT) == -1) {
At last tests whether the virtual address spaces are locked:
page_ptr = (void*) ((long)foo - ((long)foo % page_size));
result = msync(page_ptr, page_size, MS_SYNC|MS_INVALIDATE);
It espects msync returns -1 with EBUSY but returns 0.
Case mlockall/3-7 creates a normal file to mmap, and it fails too.
Tweak the patch to:
1 Moved the CONFIG_TMPFS block down in the loop so that the normal
vma flag checking will perform.
2 There may be other VMAs in the list after this VMA which belongs
to tmpfs file, and we should sync them after the tmpfs one. So
remove the break loop clauses.
Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Tom Zanussi [Mon, 30 Apr 2012 19:12:15 +0000 (14:12 -0500)]
yocto-bsp: clarify help with reference to meta-intel
The current yocto-bsp help assumes knowledge that the meta-intel layer
needs to be cloned before it's put into the BBLAYERS. Avoid the
guesswork and state the details explicitly in the help.
Also, the shorter 'usage' string doesn't mention it at all; it would
help to at minimum mention it and refer the user to the detailed help.
Fixes [YOCTO #2330].
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Thu, 3 May 2012 16:40:51 +0000 (17:40 +0100)]
poky.conf: use correct version string for Ubuntu 12.04
Since it is an LTS release, the final version string was not
"Ubuntu 12.04" but "Ubuntu 12.04 LTS", so use this when doing the tested
host distribution check.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 19 Apr 2012 22:03:32 +0000 (23:03 +0100)]
poky-tiny: Drop now unneeded DISTRO_FEATURES_LIBC_TOOLCHAIN (after gettext fix)
After the recent gettext dependency fix (commit 6e5cb40dfaeae4843dd65115f0b8b0f20f58d30e
"gettext.bbclass: Ensure we don't overwrite other DEPENDS_GETTEXT values",
its no longer necessary to have to have these options to build meta-toolchain.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Wed, 18 Apr 2012 10:03:33 +0000 (11:03 +0100)]
conf/distro/poky.conf: set SANITY_TESTED_DISTROS
Specify a list of tested host distributions, based on those tested prior
to the Yocto Project 1.2 release. This will enable a warning to be
printed upon starting bitbake if the host distribution is not one on the
list.
Note: this warning is intended to help new users; if you are receiving
this warning and wish to disable it, just add SANITY_TESTED_DISTROS = ""
to your local.conf.
Fixes [YOCTO #1096].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Darren Hart [Tue, 17 Apr 2012 01:06:12 +0000 (18:06 -0700)]
poky-tiny: Separate the libc features required for meta-toolchain
This fixes bug [YOCTO #2295]
eglibc needs libc-posix-regexp-glibc & libc-libm-big enabled in its
configuration to avoid following eglibc build issue. Thanks to
Nitin for identifying the required features.
...
| In file included from xregex.c:634:0:
| xregex.c: In function 'byte_regex_compile':
| xregex.c:3395:8: error: too few arguments to function 'findidx'
| ../locale/weight.h:23:1: note: declared here
...
The libc features added to support building meta-toolchain add 461KB to the C
libraries. 320KB directly to libc (a 32% increase in size). If not building
meta-toolchain, the user should be able to easily configure these out.
Create a new variable to capture these dependencies,
DISTRO_FEATURES_LIBC_TOOLCHAIN, keeping them separate from the core tiny
requirements. Make it clear how to disable these if meta-toolchain is not
needed.
This patch has been tested by running the following for the qemux86 machine with
DISTRO=poky-tiny:
The libc comparisons were made from core-image-minimal ext2 filesystems build
before and after the applicaiton of this patch and Nitin's previous poky-tiny
libc features patch in support of meta-toolchain:
meta-yocto: Move OELAYOUT_ABI definition to poky.conf
The ABI version definition should go along with the DISTRO variable
since it impact the TMPDIR definition.
Otherwise, if a user used to work with pure OE-Core, and then he/she
added meta-yocto layer, it will report ABI version incompatibility
issue. This is because ABI is changed to "8" by adding meta-yocto layer,
however the DISTRO variable is not defined and TMPDIR is still
"tmp-eglibc".
Defining the OELAYOUT_ABI variable in poky.conf could fix this issue.
This fixes [YOCTO #2303]
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tom Zanussi [Thu, 12 Apr 2012 13:39:13 +0000 (08:39 -0500)]
yocto-bsp: fix x86_64 tuning for qemu arch
While testing the fix for [YOCTO #2222] I noticed that the tuning for
the qemu x86_64 target was using the wrong tuning file - it should be
x86_64 instead of i586. Change the template to match.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Tom Zanussi [Thu, 12 Apr 2012 03:12:38 +0000 (22:12 -0500)]
yocto-bsp: fix qemuarch test for xserver-xf86-config.bbappend
While testing the fix for [YOCTO #2222] I noticed that the qemuarch
test was wrong - there is no 'x86' qemuarch, just 'i386'. Change the
test to match.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Tom Zanussi [Wed, 11 Apr 2012 19:05:08 +0000 (14:05 -0500)]
yocto-bsp: enable property value display of nested properties
Previous versions of yocto-bsp mapped every input element to a unique
variable name, which is what the current property value display code
expects. When that was changed to a nested form, the display code
wasn't updated to match - this updated does that.
Fixes [YOCTO #2222]
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
commit 8cd31f9b0 linux-yocto/meta-yocto: update hardware reference boards to v3.0.24
Missed a merge commit on the hardware reference BSP branches.
As a result, validate_branches is adjusting the tree to build the
proper SRCREV. For machines with board specific commits this means
that some of their commits are missing, which leads to boot failure.
Bumping the SRCREVs fixes the problem
Fixes [YOCTO: #2292]
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 10 Apr 2012 05:29:08 +0000 (01:29 -0400)]
linux-yocto/meta-yocto: update hardware reference boards to v3.0.24
The meta-yocto hardware reference boards missed a SRCREV update when the
base recipe when to v3.0.24. This updates the SRCREVs to ensure that the
kernel that is built and booted matches the version information conveyed
from the base recipe.
Fixes [YOCTO #2265]
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
I don't think machine conf is the correct place for selecting what is
essentially a distro feature, but at least this should use the '?='
operator; as is to select a different provider one must provide a
complete beagleboard.conf file.
[YOCTO #2260]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
scripts: Clarify "help" info for yocto-bsp and yocto-kernel
Tweak the help info for both "yocto-bsp" and "yocto-kernel" to
emphasize that those are the *complete* lists of commands, not just
the most commonly used ones.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Paul Eggleton [Fri, 30 Mar 2012 15:53:26 +0000 (16:53 +0100)]
README.hardware: extend USB-ZIP instructions
* Note that on some machines booting just stops after the SYSLINUX
version banner is displayed
* Add an instruction to show how to get the geometry information for
the disk
* Specify the number of cylinders when running mkdiskimage as it is
sometimes unable to detect it automatically
* Create the temporary mountpoints before attempting to use them
* Add an instruction to unmount the disk before removing it
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instructions specified a null modem. This isn't the case. A straight
serial cable is required. I verified it with my own setup and
Freescale's user manual.
Signed-off-by: Robert Cochran<yocto@mindchasers.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Fri, 23 Mar 2012 17:12:42 +0000 (13:12 -0400)]
linux-libc-headers-yocto: move to meta-yocto
linux-libc-headers-yocto is not directly required in meta, so we can
safely move it to meta-yocto.
Machines including meta-yocto that are using linux-yocto that need headers
which are completely up to date with the linux-yocto git tree can use this
as their preferred linux-libc-headers.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tom Zanussi [Tue, 24 Jan 2012 06:20:15 +0000 (00:20 -0600)]
yocto-bsp: add templating engine
The main implementation of the Yocto BSP templating engine,
essentially containing the internal implementation of the 'yocto-bsp
create' and yocto-bsp list' commands.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>