[PATCH v2 0/4] Store results to central location when booting from network
by Gayatri Kammela
Hi,
This is the version 2 of the patch series addressing the issue about storage of
results when an user boots luv via netboot. This feature lets you store the copy
of the results in a server/website and script is added to luv to allow users to
pass the url of the server as an argument.
Instructions for setting up the server and handling the uploads will be provided
in the documentation.
This feature resolves the issue https://github.com/01org/luv-yocto/issues/74
Changes since v1:
1) Added comments to the luv_netboot_script.py tobe more verbose.
2) Removes the unnecessary comments, checked indentation.
3) Modified luv-netboot-results to print the error messages on psplash screen.
Gayatri Kammela (4):
luv-netboot-results: Add a new file 'luv-netboot-results'
initscripts_1.0.bbappend: Add luv-netboot-results file to bin
directory
luv-test-manager: Source the luv-netboot-results file from bin
directory
meta-luv/utils/: Add a new file "luv_netboot_script.py" to luv
.../initscripts/initscripts/luv-netboot-results | 60 ++++++++++++++
.../initscripts/initscripts/luv-test-manager | 1 +
.../initscripts/initscripts_1.0.bbappend | 7 +-
meta-luv/utils/luv_netboot_script.py | 92 ++++++++++++++++++++++
4 files changed, 159 insertions(+), 1 deletion(-)
create mode 100644 meta-luv/recipes-core/initscripts/initscripts/luv-netboot-results
create mode 100755 meta-luv/utils/luv_netboot_script.py
--
2.7.4
5 years, 9 months
[PATCH v3 0/8] Luv: Add luv.cfg file to luv-live-image and luv-netboot-image
by Gayatri Kammela
Hi ,
This is the version 3 of the patch series to add luv.cfg file to both the image
recipes(luv-live-image and luv-netboot-image) in LUV. This file will be
available in boot partition in luv disk boot image and it will be integrated
in luv-netboot-image.
This file comes in handy to modify and give the parameters of your choice for
instance netconsole and url.
In long run, this file can be placed in results partition so that it will be
easier for users who boot luv in windows.
Changes since v2:
1)Modifies luv-live-image and luv-netboot-image to drop the APPEND and use
LUVCFG instead.
2)Rearrange the order of the patches so that no conflicts arises while merging.
Changes since v1:
1)Modifies luv.cfg file to add description of the file.
2)Modifies APPEND line for url in both image recipes.
Gayatri Kammela (8):
recipes-core/images: Modify the style of luv_netconsole in the image
recipes
recipes-core/images: Modify the image recipes to add 'LUV_STORAGE_URL'
parameter
luv-efi.bbclass: Create a new file 'luv.cfg'
grub-efi: Enable source command in grub
grub_git: Enable source command in grub
luv-efi.bblcass: Source the luv.cfg to the grub.cfg file
luv-live-image: Build luv_cfg function in luv-live-image recipe
luv-netboot-image.bb: Populate luv.cfg and build it in netboot recipe
meta-luv/classes/luv-efi.bbclass | 51 +++++++++++++++++++++--
meta-luv/recipes-bsp/grub/grub-efi_2.00.bbappend | 2 +-
meta-luv/recipes-core/images/luv-live-image.bb | 7 +++-
meta-luv/recipes-core/images/luv-netboot-image.bb | 5 ++-
meta/recipes-bsp/grub/grub_git.bb | 2 +-
5 files changed, 59 insertions(+), 8 deletions(-)
--
2.7.4
5 years, 9 months
[PATCH 1/2] luv-netboot-image: Remove extra space
by Naresh Bhat
There is an extra space in the install statement. This patch
remove the same.
Signed-off-by: Naresh Bhat <naresh.bhat(a)linaro.org>
---
meta-luv/recipes-core/images/luv-netboot-image.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-luv/recipes-core/images/luv-netboot-image.bb b/meta-luv/recipes-core/images/luv-netboot-image.bb
index 250c625..e14da36 100644
--- a/meta-luv/recipes-core/images/luv-netboot-image.bb
+++ b/meta-luv/recipes-core/images/luv-netboot-image.bb
@@ -38,7 +38,7 @@ do_mkimage[depends] += "${EXTRABOOTIMGDEPS} \
do_bootimg[noexec] = "1"
do_populate_image() {
- install -d ${HDDDIR}${EFIDIR}
+ install -d ${HDDDIR}${EFIDIR}
if [ "${TARGET_ARCH}" != "aarch64" ]; then
efi_populate_bits ${HDDDIR}
fi
--
1.7.9.5
5 years, 10 months
[PATCH] luv-netboot-image: Fix HDDDIR
by Naresh Bhat
This patch fix the HDDDIR. Which basically install bootaa64.efi,
startup.nsh under EFI/BOOT directory.
Signed-off-by: Naresh Bhat <naresh.bhat(a)linaro.org>
---
meta-luv/recipes-core/images/luv-netboot-image.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta-luv/recipes-core/images/luv-netboot-image.bb b/meta-luv/recipes-core/images/luv-netboot-image.bb
index 250c625..842809a 100644
--- a/meta-luv/recipes-core/images/luv-netboot-image.bb
+++ b/meta-luv/recipes-core/images/luv-netboot-image.bb
@@ -38,9 +38,12 @@ do_mkimage[depends] += "${EXTRABOOTIMGDEPS} \
do_bootimg[noexec] = "1"
do_populate_image() {
- install -d ${HDDDIR}${EFIDIR}
+ install -d ${HDDDIR}${EFIDIR}
if [ "${TARGET_ARCH}" != "aarch64" ]; then
efi_populate_bits ${HDDDIR}
+ else
+ echo "bootaa64.efi" > ${HDDDIR}${EFIDIR}/startup.nsh
+ cp ${DEPLOY_DIR_IMAGE}/bootaa64.efi ${HDDDIR}${EFIDIR}
fi
install -m 0644 ${GRUBCFG} ${HDDDIR}${EFIDIR}
build_hddimg
--
1.7.9.5
5 years, 10 months
[PATCH] fwts: bump to v16.08.01
by Gayatri Kammela
Update FWTS to version v16.08.01
Signed-off-by: Gayatri Kammela <gayatri.kammela(a)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 b20da5954907..4062c91063a7 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.07.00+git${SRCPV}"
+PV = "V16.08.01+git${SRCPV}"
-SRCREV = "3d7ce24d224a7ca35baede5ca2c8dc806decf66e"
+SRCREV = "57c2725ecf57e2249a662543651d9d8458b471c2"
SRC_URI = "git://kernel.ubuntu.com/hwe/fwts.git \
file://luv-parser-fwts \
"
--
2.7.4
5 years, 10 months
Firmware Test Suite 16.08.01 is released
by Alex Hung
FWTS 16.08.01 is released.
It is available from:
Tar: http://fwts.ubuntu.com/release/fwts-V16.08.01.tar.gz
PPA: https://launchpad.net/~firmware-testing-team/+archive/ubuntu/ppa-fwts
-stable
Release notes: https://wiki.ubuntu.com/FirmwareTestSuite/ReleaseNotes/16.08.
01
= New Features =
* acpi: nfit: add ACPI NFIT test
* lib: acpi: add support for MPST
* acpi: mpst: add ACPI MPST test
* lib: acpi: add support for PMTT
* acpi: pmtt: add ACPI PMTT test
* ACPICA: Update to version 20160729
= Fixed Bugs =
* fwts: update .gitignore for files generated by "make check"
* acpi: madt: fix memory leak on return paths
* acpi: pmtt: fix incorrect assignment on passed
* acpi: dmar: fix portability warning from cppcheck on void * cast
* acpi: dbg2: remove alloca(), replace with variable length array
* acpi: madt: reduce scope of variable 'listint'
* acpica: fwts_iasl_interface: reduce scope of variable 'i'
* lib: fwts_smbios: reduce scope of variable 'mapped_entry'
* lib: fwts_klog: reduce scope of variable 'old'
* lib: fwts_iasl: reduce scope of variable 'ret'
* lib: fwts_cpu: fix missing { } on an if statement
* devicetree: dt_sysinfo: reduce scope of variables 'model_buf' and
'compat_buf'
* cpu: cpufreq: reduce scope of variable 'i'
* lib: fwts_smbios: fix portability warning from cppcheck on void * cast
* lib: fwts_alloc: fix portability warnings from cppcheck on void *
arithmetic
* efi_runtime: call kfree directly instead of inline wrapper
* efi_runtime: add datasize return when getting the EFI_BUFFER_TOO_SMALL
* efi_runtime: fix memory leak of capsulecaps function
* efi_runtime: clean up some comments and unused code
* efi_runtime: add chceking the len for reading userspace memory
* efi_runtime: add checking variable_name input
* acpi/nfit: Fix endless loop on broken NFIT tables
* acpi: bert: do not fail if BERT error region raw_data_length is zero
* acpi: nfit: change %x to marco PRIx32 for portability
* auto-packager: mkpackage.sh: remove wily
* acpi: pcct: fix incorrect printing length for PRIx64
* acpica: rename vsnprintf and sprintf in utprint.c to avoid name clash
conflicts
= Detail Changelog =
To check /usr/share/doc/fwts/changelog.Debian.gz or
fwts_16.08.01-0ubuntu1.debian.tar.gz from
https://launchpad.net/ubuntu/+source/fwts
5 years, 10 months
[PATCH] fwts: bump to v16.07.00
by Gayatri Kammela
Update FWTS to version v16.07.00
Signed-off-by: Gayatri Kammela <gayatri.kammela(a)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 1060901aeef0..b20da5954907 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.06.00+git${SRCPV}"
+PV = "V16.07.00+git${SRCPV}"
-SRCREV = "50f27cbae85ae7243a35f47f1768eec5bfb3cb90"
+SRCREV = "3d7ce24d224a7ca35baede5ca2c8dc806decf66e"
SRC_URI = "git://kernel.ubuntu.com/hwe/fwts.git \
file://luv-parser-fwts \
"
--
1.9.1
5 years, 10 months
[PATCH 0/4] Store results to central location when booting from network
by Gayatri Kammela
Hi,
This is the patch series addressing the issue about storage of results when an
user boots luv via netboot. This feature lets you store the copy of the results
in a server/website and script is added to luv to allow users to pass the url of the
server as an argument.
Instructions for setting up the server and handling the uploads will be provided
in the documentation.
This feature resolves the issue https://github.com/01org/luv-yocto/issues/74
Gayatri Kammela (4):
luv-netboot-results: Add a new file 'luv-netboot-results'
initscripts_1.0.bbappend: Add luv-netboot-results file to bin
directory
luv-test-manager: Source the luv-netboot-results file from bin
directory
meta-luv/utils: Add a new file "luv_script_net_image.py" to luv
.../initscripts/initscripts/luv-netboot-results | 74 ++++++++++++++++++++++
.../initscripts/initscripts/luv-test-manager | 2 +
.../initscripts/initscripts_1.0.bbappend | 9 ++-
meta-luv/utils/luv_script_net_image.py | 74 ++++++++++++++++++++++
4 files changed, 157 insertions(+), 2 deletions(-)
create mode 100644 meta-luv/recipes-core/initscripts/initscripts/luv-netboot-results
create mode 100755 meta-luv/utils/luv_script_net_image.py
--
1.9.1
5 years, 10 months
[PATCH v2 0/8] Luv: Add luv.cfg file to luv-live-image and luv-netboot-image
by Gayatri Kammela
This is the patch series to add luv.cfg file to both the image recipes
(luv-live-image and luv-netboot-image) in LUV. This is file will be
available in boot partition in luv disk boot image and it will be
integrated in luv- netboot image.
This file comes in handy to modify and give the parameters of your choice
for instance netconsole and url
In long run, this file can be placed in results partition so that it will be much
easier for users who boot luv in windows
Changes since v1:
1)Modified luv.cfg file to add description of the file
2) Modified APPEND lines of both url and email in both image recipes
Gayatri Kammela (8):
luv-efi.bbclass: Remove the netconsole parameter from the grub.cfg
luv-live-image.bb: Add url as a kernel parameter to the image
luv-netboot-image.bb: Update url kernel parameter
luv-efi.bbclass: Create a new file 'luv.cfg'
luv-efi.bblcass: Source the luv.cfg to the grub.cfg file
luv-live-image.bb: Build luv_cfg function in luv-live-image recipe
luv-netboot-image.bb: Populate luv.cfg and build it in netboot recipe
grub-efi_2.00.bbappend: Enable source command in grub
meta-luv/classes/luv-efi.bbclass | 49 +++++++++++++++++++++--
meta-luv/recipes-bsp/grub/grub-efi_2.00.bbappend | 2 +-
meta-luv/recipes-core/images/luv-live-image.bb | 8 +++-
meta-luv/recipes-core/images/luv-netboot-image.bb | 6 ++-
4 files changed, 58 insertions(+), 7 deletions(-)
--
1.9.1
5 years, 10 months