* [PATCH v5 0/5] UBI support
@ 2019-02-11 9:09 claudius.heine.ext
2019-02-11 9:09 ` [PATCH v5 1/5] meta/image.bbclass: add image_do_mounts for image specific mounts claudius.heine.ext
` (7 more replies)
0 siblings, 8 replies; 22+ messages in thread
From: claudius.heine.ext @ 2019-02-11 9:09 UTC (permalink / raw)
To: isar-users; +Cc: Claudius Heine
From: Claudius Heine <ch@denx.de>
Hi,
fifth version of the UBI support for isar.
Claudius
Chagnes form v4:
- Moved "doc/user: added targz-img to image type list" patch to own
submission
- Move path mounting into image.bbclass
Changes from v3:
- Moved dtb copy function into main `do_copy_boot_files` (feedback from
Henning)
- some minor fixes
Changes from v2:
- added fit image support patch
- moved to new templating system
- refactored `copy_boot_files` of isar-image-ubi
Changes from v1:
- fixed license header
- removed ubifs test since it is included in the ubi test
- merged ubifs and ubi patchset
- renamed qemusabrelite to nand-ubi-demo
- added nand-ubi-demo to ci build
- added some entries for ubi/ubifs support in manu\x02
Claudius Heine (5):
meta/image.bbclass: add image_do_mounts for image specific mounts
meta/classes: added ubifs-img class
meta/classes: added ubi-img class
meta/classes: added fit-img class for creation of fit images
meta-isar: added nand-ubi-demo example to demonstrate UBI use
doc/user_manual.md | 3 +
meta-isar/classes/ubi-ubifs-img.bbclass | 10 ++++
meta-isar/conf/local.conf.sample | 1 +
meta-isar/conf/machine/nand-ubi-demo.conf | 13 +++++
.../multiconfig/nand-ubi-demo-buster.conf | 13 +++++
.../images/files/fitimage.its.tmpl | 58 +++++++++++++++++++
.../images/files/ubinize.cfg.tmpl | 17 ++++++
.../recipes-core/images/isar-image-ubi.bb | 26 +++++++++
meta/classes/fit-img.bbclass | 32 ++++++++++
meta/classes/image.bbclass | 35 ++++++++++-
meta/classes/ubi-img.bbclass | 35 +++++++++++
meta/classes/ubifs-img.bbclass | 30 ++++++++++
scripts/ci_build.sh | 1 +
13 files changed, 273 insertions(+), 1 deletion(-)
create mode 100644 meta-isar/classes/ubi-ubifs-img.bbclass
create mode 100644 meta-isar/conf/machine/nand-ubi-demo.conf
create mode 100644 meta-isar/conf/multiconfig/nand-ubi-demo-buster.conf
create mode 100644 meta-isar/recipes-core/images/files/fitimage.its.tmpl
create mode 100644 meta-isar/recipes-core/images/files/ubinize.cfg.tmpl
create mode 100644 meta-isar/recipes-core/images/isar-image-ubi.bb
create mode 100644 meta/classes/fit-img.bbclass
create mode 100644 meta/classes/ubi-img.bbclass
create mode 100644 meta/classes/ubifs-img.bbclass
--
2.20.1
^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH v5 1/5] meta/image.bbclass: add image_do_mounts for image specific mounts
2019-02-11 9:09 [PATCH v5 0/5] UBI support claudius.heine.ext
@ 2019-02-11 9:09 ` claudius.heine.ext
2019-02-11 10:49 ` chombourger
2019-02-11 9:09 ` [PATCH v5 2/5] meta/classes: added ubifs-img class claudius.heine.ext
` (6 subsequent siblings)
7 siblings, 1 reply; 22+ messages in thread
From: claudius.heine.ext @ 2019-02-11 9:09 UTC (permalink / raw)
To: isar-users; +Cc: Claudius Heine
From: Claudius Heine <ch@denx.de>
Signed-off-by: Claudius Heine <ch@denx.de>
---
meta/classes/image.bbclass | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index d8fbfd5..bec62cd 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -14,6 +14,27 @@ IMAGE_FULLNAME = "${PN}-${DISTRO}-${MACHINE}"
KERNEL_IMAGE ?= "${@get_image_name(d, 'vmlinuz')[1]}"
INITRD_IMAGE ?= "${@get_image_name(d, 'initrd.img')[1]}"
+# Useful variables for imager implementations:
+PP = "/home/builder/${PN}"
+PP_DEPLOY = "${PP}/deploy"
+PP_ROOTFS = "${PP}/rootfs"
+PP_WORK = "${PP}/work"
+
+BUILDROOT = "${BUILDCHROOT_DIR}${PP}"
+BUILDROOT_DEPLOY = "${BUILDCHROOT_DIR}${PP_DEPLOY}"
+BUILDROOT_ROOTFS = "${BUILDCHROOT_DIR}${PP_ROOTFS}"
+BUILDROOT_WORK = "${BUILDCHROOT_DIR}${PP_WORK}"
+
+image_do_mounts() {
+ sudo flock ${MOUNT_LOCKFILE} -c ' \
+ mkdir -p "${BUILDROOT_DEPLOY}" "${BUILDROOT_ROOTFS}" "${BUILDROOT_WORK}"
+ mount --bind "${DEPLOY_DIR_IMAGE}" "${BUILDROOT_DEPLOY}"
+ mount --bind "${IMAGE_ROOTFS}" "${BUILDROOT_ROOTFS}"
+ mount --bind "${WORKDIR}" "${BUILDROOT_WORK}"
+ '
+ buildchroot_do_mounts
+}
+
inherit ${IMAGE_TYPE}
# Extra space for rootfs in MB
--
2.20.1
^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH v5 2/5] meta/classes: added ubifs-img class
2019-02-11 9:09 [PATCH v5 0/5] UBI support claudius.heine.ext
2019-02-11 9:09 ` [PATCH v5 1/5] meta/image.bbclass: add image_do_mounts for image specific mounts claudius.heine.ext
@ 2019-02-11 9:09 ` claudius.heine.ext
2019-02-11 9:09 ` [PATCH v5 3/5] meta/classes: added ubi-img class claudius.heine.ext
` (5 subsequent siblings)
7 siblings, 0 replies; 22+ messages in thread
From: claudius.heine.ext @ 2019-02-11 9:09 UTC (permalink / raw)
To: isar-users; +Cc: Claudius Heine
From: Claudius Heine <ch@denx.de>
This class adds support for UBIFS file system images.
Signed-off-by: Claudius Heine <ch@denx.de>
---
doc/user_manual.md | 1 +
meta/classes/ubifs-img.bbclass | 30 ++++++++++++++++++++++++++++++
2 files changed, 31 insertions(+)
create mode 100644 meta/classes/ubifs-img.bbclass
diff --git a/doc/user_manual.md b/doc/user_manual.md
index 11a0576..ebaf54c 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -476,6 +476,7 @@ Isar contains additional image type classes that can be used as reference:
- `ext4-img`
- `rpi-sdimg`
- `targz-img`
+ - `ubifs-img`
- `wic-img`
---
diff --git a/meta/classes/ubifs-img.bbclass b/meta/classes/ubifs-img.bbclass
new file mode 100644
index 0000000..ed37357
--- /dev/null
+++ b/meta/classes/ubifs-img.bbclass
@@ -0,0 +1,30 @@
+# This software is a part of ISAR.
+# Copyright (C) Siemens AG, 2019
+#
+# SPDX-License-Identifier: MIT
+
+python() {
+ if not d.getVar("MKUBIFS_ARGS"):
+ bb.fatal("MKUBIFS_ARGS must be set")
+}
+
+inherit image
+
+UBIFS_IMAGE_FILE ?= "${IMAGE_FULLNAME}.ubifs.img"
+
+IMAGER_INSTALL += "mtd-utils"
+
+do_ubifs_image[stamp-extra-info] = "${DISTRO}-${MACHINE}"
+
+# Generate ubifs filesystem image
+do_ubifs_image() {
+ rm -f '${DEPLOY_DIR_IMAGE}/${UBIFS_IMAGE_FILE}'
+
+ image_do_mounts
+
+ # Create ubifs image using buildchroot tools
+ sudo chroot ${BUILDCHROOT_DIR} /usr/sbin/mkfs.ubifs ${MKUBIFS_ARGS} \
+ -r '${PP_ROOTFS}' '${PP_DEPLOY}/${UBIFS_IMAGE_FILE}'
+}
+
+addtask ubifs_image before do_build after do_copy_boot_files do_install_imager_deps
--
2.20.1
^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH v5 3/5] meta/classes: added ubi-img class
2019-02-11 9:09 [PATCH v5 0/5] UBI support claudius.heine.ext
2019-02-11 9:09 ` [PATCH v5 1/5] meta/image.bbclass: add image_do_mounts for image specific mounts claudius.heine.ext
2019-02-11 9:09 ` [PATCH v5 2/5] meta/classes: added ubifs-img class claudius.heine.ext
@ 2019-02-11 9:09 ` claudius.heine.ext
2019-02-11 9:09 ` [PATCH v5 4/5] meta/classes: added fit-img class for creation of fit images claudius.heine.ext
` (4 subsequent siblings)
7 siblings, 0 replies; 22+ messages in thread
From: claudius.heine.ext @ 2019-02-11 9:09 UTC (permalink / raw)
To: isar-users; +Cc: Claudius Heine
From: Claudius Heine <ch@denx.de>
This class implements a new image type for UBI formatted nand flashes.
Signed-off-by: Claudius Heine <ch@denx.de>
---
doc/user_manual.md | 2 ++
meta/classes/ubi-img.bbclass | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
create mode 100644 meta/classes/ubi-img.bbclass
diff --git a/doc/user_manual.md b/doc/user_manual.md
index ebaf54c..8081784 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -350,6 +350,7 @@ Isar can generate various images types for specific machine. The type of the ima
- `ext4` - Raw ext4 filesystem image (default option for `qemuarm` machine).
- `rpi-sdimg` - A complete, partitioned Raspberry Pi SD card image (default option for the `rpi` machine).
- `wic-img` - A full disk image with user-specified partitions created and populated using the wic tool.
+ - `ubi-img` - A image for use on mtd nand partitions employing UBI
---
@@ -477,6 +478,7 @@ Isar contains additional image type classes that can be used as reference:
- `rpi-sdimg`
- `targz-img`
- `ubifs-img`
+ - `ubi-img`
- `wic-img`
---
diff --git a/meta/classes/ubi-img.bbclass b/meta/classes/ubi-img.bbclass
new file mode 100644
index 0000000..f61a940
--- /dev/null
+++ b/meta/classes/ubi-img.bbclass
@@ -0,0 +1,35 @@
+# This software is a part of ISAR.
+# Copyright (C) Siemens AG, 2019
+#
+# SPDX-License-Identifier: MIT
+
+python() {
+ if not d.getVar("UBINIZE_ARGS"):
+ bb.fatal("UBINIZE_ARGS must be set")
+}
+
+UBINIZE_CFG ??= "ubinize.cfg"
+
+inherit image
+
+UBI_IMAGE_FILE ?= "${IMAGE_FULLNAME}.ubi.img"
+
+IMAGER_INSTALL += "mtd-utils"
+
+do_ubi_image[stamp-extra-info] = "${DISTRO}-${MACHINE}"
+
+# Generate ubi filesystem image
+do_ubi_image() {
+ if [ ! -e "${WORKDIR}/${UBINIZE_CFG}" ]; then
+ die "UBINIZE_CFG does not contain ubinize config file."
+ fi
+
+ rm -f '${DEPLOY_DIR_IMAGE}/${UBI_IMAGE_FILE}'
+
+ image_do_mounts
+
+ # Create ubi image using buildchroot tools
+ sudo chroot ${BUILDCHROOT_DIR} /usr/sbin/ubinize ${UBINIZE_ARGS} \
+ -o '${PP_DEPLOY}/${UBI_IMAGE_FILE}' '${PP_WORK}/${UBINIZE_CFG}'
+}
+addtask ubi_image before do_build after do_copy_boot_files do_install_imager_deps do_unpack do_transform_template
--
2.20.1
^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH v5 4/5] meta/classes: added fit-img class for creation of fit images
2019-02-11 9:09 [PATCH v5 0/5] UBI support claudius.heine.ext
` (2 preceding siblings ...)
2019-02-11 9:09 ` [PATCH v5 3/5] meta/classes: added ubi-img class claudius.heine.ext
@ 2019-02-11 9:09 ` claudius.heine.ext
2019-02-11 9:09 ` [PATCH v5 5/5] meta-isar: added nand-ubi-demo example to demonstrate UBI use claudius.heine.ext
` (3 subsequent siblings)
7 siblings, 0 replies; 22+ messages in thread
From: claudius.heine.ext @ 2019-02-11 9:09 UTC (permalink / raw)
To: isar-users; +Cc: Claudius Heine
From: Claudius Heine <ch@denx.de>
This class implements a new image type for FIT image creation.
Signed-off-by: Claudius Heine <ch@denx.de>
---
meta/classes/fit-img.bbclass | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 meta/classes/fit-img.bbclass
diff --git a/meta/classes/fit-img.bbclass b/meta/classes/fit-img.bbclass
new file mode 100644
index 0000000..edca09f
--- /dev/null
+++ b/meta/classes/fit-img.bbclass
@@ -0,0 +1,32 @@
+# This software is a part of ISAR.
+# Copyright (C) Siemens AG, 2019
+#
+# SPDX-License-Identifier: MIT
+
+MKIMAGE_ARGS ??= ""
+
+FIT_IMAGE_SOURCE ??= "fitimage.its"
+
+inherit image
+
+FIT_IMAGE_FILE ?= "${IMAGE_FULLNAME}.fit.img"
+
+IMAGER_INSTALL += "u-boot-tools device-tree-compiler"
+
+do_fit_image[stamp-extra-info] = "${DISTRO}-${MACHINE}"
+
+# Generate fit image
+do_fit_image() {
+ if [ ! -e "${WORKDIR}/${FIT_IMAGE_SOURCE}" ]; then
+ die "FIT_IMAGE_SOURCE does not contain fitimage source file"
+ fi
+
+ rm -f '${DEPLOY_DIR_IMAGE}/${FIT_IMAGE_FILE}'
+
+ image_do_mounts
+
+ # Create fit image using buildchroot tools
+ sudo chroot ${BUILDCHROOT_DIR} /usr/bin/mkimage ${MKIMAGE_ARGS} \
+ -f '${PP_WORK}/${FIT_IMAGE_SOURCE}' '${PP_DEPLOY}/${FIT_IMAGE_FILE}'
+}
+addtask fit_image before do_build after do_copy_boot_files do_install_imager_deps do_unpack do_transform_template
--
2.20.1
^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH v5 5/5] meta-isar: added nand-ubi-demo example to demonstrate UBI use
2019-02-11 9:09 [PATCH v5 0/5] UBI support claudius.heine.ext
` (3 preceding siblings ...)
2019-02-11 9:09 ` [PATCH v5 4/5] meta/classes: added fit-img class for creation of fit images claudius.heine.ext
@ 2019-02-11 9:09 ` claudius.heine.ext
2019-02-11 9:45 ` [PATCH v5 0/5] UBI support Henning Schild
` (2 subsequent siblings)
7 siblings, 0 replies; 22+ messages in thread
From: claudius.heine.ext @ 2019-02-11 9:09 UTC (permalink / raw)
To: isar-users; +Cc: Claudius Heine
From: Claudius Heine <ch@denx.de>
Signed-off-by: Claudius Heine <ch@denx.de>
---
meta-isar/classes/ubi-ubifs-img.bbclass | 10 ++++
meta-isar/conf/local.conf.sample | 1 +
meta-isar/conf/machine/nand-ubi-demo.conf | 13 +++++
.../multiconfig/nand-ubi-demo-buster.conf | 13 +++++
.../images/files/fitimage.its.tmpl | 58 +++++++++++++++++++
.../images/files/ubinize.cfg.tmpl | 17 ++++++
.../recipes-core/images/isar-image-ubi.bb | 26 +++++++++
meta/classes/image.bbclass | 14 ++++-
scripts/ci_build.sh | 1 +
9 files changed, 152 insertions(+), 1 deletion(-)
create mode 100644 meta-isar/classes/ubi-ubifs-img.bbclass
create mode 100644 meta-isar/conf/machine/nand-ubi-demo.conf
create mode 100644 meta-isar/conf/multiconfig/nand-ubi-demo-buster.conf
create mode 100644 meta-isar/recipes-core/images/files/fitimage.its.tmpl
create mode 100644 meta-isar/recipes-core/images/files/ubinize.cfg.tmpl
create mode 100644 meta-isar/recipes-core/images/isar-image-ubi.bb
diff --git a/meta-isar/classes/ubi-ubifs-img.bbclass b/meta-isar/classes/ubi-ubifs-img.bbclass
new file mode 100644
index 0000000..095719a
--- /dev/null
+++ b/meta-isar/classes/ubi-ubifs-img.bbclass
@@ -0,0 +1,10 @@
+# UBI with UBIFS image recipe
+#
+# This software is a part of ISAR.
+# Copyright (C) Siemens AG, 2019
+#
+# SPDX-License-Identifier: MIT
+
+inherit ubi-img ubifs-img fit-img
+addtask do_ubi_image after do_ubifs_image
+addtask do_ubi_image after do_fit_image
diff --git a/meta-isar/conf/local.conf.sample b/meta-isar/conf/local.conf.sample
index a671b20..519a15d 100644
--- a/meta-isar/conf/local.conf.sample
+++ b/meta-isar/conf/local.conf.sample
@@ -53,6 +53,7 @@ BBMULTICONFIG = " \
hikey-stretch \
qemuamd64-buster \
qemuamd64-buster-tgz \
+ nand-ubi-demo-buster \
rpi-jessie \
"
diff --git a/meta-isar/conf/machine/nand-ubi-demo.conf b/meta-isar/conf/machine/nand-ubi-demo.conf
new file mode 100644
index 0000000..e207d40
--- /dev/null
+++ b/meta-isar/conf/machine/nand-ubi-demo.conf
@@ -0,0 +1,13 @@
+# This software is a part of ISAR.
+# Copyright (C) Siemens AG, 2019
+#
+# SPDX-License-Identifier: MIT
+
+MACHINE_SERIAL ?= "ttymxc0"
+BAUDRATE_TTY ?= "115200"
+
+MKUBIFS_ARGS := "-m 0x1000 -e 0x3e000 -c 1500"
+UBINIZE_ARGS = "-vv -m 0x1000 -p 0x40000"
+IMAGE_TYPE ?= "ubi-ubifs-img"
+
+DTB_FILE = "imx6q-sabrelite.dtb"
diff --git a/meta-isar/conf/multiconfig/nand-ubi-demo-buster.conf b/meta-isar/conf/multiconfig/nand-ubi-demo-buster.conf
new file mode 100644
index 0000000..1c88f00
--- /dev/null
+++ b/meta-isar/conf/multiconfig/nand-ubi-demo-buster.conf
@@ -0,0 +1,13 @@
+# This software is a part of ISAR.
+# Copyright (C) Siemens AG, 2019
+#
+# SPDX-License-Identifier: MIT
+
+MACHINE ?= "nand-ubi-demo"
+
+DISTRO ?= "debian-buster"
+DISTRO_ARCH ?= "armhf"
+
+KERNEL_NAME ?= "armmp"
+
+IMAGE_INSTALL += "sshd-regen-keys"
diff --git a/meta-isar/recipes-core/images/files/fitimage.its.tmpl b/meta-isar/recipes-core/images/files/fitimage.its.tmpl
new file mode 100644
index 0000000..ca50f8f
--- /dev/null
+++ b/meta-isar/recipes-core/images/files/fitimage.its.tmpl
@@ -0,0 +1,58 @@
+/dts-v1/;
+
+/ {
+ description = "Configuration to of a fitimage";
+
+ images {
+ kernel {
+ description = "Linux kernel";
+ data = /incbin/("${KERNEL_IMG}");
+ type = "kernel";
+ arch = "arm";
+ os = "linux";
+ compression = "none";
+ load = <0x8000>;
+ entry = <0x8000>;
+ hash-1 {
+ algo = "sha256";
+ };
+ };
+
+ fdt {
+ description = "Device Tree";
+ data = /incbin/("${DTB_IMG}");
+ type = "flat_dt";
+ arch = "arm";
+ compression = "none";
+ hash-1 {
+ algo = "sha256";
+ };
+ };
+
+ initrd {
+ description = "Initial ram disk";
+ data = /incbin/("${INITRD_IMG}");
+ type = "ramdisk";
+ arch = "arm";
+ os = "linux";
+ compression = "none";
+ hash-1 {
+ algo = "sha256";
+ };
+ };
+ };
+
+ configurations {
+ default = "config-1";
+
+ config-1 {
+ description = "System boot configuration";
+ fdt = "fdt";
+ kernel = "kernel";
+ ramdisk = "initrd";
+ hash {
+ algo = "sha256";
+ };
+ };
+ };
+};
diff --git a/meta-isar/recipes-core/images/files/ubinize.cfg.tmpl b/meta-isar/recipes-core/images/files/ubinize.cfg.tmpl
new file mode 100644
index 0000000..005c1ae
--- /dev/null
+++ b/meta-isar/recipes-core/images/files/ubinize.cfg.tmpl
@@ -0,0 +1,17 @@
+[fitimage]
+mode=ubi
+image=${FIT_IMG}
+vol_id=1
+vol_type=static
+vol_name=fitimage
+vol_size=64MiB
+vol_alignment=1
+
+[rootfs]
+mode=ubi
+image=${UBIFS_IMG}
+vol_id=2
+vol_type=dynamic
+vol_name=rootfs
+vol_size=300MiB
+vol_alignment=1
diff --git a/meta-isar/recipes-core/images/isar-image-ubi.bb b/meta-isar/recipes-core/images/isar-image-ubi.bb
new file mode 100644
index 0000000..4b7e109
--- /dev/null
+++ b/meta-isar/recipes-core/images/isar-image-ubi.bb
@@ -0,0 +1,26 @@
+# UBI image recipe
+#
+# This software is a part of ISAR.
+# Copyright (C) Siemens AG, 2019
+#
+# SPDX-License-Identifier: MIT
+
+DESCRIPTION = "UBI Isar image"
+
+LICENSE = "gpl-2.0"
+LIC_FILES_CHKSUM = "file://${LAYERDIR_core}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe"
+
+inherit isar-image
+
+SRC_URI += "file://ubinize.cfg.tmpl \
+ file://fitimage.its.tmpl"
+
+TEMPLATE_VARS = "KERNEL_IMG INITRD_IMG DTB_IMG UBIFS_IMG FIT_IMG"
+TEMPLATE_FILES = "ubinize.cfg.tmpl fitimage.its.tmpl"
+
+KERNEL_IMG = "${PP_DEPLOY}/${KERNEL_IMAGE}"
+INITRD_IMG = "${PP_DEPLOY}/${INITRD_IMAGE}"
+DTB_IMG = "${PP_DEPLOY}/${DTB_FILE}"
+
+UBIFS_IMG = "${PP_DEPLOY}/${UBIFS_IMAGE_FILE}"
+FIT_IMG = "${PP_DEPLOY}/${FIT_IMAGE_FILE}"
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index bec62cd..338a6a1 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -102,7 +102,7 @@ do_mark_rootfs() {
"${IMAGE_ROOTFS}"
}
-addtask mark_rootfs before do_copy_boot_files after do_rootfs
+addtask mark_rootfs before do_copy_boot_files do_transform_template after do_rootfs
do_copy_boot_files() {
KERNEL_IMAGE=${@get_image_name(d, 'vmlinuz')[1]}
@@ -114,6 +114,18 @@ do_copy_boot_files() {
if [ -n "${INITRD_IMAGE}" ]; then
sudo cp -f ${IMAGE_ROOTFS}/boot/${@get_image_name(d, 'initrd.img')[0]} ${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}
fi
+
+ # Check DTB_FILE via inline python to handle unset case:
+ if [ -n "${@d.getVar('DTB_FILE', True) or ""}" ]; then
+ dtb="$(find '${IMAGE_ROOTFS}/usr/lib' -type f \
+ -iwholename '*linux-image-*/${DTB_FILE}' | head -1)"
+
+ if [ -z "$dtb" -o ! -e "$dtb" ]; then
+ die "${DTB_FILE} not found"
+ fi
+
+ cp -f "$dtb" "${DEPLOY_DIR_IMAGE}/${DTB_FILE}"
+ fi
}
addtask copy_boot_files before do_build after do_rootfs
diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index 1789183..f79d48b 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -115,6 +115,7 @@ else
multiconfig:qemuamd64-stretch:isar-image-base \
multiconfig:qemuamd64-buster:isar-image-base \
multiconfig:qemuamd64-buster-tgz:isar-image-base \
+ multiconfig:nand-ubi-demo-buster:isar-image-ubi \
multiconfig:rpi-jessie:isar-image-base
# qemu-user-static of <= buster too old to build that
#multiconfig:qemuarm64-buster:isar-image-base
--
2.20.1
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 0/5] UBI support
2019-02-11 9:09 [PATCH v5 0/5] UBI support claudius.heine.ext
` (4 preceding siblings ...)
2019-02-11 9:09 ` [PATCH v5 5/5] meta-isar: added nand-ubi-demo example to demonstrate UBI use claudius.heine.ext
@ 2019-02-11 9:45 ` Henning Schild
2019-02-12 11:24 ` Maxim Yu. Osipov
2019-02-15 14:47 ` Maxim Yu. Osipov
7 siblings, 0 replies; 22+ messages in thread
From: Henning Schild @ 2019-02-11 9:45 UTC (permalink / raw)
To: [ext] claudius.heine.ext@siemens.com; +Cc: isar-users, Claudius Heine
Looks Good to me.
Henning
Am Mon, 11 Feb 2019 10:09:16 +0100
schrieb "[ext] claudius.heine.ext@siemens.com"
<claudius.heine.ext@siemens.com>:
> From: Claudius Heine <ch@denx.de>
>
> Hi,
>
> fifth version of the UBI support for isar.
>
> Claudius
>
> Chagnes form v4:
> - Moved "doc/user: added targz-img to image type list" patch to own
> submission
> - Move path mounting into image.bbclass
>
> Changes from v3:
>
> - Moved dtb copy function into main `do_copy_boot_files` (feedback
> from Henning)
> - some minor fixes
>
> Changes from v2:
>
> - added fit image support patch
> - moved to new templating system
> - refactored `copy_boot_files` of isar-image-ubi
>
> Changes from v1:
>
> - fixed license header
> - removed ubifs test since it is included in the ubi test
> - merged ubifs and ubi patchset
> - renamed qemusabrelite to nand-ubi-demo
> - added nand-ubi-demo to ci build
> - added some entries for ubi/ubifs support in manu
>
> Claudius Heine (5):
> meta/image.bbclass: add image_do_mounts for image specific mounts
> meta/classes: added ubifs-img class
> meta/classes: added ubi-img class
> meta/classes: added fit-img class for creation of fit images
> meta-isar: added nand-ubi-demo example to demonstrate UBI use
>
> doc/user_manual.md | 3 +
> meta-isar/classes/ubi-ubifs-img.bbclass | 10 ++++
> meta-isar/conf/local.conf.sample | 1 +
> meta-isar/conf/machine/nand-ubi-demo.conf | 13 +++++
> .../multiconfig/nand-ubi-demo-buster.conf | 13 +++++
> .../images/files/fitimage.its.tmpl | 58
> +++++++++++++++++++ .../images/files/ubinize.cfg.tmpl |
> 17 ++++++ .../recipes-core/images/isar-image-ubi.bb | 26 +++++++++
> meta/classes/fit-img.bbclass | 32 ++++++++++
> meta/classes/image.bbclass | 35 ++++++++++-
> meta/classes/ubi-img.bbclass | 35 +++++++++++
> meta/classes/ubifs-img.bbclass | 30 ++++++++++
> scripts/ci_build.sh | 1 +
> 13 files changed, 273 insertions(+), 1 deletion(-)
> create mode 100644 meta-isar/classes/ubi-ubifs-img.bbclass
> create mode 100644 meta-isar/conf/machine/nand-ubi-demo.conf
> create mode 100644
> meta-isar/conf/multiconfig/nand-ubi-demo-buster.conf create mode
> 100644 meta-isar/recipes-core/images/files/fitimage.its.tmpl create
> mode 100644 meta-isar/recipes-core/images/files/ubinize.cfg.tmpl
> create mode 100644 meta-isar/recipes-core/images/isar-image-ubi.bb
> create mode 100644 meta/classes/fit-img.bbclass create mode 100644
> meta/classes/ubi-img.bbclass create mode 100644
> meta/classes/ubifs-img.bbclass
>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 1/5] meta/image.bbclass: add image_do_mounts for image specific mounts
2019-02-11 9:09 ` [PATCH v5 1/5] meta/image.bbclass: add image_do_mounts for image specific mounts claudius.heine.ext
@ 2019-02-11 10:49 ` chombourger
2019-02-11 11:33 ` Claudius Heine
0 siblings, 1 reply; 22+ messages in thread
From: chombourger @ 2019-02-11 10:49 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 1805 bytes --]
Hi Claudius,
So the idea is that platform developers wanting to add their own mounts
would use a bbappend to do something like?
image_do_mounts_append() {
sudo mount <foo> <bar>
}
is this something we would want to add to the documentation?
Cedric
On Monday, February 11, 2019 at 10:09:24 AM UTC+1, claudius....@siemens.com
wrote:
>
> From: Claudius Heine <c...@denx.de <javascript:>>
>
> Signed-off-by: Claudius Heine <c...@denx.de <javascript:>>
> ---
> meta/classes/image.bbclass | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index d8fbfd5..bec62cd 100644
> --- a/meta/classes/image.bbclass
> +++ b/meta/classes/image.bbclass
> @@ -14,6 +14,27 @@ IMAGE_FULLNAME = "${PN}-${DISTRO}-${MACHINE}"
> KERNEL_IMAGE ?= "${@get_image_name(d, 'vmlinuz')[1]}"
> INITRD_IMAGE ?= "${@get_image_name(d, 'initrd.img')[1]}"
>
> +# Useful variables for imager implementations:
> +PP = "/home/builder/${PN}"
> +PP_DEPLOY = "${PP}/deploy"
> +PP_ROOTFS = "${PP}/rootfs"
> +PP_WORK = "${PP}/work"
> +
> +BUILDROOT = "${BUILDCHROOT_DIR}${PP}"
> +BUILDROOT_DEPLOY = "${BUILDCHROOT_DIR}${PP_DEPLOY}"
> +BUILDROOT_ROOTFS = "${BUILDCHROOT_DIR}${PP_ROOTFS}"
> +BUILDROOT_WORK = "${BUILDCHROOT_DIR}${PP_WORK}"
> +
> +image_do_mounts() {
> + sudo flock ${MOUNT_LOCKFILE} -c ' \
> + mkdir -p "${BUILDROOT_DEPLOY}" "${BUILDROOT_ROOTFS}"
> "${BUILDROOT_WORK}"
> + mount --bind "${DEPLOY_DIR_IMAGE}" "${BUILDROOT_DEPLOY}"
> + mount --bind "${IMAGE_ROOTFS}" "${BUILDROOT_ROOTFS}"
> + mount --bind "${WORKDIR}" "${BUILDROOT_WORK}"
> + '
> + buildchroot_do_mounts
> +}
> +
> inherit ${IMAGE_TYPE}
>
> # Extra space for rootfs in MB
> --
> 2.20.1
>
>
[-- Attachment #1.2: Type: text/html, Size: 2837 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 1/5] meta/image.bbclass: add image_do_mounts for image specific mounts
2019-02-11 10:49 ` chombourger
@ 2019-02-11 11:33 ` Claudius Heine
0 siblings, 0 replies; 22+ messages in thread
From: Claudius Heine @ 2019-02-11 11:33 UTC (permalink / raw)
To: chombourger, isar-users
Hi Cedric,
On 11/02/2019 11.49, chombourger@gmail.com wrote:
> Hi Claudius,
>
> So the idea is that platform developers wanting to add their own mounts
> would use a bbappend to do something like?
No that is not something I envisioned here and currently I also cannot
think of an additional mount that should be available for an image
recipe. Do you have something in mind?
> image_do_mounts_append() {
> sudo mount <foo> <bar>
> }
>
> is this something we would want to add to the documentation?
That pattern follows the 'dpkg_do_mounts' patterns from the dpkg-base
class. There is no documentation about extending mounts for that. That
is not really an argument, but since dpkg_do_mounts is not officially
build to be extended that way, I don't want to officially support it
here either.
If extending available mounts more easily is a feature we need and have
a use-case for, then I could think of ways to make build a better
interface for this. As the patch stands now though, this is not an
interface to be extended by other layers.
Thanks for the idea though :)
Claudius
>
> Cedric
>
> On Monday, February 11, 2019 at 10:09:24 AM UTC+1, claudius....@siemens.com
> wrote:
>>
>> From: Claudius Heine <c...@denx.de <javascript:>>
>>
>> Signed-off-by: Claudius Heine <c...@denx.de <javascript:>>
>> ---
>> meta/classes/image.bbclass | 21 +++++++++++++++++++++
>> 1 file changed, 21 insertions(+)
>>
>> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
>> index d8fbfd5..bec62cd 100644
>> --- a/meta/classes/image.bbclass
>> +++ b/meta/classes/image.bbclass
>> @@ -14,6 +14,27 @@ IMAGE_FULLNAME = "${PN}-${DISTRO}-${MACHINE}"
>> KERNEL_IMAGE ?= "${@get_image_name(d, 'vmlinuz')[1]}"
>> INITRD_IMAGE ?= "${@get_image_name(d, 'initrd.img')[1]}"
>>
>> +# Useful variables for imager implementations:
>> +PP = "/home/builder/${PN}"
>> +PP_DEPLOY = "${PP}/deploy"
>> +PP_ROOTFS = "${PP}/rootfs"
>> +PP_WORK = "${PP}/work"
>> +
>> +BUILDROOT = "${BUILDCHROOT_DIR}${PP}"
>> +BUILDROOT_DEPLOY = "${BUILDCHROOT_DIR}${PP_DEPLOY}"
>> +BUILDROOT_ROOTFS = "${BUILDCHROOT_DIR}${PP_ROOTFS}"
>> +BUILDROOT_WORK = "${BUILDCHROOT_DIR}${PP_WORK}"
>> +
>> +image_do_mounts() {
>> + sudo flock ${MOUNT_LOCKFILE} -c ' \
>> + mkdir -p "${BUILDROOT_DEPLOY}" "${BUILDROOT_ROOTFS}"
>> "${BUILDROOT_WORK}"
>> + mount --bind "${DEPLOY_DIR_IMAGE}" "${BUILDROOT_DEPLOY}"
>> + mount --bind "${IMAGE_ROOTFS}" "${BUILDROOT_ROOTFS}"
>> + mount --bind "${WORKDIR}" "${BUILDROOT_WORK}"
>> + '
>> + buildchroot_do_mounts
>> +}
>> +
>> inherit ${IMAGE_TYPE}
>>
>> # Extra space for rootfs in MB
>> --
>> 2.20.1
>>
>>
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 0/5] UBI support
2019-02-11 9:09 [PATCH v5 0/5] UBI support claudius.heine.ext
` (5 preceding siblings ...)
2019-02-11 9:45 ` [PATCH v5 0/5] UBI support Henning Schild
@ 2019-02-12 11:24 ` Maxim Yu. Osipov
2019-02-12 13:16 ` Claudius Heine
2019-02-15 14:47 ` Maxim Yu. Osipov
7 siblings, 1 reply; 22+ messages in thread
From: Maxim Yu. Osipov @ 2019-02-12 11:24 UTC (permalink / raw)
To: claudius.heine.ext, isar-users; +Cc: Claudius Heine
Hi Claudius,
I've applied your series and ran CI build.
It fails on:
ERROR: mc:nand-ubi-demo-buster:isar-image-ubi-1.0-r0 do_fit_image:
FIT_IMAGE_SOURCE does not contain fitimage source file
See for details:
http://isar-build.org:8080/job/isar_mosipov_next/138/console
Thanks,
Maxim.
On 2/11/19 10:09 AM, claudius.heine.ext@siemens.com wrote:
> From: Claudius Heine <ch@denx.de>
>
> Hi,
>
> fifth version of the UBI support for isar.
>
> Claudius
>
> Chagnes form v4:
> - Moved "doc/user: added targz-img to image type list" patch to own
> submission
> - Move path mounting into image.bbclass
>
> Changes from v3:
>
> - Moved dtb copy function into main `do_copy_boot_files` (feedback from
> Henning)
> - some minor fixes
>
> Changes from v2:
>
> - added fit image support patch
> - moved to new templating system
> - refactored `copy_boot_files` of isar-image-ubi
>
> Changes from v1:
>
> - fixed license header
> - removed ubifs test since it is included in the ubi test
> - merged ubifs and ubi patchset
> - renamed qemusabrelite to nand-ubi-demo
> - added nand-ubi-demo to ci build
> - added some entries for ubi/ubifs support in manu
>
> Claudius Heine (5):
> meta/image.bbclass: add image_do_mounts for image specific mounts
> meta/classes: added ubifs-img class
> meta/classes: added ubi-img class
> meta/classes: added fit-img class for creation of fit images
> meta-isar: added nand-ubi-demo example to demonstrate UBI use
>
> doc/user_manual.md | 3 +
> meta-isar/classes/ubi-ubifs-img.bbclass | 10 ++++
> meta-isar/conf/local.conf.sample | 1 +
> meta-isar/conf/machine/nand-ubi-demo.conf | 13 +++++
> .../multiconfig/nand-ubi-demo-buster.conf | 13 +++++
> .../images/files/fitimage.its.tmpl | 58 +++++++++++++++++++
> .../images/files/ubinize.cfg.tmpl | 17 ++++++
> .../recipes-core/images/isar-image-ubi.bb | 26 +++++++++
> meta/classes/fit-img.bbclass | 32 ++++++++++
> meta/classes/image.bbclass | 35 ++++++++++-
> meta/classes/ubi-img.bbclass | 35 +++++++++++
> meta/classes/ubifs-img.bbclass | 30 ++++++++++
> scripts/ci_build.sh | 1 +
> 13 files changed, 273 insertions(+), 1 deletion(-)
> create mode 100644 meta-isar/classes/ubi-ubifs-img.bbclass
> create mode 100644 meta-isar/conf/machine/nand-ubi-demo.conf
> create mode 100644 meta-isar/conf/multiconfig/nand-ubi-demo-buster.conf
> create mode 100644 meta-isar/recipes-core/images/files/fitimage.its.tmpl
> create mode 100644 meta-isar/recipes-core/images/files/ubinize.cfg.tmpl
> create mode 100644 meta-isar/recipes-core/images/isar-image-ubi.bb
> create mode 100644 meta/classes/fit-img.bbclass
> create mode 100644 meta/classes/ubi-img.bbclass
> create mode 100644 meta/classes/ubifs-img.bbclass
>
--
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 0/5] UBI support
2019-02-12 11:24 ` Maxim Yu. Osipov
@ 2019-02-12 13:16 ` Claudius Heine
2019-02-12 13:35 ` Claudius Heine
2019-02-12 13:36 ` Maxim Yu. Osipov
0 siblings, 2 replies; 22+ messages in thread
From: Claudius Heine @ 2019-02-12 13:16 UTC (permalink / raw)
To: Maxim Yu. Osipov, isar-users; +Cc: Claudius Heine
Hi Maxim,
On 12/02/2019 12.24, Maxim Yu. Osipov wrote:
> Hi Claudius,
>
> I've applied your series and ran CI build.
>
> It fails on:
> ERROR: mc:nand-ubi-demo-buster:isar-image-ubi-1.0-r0 do_fit_image:
> FIT_IMAGE_SOURCE does not contain fitimage source file
Have you applied the templating system patch before this patchset?
regards,
Claudius
>
> See for details:
> http://isar-build.org:8080/job/isar_mosipov_next/138/console
>
> Thanks,
> Maxim.
>
> On 2/11/19 10:09 AM, claudius.heine.ext@siemens.com wrote:
>> From: Claudius Heine <ch@denx.de>
>>
>> Hi,
>>
>> fifth version of the UBI support for isar.
>>
>> Claudius
>>
>> Chagnes form v4:
>> - Moved "doc/user: added targz-img to image type list" patch to own
>> submission
>> - Move path mounting into image.bbclass
>>
>> Changes from v3:
>>
>> - Moved dtb copy function into main `do_copy_boot_files` (feedback from
>> Henning)
>> - some minor fixes
>>
>> Changes from v2:
>>
>> - added fit image support patch
>> - moved to new templating system
>> - refactored `copy_boot_files` of isar-image-ubi
>>
>> Changes from v1:
>> - fixed license header
>> - removed ubifs test since it is included in the ubi test
>> - merged ubifs and ubi patchset
>> - renamed qemusabrelite to nand-ubi-demo
>> - added nand-ubi-demo to ci build
>> - added some entries for ubi/ubifs support in manu
>>
>> Claudius Heine (5):
>> meta/image.bbclass: add image_do_mounts for image specific mounts
>> meta/classes: added ubifs-img class
>> meta/classes: added ubi-img class
>> meta/classes: added fit-img class for creation of fit images
>> meta-isar: added nand-ubi-demo example to demonstrate UBI use
>>
>> doc/user_manual.md | 3 +
>> meta-isar/classes/ubi-ubifs-img.bbclass | 10 ++++
>> meta-isar/conf/local.conf.sample | 1 +
>> meta-isar/conf/machine/nand-ubi-demo.conf | 13 +++++
>> .../multiconfig/nand-ubi-demo-buster.conf | 13 +++++
>> .../images/files/fitimage.its.tmpl | 58 +++++++++++++++++++
>> .../images/files/ubinize.cfg.tmpl | 17 ++++++
>> .../recipes-core/images/isar-image-ubi.bb | 26 +++++++++
>> meta/classes/fit-img.bbclass | 32 ++++++++++
>> meta/classes/image.bbclass | 35 ++++++++++-
>> meta/classes/ubi-img.bbclass | 35 +++++++++++
>> meta/classes/ubifs-img.bbclass | 30 ++++++++++
>> scripts/ci_build.sh | 1 +
>> 13 files changed, 273 insertions(+), 1 deletion(-)
>> create mode 100644 meta-isar/classes/ubi-ubifs-img.bbclass
>> create mode 100644 meta-isar/conf/machine/nand-ubi-demo.conf
>> create mode 100644 meta-isar/conf/multiconfig/nand-ubi-demo-buster.conf
>> create mode 100644
>> meta-isar/recipes-core/images/files/fitimage.its.tmpl
>> create mode 100644 meta-isar/recipes-core/images/files/ubinize.cfg.tmpl
>> create mode 100644 meta-isar/recipes-core/images/isar-image-ubi.bb
>> create mode 100644 meta/classes/fit-img.bbclass
>> create mode 100644 meta/classes/ubi-img.bbclass
>> create mode 100644 meta/classes/ubifs-img.bbclass
>>
>
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 0/5] UBI support
2019-02-12 13:16 ` Claudius Heine
@ 2019-02-12 13:35 ` Claudius Heine
2019-02-12 13:36 ` Maxim Yu. Osipov
1 sibling, 0 replies; 22+ messages in thread
From: Claudius Heine @ 2019-02-12 13:35 UTC (permalink / raw)
To: Maxim Yu. Osipov, isar-users; +Cc: Claudius Heine
On 12/02/2019 14.16, [ext] Claudius Heine wrote:
> Hi Maxim,
>
> On 12/02/2019 12.24, Maxim Yu. Osipov wrote:
>> Hi Claudius,
>>
>> I've applied your series and ran CI build.
>>
>> It fails on:
>> ERROR: mc:nand-ubi-demo-buster:isar-image-ubi-1.0-r0 do_fit_image:
>> FIT_IMAGE_SOURCE does not contain fitimage source file
>
> Have you applied the templating system patch before this patchset?
Here are my current working branches, maybe that helps:
Templating:
https://github.com/cmhe/isar/commits/ch/templating
UBIFS:
https://github.com/cmhe/isar/commits/ch/ubifs
RootPW:
https://github.com/cmhe/isar/commits/ch/rootpw
RPi removal:
https://github.com/cmhe/isar/commits/ch/rpi-removal
>
> regards,
> Claudius
>
>>
>> See for details:
>> http://isar-build.org:8080/job/isar_mosipov_next/138/console
>>
>> Thanks,
>> Maxim.
>>
>> On 2/11/19 10:09 AM, claudius.heine.ext@siemens.com wrote:
>>> From: Claudius Heine <ch@denx.de>
>>>
>>> Hi,
>>>
>>> fifth version of the UBI support for isar.
>>>
>>> Claudius
>>>
>>> Chagnes form v4:
>>> - Moved "doc/user: added targz-img to image type list" patch to own
>>> submission
>>> - Move path mounting into image.bbclass
>>>
>>> Changes from v3:
>>>
>>> - Moved dtb copy function into main `do_copy_boot_files` (feedback
>>> from
>>> Henning)
>>> - some minor fixes
>>>
>>> Changes from v2:
>>>
>>> - added fit image support patch
>>> - moved to new templating system
>>> - refactored `copy_boot_files` of isar-image-ubi
>>>
>>> Changes from v1:
>>> - fixed license header
>>> - removed ubifs test since it is included in the ubi test
>>> - merged ubifs and ubi patchset
>>> - renamed qemusabrelite to nand-ubi-demo
>>> - added nand-ubi-demo to ci build
>>> - added some entries for ubi/ubifs support in manu
>>>
>>> Claudius Heine (5):
>>> meta/image.bbclass: add image_do_mounts for image specific mounts
>>> meta/classes: added ubifs-img class
>>> meta/classes: added ubi-img class
>>> meta/classes: added fit-img class for creation of fit images
>>> meta-isar: added nand-ubi-demo example to demonstrate UBI use
>>>
>>> doc/user_manual.md | 3 +
>>> meta-isar/classes/ubi-ubifs-img.bbclass | 10 ++++
>>> meta-isar/conf/local.conf.sample | 1 +
>>> meta-isar/conf/machine/nand-ubi-demo.conf | 13 +++++
>>> .../multiconfig/nand-ubi-demo-buster.conf | 13 +++++
>>> .../images/files/fitimage.its.tmpl | 58 +++++++++++++++++++
>>> .../images/files/ubinize.cfg.tmpl | 17 ++++++
>>> .../recipes-core/images/isar-image-ubi.bb | 26 +++++++++
>>> meta/classes/fit-img.bbclass | 32 ++++++++++
>>> meta/classes/image.bbclass | 35 ++++++++++-
>>> meta/classes/ubi-img.bbclass | 35 +++++++++++
>>> meta/classes/ubifs-img.bbclass | 30 ++++++++++
>>> scripts/ci_build.sh | 1 +
>>> 13 files changed, 273 insertions(+), 1 deletion(-)
>>> create mode 100644 meta-isar/classes/ubi-ubifs-img.bbclass
>>> create mode 100644 meta-isar/conf/machine/nand-ubi-demo.conf
>>> create mode 100644
>>> meta-isar/conf/multiconfig/nand-ubi-demo-buster.conf
>>> create mode 100644
>>> meta-isar/recipes-core/images/files/fitimage.its.tmpl
>>> create mode 100644
>>> meta-isar/recipes-core/images/files/ubinize.cfg.tmpl
>>> create mode 100644 meta-isar/recipes-core/images/isar-image-ubi.bb
>>> create mode 100644 meta/classes/fit-img.bbclass
>>> create mode 100644 meta/classes/ubi-img.bbclass
>>> create mode 100644 meta/classes/ubifs-img.bbclass
>>>
>>
>>
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 0/5] UBI support
2019-02-12 13:16 ` Claudius Heine
2019-02-12 13:35 ` Claudius Heine
@ 2019-02-12 13:36 ` Maxim Yu. Osipov
2019-02-12 14:06 ` Maxim Yu. Osipov
1 sibling, 1 reply; 22+ messages in thread
From: Maxim Yu. Osipov @ 2019-02-12 13:36 UTC (permalink / raw)
To: Claudius Heine, isar-users; +Cc: Claudius Heine
Hi Claudius,
On 2/12/19 2:16 PM, Claudius Heine wrote:
> Hi Maxim,
>
> On 12/02/2019 12.24, Maxim Yu. Osipov wrote:
>> Hi Claudius,
>>
>> I've applied your series and ran CI build.
>>
>> It fails on:
>> ERROR: mc:nand-ubi-demo-buster:isar-image-ubi-1.0-r0 do_fit_image:
>> FIT_IMAGE_SOURCE does not contain fitimage source file
>
> Have you applied the templating system patch before this patchset?
I'm sorry - I've missed it.
I'll apply the latest version (v2 sent on Tue, 5 Feb 2019) and restart a
CI test.
Regards,
Maxim.
> regards,
> Claudius
>
>>
>> See for details:
>> http://isar-build.org:8080/job/isar_mosipov_next/138/console
>>
>> Thanks,
>> Maxim.
>>
>> On 2/11/19 10:09 AM, claudius.heine.ext@siemens.com wrote:
>>> From: Claudius Heine <ch@denx.de>
>>>
>>> Hi,
>>>
>>> fifth version of the UBI support for isar.
>>>
>>> Claudius
>>>
>>> Chagnes form v4:
>>> - Moved "doc/user: added targz-img to image type list" patch to own
>>> submission
>>> - Move path mounting into image.bbclass
>>>
>>> Changes from v3:
>>>
>>> - Moved dtb copy function into main `do_copy_boot_files` (feedback
>>> from
>>> Henning)
>>> - some minor fixes
>>>
>>> Changes from v2:
>>>
>>> - added fit image support patch
>>> - moved to new templating system
>>> - refactored `copy_boot_files` of isar-image-ubi
>>>
>>> Changes from v1:
>>> - fixed license header
>>> - removed ubifs test since it is included in the ubi test
>>> - merged ubifs and ubi patchset
>>> - renamed qemusabrelite to nand-ubi-demo
>>> - added nand-ubi-demo to ci build
>>> - added some entries for ubi/ubifs support in manu
>>>
>>> Claudius Heine (5):
>>> meta/image.bbclass: add image_do_mounts for image specific mounts
>>> meta/classes: added ubifs-img class
>>> meta/classes: added ubi-img class
>>> meta/classes: added fit-img class for creation of fit images
>>> meta-isar: added nand-ubi-demo example to demonstrate UBI use
>>>
>>> doc/user_manual.md | 3 +
>>> meta-isar/classes/ubi-ubifs-img.bbclass | 10 ++++
>>> meta-isar/conf/local.conf.sample | 1 +
>>> meta-isar/conf/machine/nand-ubi-demo.conf | 13 +++++
>>> .../multiconfig/nand-ubi-demo-buster.conf | 13 +++++
>>> .../images/files/fitimage.its.tmpl | 58 +++++++++++++++++++
>>> .../images/files/ubinize.cfg.tmpl | 17 ++++++
>>> .../recipes-core/images/isar-image-ubi.bb | 26 +++++++++
>>> meta/classes/fit-img.bbclass | 32 ++++++++++
>>> meta/classes/image.bbclass | 35 ++++++++++-
>>> meta/classes/ubi-img.bbclass | 35 +++++++++++
>>> meta/classes/ubifs-img.bbclass | 30 ++++++++++
>>> scripts/ci_build.sh | 1 +
>>> 13 files changed, 273 insertions(+), 1 deletion(-)
>>> create mode 100644 meta-isar/classes/ubi-ubifs-img.bbclass
>>> create mode 100644 meta-isar/conf/machine/nand-ubi-demo.conf
>>> create mode 100644
>>> meta-isar/conf/multiconfig/nand-ubi-demo-buster.conf
>>> create mode 100644
>>> meta-isar/recipes-core/images/files/fitimage.its.tmpl
>>> create mode 100644
>>> meta-isar/recipes-core/images/files/ubinize.cfg.tmpl
>>> create mode 100644 meta-isar/recipes-core/images/isar-image-ubi.bb
>>> create mode 100644 meta/classes/fit-img.bbclass
>>> create mode 100644 meta/classes/ubi-img.bbclass
>>> create mode 100644 meta/classes/ubifs-img.bbclass
>>>
>>
>>
>
--
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 0/5] UBI support
2019-02-12 13:36 ` Maxim Yu. Osipov
@ 2019-02-12 14:06 ` Maxim Yu. Osipov
2019-02-12 14:09 ` Claudius Heine
2019-02-12 15:51 ` Claudius Heine
0 siblings, 2 replies; 22+ messages in thread
From: Maxim Yu. Osipov @ 2019-02-12 14:06 UTC (permalink / raw)
To: Claudius Heine, isar-users; +Cc: Claudius Heine
Hi again, Claudius,
I've applied "[PATCH v2 1/1] meta: added do_transform_template task as
templating system and switch" before UBI support v5 series
and CI failed:
See for details
http://isar-build.org:8080/job/isar_mosipov_next/139/console
Regards,
Maxim.
On 2/12/19 2:36 PM, Maxim Yu. Osipov wrote:
> Hi Claudius,
>
>
> On 2/12/19 2:16 PM, Claudius Heine wrote:
>> Hi Maxim,
>>
>> On 12/02/2019 12.24, Maxim Yu. Osipov wrote:
>>> Hi Claudius,
>>>
>>> I've applied your series and ran CI build.
>>>
>>> It fails on:
>>> ERROR: mc:nand-ubi-demo-buster:isar-image-ubi-1.0-r0 do_fit_image:
>>> FIT_IMAGE_SOURCE does not contain fitimage source file
>>
>> Have you applied the templating system patch before this patchset?
>
> I'm sorry - I've missed it.
> I'll apply the latest version (v2 sent on Tue, 5 Feb 2019) and restart a
> CI test.
>
> Regards,
> Maxim.
>
>
>> regards,
>> Claudius
>>
>>>
>>> See for details:
>>> http://isar-build.org:8080/job/isar_mosipov_next/138/console
>>>
>>> Thanks,
>>> Maxim.
>>>
>>> On 2/11/19 10:09 AM, claudius.heine.ext@siemens.com wrote:
>>>> From: Claudius Heine <ch@denx.de>
>>>>
>>>> Hi,
>>>>
>>>> fifth version of the UBI support for isar.
>>>>
>>>> Claudius
>>>>
>>>> Chagnes form v4:
>>>> - Moved "doc/user: added targz-img to image type list" patch to own
>>>> submission
>>>> - Move path mounting into image.bbclass
>>>>
>>>> Changes from v3:
>>>>
>>>> - Moved dtb copy function into main `do_copy_boot_files` (feedback
>>>> from
>>>> Henning)
>>>> - some minor fixes
>>>>
>>>> Changes from v2:
>>>>
>>>> - added fit image support patch
>>>> - moved to new templating system
>>>> - refactored `copy_boot_files` of isar-image-ubi
>>>>
>>>> Changes from v1:
>>>> - fixed license header
>>>> - removed ubifs test since it is included in the ubi test
>>>> - merged ubifs and ubi patchset
>>>> - renamed qemusabrelite to nand-ubi-demo
>>>> - added nand-ubi-demo to ci build
>>>> - added some entries for ubi/ubifs support in manu
>>>>
>>>> Claudius Heine (5):
>>>> meta/image.bbclass: add image_do_mounts for image specific mounts
>>>> meta/classes: added ubifs-img class
>>>> meta/classes: added ubi-img class
>>>> meta/classes: added fit-img class for creation of fit images
>>>> meta-isar: added nand-ubi-demo example to demonstrate UBI use
>>>>
>>>> doc/user_manual.md | 3 +
>>>> meta-isar/classes/ubi-ubifs-img.bbclass | 10 ++++
>>>> meta-isar/conf/local.conf.sample | 1 +
>>>> meta-isar/conf/machine/nand-ubi-demo.conf | 13 +++++
>>>> .../multiconfig/nand-ubi-demo-buster.conf | 13 +++++
>>>> .../images/files/fitimage.its.tmpl | 58
>>>> +++++++++++++++++++
>>>> .../images/files/ubinize.cfg.tmpl | 17 ++++++
>>>> .../recipes-core/images/isar-image-ubi.bb | 26 +++++++++
>>>> meta/classes/fit-img.bbclass | 32 ++++++++++
>>>> meta/classes/image.bbclass | 35 ++++++++++-
>>>> meta/classes/ubi-img.bbclass | 35 +++++++++++
>>>> meta/classes/ubifs-img.bbclass | 30 ++++++++++
>>>> scripts/ci_build.sh | 1 +
>>>> 13 files changed, 273 insertions(+), 1 deletion(-)
>>>> create mode 100644 meta-isar/classes/ubi-ubifs-img.bbclass
>>>> create mode 100644 meta-isar/conf/machine/nand-ubi-demo.conf
>>>> create mode 100644
>>>> meta-isar/conf/multiconfig/nand-ubi-demo-buster.conf
>>>> create mode 100644
>>>> meta-isar/recipes-core/images/files/fitimage.its.tmpl
>>>> create mode 100644
>>>> meta-isar/recipes-core/images/files/ubinize.cfg.tmpl
>>>> create mode 100644 meta-isar/recipes-core/images/isar-image-ubi.bb
>>>> create mode 100644 meta/classes/fit-img.bbclass
>>>> create mode 100644 meta/classes/ubi-img.bbclass
>>>> create mode 100644 meta/classes/ubifs-img.bbclass
>>>>
>>>
>>>
>>
>
>
--
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 0/5] UBI support
2019-02-12 14:06 ` Maxim Yu. Osipov
@ 2019-02-12 14:09 ` Claudius Heine
2019-02-12 14:36 ` Baurzhan Ismagulov
2019-02-12 15:51 ` Claudius Heine
1 sibling, 1 reply; 22+ messages in thread
From: Claudius Heine @ 2019-02-12 14:09 UTC (permalink / raw)
To: Maxim Yu. Osipov, isar-users; +Cc: Claudius Heine
On 12/02/2019 15.06, Maxim Yu. Osipov wrote:
> Hi again, Claudius,
>
> I've applied "[PATCH v2 1/1] meta: added do_transform_template task as
> templating system and switch" before UBI support v5 series
> and CI failed:
>
> See for details
>
> http://isar-build.org:8080/job/isar_mosipov_next/139/console
Well, my current login information does not work. So maybe you can give
me a log or fix the login. My username is 'ch'.
Thanks,
Claudius
>
> Regards,
> Maxim.
>
>
> On 2/12/19 2:36 PM, Maxim Yu. Osipov wrote:
>> Hi Claudius,
>>
>>
>> On 2/12/19 2:16 PM, Claudius Heine wrote:
>>> Hi Maxim,
>>>
>>> On 12/02/2019 12.24, Maxim Yu. Osipov wrote:
>>>> Hi Claudius,
>>>>
>>>> I've applied your series and ran CI build.
>>>>
>>>> It fails on:
>>>> ERROR: mc:nand-ubi-demo-buster:isar-image-ubi-1.0-r0 do_fit_image:
>>>> FIT_IMAGE_SOURCE does not contain fitimage source file
>>>
>>> Have you applied the templating system patch before this patchset?
>>
>> I'm sorry - I've missed it.
>> I'll apply the latest version (v2 sent on Tue, 5 Feb 2019) and restart
>> a CI test.
>>
>> Regards,
>> Maxim.
>>
>>
>>> regards,
>>> Claudius
>>>
>>>>
>>>> See for details:
>>>> http://isar-build.org:8080/job/isar_mosipov_next/138/console
>>>>
>>>> Thanks,
>>>> Maxim.
>>>>
>>>> On 2/11/19 10:09 AM, claudius.heine.ext@siemens.com wrote:
>>>>> From: Claudius Heine <ch@denx.de>
>>>>>
>>>>> Hi,
>>>>>
>>>>> fifth version of the UBI support for isar.
>>>>>
>>>>> Claudius
>>>>>
>>>>> Chagnes form v4:
>>>>> - Moved "doc/user: added targz-img to image type list" patch to own
>>>>> submission
>>>>> - Move path mounting into image.bbclass
>>>>>
>>>>> Changes from v3:
>>>>>
>>>>> - Moved dtb copy function into main `do_copy_boot_files`
>>>>> (feedback from
>>>>> Henning)
>>>>> - some minor fixes
>>>>>
>>>>> Changes from v2:
>>>>>
>>>>> - added fit image support patch
>>>>> - moved to new templating system
>>>>> - refactored `copy_boot_files` of isar-image-ubi
>>>>>
>>>>> Changes from v1:
>>>>> - fixed license header
>>>>> - removed ubifs test since it is included in the ubi test
>>>>> - merged ubifs and ubi patchset
>>>>> - renamed qemusabrelite to nand-ubi-demo
>>>>> - added nand-ubi-demo to ci build
>>>>> - added some entries for ubi/ubifs support in manu
>>>>>
>>>>> Claudius Heine (5):
>>>>> meta/image.bbclass: add image_do_mounts for image specific mounts
>>>>> meta/classes: added ubifs-img class
>>>>> meta/classes: added ubi-img class
>>>>> meta/classes: added fit-img class for creation of fit images
>>>>> meta-isar: added nand-ubi-demo example to demonstrate UBI use
>>>>>
>>>>> doc/user_manual.md | 3 +
>>>>> meta-isar/classes/ubi-ubifs-img.bbclass | 10 ++++
>>>>> meta-isar/conf/local.conf.sample | 1 +
>>>>> meta-isar/conf/machine/nand-ubi-demo.conf | 13 +++++
>>>>> .../multiconfig/nand-ubi-demo-buster.conf | 13 +++++
>>>>> .../images/files/fitimage.its.tmpl | 58
>>>>> +++++++++++++++++++
>>>>> .../images/files/ubinize.cfg.tmpl | 17 ++++++
>>>>> .../recipes-core/images/isar-image-ubi.bb | 26 +++++++++
>>>>> meta/classes/fit-img.bbclass | 32 ++++++++++
>>>>> meta/classes/image.bbclass | 35 ++++++++++-
>>>>> meta/classes/ubi-img.bbclass | 35 +++++++++++
>>>>> meta/classes/ubifs-img.bbclass | 30 ++++++++++
>>>>> scripts/ci_build.sh | 1 +
>>>>> 13 files changed, 273 insertions(+), 1 deletion(-)
>>>>> create mode 100644 meta-isar/classes/ubi-ubifs-img.bbclass
>>>>> create mode 100644 meta-isar/conf/machine/nand-ubi-demo.conf
>>>>> create mode 100644
>>>>> meta-isar/conf/multiconfig/nand-ubi-demo-buster.conf
>>>>> create mode 100644
>>>>> meta-isar/recipes-core/images/files/fitimage.its.tmpl
>>>>> create mode 100644
>>>>> meta-isar/recipes-core/images/files/ubinize.cfg.tmpl
>>>>> create mode 100644 meta-isar/recipes-core/images/isar-image-ubi.bb
>>>>> create mode 100644 meta/classes/fit-img.bbclass
>>>>> create mode 100644 meta/classes/ubi-img.bbclass
>>>>> create mode 100644 meta/classes/ubifs-img.bbclass
>>>>>
>>>>
>>>>
>>>
>>
>>
>
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 0/5] UBI support
2019-02-12 14:09 ` Claudius Heine
@ 2019-02-12 14:36 ` Baurzhan Ismagulov
2019-02-12 14:56 ` Claudius Heine
0 siblings, 1 reply; 22+ messages in thread
From: Baurzhan Ismagulov @ 2019-02-12 14:36 UTC (permalink / raw)
To: isar-users
On Tue, Feb 12, 2019 at 03:09:29PM +0100, Claudius Heine wrote:
> Well, my current login information does not work. So maybe you can give me a
> log or fix the login. My username is 'ch'.
We've migrated CI to a more powerful machine. I've disabled all users to filter
out unused accounts. I've re-enabled yours, does it work now?
With kind regards,
Baurzhan.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 0/5] UBI support
2019-02-12 14:36 ` Baurzhan Ismagulov
@ 2019-02-12 14:56 ` Claudius Heine
0 siblings, 0 replies; 22+ messages in thread
From: Claudius Heine @ 2019-02-12 14:56 UTC (permalink / raw)
To: isar-users
On 12/02/2019 15.36, Baurzhan Ismagulov wrote:
> On Tue, Feb 12, 2019 at 03:09:29PM +0100, Claudius Heine wrote:
>> Well, my current login information does not work. So maybe you can give me a
>> log or fix the login. My username is 'ch'.
>
> We've migrated CI to a more powerful machine. I've disabled all users to filter
> out unused accounts. I've re-enabled yours, does it work now?
It does not. Has the PW changed?
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 0/5] UBI support
2019-02-12 14:06 ` Maxim Yu. Osipov
2019-02-12 14:09 ` Claudius Heine
@ 2019-02-12 15:51 ` Claudius Heine
2019-02-12 16:36 ` Claudius Heine
1 sibling, 1 reply; 22+ messages in thread
From: Claudius Heine @ 2019-02-12 15:51 UTC (permalink / raw)
To: Maxim Yu. Osipov, isar-users; +Cc: Claudius Heine
Hi Maxim,
On 12/02/2019 15.06, Maxim Yu. Osipov wrote:
> Hi again, Claudius,
>
> I've applied "[PATCH v2 1/1] meta: added do_transform_template task as
> templating system and switch" before UBI support v5 series
> and CI failed:
>
> See for details
>
> http://isar-build.org:8080/job/isar_mosipov_next/139/console
I only see errors that complain about code that is not affected by the
template and ubi patchset. It complains about the 'buildchroot-target',
which does not use the ubi classes or the template functions.
I will investigate further, but currently I don't think that the bug is
in those patchesets that lead to this issue. Currently I cannot
reproduce this issue on my host.
It is strange especially because you could mostly compile it without the
template patchset before, just failed on the final imaging process. With
the template patch the build fails much earlier at buildchroot-target.
But buildchroot-target does not in any way use the templating mechansim.
From the log I guess it has something to do with the handling of
mountpoints. But the patchset does not change that for the
buildchroot-target.
Here is a snipped from the log, for reference:
NOTE: recipe buildchroot-target-1.0-r0: task do_build: Started
ERROR: mc:qemuarm-buster:buildchroot-target-1.0-r0 do_build: Could not
remove
/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-buster-armhf/buildchroot-target/rootfs,
because subdir is mounted
ERROR: mc:qemuarm-buster:buildchroot-target-1.0-r0 do_build: Function
failed: do_build (log file is located at
/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-buster-armhf/buildchroot-target/temp/log.do_build.28425)
ERROR: Logfile of failure stored in:
/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-buster-armhf/buildchroot-target/temp/log.do_build.28425
NOTE: recipe buildchroot-target-1.0-r0: task do_build: Failed
ERROR: Task
(multiconfig:qemuarm-buster:/workspace/build/isar_mosipov_next/139/meta/recipes-devtools/buildchroot/buildchroot-target.bb:do_build)
failed with exit code '1'
NOTE: Running task 160 of 1145
(multiconfig:qemuarm-stretch:/workspace/build/isar_mosipov_next/139/meta/recipes-devtools/buildchroot/buildchroot-target.bb:do_build)
NOTE: recipe buildchroot-target-1.0-r0: task do_build: Started
ERROR: mc:qemuarm-stretch:buildchroot-target-1.0-r0 do_build: Function
failed: do_build (log file is located at
/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-stretch-armhf/buildchroot-target/temp/log.do_build.28504)
ERROR: Logfile of failure stored in:
/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-stretch-armhf/buildchroot-target/temp/log.do_build.28504
Log data follows:
| dpkg: warning: failed to open configuration file '/root/.dpkg.cfg' for
reading: Permission denied
| DEBUG: Executing shell function do_build
| Get:1 file:/isar-apt isar InRelease
| Ign:1 file:/isar-apt isar InRelease
| Get:2 file:/isar-apt isar Release
| Ign:2 file:/isar-apt isar Release
| Get:3 file:/isar-apt isar/main all Packages
| Ign:3 file:/isar-apt isar/main all Packages
| Get:4 file:/isar-apt isar/main armhf Packages
| Ign:4 file:/isar-apt isar/main armhf Packages
| Get:5 file:/isar-apt isar/main Translation-en
| Ign:5 file:/isar-apt isar/main Translation-en
| Get:3 file:/isar-apt isar/main all Packages
| Ign:3 file:/isar-apt isar/main all Packages
| Get:4 file:/isar-apt isar/main armhf Packages
| Ign:4 file:/isar-apt isar/main armhf Packages
| Get:5 file:/isar-apt isar/main Translation-en
| Ign:5 file:/isar-apt isar/main Translation-en
| Get:3 file:/isar-apt isar/main all Packages
| Ign:3 file:/isar-apt isar/main all Packages
| Get:4 file:/isar-apt isar/main armhf Packages
| Ign:4 file:/isar-apt isar/main armhf Packages
| Get:5 file:/isar-apt isar/main Translation-en
| Ign:5 file:/isar-apt isar/main Translation-en
| Get:3 file:/isar-apt isar/main all Packages
| Ign:3 file:/isar-apt isar/main all Packages
| Get:4 file:/isar-apt isar/main armhf Packages
| Ign:4 file:/isar-apt isar/main armhf Packages
| Get:5 file:/isar-apt isar/main Translation-en
| Ign:5 file:/isar-apt isar/main Translation-en
| Get:3 file:/isar-apt isar/main all Packages
| Ign:3 file:/isar-apt isar/main all Packages
| Get:4 file:/isar-apt isar/main armhf Packages
| Ign:4 file:/isar-apt isar/main armhf Packages
| Get:5 file:/isar-apt isar/main Translation-en
| Ign:5 file:/isar-apt isar/main Translation-en
| Get:3 file:/isar-apt isar/main all Packages
| Ign:3 file:/isar-apt isar/main all Packages
| Get:4 file:/isar-apt isar/main armhf Packages
| Err:4 file:/isar-apt isar/main armhf Packages
| File not found - /isar-apt/dists/isar/main/binary-armhf/Packages (2:
No such file or directory)
| Get:5 file:/isar-apt isar/main Translation-en
| Ign:5 file:/isar-apt isar/main Translation-en
| Reading package lists...
| E: Failed to fetch
file:/isar-apt/dists/isar/main/binary-armhf/Packages File not found -
/isar-apt/dists/isar/main/binary-armhf/Packages (2: No such file or
directory)
| E: Some index files failed to download. They have been ignored, or old
ones used instead.
| WARNING: exit code 100 from a shell command.
| ERROR: Function failed: do_build (log file is located at
/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-stretch-armhf/buildchroot-target/temp/log.do_build.28504)
NOTE: recipe buildchroot-target-1.0-r0: task do_build: Failed
ERROR: Task
(multiconfig:qemuarm-stretch:/workspace/build/isar_mosipov_next/139/meta/recipes-devtools/buildchroot/buildchroot-target.bb:do_build)
failed with exit code '1'
NOTE: recipe buildchroot-target-1.0-r0: task do_build: Succeeded
NOTE: recipe buildchroot-target-1.0-r0: task do_build: Succeeded
ERROR: mc:qemuamd64-jessie:isar-bootstrap-target-1.0-r0 do_bootstrap:
Function failed: do_bootstrap (log file is located at
/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/temp/log.do_bootstrap.10414)
ERROR: Logfile of failure stored in:
/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/temp/log.do_bootstrap.10414
Log data follows:
| DEBUG: Executing shell function do_bootstrap
| W: Target architecture is the same as host architecture; disabling
QEMU support
| I: Running command: debootstrap --arch amd64 --verbose
--variant=minbase --include=locales --components=main,contrib,non-free
jessie
/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/rootfs
http://ftp.debian.org/debian
| I: Retrieving InRelease
| I: Retrieving Release
| I: Retrieving Release.gpg
| I: Checking Release signature
| I: Valid Release signature (key id
75DDC3C4A499F1A18CB5F3C8CBF8D6FD518E17E1)
| I: Retrieving Packages
| I: Validating Packages
| I: Retrieving Packages
| I: Validating Packages
| I: Retrieving Packages
| I: Validating Packages
| I: Resolving dependencies of required packages...
| I: Resolving dependencies of base packages...
| I: Found additional required dependencies: acl adduser dmsetup insserv
libaudit1 libaudit-common libbz2-1.0 libcap2 libcap2-bin libcryptsetup4
libdb5.3 libdebconfclient0 libdevmapper1.02.1 libgcrypt20 libgpg-error0
libkmod2 libncursesw5 libprocps3 libsemanage1 libsemanage-common
libslang2 libsystemd0 libudev1 libustr-1.0-1 procps systemd systemd-sysv
udev
| I: Found additional base dependencies: debian-archive-keyring gnupg
gpgv libapt-pkg4.12 libreadline6 libstdc++6 libusb-0.1-4 readline-common
| I: Checking component main on http://ftp.debian.org/debian...
| I: Retrieving acl 2.2.52-2
| I: Validating acl 2.2.52-2
| I: Retrieving libacl1 2.2.52-2
| I: Validating libacl1 2.2.52-2
| I: Retrieving adduser 3.113+nmu3
| I: Validating adduser 3.113+nmu3
| I: Retrieving apt 1.0.9.8.4
| I: Validating apt 1.0.9.8.4
| I: Retrieving libapt-pkg4.12 1.0.9.8.4
| I: Validating libapt-pkg4.12 1.0.9.8.4
| I: Retrieving libattr1 1:2.4.47-2
| I: Validating libattr1 1:2.4.47-2
| I: Retrieving libaudit-common 1:2.4-1
| I: Validating libaudit-common 1:2.4-1
| I: Retrieving libaudit1 1:2.4-1+b1
| I: Validating libaudit1 1:2.4-1+b1
| I: Retrieving base-files 8+deb8u11
| I: Validating base-files 8+deb8u11
| I: Retrieving base-passwd 3.5.37
| I: Validating base-passwd 3.5.37
| I: Retrieving bash 4.3-11+deb8u1
| I: Validating bash 4.3-11+deb8u1
| I: Retrieving libbz2-1.0 1.0.6-7+b3
| I: Validating libbz2-1.0 1.0.6-7+b3
| I: Retrieving libdebconfclient0 0.192
| I: Validating libdebconfclient0 0.192
| I: Retrieving coreutils 8.23-4
| I: Validating coreutils 8.23-4
| I: Retrieving libcryptsetup4 2:1.6.6-5
| I: Validating libcryptsetup4 2:1.6.6-5
| I: Retrieving dash 0.5.7-4+b1
| I: Validating dash 0.5.7-4+b1
| I: Retrieving libdb5.3 5.3.28-9+deb8u1
| I: Validating libdb5.3 5.3.28-9+deb8u1
| I: Retrieving debconf 1.5.56+deb8u1
| I: Validating debconf 1.5.56+deb8u1
| I: Retrieving debconf-i18n 1.5.56+deb8u1
| I: Validating debconf-i18n 1.5.56+deb8u1
| I: Retrieving debian-archive-keyring 2017.5~deb8u1
| I: Validating debian-archive-keyring 2017.5~deb8u1
| I: Retrieving debianutils 4.4+b1
| I: Validating debianutils 4.4+b1
| I: Retrieving diffutils 1:3.3-1+b1
| I: Validating diffutils 1:3.3-1+b1
| I: Retrieving dpkg 1.17.27
| I: Validating dpkg 1.17.27
| I: Retrieving e2fslibs 1.42.12-2+b1
| I: Validating e2fslibs 1.42.12-2+b1
| I: Retrieving e2fsprogs 1.42.12-2+b1
| I: Validating e2fsprogs 1.42.12-2+b1
| I: Retrieving libcomerr2 1.42.12-2+b1
| I: Validating libcomerr2 1.42.12-2+b1
| I: Retrieving libss2 1.42.12-2+b1
| I: Validating libss2 1.42.12-2+b1
| I: Retrieving findutils 4.4.2-9+b1
| I: Validating findutils 4.4.2-9+b1
| I: Retrieving gcc-4.8-base 4.8.4-1
| I: Validating gcc-4.8-base 4.8.4-1
| I: Retrieving gcc-4.9-base 4.9.2-10+deb8u1
| I: Validating gcc-4.9-base 4.9.2-10+deb8u1
| I: Retrieving libgcc1 1:4.9.2-10+deb8u1
| I: Validating libgcc1 1:4.9.2-10+deb8u1
| I: Retrieving libstdc++6 4.9.2-10+deb8u1
| I: Validating libstdc++6 4.9.2-10+deb8u1
| I: Retrieving libc-bin 2.19-18+deb8u10
| I: Validating libc-bin 2.19-18+deb8u10
| I: Retrieving libc6 2.19-18+deb8u10
| I: Validating libc6 2.19-18+deb8u10
| I: Retrieving locales 2.19-18+deb8u10
| I: Validating locales 2.19-18+deb8u10
| I: Retrieving multiarch-support 2.19-18+deb8u10
| I: Validating multiarch-support 2.19-18+deb8u10
| I: Retrieving gnupg 1.4.18-7+deb8u5
| I: Validating gnupg 1.4.18-7+deb8u5
| I: Retrieving gpgv 1.4.18-7+deb8u5
| I: Validating gpgv 1.4.18-7+deb8u5
| I: Retrieving grep 2.20-4.1
| I: Validating grep 2.20-4.1
| I: Retrieving gzip 1.6-4
| I: Validating gzip 1.6-4
| I: Retrieving hostname 3.15
| I: Validating hostname 3.15
| I: Retrieving init 1.22
| I: Validating init 1.22
| I: Retrieving insserv 1.14.0-5
| I: Validating insserv 1.14.0-5
| I: Retrieving libkmod2 18-3
| I: Validating libkmod2 18-3
| I: Retrieving libcap2 1:2.24-8
| I: Validating libcap2 1:2.24-8
| I: Retrieving libcap2-bin 1:2.24-8
| I: Validating libcap2-bin 1:2.24-8
| I: Retrieving libgcrypt20 1.6.3-2+deb8u4
| I: Validating libgcrypt20 1.6.3-2+deb8u4
| I: Retrieving libgpg-error0 1.17-3
| I: Validating libgpg-error0 1.17-3
| I: Retrieving liblocale-gettext-perl 1.05-8+b1
| I: Validating liblocale-gettext-perl 1.05-8+b1
| I: Retrieving libselinux1 2.3-2
| I: Validating libselinux1 2.3-2
| I: Retrieving libsemanage-common 2.3-1
| I: Validating libsemanage-common 2.3-1
| I: Retrieving libsemanage1 2.3-1+b1
| I: Validating libsemanage1 2.3-1+b1
| I: Retrieving libsepol1 2.3-2
| I: Validating libsepol1 2.3-2
| I: Retrieving libtext-charwidth-perl 0.04-7+b3
| I: Validating libtext-charwidth-perl 0.04-7+b3
| I: Retrieving libtext-iconv-perl 1.7-5+b2
| I: Validating libtext-iconv-perl 1.7-5+b2
| I: Retrieving libtext-wrapi18n-perl 0.06-7
| I: Validating libtext-wrapi18n-perl 0.06-7
| I: Retrieving libusb-0.1-4 2:0.1.12-25
| I: Validating libusb-0.1-4 2:0.1.12-25
| I: Retrieving lsb-base 4.1+Debian13+nmu1
| I: Validating lsb-base 4.1+Debian13+nmu1
| I: Retrieving dmsetup 2:1.02.90-2.2+deb8u1
| I: Validating dmsetup 2:1.02.90-2.2+deb8u1
| I: Retrieving libdevmapper1.02.1 2:1.02.90-2.2+deb8u1
| I: Validating libdevmapper1.02.1 2:1.02.90-2.2+deb8u1
| I: Retrieving mawk 1.3.3-17
| I: Validating mawk 1.3.3-17
| I: Retrieving libncurses5 5.9+20140913-1+deb8u3
| I: Validating libncurses5 5.9+20140913-1+deb8u3
| I: Retrieving libncursesw5 5.9+20140913-1+deb8u3
| I: Validating libncursesw5 5.9+20140913-1+deb8u3
| I: Retrieving libtinfo5 5.9+20140913-1+deb8u3
| I: Validating libtinfo5 5.9+20140913-1+deb8u3
| I: Retrieving ncurses-base 5.9+20140913-1+deb8u3
| I: Validating ncurses-base 5.9+20140913-1+deb8u3
| I: Retrieving ncurses-bin 5.9+20140913-1+deb8u3
| I: Validating ncurses-bin 5.9+20140913-1+deb8u3
| I: Retrieving libpam-modules 1.1.8-3.1+deb8u2+b1
| I: Validating libpam-modules 1.1.8-3.1+deb8u2+b1
| I: Retrieving libpam-modules-bin 1.1.8-3.1+deb8u2+b1
| I: Validating libpam-modules-bin 1.1.8-3.1+deb8u2+b1
| I: Retrieving libpam-runtime 1.1.8-3.1+deb8u2
| I: Validating libpam-runtime 1.1.8-3.1+deb8u2
| I: Retrieving libpam0g 1.1.8-3.1+deb8u2+b1
| I: Validating libpam0g 1.1.8-3.1+deb8u2+b1
| I: Retrieving libpcre3 2:8.35-3.3+deb8u4
| I: Validating libpcre3 2:8.35-3.3+deb8u4
| I: Retrieving perl-base 5.20.2-3+deb8u11
| I: Validating perl-base 5.20.2-3+deb8u11
| I: Retrieving libprocps3 2:3.3.9-9+deb8u1
| I: Validating libprocps3 2:3.3.9-9+deb8u1
| I: Retrieving procps 2:3.3.9-9+deb8u1
| I: Validating procps 2:3.3.9-9+deb8u1
| I: Retrieving libreadline6 6.3-8+b3
| I: Validating libreadline6 6.3-8+b3
| I: Retrieving readline-common 6.3-8
| I: Validating readline-common 6.3-8
| I: Retrieving sed 4.2.2-4+deb8u1
| I: Validating sed 4.2.2-4+deb8u1
| I: Retrieving sensible-utils 0.0.9+deb8u1
| I: Validating sensible-utils 0.0.9+deb8u1
| I: Retrieving login 1:4.2-3+deb8u4
| I: Validating login 1:4.2-3+deb8u4
| I: Retrieving passwd 1:4.2-3+deb8u4
| I: Validating passwd 1:4.2-3+deb8u4
| I: Retrieving libslang2 2.3.0-2
| I: Validating libslang2 2.3.0-2
| I: Retrieving startpar 0.59-3
| I: Validating startpar 0.59-3
| I: Retrieving libsystemd0 215-17+deb8u7
| I: Validating libsystemd0 215-17+deb8u7
| I: Retrieving libudev1 215-17+deb8u7
| I: Validating libudev1 215-17+deb8u7
| I: Retrieving systemd 215-17+deb8u7
| I: Validating systemd 215-17+deb8u7
| I: Retrieving systemd-sysv 215-17+deb8u7
| I: Validating systemd-sysv 215-17+deb8u7
| I: Retrieving udev 215-17+deb8u7
| I: Validating udev 215-17+deb8u7
| I: Retrieving initscripts 2.88dsf-59
| I: Validating initscripts 2.88dsf-59
| I: Retrieving sysv-rc 2.88dsf-59
| I: Validating sysv-rc 2.88dsf-59
| I: Retrieving sysvinit-utils 2.88dsf-59
| I: Validating sysvinit-utils 2.88dsf-59
| I: Retrieving tar 1.27.1-2+deb8u1
| I: Validating tar 1.27.1-2+deb8u1
| I: Retrieving tzdata 2018e-0+deb8u1
| I: Validating tzdata 2018e-0+deb8u1
| I: Retrieving libustr-1.0-1 1.0.4-3+b2
| I: Validating libustr-1.0-1 1.0.4-3+b2
| I: Retrieving bsdutils 1:2.25.2-6
| I: Validating bsdutils 1:2.25.2-6
| I: Retrieving libblkid1 2.25.2-6
| I: Validating libblkid1 2.25.2-6
| I: Retrieving libmount1 2.25.2-6
| I: Validating libmount1 2.25.2-6
| I: Retrieving libsmartcols1 2.25.2-6
| I: Validating libsmartcols1 2.25.2-6
| I: Retrieving libuuid1 2.25.2-6
| I: Validating libuuid1 2.25.2-6
| I: Retrieving mount 2.25.2-6
| I: Validating mount 2.25.2-6
| I: Retrieving util-linux 2.25.2-6
| I: Validating util-linux 2.25.2-6
| I: Retrieving liblzma5 5.1.1alpha+20120614-2+b3
| I: Validating liblzma5 5.1.1alpha+20120614-2+b3
| I: Retrieving zlib1g 1:1.2.8.dfsg-2+b1
| I: Validating zlib1g 1:1.2.8.dfsg-2+b1
| I: Chosen extractor for .deb packages: dpkg-deb
| I: Extracting acl...
| I: Extracting libacl1...
| I: Extracting adduser...
| I: Extracting libattr1...
| I: Extracting libaudit-common...
| I: Extracting libaudit1...
| I: Extracting base-files...
| I: Extracting base-passwd...
| I: Extracting bash...
| I: Extracting libbz2-1.0...
| I: Extracting libdebconfclient0...
| I: Extracting coreutils...
| I: Extracting libcryptsetup4...
| I: Extracting dash...
| I: Extracting libdb5.3...
| I: Extracting debconf...
| I: Extracting debconf-i18n...
| I: Extracting debianutils...
| I: Extracting diffutils...
| I: Extracting dpkg...
| I: Extracting e2fslibs...
| I: Extracting e2fsprogs...
| I: Extracting libcomerr2...
| I: Extracting libss2...
| I: Extracting findutils...
| I: Extracting gcc-4.8-base...
| I: Extracting gcc-4.9-base...
| I: Extracting libgcc1...
| I: Extracting libc-bin...
| I: Extracting libc6...
| I: Extracting multiarch-support...
| I: Extracting grep...
| I: Extracting gzip...
| I: Extracting hostname...
| I: Extracting init...
| I: Extracting insserv...
| I: Extracting libkmod2...
| I: Extracting libcap2...
| I: Extracting libcap2-bin...
| I: Extracting libgcrypt20...
| I: Extracting libgpg-error0...
| I: Extracting liblocale-gettext-perl...
| I: Extracting libselinux1...
| I: Extracting libsemanage-common...
| I: Extracting libsemanage1...
| I: Extracting libsepol1...
| I: Extracting libtext-charwidth-perl...
| I: Extracting libtext-iconv-perl...
| I: Extracting libtext-wrapi18n-perl...
| I: Extracting lsb-base...
| I: Extracting dmsetup...
| I: Extracting libdevmapper1.02.1...
| I: Extracting mawk...
| I: Extracting libncurses5...
| I: Extracting libncursesw5...
| I: Extracting libtinfo5...
| I: Extracting ncurses-base...
| I: Extracting ncurses-bin...
| I: Extracting libpam-modules...
| I: Extracting libpam-modules-bin...
| I: Extracting libpam-runtime...
| I: Extracting libpam0g...
| I: Extracting libpcre3...
| I: Extracting perl-base...
| I: Extracting libprocps3...
| I: Extracting procps...
| I: Extracting sed...
| I: Extracting sensible-utils...
| I: Extracting login...
| I: Extracting passwd...
| I: Extracting libslang2...
| I: Extracting startpar...
| I: Extracting libsystemd0...
| I: Extracting libudev1...
| I: Extracting systemd...
| I: Extracting systemd-sysv...
| I: Extracting udev...
| I: Extracting initscripts...
| I: Extracting sysv-rc...
| I: Extracting sysvinit-utils...
| I: Extracting tar...
| I: Extracting tzdata...
| I: Extracting libustr-1.0-1...
| I: Extracting bsdutils...
| I: Extracting libblkid1...
| I: Extracting libmount1...
| I: Extracting libsmartcols1...
| I: Extracting libuuid1...
| I: Extracting mount...
| I: Extracting util-linux...
| I: Extracting liblzma5...
| I: Extracting zlib1g...
| I: Installing core packages...
| I: Unpacking required packages...
| I: Unpacking acl...
| I: Unpacking libacl1:amd64...
| I: Unpacking adduser...
| I: Unpacking libattr1:amd64...
| I: Unpacking libaudit-common...
| I: Unpacking libaudit1:amd64...
| I: Unpacking base-files...
| I: Unpacking base-passwd...
| I: Unpacking bash...
| I: Unpacking libbz2-1.0:amd64...
| I: Unpacking libdebconfclient0:amd64...
| I: Unpacking coreutils...
| I: Unpacking libcryptsetup4:amd64...
| I: Unpacking dash...
| I: Unpacking libdb5.3:amd64...
| I: Unpacking debconf...
| I: Unpacking debconf-i18n...
| I: Unpacking debianutils...
| I: Unpacking diffutils...
| I: Unpacking dpkg...
| I: Unpacking e2fslibs:amd64...
| I: Unpacking e2fsprogs...
| I: Unpacking libcomerr2:amd64...
| I: Unpacking libss2:amd64...
| I: Unpacking findutils...
| I: Unpacking gcc-4.8-base:amd64...
| I: Unpacking gcc-4.9-base:amd64...
| I: Unpacking libgcc1:amd64...
| I: Unpacking libc-bin...
| I: Unpacking libc6:amd64...
| I: Unpacking multiarch-support...
| I: Unpacking grep...
| I: Unpacking gzip...
| I: Unpacking hostname...
| I: Unpacking init...
| I: Unpacking insserv...
| I: Unpacking libkmod2:amd64...
| I: Unpacking libcap2:amd64...
| I: Unpacking libcap2-bin...
| I: Unpacking libgcrypt20:amd64...
| I: Unpacking libgpg-error0:amd64...
| I: Unpacking liblocale-gettext-perl...
| I: Unpacking libselinux1:amd64...
| I: Unpacking libsemanage-common...
| I: Unpacking libsemanage1:amd64...
| I: Unpacking libsepol1:amd64...
| I: Unpacking libtext-charwidth-perl...
| I: Unpacking libtext-iconv-perl...
| I: Unpacking libtext-wrapi18n-perl...
| I: Unpacking lsb-base...
| I: Unpacking dmsetup...
| I: Unpacking libdevmapper1.02.1:amd64...
| I: Unpacking mawk...
| I: Unpacking libncurses5:amd64...
| I: Unpacking libncursesw5:amd64...
| I: Unpacking libtinfo5:amd64...
| I: Unpacking ncurses-base...
| I: Unpacking ncurses-bin...
| I: Unpacking libpam-modules:amd64...
| I: Unpacking libpam-modules-bin...
| I: Unpacking libpam-runtime...
| I: Unpacking libpam0g:amd64...
| I: Unpacking libpcre3:amd64...
| I: Unpacking perl-base...
| I: Unpacking libprocps3:amd64...
| I: Unpacking procps...
| I: Unpacking sed...
| I: Unpacking sensible-utils...
| I: Unpacking login...
| I: Unpacking passwd...
| I: Unpacking libslang2:amd64...
| I: Unpacking startpar...
| I: Unpacking libsystemd0:amd64...
| I: Unpacking libudev1:amd64...
| I: Unpacking systemd...
| I: Unpacking systemd-sysv...
| I: Unpacking udev...
| I: Unpacking initscripts...
| I: Unpacking sysv-rc...
| I: Unpacking sysvinit-utils...
| I: Unpacking tar...
| I: Unpacking tzdata...
| I: Unpacking libustr-1.0-1:amd64...
| I: Unpacking bsdutils...
| I: Unpacking libblkid1:amd64...
| I: Unpacking libmount1:amd64...
| I: Unpacking libsmartcols1:amd64...
| I: Unpacking libuuid1:amd64...
| I: Unpacking mount...
| I: Unpacking util-linux...
| I: Unpacking liblzma5:amd64...
| I: Unpacking zlib1g:amd64...
| I: Configuring required packages...
| I: Configuring gcc-4.8-base:amd64...
| I: Configuring lsb-base...
| I: Configuring sensible-utils...
| I: Configuring ncurses-base...
| I: Configuring libsemanage-common...
| I: Configuring gcc-4.9-base:amd64...
| I: Configuring libaudit-common...
| I: Configuring libc6:amd64...
| I: Configuring startpar...
| I: Configuring libc-bin...
| I: Configuring diffutils...
| I: Configuring insserv...
| I: Configuring findutils...
| I: Configuring debianutils...
| I: Configuring hostname...
| I: Configuring multiarch-support...
| I: Configuring mawk...
| I: Configuring libprocps3:amd64...
| I: Configuring libpcre3:amd64...
| I: Configuring libbz2-1.0:amd64...
| I: Configuring libkmod2:amd64...
| I: Configuring libgpg-error0:amd64...
| I: Configuring base-files...
| I: Configuring libdebconfclient0:amd64...
| I: Configuring libselinux1:amd64...
| I: Configuring libcomerr2:amd64...
| I: Configuring libslang2:amd64...
| I: Configuring libsepol1:amd64...
| I: Configuring libgcc1:amd64...
| I: Configuring libustr-1.0-1:amd64...
| I: Configuring libsmartcols1:amd64...
| I: Configuring libaudit1:amd64...
| I: Configuring libtinfo5:amd64...
| I: Configuring libudev1:amd64...
| I: Configuring libattr1:amd64...
| I: Configuring libss2:amd64...
| I: Configuring liblzma5:amd64...
| I: Configuring base-passwd...
| I: Configuring e2fslibs:amd64...
| I: Configuring libgcrypt20:amd64...
| I: Configuring libncursesw5:amd64...
| I: Configuring libdb5.3:amd64...
| I: Configuring zlib1g:amd64...
| I: Configuring libcap2:amd64...
| I: Configuring libsystemd0:amd64...
| I: Configuring libdevmapper1.02.1:amd64...
| I: Configuring libsemanage1:amd64...
| I: Configuring sysvinit-utils...
| I: Configuring libacl1:amd64...
| I: Configuring ncurses-bin...
| I: Configuring acl...
| I: Configuring libncurses5:amd64...
| I: Configuring libcap2-bin...
| I: Configuring bsdutils...
| I: Configuring coreutils...
| I: Configuring tar...
| I: Configuring dpkg...
| I: Configuring sed...
| I: Configuring perl-base...
| I: Configuring grep...
| I: Configuring debconf...
| I: Configuring tzdata...
| I: Configuring gzip...
| I: Configuring dash...
| I: Configuring libtext-iconv-perl...
| I: Configuring sysv-rc...
| I: Configuring liblocale-gettext-perl...
| I: Configuring libtext-charwidth-perl...
| I: Configuring libpam0g:amd64...
| I: Configuring libpam-modules-bin...
| I: Configuring bash...
| I: Configuring libtext-wrapi18n-perl...
| I: Configuring libpam-modules:amd64...
| I: Configuring libpam-runtime...
| I: Configuring debconf-i18n...
| I: Configuring passwd...
| I: Configuring login...
| I: Configuring adduser...
| I: Configuring libuuid1:amd64...
| I: Configuring libblkid1:amd64...
| I: Configuring libmount1:amd64...
| I: Configuring libcryptsetup4:amd64...
| I: Configuring mount...
| I: Configuring initscripts...
| I: Configuring util-linux...
| I: Configuring e2fsprogs...
| I: Configuring procps...
| I: Configuring udev...
| I: Configuring systemd...
| I: Configuring dmsetup...
| I: Configuring systemd-sysv...
| I: Configuring init...
| I: Configuring libc-bin...
| I: Unpacking the base system...
| I: Unpacking apt...
| I: Unpacking libapt-pkg4.12:amd64...
| I: Unpacking debian-archive-keyring...
| I: Unpacking libstdc++6:amd64...
| I: Unpacking locales...
| I: Unpacking gnupg...
| I: Unpacking gpgv...
| I: Unpacking libusb-0.1-4:amd64...
| I: Unpacking libreadline6:amd64...
| I: Unpacking readline-common...
| I: Configuring the base system...
| I: Configuring readline-common...
| I: Configuring gpgv...
| I: Configuring debian-archive-keyring...
| I: Configuring libstdc++6:amd64...
| I: Configuring libapt-pkg4.12:amd64...
| I: Configuring libusb-0.1-4:amd64...
| I: Configuring locales...
| I: Configuring libreadline6:amd64...
| I: Configuring gnupg...
| I: Configuring apt...
| I: Configuring libc-bin...
| I: Base system installed successfully.
|
'/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/apt-preferences'
->
'/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/rootfs/etc/apt/preferences.d/bootstrap'
| /bin/bash: line 15: [: =: unary operator expected
|
'/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/apt-sources'
->
'/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/rootfs/etc/apt/sources.list.d/bootstrap.list'
|
'/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/apt-sources-init'
->
'/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/rootfs/etc/apt/sources-list'
|
'/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/isar-apt.conf'
->
'/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/rootfs/etc/apt/apt.conf.d/50isar.conf'
| /bin/bash: line 28: [: =: unary operator expected
|
'/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/locale'
->
'/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/rootfs/etc/locale'
| Generating locales (this might take a while)...
| en_US.UTF-8... done
| Generation complete.
|
'/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/chroot-setup.sh'
->
'/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/rootfs/chroot-setup.sh'
| Ign http://ftp.debian.org jessie InRelease
| Get:1 http://ftp.debian.org jessie-updates InRelease [145 kB]
| Get:2 http://security.debian.org jessie/updates InRelease [44.9 kB]
| Hit http://ftp.debian.org jessie Release.gpg
| Hit http://ftp.debian.org jessie Release
| Get:3 http://ftp.debian.org jessie-updates/main Sources [17.2 kB]
| Get:4 http://ftp.debian.org jessie-updates/contrib Sources [32 B]
| Get:5 http://security.debian.org jessie/updates/main Sources [288 kB]
| Get:6 http://ftp.debian.org jessie-updates/non-free Sources [920 B]
| Get:7 http://ftp.debian.org jessie-updates/contrib amd64 Packages [32 B]
| Get:8 http://ftp.debian.org jessie-updates/contrib Translation-en [14 B]
| Get:9 http://ftp.debian.org jessie-updates/main Translation-en [14.9 kB]
| Get:10 http://ftp.debian.org jessie-updates/non-free Translation-en
[496 B]
| Get:11 http://ftp.debian.org jessie/main Sources [7,063 kB]
| Get:12 http://security.debian.org jessie/updates/contrib Sources [1,439 B]
| Get:13 http://security.debian.org jessie/updates/non-free Sources
[1,627 B]
| Get:14 http://security.debian.org jessie/updates/main amd64 Packages
[643 kB]
| Get:15 http://ftp.debian.org jessie/contrib Sources [50.4 kB]
| Get:16 http://ftp.debian.org jessie/non-free Sources [99.2 kB]
| Hit http://ftp.debian.org jessie/main amd64 Packages
| Get:17 http://security.debian.org jessie/updates/contrib amd64
Packages [2,506 B]
| Get:18 http://security.debian.org jessie/updates/non-free amd64
Packages [4,548 B]
| Get:19 http://security.debian.org jessie/updates/contrib
Translation-en [1,211 B]
| Get:20 http://security.debian.org jessie/updates/main Translation-en
[326 kB]
| Hit http://ftp.debian.org jessie/contrib amd64 Packages
| Hit http://ftp.debian.org jessie/non-free amd64 Packages
| Get:21 http://ftp.debian.org jessie/contrib Translation-en [38.3 kB]
| Get:22 http://ftp.debian.org jessie/main Translation-en [4,581 kB]
| Get:23 http://ftp.debian.org jessie/non-free Translation-en [72.0 kB]
| Get:24 http://ftp.debian.org jessie-updates/main amd64 Packages [20.1 kB]
| Get:25 http://ftp.debian.org jessie-updates/non-free amd64 Packages
[516 B]
| Get:26 http://security.debian.org jessie/updates/non-free
Translation-en [11.8 kB]
| Fetched 13.4 MB in 8s (1,538 kB/s)
| Reading package lists...
| Reading package lists...
| Building dependency tree...
| Starting pkgProblemResolver with broken count: 0
| Starting 2 pkgProblemResolver with broken count: 0
| Done
| The following packages will be upgraded:
| apt gcc-4.9-base libapt-pkg4.12 libgcc1 libgcrypt20 libstdc++6
libsystemd0
| libudev1 perl-base systemd systemd-sysv tar tzdata udev
| 14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
| Need to get 8,528 kB of archives.
| After this operation, 1,099 kB of additional disk space will be used.
| Get:1 http://security.debian.org/ jessie/updates/main perl-base amd64
5.20.2-3+deb8u12 [1,231 kB]
| Get:2 http://security.debian.org/ jessie/updates/main tar amd64
1.27.1-2+deb8u2 [676 kB]
| Get:3 http://security.debian.org/ jessie/updates/main gcc-4.9-base
amd64 4.9.2-10+deb8u2 [160 kB]
| Get:4 http://security.debian.org/ jessie/updates/main libgcc1 amd64
1:4.9.2-10+deb8u2 [39.4 kB]
| Get:5 http://security.debian.org/ jessie/updates/main libstdc++6 amd64
4.9.2-10+deb8u2 [273 kB]
| Get:6 http://security.debian.org/ jessie/updates/main libapt-pkg4.12
amd64 1.0.9.8.5 [792 kB]
| Get:7 http://security.debian.org/ jessie/updates/main apt amd64
1.0.9.8.5 [1,109 kB]
| Get:8 http://security.debian.org/ jessie/updates/main libudev1 amd64
215-17+deb8u9 [58.1 kB]
| Get:9 http://security.debian.org/ jessie/updates/main udev amd64
215-17+deb8u9 [877 kB]
| Get:10 http://security.debian.org/ jessie/updates/main libgcrypt20
amd64 1.6.3-2+deb8u5 [394 kB]
| Get:11 http://security.debian.org/ jessie/updates/main libsystemd0
amd64 215-17+deb8u9 [89.8 kB]
| Get:12 http://security.debian.org/ jessie/updates/main systemd amd64
215-17+deb8u9 [2,557 kB]
| Get:13 http://security.debian.org/ jessie/updates/main systemd-sysv
amd64 215-17+deb8u9 [37.0 kB]
| Get:14 http://security.debian.org/ jessie/updates/main tzdata all
2018i-0+deb8u1 [233 kB]
| debconf: delaying package configuration, since apt-utils is not installed
| Fetched 8,528 kB in 2s (2,980 kB/s)
| E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No
such device)
| (Reading database ... 8076 files and directories currently installed.)
| Preparing to unpack .../perl-base_5.20.2-3+deb8u12_amd64.deb ...
| Unpacking perl-base (5.20.2-3+deb8u12) over (5.20.2-3+deb8u11) ...
| Setting up perl-base (5.20.2-3+deb8u12) ...
| (Reading database ... 8076 files and directories currently installed.)
| Preparing to unpack .../tar_1.27.1-2+deb8u2_amd64.deb ...
| Unpacking tar (1.27.1-2+deb8u2) over (1.27.1-2+deb8u1) ...
| Setting up tar (1.27.1-2+deb8u2) ...
| (Reading database ... 8076 files and directories currently installed.)
| Preparing to unpack .../gcc-4.9-base_4.9.2-10+deb8u2_amd64.deb ...
| Unpacking gcc-4.9-base:amd64 (4.9.2-10+deb8u2) over (4.9.2-10+deb8u1) ...
| Setting up gcc-4.9-base:amd64 (4.9.2-10+deb8u2) ...
| (Reading database ... 8076 files and directories currently installed.)
| Preparing to unpack .../libgcc1_1%3a4.9.2-10+deb8u2_amd64.deb ...
| Unpacking libgcc1:amd64 (1:4.9.2-10+deb8u2) over (1:4.9.2-10+deb8u1) ...
| Setting up libgcc1:amd64 (1:4.9.2-10+deb8u2) ...
| Processing triggers for libc-bin (2.19-18+deb8u10) ...
| (Reading database ... 8076 files and directories currently installed.)
| Preparing to unpack .../libstdc++6_4.9.2-10+deb8u2_amd64.deb ...
| Unpacking libstdc++6:amd64 (4.9.2-10+deb8u2) over (4.9.2-10+deb8u1) ...
| Setting up libstdc++6:amd64 (4.9.2-10+deb8u2) ...
| Processing triggers for libc-bin (2.19-18+deb8u10) ...
| (Reading database ... 8076 files and directories currently installed.)
| Preparing to unpack .../libapt-pkg4.12_1.0.9.8.5_amd64.deb ...
| Unpacking libapt-pkg4.12:amd64 (1.0.9.8.5) over (1.0.9.8.4) ...
| Setting up libapt-pkg4.12:amd64 (1.0.9.8.5) ...
| Processing triggers for libc-bin (2.19-18+deb8u10) ...
| (Reading database ... 8076 files and directories currently installed.)
| Preparing to unpack .../apt_1.0.9.8.5_amd64.deb ...
| Unpacking apt (1.0.9.8.5) over (1.0.9.8.4) ...
| Setting up apt (1.0.9.8.5) ...
| Processing triggers for libc-bin (2.19-18+deb8u10) ...
| (Reading database ... 8076 files and directories currently installed.)
| Preparing to unpack .../libudev1_215-17+deb8u9_amd64.deb ...
| Unpacking libudev1:amd64 (215-17+deb8u9) over (215-17+deb8u7) ...
| Setting up libudev1:amd64 (215-17+deb8u9) ...
| Processing triggers for libc-bin (2.19-18+deb8u10) ...
| (Reading database ... 8076 files and directories currently installed.)
| Preparing to unpack .../udev_215-17+deb8u9_amd64.deb ...
| Unpacking udev (215-17+deb8u9) over (215-17+deb8u7) ...
| Processing triggers for systemd (215-17+deb8u7) ...
| Setting up udev (215-17+deb8u9) ...
| Failed to read /proc/cmdline. Ignoring: No such file or directory
| addgroup: The group `input' already exists as a system group. Exiting.
| A chroot environment has been detected, udev not started.
| A chroot environment has been detected, udev not started.
| (Reading database ... 8076 files and directories currently installed.)
| Preparing to unpack .../libgcrypt20_1.6.3-2+deb8u5_amd64.deb ...
| Unpacking libgcrypt20:amd64 (1.6.3-2+deb8u5) over (1.6.3-2+deb8u4) ...
| Setting up libgcrypt20:amd64 (1.6.3-2+deb8u5) ...
| Processing triggers for libc-bin (2.19-18+deb8u10) ...
| (Reading database ... 8076 files and directories currently installed.)
| Preparing to unpack .../libsystemd0_215-17+deb8u9_amd64.deb ...
| Unpacking libsystemd0:amd64 (215-17+deb8u9) over (215-17+deb8u7) ...
| Setting up libsystemd0:amd64 (215-17+deb8u9) ...
| Processing triggers for libc-bin (2.19-18+deb8u10) ...
| (Reading database ... 8076 files and directories currently installed.)
| Preparing to unpack .../systemd_215-17+deb8u9_amd64.deb ...
| Unpacking systemd (215-17+deb8u9) over (215-17+deb8u7) ...
| Setting up systemd (215-17+deb8u9) ...
| Failed to read /proc/cmdline. Ignoring: No such file or directory
| addgroup: The group `systemd-journal' already exists as a system
group. Exiting.
| Failed to read /proc/cmdline. Ignoring: No such file or directory
| Failed to read /proc/cmdline. Ignoring: No such file or directory
| Failed to read /proc/cmdline. Ignoring: No such file or directory
| (Reading database ... 8076 files and directories currently installed.)
| Preparing to unpack .../systemd-sysv_215-17+deb8u9_amd64.deb ...
| Unpacking systemd-sysv (215-17+deb8u9) over (215-17+deb8u7) ...
| Setting up systemd-sysv (215-17+deb8u9) ...
| (Reading database ... 8076 files and directories currently installed.)
| Preparing to unpack .../tzdata_2018i-0+deb8u1_all.deb ...
| Unpacking tzdata (2018i-0+deb8u1) over (2018e-0+deb8u1) ...
| Setting up tzdata (2018i-0+deb8u1) ...
|
| Current default time zone: 'Etc/UTC'
| Local time is now: Tue Feb 12 13:48:42 UTC 2019.
| Universal Time is now: Tue Feb 12 13:48:42 UTC 2019.
| Run 'dpkg-reconfigure tzdata' if you wish to change it.
|
| umount:
/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/rootfs/dev:
not mounted
| WARNING: exit code 32 from a shell command.
| ERROR: Function failed: do_bootstrap (log file is located at
/workspace/build/isar_mosipov_next/139/build/tmp/work/debian-jessie-amd64/isar-bootstrap-target/temp/log.do_bootstrap.10414)
NOTE: recipe isar-bootstrap-target-1.0-r0: task do_bootstrap: Failed
ERROR: Task
(multiconfig:qemuamd64-jessie:/workspace/build/isar_mosipov_next/139/meta/recipes-core/isar-bootstrap/isar-bootstrap-target.bb:do_bootstrap)
failed with exit code '1'
Similar logs for other targets.
regards,
Claudius
>
> Regards,
> Maxim.
>
>
> On 2/12/19 2:36 PM, Maxim Yu. Osipov wrote:
>> Hi Claudius,
>>
>>
>> On 2/12/19 2:16 PM, Claudius Heine wrote:
>>> Hi Maxim,
>>>
>>> On 12/02/2019 12.24, Maxim Yu. Osipov wrote:
>>>> Hi Claudius,
>>>>
>>>> I've applied your series and ran CI build.
>>>>
>>>> It fails on:
>>>> ERROR: mc:nand-ubi-demo-buster:isar-image-ubi-1.0-r0 do_fit_image:
>>>> FIT_IMAGE_SOURCE does not contain fitimage source file
>>>
>>> Have you applied the templating system patch before this patchset?
>>
>> I'm sorry - I've missed it.
>> I'll apply the latest version (v2 sent on Tue, 5 Feb 2019) and restart
>> a CI test.
>>
>> Regards,
>> Maxim.
>>
>>
>>> regards,
>>> Claudius
>>>
>>>>
>>>> See for details:
>>>> http://isar-build.org:8080/job/isar_mosipov_next/138/console
>>>>
>>>> Thanks,
>>>> Maxim.
>>>>
>>>> On 2/11/19 10:09 AM, claudius.heine.ext@siemens.com wrote:
>>>>> From: Claudius Heine <ch@denx.de>
>>>>>
>>>>> Hi,
>>>>>
>>>>> fifth version of the UBI support for isar.
>>>>>
>>>>> Claudius
>>>>>
>>>>> Chagnes form v4:
>>>>> - Moved "doc/user: added targz-img to image type list" patch to own
>>>>> submission
>>>>> - Move path mounting into image.bbclass
>>>>>
>>>>> Changes from v3:
>>>>>
>>>>> - Moved dtb copy function into main `do_copy_boot_files`
>>>>> (feedback from
>>>>> Henning)
>>>>> - some minor fixes
>>>>>
>>>>> Changes from v2:
>>>>>
>>>>> - added fit image support patch
>>>>> - moved to new templating system
>>>>> - refactored `copy_boot_files` of isar-image-ubi
>>>>>
>>>>> Changes from v1:
>>>>> - fixed license header
>>>>> - removed ubifs test since it is included in the ubi test
>>>>> - merged ubifs and ubi patchset
>>>>> - renamed qemusabrelite to nand-ubi-demo
>>>>> - added nand-ubi-demo to ci build
>>>>> - added some entries for ubi/ubifs support in manu
>>>>>
>>>>> Claudius Heine (5):
>>>>> meta/image.bbclass: add image_do_mounts for image specific mounts
>>>>> meta/classes: added ubifs-img class
>>>>> meta/classes: added ubi-img class
>>>>> meta/classes: added fit-img class for creation of fit images
>>>>> meta-isar: added nand-ubi-demo example to demonstrate UBI use
>>>>>
>>>>> doc/user_manual.md | 3 +
>>>>> meta-isar/classes/ubi-ubifs-img.bbclass | 10 ++++
>>>>> meta-isar/conf/local.conf.sample | 1 +
>>>>> meta-isar/conf/machine/nand-ubi-demo.conf | 13 +++++
>>>>> .../multiconfig/nand-ubi-demo-buster.conf | 13 +++++
>>>>> .../images/files/fitimage.its.tmpl | 58
>>>>> +++++++++++++++++++
>>>>> .../images/files/ubinize.cfg.tmpl | 17 ++++++
>>>>> .../recipes-core/images/isar-image-ubi.bb | 26 +++++++++
>>>>> meta/classes/fit-img.bbclass | 32 ++++++++++
>>>>> meta/classes/image.bbclass | 35 ++++++++++-
>>>>> meta/classes/ubi-img.bbclass | 35 +++++++++++
>>>>> meta/classes/ubifs-img.bbclass | 30 ++++++++++
>>>>> scripts/ci_build.sh | 1 +
>>>>> 13 files changed, 273 insertions(+), 1 deletion(-)
>>>>> create mode 100644 meta-isar/classes/ubi-ubifs-img.bbclass
>>>>> create mode 100644 meta-isar/conf/machine/nand-ubi-demo.conf
>>>>> create mode 100644
>>>>> meta-isar/conf/multiconfig/nand-ubi-demo-buster.conf
>>>>> create mode 100644
>>>>> meta-isar/recipes-core/images/files/fitimage.its.tmpl
>>>>> create mode 100644
>>>>> meta-isar/recipes-core/images/files/ubinize.cfg.tmpl
>>>>> create mode 100644 meta-isar/recipes-core/images/isar-image-ubi.bb
>>>>> create mode 100644 meta/classes/fit-img.bbclass
>>>>> create mode 100644 meta/classes/ubi-img.bbclass
>>>>> create mode 100644 meta/classes/ubifs-img.bbclass
>>>>>
>>>>
>>>>
>>>
>>
>>
>
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 0/5] UBI support
2019-02-12 15:51 ` Claudius Heine
@ 2019-02-12 16:36 ` Claudius Heine
2019-02-13 8:36 ` Maxim Yu. Osipov
0 siblings, 1 reply; 22+ messages in thread
From: Claudius Heine @ 2019-02-12 16:36 UTC (permalink / raw)
To: Maxim Yu. Osipov, isar-users; +Cc: Claudius Heine
On 12/02/2019 16.51, [ext] Claudius Heine wrote:
> Hi Maxim,
>
> On 12/02/2019 15.06, Maxim Yu. Osipov wrote:
>> Hi again, Claudius,
>>
>> I've applied "[PATCH v2 1/1] meta: added do_transform_template task as
>> templating system and switch" before UBI support v5 series
>> and CI failed:
>>
>> See for details
>>
>> http://isar-build.org:8080/job/isar_mosipov_next/139/console
>
> I only see errors that complain about code that is not affected by the
> template and ubi patchset. It complains about the 'buildchroot-target',
> which does not use the ubi classes or the template functions.
>
> I will investigate further, but currently I don't think that the bug is
> in those patchesets that lead to this issue. Currently I cannot
> reproduce this issue on my host.
I tried reproducing it on the siemens internal ci server without
success. So if that issue persists on your CI then I would need access
to that server to debug that issue or maybe the dump of the bitbake
environment for the buildchroot-target task + the state of the tmp
directory.
Regards,
Claudius
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 0/5] UBI support
2019-02-12 16:36 ` Claudius Heine
@ 2019-02-13 8:36 ` Maxim Yu. Osipov
2019-02-13 9:53 ` Claudius Heine
0 siblings, 1 reply; 22+ messages in thread
From: Maxim Yu. Osipov @ 2019-02-13 8:36 UTC (permalink / raw)
To: Claudius Heine, isar-users; +Cc: Claudius Heine
Hi Claudius,
You can easily access the build directory with all build artifacts of
the last build (the build artifacts of previous builds are wiped out
except logs): Just go to
http://isar-build.org:8080/job/isar_mosipov_next/ws/build.
FYI: The last (#141) build (with your patches (Click on Changes)) failed:
See:
http://isar-build.org:8080/job/isar_mosipov_next/141/console
The previous (#140) (actually is the same as 'next') is OK:
http://isar-build.org:8080/job/isar_mosipov_next/140/console
Just to doublecheck: have you tried on your local PC
'./scripts/ci_build.sh -q'?
Regards,
Maxim.
On 2/12/19 5:36 PM, Claudius Heine wrote:
> On 12/02/2019 16.51, [ext] Claudius Heine wrote:
>> Hi Maxim,
>>
>> On 12/02/2019 15.06, Maxim Yu. Osipov wrote:
>>> Hi again, Claudius,
>>>
>>> I've applied "[PATCH v2 1/1] meta: added do_transform_template task
>>> as templating system and switch" before UBI support v5 series
>>> and CI failed:
>>>
>>> See for details
>>>
>>> http://isar-build.org:8080/job/isar_mosipov_next/139/console
>>
>> I only see errors that complain about code that is not affected by the
>> template and ubi patchset. It complains about the
>> 'buildchroot-target', which does not use the ubi classes or the
>> template functions.
>>
>> I will investigate further, but currently I don't think that the bug
>> is in those patchesets that lead to this issue. Currently I cannot
>> reproduce this issue on my host.
>
> I tried reproducing it on the siemens internal ci server without
> success. So if that issue persists on your CI then I would need access
> to that server to debug that issue or maybe the dump of the bitbake
> environment for the buildchroot-target task + the state of the tmp
> directory.
>
> Regards,
> Claudius
>
--
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 0/5] UBI support
2019-02-13 8:36 ` Maxim Yu. Osipov
@ 2019-02-13 9:53 ` Claudius Heine
0 siblings, 0 replies; 22+ messages in thread
From: Claudius Heine @ 2019-02-13 9:53 UTC (permalink / raw)
To: Maxim Yu. Osipov, isar-users; +Cc: Claudius Heine
Hi Maxim,
On 13/02/2019 09.36, Maxim Yu. Osipov wrote:
> Hi Claudius,
>
> You can easily access the build directory with all build artifacts of
> the last build (the build artifacts of previous builds are wiped out
> except logs): Just go to
>
> http://isar-build.org:8080/job/isar_mosipov_next/ws/build.
>
> FYI: The last (#141) build (with your patches (Click on Changes)) failed:
>
> See:
> http://isar-build.org:8080/job/isar_mosipov_next/141/console
>
> The previous (#140) (actually is the same as 'next') is OK:
>
> http://isar-build.org:8080/job/isar_mosipov_next/140/console
Thx!
>
>
> Just to doublecheck: have you tried on your local PC
> './scripts/ci_build.sh -q'?
Well the internal gitlab ci runs ./scripts/ci_build.sh -q -f
On my machine I normally just run single builds.
I now started ci_build.sh -q on my local machine could produce an error:
Log data follows:
| DEBUG: Executing shell function do_build
| Ign file: isar InRelease
| Ign file: isar Release.gpg
| Ign file: isar Release
| Err file: isar/main armhf Packages
| File not found
| Ign file: isar/main Translation-en
| W: Failed to fetch
file:/isar-apt/dists/isar/main/binary-armhf/Packages File not found
|
| E: Some index files failed to download. They have been ignored, or old
ones used instead.
| WARNING:
/mnt/data/isar/layers/isar-master/build/tmp/work/debian-jessie-armhf/buildchroot-target/temp/run.do_build.23502:1
exit 100 from 'sudo -E chroot "$ROOTFSDIR" /usr/bin/apt-get update -o
Dir::Etc::sourcelist="sources.list.d/isar-apt.list" -o
Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"'
| ERROR: Function failed: do_build (log file is located at
/mnt/data/isar/layers/isar-master/build/tmp/work/debian-jessie-armhf/buildchroot-target/temp/log.do_build.23502)
I suspect that this has nothing to do with that patchset directly, I
rather think that this issue was there before, but because I added an
additional task the execution order changed slightly and we now we run
into that race condition under some conditions.
I don't think that this will be an easy or quick fix. But I will
investigate that.
regards,
Claudius
>
> Regards,
> Maxim.
>
> On 2/12/19 5:36 PM, Claudius Heine wrote:
>> On 12/02/2019 16.51, [ext] Claudius Heine wrote:
>>> Hi Maxim,
>>>
>>> On 12/02/2019 15.06, Maxim Yu. Osipov wrote:
>>>> Hi again, Claudius,
>>>>
>>>> I've applied "[PATCH v2 1/1] meta: added do_transform_template task
>>>> as templating system and switch" before UBI support v5 series
>>>> and CI failed:
>>>>
>>>> See for details
>>>>
>>>> http://isar-build.org:8080/job/isar_mosipov_next/139/console
>>>
>>> I only see errors that complain about code that is not affected by
>>> the template and ubi patchset. It complains about the
>>> 'buildchroot-target', which does not use the ubi classes or the
>>> template functions.
>>>
>>> I will investigate further, but currently I don't think that the bug
>>> is in those patchesets that lead to this issue. Currently I cannot
>>> reproduce this issue on my host.
>>
>> I tried reproducing it on the siemens internal ci server without
>> success. So if that issue persists on your CI then I would need access
>> to that server to debug that issue or maybe the dump of the bitbake
>> environment for the buildchroot-target task + the state of the tmp
>> directory.
>>
>> Regards,
>> Claudius
>>
>
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v5 0/5] UBI support
2019-02-11 9:09 [PATCH v5 0/5] UBI support claudius.heine.ext
` (6 preceding siblings ...)
2019-02-12 11:24 ` Maxim Yu. Osipov
@ 2019-02-15 14:47 ` Maxim Yu. Osipov
7 siblings, 0 replies; 22+ messages in thread
From: Maxim Yu. Osipov @ 2019-02-15 14:47 UTC (permalink / raw)
To: claudius.heine.ext, isar-users; +Cc: Claudius Heine
On 2/11/19 10:09 AM, claudius.heine.ext@siemens.com wrote:
> From: Claudius Heine <ch@denx.de>
>
> Hi,
>
> fifth version of the UBI support for isar.
>
> Claudius
>
> Chagnes form v4:
> - Moved "doc/user: added targz-img to image type list" patch to own
> submission
> - Move path mounting into image.bbclass
>
> Changes from v3:
>
> - Moved dtb copy function into main `do_copy_boot_files` (feedback from
> Henning)
> - some minor fixes
>
> Changes from v2:
>
> - added fit image support patch
> - moved to new templating system
> - refactored `copy_boot_files` of isar-image-ubi
>
> Changes from v1:
>
> - fixed license header
> - removed ubifs test since it is included in the ubi test
> - merged ubifs and ubi patchset
> - renamed qemusabrelite to nand-ubi-demo
> - added nand-ubi-demo to ci build
> - added some entries for ubi/ubifs support in manu
Applied to the 'next',
Thanks,
Maxim.
> Claudius Heine (5):
> meta/image.bbclass: add image_do_mounts for image specific mounts
> meta/classes: added ubifs-img class
> meta/classes: added ubi-img class
> meta/classes: added fit-img class for creation of fit images
> meta-isar: added nand-ubi-demo example to demonstrate UBI use
>
> doc/user_manual.md | 3 +
> meta-isar/classes/ubi-ubifs-img.bbclass | 10 ++++
> meta-isar/conf/local.conf.sample | 1 +
> meta-isar/conf/machine/nand-ubi-demo.conf | 13 +++++
> .../multiconfig/nand-ubi-demo-buster.conf | 13 +++++
> .../images/files/fitimage.its.tmpl | 58 +++++++++++++++++++
> .../images/files/ubinize.cfg.tmpl | 17 ++++++
> .../recipes-core/images/isar-image-ubi.bb | 26 +++++++++
> meta/classes/fit-img.bbclass | 32 ++++++++++
> meta/classes/image.bbclass | 35 ++++++++++-
> meta/classes/ubi-img.bbclass | 35 +++++++++++
> meta/classes/ubifs-img.bbclass | 30 ++++++++++
> scripts/ci_build.sh | 1 +
> 13 files changed, 273 insertions(+), 1 deletion(-)
> create mode 100644 meta-isar/classes/ubi-ubifs-img.bbclass
> create mode 100644 meta-isar/conf/machine/nand-ubi-demo.conf
> create mode 100644 meta-isar/conf/multiconfig/nand-ubi-demo-buster.conf
> create mode 100644 meta-isar/recipes-core/images/files/fitimage.its.tmpl
> create mode 100644 meta-isar/recipes-core/images/files/ubinize.cfg.tmpl
> create mode 100644 meta-isar/recipes-core/images/isar-image-ubi.bb
> create mode 100644 meta/classes/fit-img.bbclass
> create mode 100644 meta/classes/ubi-img.bbclass
> create mode 100644 meta/classes/ubifs-img.bbclass
>
--
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2019-02-15 14:47 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-11 9:09 [PATCH v5 0/5] UBI support claudius.heine.ext
2019-02-11 9:09 ` [PATCH v5 1/5] meta/image.bbclass: add image_do_mounts for image specific mounts claudius.heine.ext
2019-02-11 10:49 ` chombourger
2019-02-11 11:33 ` Claudius Heine
2019-02-11 9:09 ` [PATCH v5 2/5] meta/classes: added ubifs-img class claudius.heine.ext
2019-02-11 9:09 ` [PATCH v5 3/5] meta/classes: added ubi-img class claudius.heine.ext
2019-02-11 9:09 ` [PATCH v5 4/5] meta/classes: added fit-img class for creation of fit images claudius.heine.ext
2019-02-11 9:09 ` [PATCH v5 5/5] meta-isar: added nand-ubi-demo example to demonstrate UBI use claudius.heine.ext
2019-02-11 9:45 ` [PATCH v5 0/5] UBI support Henning Schild
2019-02-12 11:24 ` Maxim Yu. Osipov
2019-02-12 13:16 ` Claudius Heine
2019-02-12 13:35 ` Claudius Heine
2019-02-12 13:36 ` Maxim Yu. Osipov
2019-02-12 14:06 ` Maxim Yu. Osipov
2019-02-12 14:09 ` Claudius Heine
2019-02-12 14:36 ` Baurzhan Ismagulov
2019-02-12 14:56 ` Claudius Heine
2019-02-12 15:51 ` Claudius Heine
2019-02-12 16:36 ` Claudius Heine
2019-02-13 8:36 ` Maxim Yu. Osipov
2019-02-13 9:53 ` Claudius Heine
2019-02-15 14:47 ` Maxim Yu. Osipov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox