RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Archived Notice:
This page contains outdated information but kept here for reference to old releases. For the latest versions with active support, please visit CMF Releases page.
Deprecated!
Last official release: rdkb-2023q2-dunfell
This manual describes the rdk-generic-broadband-image build procedure for Yocto 3.1 builds. This will upgrade the default build system used in RDKB, from morty(2.2) to dunfell(3.1). In addition to upgrades to opensource packages, Yocto 3.1 also contain Long term Support release feature. The current version lacks the variety of features available in the dunfell. The upgraded build tools will be used to generate rdk-generic-broadband-image for Raspberrypi reference platform.
Yocto 3.1 Upgradation support the following:
Each component in RDK is a standalone repository with its own individual build tools producing a library or set of binaries. When we upgrade the OE layers to the newer versions, we need to make necessary changes in the RDK layers which use these components, to avoid build failures.
The OpenEmbedded build system should be able to run on Ubuntu 18.04 distribution/other compatible linux distribution with the following versions for Git, tar, and Python.
Note: You should also have about 50 Gbytes of free disk space for building images.
The essential packages you need for a supported Ubuntu or Debian distribution are shown in the following command:
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \ build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \ xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \ pylint3 xterm bmap-tools $ sudo apt-get install git cmake autoconf texinfo openjdk-8-jdk openjdk-8-jre \ m4 libtool libtool-bin curl pkg-config lib32z1 doxygen
In order to use Yocto build system, the repo tool must be properly installed on the machine.
To install Repo make sure you have a /bin directory in your home directory and that it is included in your path
$ mkdir ~/bin $ PATH=~/bin:$PATH Download the repo tool and ensure that it is executable $ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo
Note: it is also recommended to put credentials in ~/.netrc when interacting with repo.
A sample ~/.netrc file is illustrated below
machine code.rdkcentral.com login YOUR_USERNAME password YOUR_PASSWORD
To build, follow below instructions
$ mkdir <workspace dir> $ cd <workspace dir> $ repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml $ repo sync -j`nproc` --no-clone-bundle $ MACHINE=raspberrypi-rdk-broadband source meta-cmf-raspberrypi/setup-environment $ bitbake rdk-generic-broadband-image
Following command can be used to flash the RPI image to sd card using linux machine . bmap tool should be available in linux
bzip2 -d <path to ImageName.wic.bz2> sudo -E bmaptool copy --nobmap <path to ImageName.wic> <path to SD card space> Example: $ bzip2 -d rdk-generic-broadband-image-raspberrypi-rdk-broadband.wic.bz2 $ sudo -E bmaptool copy --nobmap rdk-generic-broadband-image-raspberrypi-rdk-broadband.wic /dev/sdb
No | Feature | Supported |
---|---|---|
1 | LAN Connected Devices-Ethernet | |
2 | WAN Connected Devices-Wi-Fi | |
3 | Parental Control | |
4 | Firewall settings | |
5 | Advanced Config: Port Triggering | |
6 | Advanced Config: Port Forwarding | |
7 | Advanced Config: Remote Management | |
8 | Advanced Config: DMZ | |
9 | Xfinity Wi-Fi 2.4/5 GHz – Public Hotspot | |
10 | Test and Diagnostics | |
11 | Local WebUI Configuration | |
12 | Factory Reset | |
13 | DHCP /Reserved IP | |
14 | EthWan | |
15 | Eth Agent | |
16 | 2.4 GHz Band Support | |
17 | 5 GHz Band Support | |
18 | Bridge Mode Support | |
19 | Persistent Storage Management | |
20 | WebPA for Comcast,community | |
21 | Lost and Found | |
22 | Bluetooth | |
22 | Harvester Support | |
23 | TR-69 | |
24 | SNMP | |
27 | Boot time data measurement | |
28 | Wireless Protection Setup(WPS) | |
29 | Captive Portal | |
30 | Wi-Fi MAC Filtering | |
31 | Log Rotation Support | |
32 | Firmware Upgrade Support | |
33 | Multiboot Support | |
34 | Telemetry Support | |
35 | IPV6 | |
36 | Log level control through CcspLogAgent | |
37 | Band Steering using RSSI | |
38 | Backup and Restore | |
39 | SelfHeal | |
40 | Password-Reset | |
41 | WebUI JST |
35 Comments
Z-Florent Le Saout
Hello, I try to build for Raspberry I get following error :
I'm running this on Ubuntu 20.04.3 LTS.
Narayanaswamy Ramaiyer
Hello Unknown User (flesaout)
The builds are officially tested on Ubuntu 18.04 for Dunfell. Could you please check the builds in a Ubuntu 18.04 machine?
Adam Typel
Hi Guys.
I know that this case is quite old (~3 yo. from the comment), but it seems I am having the same issue as Z-Florent Le Saout had. I am trying to build this for RPi 3B, yet failing with the same error. I am running Ubuntu 18.04 version. See below. Would be grateful for any advice.
k2k@k2k-ubuntu1804-vm:~/rdkb_workspace/build-raspberrypi-rdk-broadband$ bitbake rdk-generic-broadband-image
ERROR: Layer 'cmf-raspberrypi' depends on layer 'cmf-broadband', but this layer is not enabled in your configuration
ERROR: Layer 'cmf-raspberrypi' depends on layer 'rdk-wan', but this layer is not enabled in your configuration
ERROR: Command execution failed: Traceback (most recent call last):
File "/home/k2k/rdkb_workspace/openembedded-core/bitbake/lib/bb/command.py", line 108, in runAsyncCommand
self.cooker.updateCache()
File "/home/k2k/rdkb_workspace/openembedded-core/bitbake/lib/bb/cooker.py", line 1544, in updateCache
self.parseConfiguration ()
File "/home/k2k/rdkb_workspace/openembedded-core/bitbake/lib/bb/cooker.py", line 429, in parseConfiguration
self.handleCollections(self.data.getVar("BBFILE_COLLECTIONS"))
File "/home/k2k/rdkb_workspace/openembedded-core/bitbake/lib/bb/cooker.py", line 1206, in handleCollections
calc_layer_priority(c)
File "/home/k2k/rdkb_workspace/openembedded-core/bitbake/lib/bb/cooker.py", line 1196, in calc_layer_priority
calc_layer_priority(dep)
File "/home/k2k/rdkb_workspace/openembedded-core/bitbake/lib/bb/cooker.py", line 1193, in calc_layer_priority
if not collection_priorities[collection]:
KeyError: 'cmf-broadband'
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
k2k@k2k-ubuntu1804-vm:~/rdkb_workspace/build-raspberrypi-rdk-broadband$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
EDIT:
Just resolved it via changing the command to → repo init -u https://code.rdkcentral.com/r/manifests -b rdkb-2023q4-dunfell -m rdkb.xml
After redownloading the repo, it is running. I will let You know once I run into any other issues with building this up. Thanks.
Z-Florent Le Saout
Hello Unknown User (narayanaswamy)
I will give a try with 18.04 LXC container and keep you posted. Maybe this should be added in the limitations.
As It seems to be layer configuration, I don't think it will help, but let see.
Narayanaswamy Ramaiyer
Hello Unknown User (flesaout)
It is mentioned in the documentation that this is tried out in Ubuntu 18.04 . We will see if we can explicitely mention this is not officially tested in Ubuntu 20.04 (as there are chances it is assumed the Dunfell based RDK-B builds will work fine in all later versions of UBuntu ) until we will start official support in 20.04 too. Thanks
Z-Florent Le Saout
I did try on an LXC container with Ubuntu 18.04 and it doesn't stop the compilation anymore at this stage (full compilation ongoing, and it takes quite some time
)
But when I read about dunfell, it does support Ubuntu 20.04 by default, so where does come this restriction ? RDK layers themselves ? Unknown User (narayanaswamy)
https://lists.yoctoproject.org/g/poky/topic/meta_yocto_master_dunfell/74526284?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,40,74526284
---
meta-poky/conf/distro/poky.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf
index 91779e4..2696eb6 100644
--- a/meta-poky/conf/distro/poky.conf
+++ b/meta-poky/conf/distro/poky.conf
@@ -56,6 +56,7 @@ SANITY_TESTED_DISTROS ?= " \
ubuntu-16.04 \n \
ubuntu-18.04 \n \
ubuntu-19.04 \n \
+ ubuntu-20.04 \n \
fedora-30 \n \
fedora-31 \n \
centos-7 \n \
Narayanaswamy Ramaiyer
Hello Unknown User (flesaout) It is just that the builds are not officially tested and verified in 20.04 Ubuntu as the priorities are more on the feature/enhancement on the platform rather than the host machine( plus 18.04 support is still available as it is an LTS version )
Z-Florent Le Saout
I found an issue with heaptrack package, but as I've switched to Raspi4, I will post on raspi4 thread Unknown User (narayanaswamy)
Unknown User (zzzaaa12)
The source code cannot download.....
And my netrc is correct.
alex@vm:~/rdkb$ repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml
Downloading Repo source from https://gerrit.googlesource.com/git-repo
Downloading manifest from https://code.rdkcentral.com/r/manifests
fatal: remote error: access at least one ref not permitted
manifests: sleeping 4.0 seconds before retrying
fatal: remote error: access at least one ref not permitted
fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests
Unknown User (avrono)
Also having the issue reported above - Do I need to raise a support ticket ?
Unknown User (manickam.shanmugam)
I am getting this error: Can anyone help?
ERROR: Execution of '/export/home/ms1257/RDK-B-2022q3-dunfell-bld71/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/temp/run.do_image_wic.39509' failed with exit code 1
ERROR: Task (/export/home/ms1257/RDK-B-2022q3-dunfell-bld71/meta-rdk/recipes-core/images/rdk-generic-broadband-image.bb:do_image_wic) failed with exit code '1'
ERROR: rdk-generic-broadband-image-1.0-r0 do_image_wic: Execution of '/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/temp/run.do_image_wic.8679' failed with exit code 1
ERROR: Logfile of failure stored in: /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/temp/log.do_image_wic.8679
ERROR: Task (/export/home/ms1257/RDK-B-2022q3-dunfell/meta-rdk/recipes-core/images/rdk-generic-broadband-image.bb:do_image_wic) failed with exit code '1'
Contents of: /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/temp/log.do_image_wic.8679
DEBUG: Executing python function set_image_size
DEBUG: 257816.000000 = 198320 * 1.300000
DEBUG: 257816.000000 = max(257816.000000, 8192)[257816.000000] + 0
DEBUG: 257816.000000 = int(257816.000000)
DEBUG: 258048 = aligned(257816)
DEBUG: returning 258048
DEBUG: Python function set_image_size finished
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/binutils/binutils-cross_2.34.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-support/lzop/lzop_1.04.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/meta-rdk-ext/recipes-devtools/fdisk/gptfdisk_1.0.8.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/meta-raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.4.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-core/glibc/cross-localedef-native_2.31.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/bison/bison_3.5.4.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.4.1.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-extended/parted/parted_3.3.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/opkg/opkg_0.4.2.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-support/bmap-tools/bmap-tools_3.5.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_9.3.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/mtools/mtools_4.0.23.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['dosfstools-native', 'binutils-cross-arm', 'lzop-native', 'gptfdisk-native', 'bc-native', 'rpi-config', 'linux-raspberrypi', 'bison-native', 'parted-native', 'gcc-cross-arm', 'kern-tools-native', 'flex-native', 'popt-native', 'mpfr-native', 'libmpc-native', 'linux-libc-headers', 'gmp-native']
NOTE: Skipping as already exists in sysroot: ['xz-native', 'pigz-native', 'depmodwrapper-cross', 'quilt-native', 'makedevs-native', 'ldconfig-native', 'patch-native', 'e2fsprogs-native', 'cross-localedef-native', 'squashfs-tools-native', 'btrfs-tools-native', 'opkg-utils-native', 'cdrtools-native', 'pbzip2-native', 'update-rc.d-native', 'syslinux-native', 'kmod-native', 'opkg-native', 'bmap-tools-native', 'qemuwrapper-cross', 'pseudo-native', 'mtools-native', 'autoconf-native', 'automake-native', 'gnu-config-native', 'pkgconfig-native', 'libtool-native', 'shadow-native', 'zlib-native', 'texinfo-dummy-native', 'gettext-minimal-native', 'lzo-native', 'ncurses-native', 'util-linux-native', 'systemd-systemctl-native', 'readline-native', 'qemu-native', 'attr-native', 'lz4-native', 'acl-native', 'python3-setuptools-native', 'python3-native', 'perl-native', 'debianutils-native', 'openssl-native', 'bzip2-native', 'nasm-native', 'gtk-doc-native', 'libsolv-native', 'libarchive-native', 'python3-six-native', 'shared-mime-info-native', 'm4-native', 'libpcre2-native', 'libcap-ng-native', 'glib-2.0-native', 'unzip-native', 'sqlite3-native', 'gdbm-native', 'libnsl2-native', 'libffi-native', 'libtirpc-native', 'db-native', 'groff-native', 'expat-native', 'cmake-native', 'ninja-native', 'libxml2-native', 'intltool-native', 'meson-native', 'libpcre-native', 'gettext-native', 'curl-native', 're2c-native', 'libxml-parser-perl-native']
DEBUG: sed -e 's:^[^/]*/:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/:g' /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/sysroots-components/x86_64/bison-native/fixmepath /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/sysroots-components/x86_64/gcc-cross-arm/fixmepath /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/sysroots-components/x86_64/gmp-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/pkgdata/raspberrypi-rdk-broadband:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/pseudo/:g' -e 's:FIXME_LOGFIFO:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/temp/fifo.8679:g'
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_image_wic
INFO: Creating image(s)...
WARNING: bootloader config not specified, using defaults
WARNING: The ext4 filesystem mounted at / has no Y2038 support. Inodes (of size 128) are too small.
INFO: The new image(s) can be found here:
/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/build-wic/sdimage-raspberrypi-202210032056-mmcblk0.direct
The following build artifacts were used to create the image(s):
ROOTFS_DIR: /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/rootfs
BOOTIMG_DIR: /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot/usr/share
KERNEL_DIR: /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/deploy/images/raspberrypi-rdk-broadband
NATIVE_SYSROOT: /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native
INFO: The image(s) were created using OE kickstart file:
/export/home/ms1257/RDK-B-2022q3-dunfell/meta-raspberrypi/wic/sdimage-raspberrypi.wks
bmaptool: ERROR: An error occurred, here is the traceback:
Traceback (most recent call last):
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 383, in _invoke_fiemap
fcntl.ioctl(self._f_image, _FIEMAP_IOCTL, self._buf, 1)
OSError: [Errno 95] Operation not supported
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 528, in filemap
return FilemapFiemap(image)
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 357, in __init__
self.block_is_mapped(0)
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 404, in block_is_mapped
struct_fiemap = self._invoke_fiemap(block, 1)
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 391, in _invoke_fiemap
raise ErrorNotSupp(errstr)
bmaptools.Filemap.ErrorNotSupp: FilemapFiemap: the FIEMAP ioctl is not supported by the file-system
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/BmapCreate.py", line 176, in __init__
self.filemap = Filemap.filemap(self._f_image)
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 530, in filemap
return FilemapSeek(image)
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 203, in __init__
self._probe_seek_hole()
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 238, in _probe_seek_hole
raise ErrorNotSupp("the file-system does not support "
bmaptools.Filemap.ErrorNotSupp: the file-system does not support "SEEK_HOLE" and "SEEK_DATA" but only provides a stub implementation
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/CLI.py", line 554, in create_command
creator = BmapCreate.BmapCreate(args.image, output, "sha256")
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/BmapCreate.py", line 178, in __init__
raise Error("cannot generate bmap for file '%s': %s"
bmaptool: ERROR: cannot generate bmap for file 'rdkb-generic-broadband-image_rdk-next_20221003194334.rootfs.wic': the file-system does not support "SEEK_HOLE" and "SEEK_DATA" but only provides a stub implementation
WARNING: /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/temp/run.do_image_wic.8679:1 exit 1 from 'bmaptool create rdkb-generic-broadband-image_rdk-next_20221003194334.rootfs.wic -o rdkb-generic-broadband-image_rdk-next_20221003194334.rootfs.wic.bmap'
ERROR: Execution of '/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/temp/run.do_image_wic.8679' failed with exit code 1
Deepika Ganapathi Bhat
Hi Unknown User (manickam.shanmugam)
Could you share us the build steps you followed .which release you are using ?
Unknown User (manickam.shanmugam)
Unknown User (deepika.b) The steps as exactly as above in this page with the following changes:
Let me know if you need any additional information. Meantime, I am going to try to build it in a docker container.
Deepika Ganapathi Bhat
Hi Unknown User (manickam.shanmugam)
Can you share me the complete failure log.
If you are trying to build latest cmf release ,please refer RDKB_2022q3_dunfell
Unknown User (manickam.shanmugam)
I don't have permission to upload the console-latest.log and the specic wic error log. However, the wic error log is not that big:
ERROR: rdk-generic-broadband-image-1.0-r0 do_image_wic: Execution of '/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/temp/run.do_image_wic.8679' failed with exit code 1
ERROR: Logfile of failure stored in: /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/temp/log.do_image_wic.8679
ERROR: Task (/export/home/ms1257/RDK-B-2022q3-dunfell/meta-rdk/recipes-core/images/rdk-generic-broadband-image.bb:do_image_wic) failed with exit code '1'
Contents of: /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/temp/log.do_image_wic.8679
DEBUG: Executing python function set_image_size
DEBUG: 257816.000000 = 198320 * 1.300000
DEBUG: 257816.000000 = max(257816.000000, 8192)[257816.000000] + 0
DEBUG: 257816.000000 = int(257816.000000)
DEBUG: 258048 = aligned(257816)
DEBUG: returning 258048
DEBUG: Python function set_image_size finished
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/binutils/binutils-cross_2.34.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-support/lzop/lzop_1.04.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/meta-rdk-ext/recipes-devtools/fdisk/gptfdisk_1.0.8.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/meta-raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.4.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-core/glibc/cross-localedef-native_2.31.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/bison/bison_3.5.4.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.4.1.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-extended/parted/parted_3.3.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/opkg/opkg_0.4.2.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-support/bmap-tools/bmap-tools_3.5.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_9.3.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', 'virtual:native:/export/home/ms1257/RDK-B-2022q3-dunfell/openembedded-core/meta/recipes-devtools/mtools/mtools_4.0.23.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['dosfstools-native', 'binutils-cross-arm', 'lzop-native', 'gptfdisk-native', 'bc-native', 'rpi-config', 'linux-raspberrypi', 'bison-native', 'parted-native', 'gcc-cross-arm', 'kern-tools-native', 'flex-native', 'popt-native', 'mpfr-native', 'libmpc-native', 'linux-libc-headers', 'gmp-native']
NOTE: Skipping as already exists in sysroot: ['xz-native', 'pigz-native', 'depmodwrapper-cross', 'quilt-native', 'makedevs-native', 'ldconfig-native', 'patch-native', 'e2fsprogs-native', 'cross-localedef-native', 'squashfs-tools-native', 'btrfs-tools-native', 'opkg-utils-native', 'cdrtools-native', 'pbzip2-native', 'update-rc.d-native', 'syslinux-native', 'kmod-native', 'opkg-native', 'bmap-tools-native', 'qemuwrapper-cross', 'pseudo-native', 'mtools-native', 'autoconf-native', 'automake-native', 'gnu-config-native', 'pkgconfig-native', 'libtool-native', 'shadow-native', 'zlib-native', 'texinfo-dummy-native', 'gettext-minimal-native', 'lzo-native', 'ncurses-native', 'util-linux-native', 'systemd-systemctl-native', 'readline-native', 'qemu-native', 'attr-native', 'lz4-native', 'acl-native', 'python3-setuptools-native', 'python3-native', 'perl-native', 'debianutils-native', 'openssl-native', 'bzip2-native', 'nasm-native', 'gtk-doc-native', 'libsolv-native', 'libarchive-native', 'python3-six-native', 'shared-mime-info-native', 'm4-native', 'libpcre2-native', 'libcap-ng-native', 'glib-2.0-native', 'unzip-native', 'sqlite3-native', 'gdbm-native', 'libnsl2-native', 'libffi-native', 'libtirpc-native', 'db-native', 'groff-native', 'expat-native', 'cmake-native', 'ninja-native', 'libxml2-native', 'intltool-native', 'meson-native', 'libpcre-native', 'gettext-native', 'curl-native', 're2c-native', 'libxml-parser-perl-native']
DEBUG: sed -e 's:^[^/]*/:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/:g' /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/sysroots-components/x86_64/bison-native/fixmepath /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/sysroots-components/x86_64/gcc-cross-arm/fixmepath /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/sysroots-components/x86_64/gmp-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/pkgdata/raspberrypi-rdk-broadband:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/pseudo/:g' -e 's:FIXME_LOGFIFO:/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/temp/fifo.8679:g'
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_image_wic
INFO: Creating image(s)...
WARNING: bootloader config not specified, using defaults
WARNING: The ext4 filesystem mounted at / has no Y2038 support. Inodes (of size 128) are too small.
INFO: The new image(s) can be found here:
/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/build-wic/sdimage-raspberrypi-202210032056-mmcblk0.direct
The following build artifacts were used to create the image(s):
ROOTFS_DIR: /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/rootfs
BOOTIMG_DIR: /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot/usr/share
KERNEL_DIR: /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/deploy/images/raspberrypi-rdk-broadband
NATIVE_SYSROOT: /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native
INFO: The image(s) were created using OE kickstart file:
/export/home/ms1257/RDK-B-2022q3-dunfell/meta-raspberrypi/wic/sdimage-raspberrypi.wks
bmaptool: ERROR: An error occurred, here is the traceback:
Traceback (most recent call last):
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 383, in _invoke_fiemap
fcntl.ioctl(self._f_image, _FIEMAP_IOCTL, self._buf, 1)
OSError: [Errno 95] Operation not supported
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 528, in filemap
return FilemapFiemap(image)
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 357, in __init__
self.block_is_mapped(0)
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 404, in block_is_mapped
struct_fiemap = self._invoke_fiemap(block, 1)
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 391, in _invoke_fiemap
raise ErrorNotSupp(errstr)
bmaptools.Filemap.ErrorNotSupp: FilemapFiemap: the FIEMAP ioctl is not supported by the file-system
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/BmapCreate.py", line 176, in __init__
self.filemap = Filemap.filemap(self._f_image)
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 530, in filemap
return FilemapSeek(image)
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 203, in __init__
self._probe_seek_hole()
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/Filemap.py", line 238, in _probe_seek_hole
raise ErrorNotSupp("the file-system does not support "
bmaptools.Filemap.ErrorNotSupp: the file-system does not support "SEEK_HOLE" and "SEEK_DATA" but only provides a stub implementation
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/CLI.py", line 554, in create_command
creator = BmapCreate.BmapCreate(args.image, output, "sha256")
File "/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/site-packages/bmaptools/BmapCreate.py", line 178, in __init__
raise Error("cannot generate bmap for file '%s': %s"
bmaptool: ERROR: cannot generate bmap for file 'rdkb-generic-broadband-image_rdk-next_20221003194334.rootfs.wic': the file-system does not support "SEEK_HOLE" and "SEEK_DATA" but only provides a stub implementation
WARNING: /export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/temp/run.do_image_wic.8679:1 exit 1 from 'bmaptool create rdkb-generic-broadband-image_rdk-next_20221003194334.rootfs.wic -o rdkb-generic-broadband-image_rdk-next_20221003194334.rootfs.wic.bmap'
ERROR: Execution of '/export/home/ms1257/RDK-B-2022q3-dunfell/build-raspberrypi-rdk-broadband/tmp/work/raspberrypi_rdk_broadband-rdk-linux-gnueabi/rdk-generic-broadband-image/1.0-r0/temp/run.do_image_wic.8679' failed with exit code 1
Unknown User (manickam.shanmugam)
Build with repo init of rdkb-2021q4-dunfell (-b arg) works. Build succeeds as per procedure here: docker container.
Will try to build rdkb-2022q3-dunfell.
Unknown User (manickam.shanmugam)
What worked:
Docker Build
Was able to successfully flash it to a micro-SD card via balenaEtcher and RPi3 3B is up on it!
Deepika Ganapathi Bhat
Hi Unknown User (manickam.shanmugam)
Thanks for the update , for CMF release please refer RDK-B Code Releases
Z-Nathan Ren
Hi Unknown User (deepika.b)
How can I get the access to RDK-B Code Releases page? Many thanks.
BR, Nathan
Deepika Ganapathi Bhat
Hi Unknown User (nathan.ren)
Refer RDK-B code release page : RDK-B Code Releases
To access the page , please login/signup with rdkcentral credentials.
Regards,
Deepika
Z-Nathan Ren
Hi Unknown User (deepika.b)
Thanks for the reply. I think I already logined as I can reply here to you. But if I open RDK-B Code Releases(above link), it returned to me:
You don't have permission to view this page
This is because it's inheriting restrictions from a parent page. A space admin or the person who shared this page may be able to give you access.
Deepika Ganapathi Bhat
Hi Unknown User (nathan.ren)
Please raise a access request mail for the wiki page to support@rdkcentral.com
Regards,
Deepika Bhat
Z-Nathan Ren
Hi,
I am trying to build RDK-B for RPI 3B+. I have already executed commands below and they seems to be successful.
Then I encountered error below, could you please help to check, many thanks.
nathan@ubuntu:~/RDK/dunfell/build-raspberrypi-rdk-broadband$ bitbake rdk-generic-broadband-image
Loading cache: 100% |##############################################################################################################################################| Time: 0:00:00
Loaded 3005 entries from dependency cache.
WARNING: /home/nathan/RDK/dunfell/meta-rdk-ext/recipes-common/nmap/nmap_7.60.bb: distro_features_check.bbclass is deprecated, please use features_check.bbclass insteadA: 0:00:58
WARNING: /home/nathan/RDK/dunfell/openembedded-core/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb: Variable key pkg_postinst_${BREAKPAD_LOGMAPPER_PKG} ( process_name="${@d.getVar('BREAKPAD_LOGMAPPER_PROCLIST', True)}"
log_files="${@d.getVar('BREAKPAD_LOGMAPPER_LOGLIST', True)}"
file="breakpad-logmapper.conf"
if [ ! -z "$process_name" ] && [ ! -z "$log_files" ]; then
echo "Updating process name:$process_name and log files:$log_files to rootfs"
echo "${process_name}=${log_files}" >> $D${sysconfdir}/${file}
else
echo "No Process name or No log files found"
fi
) replaces original key pkg_postinst_wpa-supplicant ( # If we're offline, we don't need to do this.
if [ "x$D" = "x" ]; then
killall -q -HUP dbus-daemon || true
fi
).
ERROR: ExpansionError during parsing /home/nathan/RDK/dunfell/meta-rdk-ext/recipes-support/littlesheens/littlesheens_1.0.0.bb | ETA: 0:00:38
Traceback (most recent call last):
File "/home/nathan/RDK/dunfell/openembedded-core/bitbake/lib/bb/fetch2/__init__.py", line 1175, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7f21b9b8bb38>, d=<bb.data_smart.DataSmart object at 0x7f21b9bd25f8>, name='default'):
if srcrev == "AUTOINC":
> srcrev = ud.method.latest_revision(ud, d, name)
File "/home/nathan/RDK/dunfell/openembedded-core/bitbake/lib/bb/fetch2/__init__.py", line 1590, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7f21b9b8bb38>, d=<bb.data_smart.DataSmart object at 0x7f21b9bd25f8>, name='default'):
except KeyError:
> revs[key] = rev = self._latest_revision(ud, d, name)
return rev
File "/home/nathan/RDK/dunfell/openembedded-core/bitbake/lib/bb/fetch2/git.py", line 705, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7f21b9b8bb38>, d=<bb.data_smart.DataSmart object at 0x7f21b9bd25f8>, name='default'):
"""
> output = self._lsremote(ud, d, "")
# Tags of the form ^{} may not work, need to fallback to other form
File "/home/nathan/RDK/dunfell/openembedded-core/bitbake/lib/bb/fetch2/git.py", line 694, in Git._lsremote(ud=<bb.fetch2.FetchData object at 0x7f21b9b8bb38>, d=<bb.data_smart.DataSmart object at 0x7f21b9bd25f8>, search=''):
bb.fetch2.check_network_access(d, cmd, repourl)
> output = runfetchcmd(cmd, d, True)
if not output:
File "/home/nathan/RDK/dunfell/openembedded-core/bitbake/lib/bb/fetch2/__init__.py", line 892, in runfetchcmd(cmd='export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/nathan/RDK/dunfell/openembedded-core/scripts:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/littlesheens/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/arm-rdk-linux-gnueabi:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/littlesheens/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/littlesheens/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/littlesheens/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/littlesheens/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/littlesheens/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/home/nathan/RDK/dunfell/openembedded-core/bitbake/bin:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/hosttools"; export HOME="/home/nathan"; git -c core.fsyncobjectfiles=0 ls-remote "https://github.com/Comcast/littlesheens.git" ', d=<bb.data_smart.DataSmart object at 0x7f21b9b8ba20>, quiet=True, cleanup=[], log=None, workdir=None):
> raise FetchError(error_message)
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/nathan/RDK/dunfell/openembedded-core/scripts:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/littlesheens/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/arm-rdk-linux-gnueabi:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/littlesheens/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/littlesheens/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/littlesheens/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/littlesheens/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/littlesheens/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/home/nathan/RDK/dunfell/openembedded-core/bitbake/bin:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/hosttools"; export HOME="/home/nathan"; git -c core.fsyncobjectfiles=0 ls-remote "https://github.com/Comcast/littlesheens.git" failed with exit code 128, output:
fatal: unable to access 'https://github.com/Comcast/littlesheens.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
Deepika Ganapathi Bhat
Hi Unknown User (nathan.ren)
Could you share us the git and python version from your Host system.Do you have access to https://github.com/Comcast/littlesheens.git/ link ? could you please verify open the link in any browser
Z-Nathan Ren
Hi Unknown User (deepika.b)
git version:
python version:
But there are 2 versions of python installed I think:
I just successfully accessed to https://github.com/Comcast/littlesheens.git/ in browser. I am not sure if it is stability issue.
I just removed cache folder under build-raspberrypi-rdk-broadband and re-executed command bitbake rdk-generic-broadband-image, current status as follows:
Z-Nathan Ren
Hi Unknown User (deepika.b)
Error message for above retry:
ERROR: linenoise-1.0-r1 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/nathan/RDK/dunfell/openembedded-core/scripts:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/linenoise/1.0-r1/recipe-sysroot-native/usr/bin/arm-rdk-linux-gnueabi:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/linenoise/1.0-r1/recipe-sysroot/usr/bin/crossscripts:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/linenoise/1.0-r1/recipe-sysroot-native/usr/sbin:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/linenoise/1.0-r1/recipe-sysroot-native/usr/bin:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/linenoise/1.0-r1/recipe-sysroot-native/sbin:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/linenoise/1.0-r1/recipe-sysroot-native/bin:/home/nathan/RDK/dunfell/openembedded-core/bitbake/bin:/home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/hosttools"; export HOME="/home/nathan"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror "https://github.com/antirez/linenoise.git" /home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/../downloads/git2/github.com.antirez.linenoise.git --progress failed with exit code 128, no output
ERROR: linenoise-1.0-r1 do_fetch: Fetcher failure for URL: 'git://github.com/antirez/linenoise.git;protocol=https'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/nathan/RDK/dunfell/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/linenoise/1.0-r1/temp/log.do_fetch.123344
ERROR: Task (/home/nathan/RDK/dunfell/meta-rdk-ext/recipes-support/linenoise/linenoise.bb:do_fetch) failed with exit code '1'
If you want me to provide the full log after executing command bitbake rdk-generic-broadband-image, please let me know.
Many thanks in advance!
Deepika Ganapathi Bhat
Hi Unknown User (nathan.ren)
Created [RDKBSUP-980] RPI 3B_ build is failing with ExpansionError - JIRA (rdkcentral.com) to to track the issue further ,
could you please update the ticket with the below details from host system.
Z-Mahalaxmi Chittawadagi
Hi,
Can anyone please let me know
1. How to see the created devices under rdk-b device show summary in test manager webui
2. How to execute/run the scripts in webui
Thanks & Regards,
Mahalaxmi.
Leandro Simões Cardoso
Hi,
Can anyone please help me with this Error?
WARNING: No bb files matched BBFILE_PATTERN_rdk '^/home/lean/RPI3/dunfel/meta-rdk/'
ERROR: Nothing PROVIDES 'rdk-generic-broadband-image'. Close matches:
rdk-generic-broadband-boot-image
rdk-generic-broadband-lxc-image
rdk-generic-hybrid-dtv-image
Larry Chiang
Dear all,
I face an error when begin of build:
bitbake rdk-generic-broadband-image
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:00
Loaded 21 entries from dependency cache.
ERROR: ExpansionError during parsing /home/larry/RDK_Pi/20230811/meta-cmf-raspberrypi/meta-rdk-broadband/recipes-ccsp/hal/hal-fwupgrade_git.bb | ETA: 0:02:12
Traceback (most recent call last):
File "Var <do_compile[file-checksums]>", line 1, in <module>
File "/home/larry/RDK_Pi/20230811/openembedded-core/meta/classes/externalsrc.bbclass", line 221, in srctree_hash_files(d=<bb.data_smart.DataSmart object at 0x7fe43d399f00>, srcdir=None):
git_sha1 = subprocess.check_output(['git', 'write-tree'], cwd=s_dir, env=env).decode("utf-8")
> submodule_helper = subprocess.check_output(['git', 'submodule--helper', 'list'], cwd=s_dir, env=env).decode("utf-8")
for line in submodule_helper.splitlines():
File "/usr/lib/python3.10/subprocess.py", line 421, in check_output(timeout=None, *popenargs=(['git', 'submodule--helper', 'list'],), **kwargs={'cwd': '/home/larry/RDK_Pi/20230811/meta-cmf/../rdkb/devices/raspberrypi/hal/source/fwupgrade', 'env': {'SHELL': '/bin/bash', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'PWD': '/home/larry/RDK_Pi/20230811/build-raspberrypi-rdk-broadband', 'LOGNAME': 'larry', 'HOME': '/home/larry', 'BBPATH': '/home/larry/RDK_Pi/20230811/build-raspberrypi-rdk-broadband', 'BB_ENV_EXTRAWHITE': 'ALL_PROXY BBPATH_EXTRA BB_LOGCONFIG BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy ', 'TERM': 'xterm-256color', 'USER': 'larry', 'PATH': '/home/larry/RDK_Pi/20230811/openembedded-core/scripts:/home/larry/RDK_Pi/20230811/openembedded-core/bitbake/bin:/home/larry/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin', 'LC_ALL': 'en_US.UTF-8', 'GIT_INDEX_FILE': '/tmp/oe-devtool-index35xxh9a0'}}):
> return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
**kwargs).stdout
File "/usr/lib/python3.10/subprocess.py", line 526, in run(input=None, capture_output=False, timeout=None, check=True, *popenargs=(['git', 'submodule--helper', 'list'],), **kwargs={'stdout': -1, 'cwd': '/home/larry/RDK_Pi/20230811/meta-cmf/../rdkb/devices/raspberrypi/hal/source/fwupgrade', 'env': {'SHELL': '/bin/bash', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'PWD': '/home/larry/RDK_Pi/20230811/build-raspberrypi-rdk-broadband', 'LOGNAME': 'larry', 'HOME': '/home/larry', 'BBPATH': '/home/larry/RDK_Pi/20230811/build-raspberrypi-rdk-broadband', 'BB_ENV_EXTRAWHITE': 'ALL_PROXY BBPATH_EXTRA BB_LOGCONFIG BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy ', 'TERM': 'xterm-256color', 'USER': 'larry', 'PATH': '/home/larry/RDK_Pi/20230811/openembedded-core/scripts:/home/larry/RDK_Pi/20230811/openembedded-core/bitbake/bin:/home/larry/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin', 'LC_ALL': 'en_US.UTF-8', 'GIT_INDEX_FILE': '/tmp/oe-devtool-index35xxh9a0'}}):
if check and retcode:
> raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
bb.data_smart.ExpansionError: Failure expanding variable do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which triggered exception CalledProcessError: Command '['git', 'submodule--helper', 'list']' returned non-zero exit status 129.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
My python version:
python --version
Python 3.10.12
Thank you
Ivan Mytsenko
Hey, wondering if you solved this error. If yes, can you provide your solution?
Larry Chiang
Hi, unfortunately, I moved to Pi 4B so I skipped the Pi 3B issue.
Karl Frederick Roldan
I'm getting this error when using
rdkb-2023q2-dunfell
branch and building without any modifications:Any idea what went wrong here?
Thanks!
Deepika Ganapathi Bhat
Hi Unknown User (karl_roldan)
Please clean the /tmp dir of the host system and re-try the build.
Could you please check if any gradle related files got created under /tmp dir and remove them.
navya
I am getting this error in rdkb_2024q1_dunfell branch without any modification.