[PATCH] linux-yocto-efi-test : add configs for ethernet-USB support
by Megha Dey
From: Megha Dey <megha.dey(a)linux.intel.com>
There are many devices of smaller form factor which do not have an
ehternet port. Hence, those systems will currenlty not be able to use
the features of LUV that required a network connection. Since most
devices have a USB port, adding the configs necessary for a ethernet to
USB adaptor.
Signed-off-by: Megha Dey <megha.dey(a)linux.intel.com>
---
meta-luv/recipes-kernel/linux/linux-yocto-efi-test/usb_ethernet.cfg | 3 +++
meta-luv/recipes-kernel/linux/linux-yocto-efi-test_4.6.bb | 2 ++
2 files changed, 5 insertions(+)
create mode 100644 meta-luv/recipes-kernel/linux/linux-yocto-efi-test/usb_ethernet.cfg
diff --git a/meta-luv/recipes-kernel/linux/linux-yocto-efi-test/usb_ethernet.cfg b/meta-luv/recipes-kernel/linux/linux-yocto-efi-test/usb_ethernet.cfg
new file mode 100644
index 0000000..203359a
--- /dev/null
+++ b/meta-luv/recipes-kernel/linux/linux-yocto-efi-test/usb_ethernet.cfg
@@ -0,0 +1,3 @@
+CONFIG_USB_NET_DRIVERS=y
+CONFIG_NETDEVICES=y
+CONFIG_USB_USBNET=y
diff --git a/meta-luv/recipes-kernel/linux/linux-yocto-efi-test_4.6.bb b/meta-luv/recipes-kernel/linux/linux-yocto-efi-test_4.6.bb
index aec3292..c810845 100644
--- a/meta-luv/recipes-kernel/linux/linux-yocto-efi-test_4.6.bb
+++ b/meta-luv/recipes-kernel/linux/linux-yocto-efi-test_4.6.bb
@@ -78,6 +78,7 @@ SRC_URI_append_x86 = "file://defconfig \
file://network.cfg \
file://network-devices.cfg \
file://linux_quirks.cfg \
+ file://usb_ethernet.cfg \
"
# Add the defconfig from v4.6 kernel and the configuration x86-64 fragments
@@ -92,6 +93,7 @@ SRC_URI_append_x86-64 = "file://defconfig \
file://network.cfg \
file://network-devices.cfg \
file://linux_quirks.cfg \
+ file://usb_ethernet.cfg \
"
# Add the defconfig from v4.6 kernel and the configuration arm64 fragments
--
1.9.1
6 years
[PATCH] bits-python: bump to v2073
by Ricardo Neri
Signed-off-by: Ricardo Neri <ricardo.neri-calderon(a)linux.intel.com>
---
meta-luv/recipes-devtools/bits-python/bits-python-native_git.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-luv/recipes-devtools/bits-python/bits-python-native_git.bb b/meta-luv/recipes-devtools/bits-python/bits-python-native_git.bb
index e79e334..db28fb9 100644
--- a/meta-luv/recipes-devtools/bits-python/bits-python-native_git.bb
+++ b/meta-luv/recipes-devtools/bits-python/bits-python-native_git.bb
@@ -20,12 +20,12 @@ inherit native
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=71a9ec458a3c65c2bfb461b227ef3049"
-BITSVERSION="2005"
+BITSVERSION="2073"
PV="${BITSVERSION}+git${SRCPV}"
S = "${WORKDIR}/git"
-SRCREV ="6026f6460fee9dff3897191a2b972c9536f23e53"
+SRCREV ="5931fde3bc7da376a33411e07423722977502259"
SRC_URI = "gitsm://github.com/biosbits/bits.git;protocol=http \
file://BITS-python-_ctypes-do-not-use-the-WIN-64-EFI64-call.patch \
file://BITS-python-configure-customize-Python-version.patch \
--
2.8.1
6 years
[PATCH v2] qemu: depend on the class-target OVMF
by Ricardo Neri
We use qemu to run our cross-compiled (class-target) LUV images. Thus,
we need an OVMF binary that is also cross-compiled.
Plus, even though we require the OVMF binary only when running QEMU and
this would imply an RDEPENDS, both qemu and ovmf don't go into our
filesystem. Thus, we keep the DEPENDS so that a build of qemu keeps
triggers a build of ovmf.
Signed-off-by: Ricardo Neri <ricardo.neri-calderon(a)linux.intel.com>
---
Changes since v1 [1]:
Instead of a runtime dependency, keep using a build-time dependency.
This is because run-time dependencies will work only when building a
target filesystem. We are not including qemu as part of our target
file system. Thus, dependency will not be picked up. Instead, qemu-native
will be used standalone or via runqemu. In any case, we need a ovmf
binary built for our target CPU architecture.
[1] https://lists.01.org/pipermail/luv/2016-June/001192.html
---
meta-luv/recipes-devtools/qemu/qemu_2.4.0.bbappend | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-luv/recipes-devtools/qemu/qemu_2.4.0.bbappend b/meta-luv/recipes-devtools/qemu/qemu_2.4.0.bbappend
index 03cfa9e..845af47 100644
--- a/meta-luv/recipes-devtools/qemu/qemu_2.4.0.bbappend
+++ b/meta-luv/recipes-devtools/qemu/qemu_2.4.0.bbappend
@@ -1,2 +1,2 @@
-DEPENDS_append_class-native_x86 = " ovmf-native"
-DEPENDS_append_class-native_x86-64 = " ovmf-native"
+DEPENDS_${PN}_append_class-native_x86 = " ovmf"
+DEPENDS_${PN}_append_class-native_x86-64 = " ovmf"
--
2.8.1
6 years
Linux UEFI Validation Project v2.1-rc1 release
by Neri, Ricardo
Hello,
This is to announce the release of LUV v2.1-rc1. It can be retrieved
from
here:
https://download.01.org/linux-uefi-validation/v2.1/
and the sha256 sums can be found here:
https://download.01.org/linux-uefi-validation/v2.1/sha256_sums.asc
This time you can notice that we have released images to boot from disk
for 32-bit and 64-bit x86 architectures. Also, a 64-bit for x86 image to
boot from network is provided. You can get more details on how to boot
these images from the README file that accompany the image.
== Highlights
* Naresh Bhat reworked our kernel recipe to improve readability and
maintainability.
* Megha Dey worked on bumping the kernel to v4.5 and updating the
testing and management tool for non-volatile DIMMs, NDCTL, to v50.
* Sai Praneeth Prakhya updated the kernel configuration to include
support for X2APIC. This is useful mainly when booting servers where we
can have lots interrupt lines.
* Write errors seen in GRUB when running bits due to a buffer alignment
problem was resolved.
* A new HTML test report is included. Now, in a single HTML file, we
include all the test information that previously was spread in separate
files. Every single test case now contains all of its execution details.
By clicking at any given test case, the report is expanded to reveal the
test details. Also, test names are colored by their pass/fail/skip
status, making them easier to spot.
* Miscellaneous bug and warning fixes at runtime and build time
Our build infrastructure is up and running. You will notice a
https://download.01.org/linux-uefi-validation/v2.1/nightly archive. This
archive contains images generated on periodic basis (nightly or weekly
or whenever there are updates to our master and release branches). This
will give access to early features without having to wait until a new
release is out. Soon, we will have images based on Linux v4.6 and FWTS
V16.06.00, which was out a couple of days ago.
== Fixed bugs
Bump Linux to v4.5 https://github.com/01org/luv-yocto/issues/80
NDCTL recipe needs version https://github.com/01org/luv-yocto/issues/77
WARNING: QA Issue while building the live image
https://github.com/01org/luv-yocto/issues/65
Python failure when writing BITS results
https://github.com/01org/luv-yocto/issues/73
== Known issues
* When running FWTS in 32-bit x86 system, the test suite takes an
abnormal amount of time to run. Along with this, the non-maskable
interrupt (NMI) watchdog will issue warnings about locked-up CPUs.
* Due to discrepancies in the version of Linux and NDCTL, the
test-libndctl test fails with the following message:
[ 223.484594] nd_pmem namespace8.0: unable to guarantee persistence of
writes
[ 223.622812] nd_pmem namespace8.0: region8 read-only, marking pmem8
read-only
[ 223.650508] pmem8: detected capacity change from 0 to 33554432
[ 225.261771] [-] ndctl
[ 225.273621] [+] test-libndctl... 1 failures!
This is fixed once we bump to Linux v4.6.
Here is the shortlog of the meta-luv layer:
Gayatri Kammela (1):
luv-efi.bblcass: Remove the commented out line from the file
Megha Dey (7):
linux-yocto-efi-test: Update recipe for Linux v4.5
linux-yocto-efi-test: Update linux-libc-headers
ndctl: bump to version 50(v50)
ndctl: Include package version in the recipe
ndctl: build test suite only for 64 bit systems
ndctl: fix build where /bin/sh is not a link to bash
ndctl: do not build the documentation
Naresh Bhat (4):
linux-yocto-efi-test: generalize across architecture
linux-yocto-efi-test: Update acpi.cfg
luv-efi: Update AArch64 filename convention
grub: Change the grub image name to bootaa64.efi
Ricardo Neri (42):
chipsec: set COMPATIBLE_HOST variable
ovmf: update OVMF source revision
linux-yocto-efi-test: Remove __init modifier from
efi_mem_desc_lookup
luv-test: convert do_install_runner into an append of do_install
ndctl: back-port implementation of optional documentation
efivarfs: add runtime dependency on e2fsprogs
fwts: bump to V16.05.01
bits: grub: efidisk: respect block_io_protocol buffer alignment
grub: efidisk: respect block_io_protocol buffer alignment
ovmf: update OVMF source revision
luv-test-parser: update schema description
luv-test-parser: correct description of tag data
luv-test-parser: add support to process warnings
luv-test-manager: count warnings issued by the luv test parser
ndctl: parser: use the 'warns' field to report errors
chipsec: parser: report errors and warnings correctly
chipsec: parser: report test cases that issue warnings
fwts: parser: correct emission of the RESULT tag
kernel-efi-warnings: use a function for pattern searching
kernel-efi-warnings: search dmesg for Firmware Bug/Warn/Info
kernel-efi-warnings: parser: emit the START and END tags
kernel-efi-warnings: parser: emit all the test cases' info
efivarfs: parser: emit START and END tags
efivarfs: parser: emit all the test cases' info
ndctl: parser: emit START and END tags
ndctl: parser: emit all the test cases' info
bits: parser: emit the START and END tags
bits: emit all the test cases' info
chipsec: parser: emit the START and END tags
chipsec: parser: count the test cases' results before emitting
status
chipsec: parser: emit all the test cases' info
fwts: parser: emit the START and END tags
fwts: parser: emit all the test cases' info
luv-test-parser: use the START tag
luv-test-parser: add functions to generate HTML content
luv-test-parser: create an HTML container for the test suite
results
luv-test-parser: save test result in a variable
luv-test-parser: put test case info into HTML div elements
luv-test-manager: remove unneeded tees
initscripts: add files for base HTML code generation
luv-test-manager: refactor HTML test report generation
LUV v2.1-rc1
Sai Praneeth (1):
kernel: linux-yocto-efi-test: Add linux_quirks.cfg file
Sai Praneeth Prakhya (1):
ovmf: linux-yocto-efi-test: Enable BGRT
Thanks and BR,
Ricardo
6 years
[ [V0 PATCH] 0/5] LUV: Netboot compilation for ARM64
by Naresh Bhat
The below set of 5 patches are preparatory patch set to support and
build the LUV network boot project[1] for AArch64 architecture.
These set of patches add support for network boot image compilation
and generate luv netboot image for AArch64 architecture.
- How to build the project
You need to add DISTRO ?= "luv-netboot" in local.conf file.
You need to add <project-path>/meta-luv layer in bblayers.conf file.
You need to execute the command "bitbake luv-netboot-image" to generate
the luv-netboot-image.img which is softlinked to bootaa64.efi image.
[1]: https://lists.01.org/pipermail/luv/2016-February/000895.html
Naresh Bhat (5):
luv-netboot-image: Remove BITS dependency on AArch64
luv-netboot-image: Use _RDEPENDS variable
luv-netboot-image: Fix HDDDIR as install path for DEST
luv-netboot-image: Condition around efi populate bits
luv-netboot-image: Fix luv netboot image efi soft link
meta-luv/classes/luv-efi.bbclass | 12 ++++++++++++
meta-luv/recipes-core/images/luv-netboot-image.bb | 17 ++++++++++++-----
2 files changed, 24 insertions(+), 5 deletions(-)
--
1.7.9.5
6 years
[PATCH] fwts: bump to V16.06.00
by Ricardo Neri
Update FWTS to version V16.06.00.
Signed-off-by: Ricardo Neri <ricardo.neri-calderon(a)linux.intel.com>
---
meta-luv/recipes-core/fwts/fwts_git.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-luv/recipes-core/fwts/fwts_git.bb b/meta-luv/recipes-core/fwts/fwts_git.bb
index 2a5f2ef..1060901 100644
--- a/meta-luv/recipes-core/fwts/fwts_git.bb
+++ b/meta-luv/recipes-core/fwts/fwts_git.bb
@@ -4,9 +4,9 @@ HOMEPAGE = "https://wiki.ubuntu.com/Kernel/Reference/fwts"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=16;md5=31da590f3e9f3bd34dcdb9e4db568519"
-PV = "V16.05.01+git${SRCPV}"
+PV = "V16.06.00+git${SRCPV}"
-SRCREV = "d643cf87952746aad4fc0030518b1fd095ad0aa2"
+SRCREV = "50f27cbae85ae7243a35f47f1768eec5bfb3cb90"
SRC_URI = "git://kernel.ubuntu.com/hwe/fwts.git \
file://luv-parser-fwts \
"
--
2.8.1
6 years
[[Luv V1 PATCH] 0/2] LUV: Netboot support for ARM64
by Naresh Bhat
The patches modified by considering the changes suggested on [1] and [2].
The patches are used for luv-netboot-image generation for AArch64.
[1] - https://lists.01.org/pipermail/luv/2016-June/001166.html
[2] - https://lists.01.org/pipermail/luv/2016-June/001172.html
V0->V1:
- Rename bootimg_depends() as get_bits_depends() for _BITSDEPENDS variable
- Remove MLPREFIX variable
- Move do_deploy to python function
- Rename bootimg_depends() as get_grub_depends for _RDEPENDS variable
Naresh Bhat (2):
luv-netboot-image: Remove BITS dependency on AArch64
luv-netboot-image: Use _RDEPENDS variable
meta-luv/classes/luv-efi.bbclass | 15 +++++++++++++--
meta-luv/recipes-core/images/luv-netboot-image.bb | 4 ++--
2 files changed, 15 insertions(+), 4 deletions(-)
--
1.7.9.5
6 years
Firmware Test Suite 16.06.00 is released
by ivanhu
FWTS 16.06.00 is released.
It is available from:
Tar: http://fwts.ubuntu.com/release/fwts-V16.06.00.tar.gz
PPA:
https://launchpad.net/~firmware-testing-team/+archive/ubuntu/ppa-fwts-stable
Release notes:
https://wiki.ubuntu.com/FirmwareTestSuite/ReleaseNotes/16.06.00
= New Features =
* acpi: method: acpi 6.0 adds USB-C Connection to _UPC
* acpi: method: add _WPP method test (introduced in ACPI 6.1)
* acpi: method: add _WPC method test (introduced in ACPI 6.1)
* ACPICA: Update to version 20160527
* acpi: hest: Add GHESv2 checking (LP: #1587624)
* lib: acpi: Add support for HEST GHESv2
= Fixed Bugs =
* lib: replace hardcoded size=1 in calloc by sizeof(char)
* dmi: dmicheck: remove chassis check with acpi pm_profile
* acpi: method: update _GCP test according to ACPI 6.1
* acpi: einj: erst: update serialization action for ACPI 6.1
* dmi: dmicheck: fix typo: SBMBIOS should be SMBIOS
* Rename fwts_log_*_verbatum to fwts_log_*_verbatim
* lib: fwts_ipmi: don't close a -ve fd on error exit return path
* lib: fwts_ipmi: remove redundant for loop
* lib: fwts_devicetree: fix memory leak on data
* devicetree: dt_base: fix resource leak on error exit paths
* lib: fwts_arch: set len to 1 to ensure space for '\0'
* lib: fwts_args: clean up some scan-build warnings
* devicetree/dt_sysinfo: report FWTS_ERROR on non-null termimated
property
* src/utilities/kernelscan: fix parsing of escaped C strings
* lib: fwts_olog.h: fix include guard
* devicetree/dt_sysinfo: Add OPAL reference compatible checks
* efi_runtime: changing naming convention without p for pointer
* lib: fwts_uefi: update uefi status codes to UEFI 2.6
* uefirtvariable: modify getnextvariablename test for
!VariableNameSize smaller than 2 (LP: #1593597)
= Detail Changelog =
To check /usr/share/doc/fwts/changelog.Debian.gz or
fwts_16.06.00-0ubuntu1.debian.tar.gz from
https://launchpad.net/ubuntu/+source/fwts
Cheers,
Ivan
6 years
[PATCH] .gitignore: do not ignore files under meta-luv layer
by Ricardo Neri
Exclude meta-luv from the ignored filename patterns. This has multiple
benefits. We can git add files without the need to specify the -f option.
Also, we can do git clean and get rid of unwanted files under meta-luv.
We can even do git status and see any unstaged files.
This patch violates our mantra of not changing anything outside the
meta-luv layer. However, I deem the benefits outweight the costs and
this is a fairly trivial patch for which merge conflicts will be easily
resolved.
Signed-off-by: Ricardo Neri <ricardo.neri-calderon(a)linux.intel.com>
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index 036ad09..21794c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,6 +14,7 @@ hob-image-*.bb
*.orig
*.rej
*~
+!meta-luv
!meta-yocto
!meta-yocto-bsp
!meta-yocto-imported
--
2.8.1
6 years
[PATCH 0/3] Update NDCTL version to version 52(v52)
by Megha Dey
From: Megha Dey <megha.dey(a)linux.intel.com>
The following configs are required to build the nvdimm modules post linux v4.5:
CONFIG_ND_PFN=m
CONFIG_MEMORY_HOTPLUG=y
CONFIG_MEMORY_HOTREMOVE=y
CONFIG_ZONE_DEVICE=y
CONFIG_ND_PFN=m
CONFIG_NVDIMM_PFN=y
CONFIG_NVDIMM_DAX=y
CONFIG_DEV_DAX=m
CONFIG_DEV_DAX_PMEM=m
CONFIG_TRANSPARENT_HUGEPAGE=y
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
CONFIG_BOOTPARAM_HOTPLUG_CPU0=y
CONFIG_DEBUG_HOTPLUG_CPU0=y
CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
CONFIG_CMA=y
CONFIG_EXPERT=y
Most of these were introduced in kernel v4.6. As we have updated the LUV
kernel to v4.6, we have to add these configs else there will be compile time
errors or problems when running the NDCTL testsuite.
LUV currently uses linux 4.6. The corresponding NDCTL version is v52. Hence,
updating the SRCREV and PV variable to reflect its version accordingly. Also,
this patch makes sure that all the SRC_URI patches are applied correctly on
the v52 NDCTL.
Lastly, For modularity, the NVDIMM testing modules are moved out of the kernel
recipe. A separate recipe is created under meta-luv/recipes-kernel.
This separate recipe inherits from module.bbclass and is based on
yocto's recipe for building external modules. This also has the
advantage of moving the build artifacts out of the kernel-source tree.
This patch addresses the following issue:
https://github.com/01org/luv-yocto/issues/79
Megha Dey (3):
nvdimm: Move NVDIMM testing modules out of kernel recipe
linux-efi-yocto-test: update NDCTL config fragments
ndctl: bump to version 52(v52)
...uild-on-systems-where-bin-sh-is-not-a-lin.patch | 22 ++++-----
...-ndctl-Disable-building-the-documentation.patch | 53 ++++++++++++++++++++++
...dctl-add-disable-docs-option-to-configure.patch | 50 --------------------
...-ndctl-Disable-building-the-documentation.patch | 53 ----------------------
meta-luv/recipes-core/ndctl/ndctl_git.bb | 8 ++--
.../linux/linux-yocto-efi-test/debug.cfg | 1 +
.../linux/linux-yocto-efi-test/ndctl.cfg | 15 ++++++
.../linux/linux-yocto-efi-test_4.5.bb | 11 +----
meta-luv/recipes-kernel/nvdimm/files/Makefile | 5 ++
meta-luv/recipes-kernel/nvdimm/nvdimm-test.bb | 14 ++++++
10 files changed, 104 insertions(+), 128 deletions(-)
create mode 100644 meta-luv/recipes-core/ndctl/ndctl/0002-ndctl-Disable-building-the-documentation.patch
delete mode 100644 meta-luv/recipes-core/ndctl/ndctl/0002-ndctl-add-disable-docs-option-to-configure.patch
delete mode 100644 meta-luv/recipes-core/ndctl/ndctl/0003-ndctl-Disable-building-the-documentation.patch
create mode 100644 meta-luv/recipes-kernel/nvdimm/files/Makefile
create mode 100644 meta-luv/recipes-kernel/nvdimm/nvdimm-test.bb
--
1.9.1
6 years