Otavio Salvador [Thu, 15 Aug 2013 18:33:16 +0000 (15:33 -0300)]
poky.conf: Don't force the addition of extra DISTRO_FEATURES
The DISTRO_FEATURES shouldn't unconditionally append items to it. This
makes it impossible to override it inside of local.conf or in a distro
based on Poky.
This moved the definition to poky.conf and created a new variable
(POKY_DEFAULT_DISTRO_FEATURES) which easy overriding of this, for Poky
based distros and used the 'DISTRO_FEATURES_DEFAULT' variable to avoid
duplication OE-Core default.
This makes the override of default DISTRO_FEATURES easier. User can now do:
,----[ Usage example for local.conf ]
| DISTRO_FEATURES = "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} \
| largefile opengl multiarch"
`----
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 29 Jul 2013 16:22:56 +0000 (16:22 +0000)]
genericx86: add fbdev, modesettings and vesa Xorg drivers
This should ensure that X can start on more hardware. The range of hardware is
still small as the atom-pc kernel only has limited framebuffer devices currently
(e.g. no nVidia).
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package_regex.inc: Add/Update REGEX and PRSPV variable
The PRSPV variable is used for the packages:
* zip
* unzip
* docbook-sgml-dtd-3.1-native
* docbook-sgml-dtd-4.1-native
The REGEX variable has been added/changed for the following packages:
* btrfs-tools
* bjam-native
* build-appliance-image
* mpeg2dec
* mpfr-native
* nativesdk-mpfr
* xf86-video-omap
* remake
Tom Zanussi [Wed, 10 Jul 2013 14:11:44 +0000 (09:11 -0500)]
yocto-kernel: make BBLAYERS parsing more robust
This allows the BBLAYERS parsing code to handle cases where BBLAYERS
is spread across multiple assignments or all on a single line, within
double or single quotes.
Fixes [YOCTO #3746].
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Sun, 7 Jul 2013 02:13:20 +0000 (22:13 -0400)]
meta-yocto-bsp: update reference board SRCREVs
Bumping the 3.4 and 3.8 reference board SRCREVs to the latest
3.4 and 3.8 kernel commits.
Note: not all reference boards prefer the 3.8 kernel, but we
can set the SRCREVs regardless, since the board support is present,
just not completely tested yet.
[YOCTO #4566]
Signed-off-by: Simarpreet Singh <simarpreet.singh@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Thu, 4 Jul 2013 13:17:43 +0000 (13:17 +0000)]
poky.conf: move libdir QA check to WARN_QA
The libdir check was broken, and having been fixed it is throwing up a
number of issues, so it seems that we're not yet ready to have this set
to error. Switch it back to a warning instead.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tom Zanussi [Wed, 3 Jul 2013 20:13:33 +0000 (20:13 +0000)]
yocto-bsp: filter out 'layer' from arch list
The yocto-layer tool added a new directory alongside the actual
architectures and 'common', which is already screened out as not an
actual architecture when displaying the architecures.
The same needs to be done for 'layer' which isn't actually an
architecuture and likewise needs to be screened out.
Fixes [YOCTO #4735].
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Fri, 28 Jun 2013 15:12:22 +0000 (16:12 +0100)]
poky.conf: fix WARN_QA and ERROR_QA settings
In OE-Core master revision 8f5675e6d3eb the bug that tests we did not
mention in ERROR_QA were being shown as warnings even if they weren't in
WARN_QA was fixed; however a number of warnings we want to be enabled
weren't in Poky's WARN_QA and thus were not shown after that change;
additionally some of these were set in the default value of ERROR_QA in
insane.bbclass (i.e. OE-Core's default) but would have previously shown
up as warnings in Poky because they weren't in ERROR_QA there.
To fix this, put the appropriate values back into WARN_QA / ERROR_QA
with a lean towards ERROR_QA - we want to be strict so that we keep
OE-Core clean of QA issues during recipe maintenance.
Fixes [YOCTO #4752].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Fri, 28 Jun 2013 15:12:21 +0000 (16:12 +0100)]
poky.conf: remove la2 check which no longer exists from ERROR_QA
This check was actually removed a very long time ago in 6656381714c5956f71ca634f5a5f4aa4661bbf7e, before we even changed the QA
checks to use names instead of numbers - the name was probably added
ERROR_QA mistakenly because it hadn't also been removed from the comment
listing the QA checks or the function that determined which ones were
errors.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Saul Wold [Thu, 13 Jun 2013 14:43:21 +0000 (07:43 -0700)]
maintainers: Added missing recipes with maintainers
Added
gstreamer1.0-plugins-good 1.0.7 1.1.1 No Maintainer info
gstreamer1.0-libav 1.0.7 1.1.1 No Maintainer info
chkconfig-alternatives-native 1.3.59+AUTOINC+cd437ecbd8 6 No Maintainer info
gstreamer1.0-plugins-bad 1.0.7 1.1.1 No Maintainer info
gsettings-desktop-schemas 3.7.3 3.9.2 No Maintainer info
harfbuzz 0.9.17 0.9.18 No Maintainer info
gtk-update-icon-cache-native 3.4.4 3.9.2 No Maintainer info
gstreamer1.0 1.0.7 1.1.1 No Maintainer info
gstreamer1.0-plugins-base 1.0.7 1.1.1 No Maintainer info
gstreamer1.0-plugins-ugly 1.0.7 1.1.1 No Maintainer info
xf86-video-omap 0.4.2+gitrAUTOINC+ae0394e 0.4.3+gitrAUTOINC+1482807 No Maintainer info
gtk+3 3.4.4 3.9.2 No Maintainer info
clutter-gst-1.0 1.6.0 2.0.4 No Maintainer info
dbus-ptest 1.6.8 1.7.2 No Maintainer info
mx-1.0 1.4.7+gitAUTOINC+9b1db6b 1.99.4+gitAUTOINC+6a5a7ff No Maintainer info
clutter-gtk-1.0 1.4.2 1.4.4 No Maintainer info
weston 1.1.0 1.1.1 No Maintainer info
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ning Zhang [Mon, 3 Jun 2013 05:21:18 +0000 (13:21 +0800)]
yocto_kernel: modify the msg when adding duplicate items
Privious check-in "yocto_kernel: check current items before add a
new one" had been merged before I apply the feedback from Zanussi, Tom.
Now fix it as a new patch.
This fix modify the output message when customer adding duplicate
items.
[YOCTO #4558]
Signed-off-by: Ning Zhang <ning.zhang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Fri, 31 May 2013 03:32:40 +0000 (23:32 -0400)]
poky-lsb: make NFS kernel server support specific to linux-yocto
In the current releases, not all linux-yocto derived kernels have NFS
support, or NFS support fragments availble. To ensure that derived
kernels like linux-yocto-cutom continue to work against poky-lsb,
we can make the KERNEL_FEATURE append more specific to the linux-yocto
recipe.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ning Zhang [Wed, 29 May 2013 09:45:56 +0000 (09:45 +0000)]
yocto_kernel: check current items before add a new one
When use "yocto-kernel config add" to add the same config many times,
all of these are list when use "yocto-kernel config list" to check.
This fix modify routine yocto_kernel_config_add, if the new added
components already exist in current configuration, just igore them.
Now, one config could only be added one time.
[YOCTO #4558]
Signed-off-by: Ning Zhang <ning.zhang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Wed, 29 May 2013 15:01:53 +0000 (16:01 +0100)]
yocto-bsp: re-enable AutoAddDevices in xorg.conf for generated BSPs
This was added quite a long time ago because of poor interactions
between HAL and the X server when it came to enabling input devices.
HAL is long gone and I think it's safe to say we don't need to disable
this any longer, especially as it gets in the way of being able to plug
in the keyboard/mouse after boot.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Wed, 29 May 2013 15:01:12 +0000 (16:01 +0100)]
xserver-xf86-config: re-enable AutoAddDevices for beagleboard
This was added quite a long time ago because of poor interactions
between HAL and the X server when it came to enabling input devices.
HAL is long gone and I think it's safe to say we don't need to disable
this any longer, especially as it gets in the way of being able to plug
in the keyboard/mouse after boot.
(This has already effectively been removed for the other BSPs in
meta-yocto-bsp).
Fixes [YOCTO #1823].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Tue, 7 May 2013 06:09:31 +0000 (06:09 +0000)]
image_types.bbclass: remove the old images
Remove the old image before the new one generated to save disk
space when RM_OLD_IMAGE is set to 1, this is an easy way to keep
the DEPLOY_DIR_IMAGE clean.
[YOCTO #4391]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Michel Thebeau [Mon, 29 Apr 2013 13:54:17 +0000 (09:54 -0400)]
kernel 3.8: routerstationpro: use KERNEL_IMAGE_MAXSIZE to test the image
routerstationpro is limited to 16mb flash size. Exceeding that size may
not be noticed immediately, which we don't want.
"The current latest kernel for the routerstationpro machine is far
beyond the 16MB of it's flash size [0]. I think it would be good to
[test if the size of the image is above that size]."
Setting this variable will enable the do_sizecheck task and produce an
error when the image is too large:
"ERROR: This kernel (size=90230265 > 16777216) is too big for your
device. Please reduce the size of the kernel by making more of it
modular."
Michel Thebeau [Mon, 22 Apr 2013 21:20:15 +0000 (17:20 -0400)]
routerstationpro: move board off 3.4 and onto the 3.8 kernel
The updated patch series to support this target is in place on the BSP
specific branch in the 3.8 kernel tree now[1], so we can move it ahead
off of the old 3.4 kernel.
Richard Purdie [Tue, 16 Apr 2013 11:12:08 +0000 (12:12 +0100)]
README.hardware: Update mpc8315 load address
The kernel size has grown to a point where the original load address might not work
due to memory region overlap. This updates the instructions to use larger memory
addresses which avoids the problem.
[YOCTO #2430]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Mon, 15 Apr 2013 15:54:51 +0000 (16:54 +0100)]
poky.conf: add Poky 1.4 and CentOS 6.4 to SANITY_TESTED_DISTROS
* CentOS 6.4 is the latest stable release; users of previous versions
get automatically upgraded as part of normal distro updates.
* Add Poky 1.4 for the build appliance
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Fri, 12 Apr 2013 20:22:49 +0000 (21:22 +0100)]
classes/poky-sanity: fix handling of bblayers.conf updating
* Update for new structure in sanity.bbclass - use a separate function
to update bblayers.conf and add it to the list to be executed
* Additionally, don't add meta-yocto-bsp if it's already in BBLAYERS
(this can occur when switching between DISTRO = "" or other distros
which use a LAYER_CONF_VERSION = "5" and DISTRO = "poky" which has
LAYER_CONF_VERSION = "6")
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Michel Thebeau [Wed, 10 Apr 2013 12:37:33 +0000 (08:37 -0400)]
routerstationpro: strip the output kernel of .comment section
The routerstationpro has a 16mb flash which the kernel image should
fit into. The default build type for vmlinux then should be a
stripped vmlinux.
Use KERNEL_IMAGE_STRIP_EXTRA_SECTIONS to do this.
Reverts commit 9cd3816e4db97c8fd093a120a75a2b5d193afcdd, which causes:
RedBoot> load -v vlm-boards/19256/kernel
Using default protocol (TFTP)
Unrecognized image type: 0x0
[YOCTO 3515]
[YOCTO 4220]
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Tue, 9 Apr 2013 14:22:00 +0000 (15:22 +0100)]
README.hardware: bring up-to-date
* Fix Yocto Project documentation URL
* Indicate physical reference hardware support comes from meta-yocto-bsp
* Remove/replace references to Poky where appropriate
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tom Zanussi [Thu, 4 Apr 2013 01:12:21 +0000 (20:12 -0500)]
yocto-bsp: set SRCREV for arm-based qemu machines
arm-based qemu machines won't boot with the default 3.8 machine SRCREV
because it's missing the commit 'arm: add dummy swizzle for versatile
with qemu', so we need to use a SRCREV that has it merged.
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Michel Thebeau [Thu, 28 Mar 2013 19:32:55 +0000 (19:32 +0000)]
routerstationpro: swap KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE
The routerstationpro has a 16mb flash which the kernel image should
fit into. The default build type for vmlinux then should be the
stripped arch/mips/boot/vmlinux.bin.
Swapping KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE for rsp causes
vmlinux.bin to be linked in tmp/deploy/images instead of vmlinux, and
causes vmlinux.bin to appear in the kernel rpm file.
[YOCTO #3515]
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Darren Hart [Tue, 2 Apr 2013 23:17:41 +0000 (23:17 +0000)]
atom-pc: Update to linux-yocto_3.8 (3.8.4)
Bring atom-pc up to date with the latest available linux-yocto kernel,
3.8.4. Build and boot tested on the Toshiba NB-305 notebook with
core-image-sato.
Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 27 Mar 2013 13:59:48 +0000 (13:59 +0000)]
poky.conf: enable Wayland DISTRO_FEATURE
Without the Wayland feature you don't get the Wayland EGL platform built into
Mesa, so Poky can't be used to test Wayland or Weston properly out of the box.
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Wed, 20 Mar 2013 06:31:05 +0000 (14:31 +0800)]
local.conf.sample.extended: update for disk monitor
The previous disk monitor is based on the disk, and one disk only can
have one action, now it is based on the path, so we remove the additional
comments from local.conf.sample.extended
[YOCTO #3995]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Michel Thebeau [Wed, 20 Mar 2013 15:32:02 +0000 (11:32 -0400)]
routerstationpro: use KERNEL_IMAGE_MAXSIZE to test the image
routerstationpro is limited to 16mb flash size. Exceeding that size may
not be noticed immediately, which we don't want.
"The current latest kernel for the routerstationpro machine is far
beyond the 16MB of it's flash size [0]. I think it would be good to
[test if the size of the image is above that size]."
Setting this variable will enable the do_sizecheck task and produce an
error when the image is too large:
"ERROR: This kernel (size=90230265 > 16777216) is too big for your
device. Please reduce the size of the kernel by making more of it
modular."
[YOCTO #3514]
Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>