POCO X3 NFC: dtb not found
Describe your issue
while making initfs got dtb not found error
What's the expected behaviour?
builded initfs
What's the current behaviour?
same
How to reproduce your issue?
download mainline sm7150 and try to install to poco x3 nfc
What device are you using?
poco x3 nfc (xiaomi-surya)
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v24.12
-
v24.06
(supported until 2025-01-23) -
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
GNOME Shell on Mobile -
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
Other: Please fill out
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
Additional information
==> initramfs: creating boot.img
ERROR: Unable to find qcom/sm7150-xiaomi-surya.dtb in the following locations:
- /boot/dtbs*
- /usr/share/dtb/
11:01:13.583472 boot-deploy completed in: 0.63s
11:01:13.583656 exit status 1
11:01:13.584242 boot-deploy failed
11:01:13.588658 mkinitfs completed in: 7.07s
ERROR: postmarketos-mkinitfs-2.6.1-r0.trigger: script exited with error 1
Executing postmarketos-base-40-r0.trigger
Executing desktop-file-utils-0.28-r0.trigger
Executing dbus-1.16.0-r0.trigger
Executing eudev-hwids-3.2.14-r5.trigger
Executing mkfontscale-1.2.3-r1.trigger
Executing ca-certificates-20241010-r0.trigger
OK: 2478 MiB in 988 packages
(126307) [20:01:21] % sudo /home/danilochka/.local/var/pmbootstrap/apk.static --no-progress --root /home/danilochka/.local/var/pmbootstrap/chroot_rootfs_xiaomi-surya --arch aarch64 --cache-dir /home/danilochka/.local/var/pmbootstrap/cache_apk_aarch64 --repository /home/danilochka/.local/var/pmbootstrap/packages/edge --repository /home/danilochka/.local/var/pmbootstrap/packages/edge add --no-interactive -u --virtual .pmbootstrap /home/danilochka/.local/var/pmbootstrap/packages/edge/aarch64/linux-postmarketos-qcom-sm7150-6.7.4_p20250103195844-r0.apk
(1/1) Installing .pmbootstrap (20250103.110121)
1 error; 2478 MiB in 989 packages
(126307) [20:01:22] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(126307) [20:01:22] NOTE: The failed command's output is above the ^^^ line in the log file: /home/danilochka/.local/var/pmbootstrap/log.txt
(126307) [20:01:22] ERROR: Command failed (exit code 1): % sudo /home/danilochka/.local/var/pmbootstrap/apk.static --no-progress --root /home/danilochka/.local/var/pmbootstrap/chroot_rootfs_xiaomi-surya --arch aarch64 --cache-dir /home/danilochka/.local/var/pmbootstrap/cache_apk_aarch64 --repository /home/danilochka/.local/var/pmbootstrap/packages/edge --repository /home/danilochka/.local/var/pmbootstrap/packages/edge add --no-interactive -u --virtual .pmbootstrap /home/danilochka/.local/var/pmbootstrap/packages/edge/aarch64/linux-postmarketos-qcom-sm7150-6.7.4_p20250103195844-r0.apk
(126307) [20:01:22] See also: <https://postmarketos.org/troubleshooting>
(126307) [20:01:22] Traceback (most recent call last):
File "/home/danilochka/poc/pmbootstrap/pmb/__init__.py", line 111, in main
run_command(args)
File "/home/danilochka/poc/pmbootstrap/pmb/commands/__init__.py", line 60, in run_command
getattr(frontend, args.action)(args)
File "/home/danilochka/poc/pmbootstrap/pmb/helpers/frontend.py", line 411, in install
pmb.install.install(args)
File "/home/danilochka/poc/pmbootstrap/pmb/install/_install.py", line 1414, in install
create_device_rootfs(args, step, steps)
File "/home/danilochka/poc/pmbootstrap/pmb/install/_install.py", line 1353, in create_device_rootfs
pmb.chroot.apk.install(install_packages, chroot)
File "/home/danilochka/poc/pmbootstrap/pmb/chroot/apk.py", line 230, in install
install_run_apk(to_add, to_add_local, to_del, chroot)
File "/home/danilochka/poc/pmbootstrap/pmb/chroot/apk.py", line 191, in install_run_apk
pmb.helpers.apk.run(command, chroot, with_progress=(i == 0))
File "/home/danilochka/poc/pmbootstrap/pmb/helpers/apk.py", line 223, in run
pmb.helpers.run.root(_command)
File "/home/danilochka/poc/pmbootstrap/pmb/helpers/run.py", line 129, in root
return user(cmd, working_dir, output, output_return, check, env, True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/danilochka/poc/pmbootstrap/pmb/helpers/run.py", line 52, in user
return pmb.helpers.run_core.core(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/danilochka/poc/pmbootstrap/pmb/helpers/run_core.py", line 476, in core
check_return_code(code, log_message)
File "/home/danilochka/poc/pmbootstrap/pmb/helpers/run_core.py", line 316, in check_return_code
raise RuntimeError(f"Command failed (exit code {str(code)}): " + log_message)
RuntimeError: Command failed (exit code 1): % sudo /home/danilochka/.local/var/pmbootstrap/apk.static --no-progress --root /home/danilochka/.local/var/pmbootstrap/chroot_rootfs_xiaomi-surya --arch aarch64 --cache-dir /home/danilochka/.local/var/pmbootstrap/cache_apk_aarch64 --repository /home/danilochka/.local/var/pmbootstrap/packages/edge --repository /home/danilochka/.local/var/pmbootstrap/packages/edge add --no-interactive -u --virtual .pmbootstrap /home/danilochka/.local/var/pmbootstrap/packages/edge/aarch64/linux-postmarketos-qcom-sm7150-6.7.4_p20250103195844-r0.apk
Edited by Daniil