Do_image_wic error

Hi,

Can someone help me with this? I am following this steps, Stratix 10 SoC GSRD | Documentation | RocketBoards.org
but I met with some errors with yoctoproject and I cant seem to find a right solution for this. It is logged as shown below. Any help is appreciated. Thanks.

DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.4.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.13.1.bb:do_populate_sysroot', '/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-support/bmap-tools/bmap-tools_3.6.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.46.4.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/opkg/opkg_0.4.5.bb:do_populate_sysroot', '/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', '/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-core/glibc/cross-localedef-native_2.34.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/fdisk/gptfdisk_1.0.8.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/dnf/dnf_4.8.0.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-extended/shadow/shadow_4.9.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-extended/pigz/pigz_2.6.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/mtools/mtools_4.0.35.bb:do_populate_sysroot', '/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_populate_sysroot', '/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-extended/shadow/shadow_4.9.bb:do_populate_sysroot', '/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-extended/parted/parted_3.4.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb:do_populate_sysroot', '/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.5.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['gptfdisk-native', 'parted-native', 'dosfstools-native']
NOTE: Skipping as already exists in sysroot: ['createrepo-c-native', 'btrfs-tools-native', 'shadow-sysroot', 'bmap-tools-native', 'e2fsprogs-native', 'pseudo-native', 'cdrtools-native', 'update-rc.d-native', 'syslinux-native', 'opkg-native', 'depmodwrapper-cross', 'cross-localedef-native', 'dnf-native', 'makedevs-native', 'shadow-native', 'pigz-native', 'rpm-native', 'mtools-native', 'base-files', 'qemuwrapper-cross', 'shadow', 'base-passwd', 'squashfs-tools-native', 'ldconfig-native', 'opkg-utils-native', 'debianutils-native', 'openssl-native', 'systemd-systemctl-native', 'lzo-native', 'libtool-native', 'autoconf-native', 'python3-setuptools-native', 'zlib-native', 'automake-native', 'pkgconfig-native', 'quilt-native', 'python3-native', 'util-linux-native', 'python3-six-native', 'coreutils-native', 'xz-native', 'nasm-native', 'texinfo-dummy-native', 'qemu-native', 'opkg-utils', 'glibc', 'attr', 'libxcrypt', 'gcc-runtime', 'kmod-native', 'gettext-minimal-native', 'cmake-native', 'sqlite3-native', 'libxml2-native', 'expat-native', 'file-native', 'ninja-native', 'curl-native', 'glib-2.0-native', 'attr-native', 'libsolv-native', 'libarchive-native', 'patch-native', 'popt-native', 'ncurses-native', 'python3-iniparse-native', 'librepo-native', 'libcomps-native', 'libdnf-native', 'elfutils-native', 'db-native', 'libgcrypt-native', 'bzip2-native', 'shared-mime-info-native', 'lz4-native', 'zstd-native', 'readline-native', 'perl-native', 'gnu-config-native', 'm4-native', 'gdbm-native', 'libffi-native', 'libtirpc-native', 'libnsl2-native', 'util-linux-libuuid-native', 'libpcre2-native', 'libcap-ng-native', 'groff-native', 'meson-native', 'linux-libc-headers', 'libgcc', 'gtk-doc-native', 're2c-native', 'gettext-native', 'libpcre-native', 'gpgme-native', 'libcheck-native', 'gobject-introspection-native', 'libmodulemd-native', 'json-c-native', 'swig-native', 'libmicrohttpd-native', 'libgpg-error-native', 'libcap-native', 'itstool-native', 'xmlto-native', 'perlcross-native', 'libassuan-native', 'flex-native', 'libyaml-native', 'gnutls-native', 'gperf-native', 'docbook-xml-dtd4-native', 'libxslt-native', 'docbook-xsl-stylesheets-native', 'libidn2-native', 'gmp-native', 'libunistring-native', 'nettle-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function set_image_size
DEBUG: 231228.400000 = 177868 * 1.300000
DEBUG: 235324.400000 = max(231228.400000, 8192)[231228.400000] + 4096
DEBUG: 235325.000000 = int(235324.400000)
DEBUG: 235325 = aligned(235325)
DEBUG: returning 235325
DEBUG: Python function set_image_size finished
DEBUG: Executing shell function do_image_wic
INFO: Creating image(s)...

WARNING: bootloader config not specified, using defaults

ERROR: _exec_cmd: export PATH=/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/work/stratix10-poky-linux/console-image-minimal/1.0-r0/recipe-sysroot-native/sbin:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/work/stratix10-poky-linux/console-image-minimal/1.0-r0/recipe-sysroot-native/usr/sbin:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/work/stratix10-poky-linux/console-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/work/stratix10-poky-linux/console-image-minimal/1.0-r0/recipe-sysroot-native/bin:/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/hosttools:$PATH;parted -s /home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/work/stratix10-poky-linux/console-image-minimal/1.0-r0/tmp-wic/sdimage-stratix10-agilex-202206280321-mmcblk.direct set 1 boot on returned '1' instead of 0
output: Error: Error opening /home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/work/stratix10-poky-linux/console-image-minimal/1.0-r0/tmp-wic/sdimage-stratix10-agilex-202206280321-mmcblk.direct: Operation not permitted

WARNING: /home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/work/stratix10-poky-linux/console-image-minimal/1.0-r0/temp/run.do_image_wic.13068:185 exit 1 from 'BUILDDIR="/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/stratix10-gsrd-rootfs" PSEUDO_UNLOAD=1 wic create "$wks" --vars "/home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/sysroots/stratix10/imgdata/" -e "console-image-minimal" -o "$build_wic/" -w "$tmp_wic"'
WARNING: Backtrace (BB generated script): 
	#1: do_image_wic, /home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/work/stratix10-poky-linux/console-image-minimal/1.0-r0/temp/run.do_image_wic.13068, line 185
	#2: main, /home/admin/Documents/s10_gsrd_2021/gsrd_socfpga/stratix10-gsrd-rootfs/tmp/work/stratix10-poky-linux/console-image-minimal/1.0-r0/temp/run.do_image_wic.13068, line 185