commit | 271ecf35de8ecce088a034f4f416e29ad916b882 | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome@forissier.org> | Thu Jun 24 21:42:08 2021 +0200 |
committer | Jerome Forissier <jerome@forissier.org> | Mon Jun 28 20:40:07 2021 +0200 |
tree | 0ed1fbd11040f08eb1cee430e2bd966cdfa35364 | |
parent | 89302b9eaf8c9d93f95115f366cc1d323a0c5d79 [diff] |
qemu_v8.mk: xen: pass -t ext4 instead of -t vfat to make-virt-fs make-virt-fs is used to generate xen.ext4 but is passed '-t vfat' instead of '-t ext4'. Fix that. In fact '-t vfat' happens to be working in general, presumably because the actual format of the image is detected at runtime. However, I could not manage to make a VFAT image work in a Docker container based on Ubuntu 21.04 and with the following kernel image package installed: linux-image-kvm/hirsute-updates,now 5.11.0.1009.9 amd64 [installed] The error messages are as follows: root@32b61ad4d7f3:~/optee_repo_qemu_v8/build# LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 virt-make-fs -t vfat /root/optee_repo_qemu_v8/build/../out/bin/xen_files /root/optee_repo_qemu_v8/build/../out/bin/xen.ext4 [...] libguestfs: trace: mount_options "utf8" "/dev/sda" "/" guestfsd: => mkfs (0x116) took 0.47 secs guestfsd: <= mount_options (0x4a) request length 68 bytes commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle -E /dev/sda SELinux enabled state cached to: disabled No filesystem is currently mounted on /sys/fs/cgroup. Failed to determine unit we run in, ignoring: No data available command: mount '-o' 'utf8' '/dev/sda' '/sysroot//' [ 11.673076] squashfs: Unknown parameter 'utf8' [ 11.694908] fuseblk: Unknown parameter 'utf8' command: mount returned 32 command: mount: stderr: mount: /sysroot: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error. ocaml_exn: 'mount_options' raised 'Failure' exception guestfsd: error: mount exited with status 32: mount: /sysroot: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error. guestfsd: => mount_options (0x4a) took 0.40 secs libguestfs: trace: mount_options = -1 (error) libguestfs: error: mount_options: mount exited with status 32: mount: /sysroot: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error. libguestfs: trace: close libguestfs: closing guestfs handle 0x55f423503430 (state 2) [...] With '-t ext4', the issue is gone. Signed-off-by: Jerome Forissier <jerome@forissier.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Ruchika Gupta <ruchika.gupta@linaro.org>
This git contains makefiles etc to be able to build a full OP-TEE developer setup for the OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io. The pages that used to be here in this git can be found under build and Device specific information at he new location for the OP-TEE documentation.
// OP-TEE core maintainers