asus-flo missing: qcom-apq8064-asus-nexus7-flo.dtb
Hello, this is my first attempt at installing postmarketos. Please don't be angry if I did something wrong.
Describe your issue
When I run pmbootstrap install --filesystem f2f
it aborts after some time and asks for a file called qcom-apq8064-asus-nexus7-flo.dtb
that does not exist.
What's the expected behaviour?
The installation should be continued.
What's the current behaviour?
The installation terminates with the following error:
==> kernel: device-tree blob operations
ERROR: File not found: /usr/share/dtb/qcom-apq8064-asus-nexus7-flo.dtb
2022/06/06 21:00:54 'boot-deploy' command failed
2022/06/06 21:00:54 bootDeploy: exit status 1
ERROR: postmarketos-mkinitfs-1.4.1-r5.trigger: script exited with error 1
How to reproduce your issue?
I followed the instructions in the wiki: asus-flo asus-grouper
I have executed these commands:
pmbootstrap init
pmbootstrap status
pmbootstrap install --filesystem f2fs
What device are you using?
asus-flo 32GB model (currently running Ubuntu Touch)
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v21.12
-
v22.06
-
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Phone environments
-
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway)
Other
-
No environment ("none" in pmbootstrap) -
GNOME -
KDE Plasma -
Kodi -
MATE -
Shelli -
Sway -
Weston -
Xfce4 -
fbkeyboard -
i3wm -
Sxmo (Xorg/Dwm) -
console UI -
framebufferphone
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
I use pmbootstrap on Manjaro(AUR)
$ pmbootstrap init
[22:12:29] Location of the 'work' path. Multiple chroots (native, device arch, device rootfs) will be created in there.
[22:12:29] Work path [/home/manuel/.local/var/pmbootstrap]:
[22:12:31] NOTE: pmaports path: /home/manuel/.local/var/pmbootstrap/cache_git/pmaports
[22:12:31] Choose the postmarketOS release channel.
[22:12:31] Available (6):
[22:12:31] * edge: Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
[22:12:31] * v22.06: Upcoming stable release (DO NOT USE)
[22:12:31] * v21.12: Latest release / Recommended for best stability
[22:12:31] * v21.06: Old release (unsupported)
[22:12:31] * v21.03: Old release (unsupported)
[22:12:31] * v20.05: Old release (unsupported)
[22:12:31] Channel [edge]:
[22:12:32] Choose your target device vendor (either an existing one, or a new one for porting).
[22:12:32] Available vendors (69): acer, alcatel, amazon, apple, ark, arrow, asus, bq, cubietech, essential, fairphone, finepower, fly, goclever, google, gp, hisense, htc, huawei, infocus, jolla, klipad, kobo, lark, leeco, lenovo, lg, medion, meizu, microsoft, mobvoi, motorola, nextbit, nobby, nokia, nvidia, odroid, oneplus, oppo, ouya, pegatron, pine64, planet, purism, qemu, raspberry, samsung, semc, sharp, shift, sipeed, sony, sourceparts, surftab, t2m, tablet, teclast, tokio, tolino, trekstor, vernee, wexler, wiko, wileyfox, xiaomi, xunlong, yu, zte, zuk
[22:12:32] Vendor [qemu]: asus
[22:12:35] Available codenames (18): duma, flo, grouper, me176c, p024, sparrow, t00f, tf101, tf201, tf300t, tf300tg, tf700t, tilapia, x00td, z00l, z00t, z00vd, z010d
[22:12:35] Device codename: flo
[22:12:38] Which kernel do you want to use with your device?
[22:12:38] Downstream kernels are typically the outdated Android kernel forks.
[22:12:38] Upstream kernels (mainline, stable, ...) get security updates, but may have less working features than downstream kernels.
[22:12:38] Available kernels (2):
[22:12:38] * downstream: GPU works somehow, very old
[22:12:38] * mainline: linux-next kernel, install only for development!
[22:12:38] Kernel [downstream]:
[22:12:39] This device has proprietary components, which trade some of your freedom with making more peripherals work.
[22:12:39] We would like to offer full functionality without hurting your freedom, but this is currently not possible for your device.
[22:12:39] device-asus-flo-nonfree-firmware: Wifi firmware
[22:12:39] Enable this package? (y/n) [y]:
[22:12:39] Username [user]:
[22:12:40] Update package index for armv7 (4 file(s))
[22:14:17] Available user interfaces (18):
[22:14:17] * none: Bare minimum OS image for testing and manual customization. The "console" UI should be selected if a graphical UI is not desired.
[22:14:17] * asteroid: (Wayland) Smartwatch UI from AsteroidOS
[22:14:17] * console: Console environment, with no graphical/touch UI
[22:14:17] * fbkeyboard: Plain framebuffer console with touchscreen keyboard support
[22:14:17] * glacier: (Wayland) Open-source alternative to the SailfishOS UI
[22:14:17] * gnome: (Wayland) Gnome Shell
[22:14:17] * i3wm: (X11) Tiling WM (keyboard required)
[22:14:17] * lxqt: (X11) Lightweight Qt Desktop Environment (stylus recommended)
[22:14:17] * mate: (X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)
[22:14:17] * phosh: (Wayland) Mobile UI developed for the Librem 5
[22:14:17] * plasma-bigscreen: (Wayland) 10-feet variant of Plasma, made for big screen TVs
[22:14:17] * plasma-desktop: (X11/Wayland) KDE Desktop Environment (works well with tablets)
[22:14:17] * plasma-mobile: (Wayland) Mobile variant of KDE Plasma (does not run without hardware acceleration)
[22:14:17] * shelli: Plain console with touchscreen gesture support
[22:14:17] * sway: (Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)
[22:14:17] * sxmo-de-dwm: Simple Mobile: Mobile environment based on SXMO and running on dwm
[22:14:17] * sxmo-de-sway: Simple Mobile: Mobile environment based on SXMO and running on sway
[22:14:17] * weston: (Wayland) Reference compositor (demo, not a phone interface)
[22:14:17] * xfce4: (X11) Lightweight desktop (stylus recommended)
[22:14:17] User interface [weston]: phosh
[22:22:35] Additional options: extra free space: 0 MB, boot partition size: 256 MB, parallel jobs: 9, ccache per arch: 5G, sudo timer: False, mirror: http://mirror.postmarketos.org/postmarketos/
[22:22:35] Change them? (y/n) [n]:
[22:23:02] Additional packages that will be installed to rootfs. Specify them in a comma separated list (e.g.: vim,file) or "none"
[22:23:02] Extra packages [none]:
[22:23:07] Your host timezone: Europe/Berlin
[22:23:07] Use this timezone instead of GMT? (y/n) [y]:
[22:23:13] Available locales (14): C.UTF-8, ch_DE.UTF-8, de_CH.UTF-8, de_DE.UTF-8, en_GB.UTF-8, en_US.UTF-8, es_ES.UTF-8, fr_FR.UTF-8, it_IT.UTF-8, nb_NO.UTF-8, nl_NL.UTF-8, pt_BR.UTF-8, ru_RU.UTF-8, sv_SE.UTF-8
[22:23:13] Choose default locale for installation [C.UTF-8]:
[22:23:16] Device hostname (short form, e.g. 'foo') [asus-flo]: linux-tab
[22:23:28] After pmaports are changed, the binary packages may be outdated. If you want to install postmarketOS without changes, reply 'n' for a faster installation.
[22:23:28] Build outdated packages during 'pmbootstrap install'? (y/n) [y]:
[22:23:33] WARNING: The chroots and git repositories in the work dir do not get updated automatically.
[22:23:33] Run 'pmbootstrap status' once a day before working with pmbootstrap to make sure that everything is up-to-date.
[22:23:33] DONE!
[manuel@server ~]$ pmbootstrap status
[22:23:51] *** CONFIG ***
[22:23:51] Device: asus-flo (armv7, "Google Nexus 7 2013")
[22:23:51] Kernel: downstream
[22:23:51] User Interface: phosh
[22:23:51]
[22:23:51] *** GIT REPOS ***
[22:23:51] Path: /home/manuel/.local/var/pmbootstrap/cache_git
[22:23:51] - pmaports (master)
[22:23:51]
[22:23:51] *** CHECKS ***
[22:23:52] All checks passed! \o/
[22:23:52]
[22:23:52] DONE!
[manuel@server ~]$ pmbootstrap install --filesystem f2fs
[22:25:34] *** (1/4) PREPARE NATIVE CHROOT ***
[sudo] password for manuel:
[22:25:40] Update package index for x86_64 (4 file(s))
[22:25:47] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.12.10-r0.apk
[22:25:49] (native) install alpine-base
[22:26:01] (native) install cryptsetup util-linux parted
[22:26:11] *** (2/4) CREATE DEVICE ROOTFS ("asus-flo") ***
[22:26:12] (native) install qemu-arm
[22:26:16] (rootfs_asus-flo) install alpine-base
[22:26:29] (rootfs_asus-flo) install postmarketos-base device-asus-flo postmarketos-ui-phosh device-asus-flo-kernel-downstream device-asus-flo-nonfree-firmware calls chatty eog firefox-esr font-noto font-noto-emoji gedit gnome-calculator gnome-clocks gnome-contacts gnome-software karlender kgx lollypop megapixels mobile-config-firefox portfolio postmarketos-artwork-wallpapers postmarketos-hidden-desktop-entries postmarketos-tweaks postmarketos-welcome-gtk3 ttyescape xdg-user-dirs yelp postmarketos-base-nofde
[sudo] password for manuel:
[23:02:17] NOTE: The failed command's output is above the ^^^ line in the log file: /home/manuel/.local/var/pmbootstrap/log.txt
[23:02:17] ERROR: Command failed (exit code 1): (rootfs_asus-flo) % apk --no-progress add postmarketos-base device-asus-flo postmarketos-ui-phosh device-asus-flo-kernel-downstream device-asus-flo-nonfree-firmware calls chatty eog firefox-esr font-noto font-noto-emoji gedit gnome-calculator gnome-clocks gnome-contacts gnome-software karlender kgx lollypop megapixels mobile-config-firefox portfolio postmarketos-artwork-wallpapers postmarketos-hidden-desktop-entries postmarketos-tweaks postmarketos-welcome-gtk3 ttyescape xdg-user-dirs yelp postmarketos-base-nofde
[23:02:17] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.
[manuel@server ~]$ pmbootstrap log
2022/06/06 21:00:53 Output directory: /boot
2022/06/06 21:00:53 == Generating initramfs ==
2022/06/06 21:00:53 - Including hook scripts
2022/06/06 21:00:53 - Including required binaries
2022/06/06 21:00:53 - Including kernel modules
2022/06/06 21:00:54 - Including splash images
2022/06/06 21:00:54 - Writing and verifying initramfs archive
2022/06/06 21:00:54 == Generating initramfs extra ==
2022/06/06 21:00:54 - Including extra binaries
2022/06/06 21:00:54 - *NOT* including FDE support
2022/06/06 21:00:54 - Writing and verifying initramfs-extra archive
2022/06/06 21:00:54 == Using boot-deploy to finalize/install files ==
==> kernel: device-tree blob operations
ERROR: File not found: /usr/share/dtb/qcom-apq8064-asus-nexus7-flo.dtb
2022/06/06 21:00:54 'boot-deploy' command failed
2022/06/06 21:00:54 bootDeploy: exit status 1
ERROR: postmarketos-mkinitfs-1.4.1-r5.trigger: script exited with error 1
Executing postmarketos-base-20-r0.trigger
Executing dbus-1.14.0-r1.trigger
Executing glib-2.72.2-r0.trigger
Executing fontconfig-2.14.0-r0.trigger
Executing shared-mime-info-2.2-r0.trigger
Executing gdk-pixbuf-2.42.8-r0.trigger
Executing gtk-update-icon-cache-2.24.33-r2.trigger
Executing ca-certificates-20211220-r0.trigger
Executing cracklib-2.9.7-r4.trigger
sort: out of memory
Executing mkfontscale-1.2.2-r0.trigger
Executing appstream-0.15.4-r0.trigger
✔ Metadata cache was updated successfully.
Executing desktop-file-utils-0.26-r1.trigger
OK: 1031 MiB in 635 packages
(032488) [23:01:24] (rootfs_asus-flo) % apk --no-progress add postmarketos-base device-asus-flo postmarketos-ui-phosh device-asus-flo-kernel-downstream device-asus-flo-nonfree-firmware calls chatty eog firefox-esr font-noto font-noto-emoji gedit gnome-calculator gnome-clocks gnome-contacts gnome-software karlender kgx lollypop megapixels mobile-config-firefox portfolio postmarketos-artwork-wallpapers postmarketos-hidden-desktop-entries postmarketos-tweaks postmarketos-welcome-gtk3 ttyescape xdg-user-dirs yelp postmarketos-base-nofde
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
1 error; 1031 MiB in 635 packages
(032488) [23:02:17] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(032488) [23:02:17] NOTE: The failed command's output is above the ^^^ line in the log file: /home/manuel/.local/var/pmbootstrap/log.txt
(032488) [23:02:17] ERROR: Command failed (exit code 1): (rootfs_asus-flo) % apk --no-progress add postmarketos-base device-asus-flo postmarketos-ui-phosh device-asus-flo-kernel-downstream device-asus-flo-nonfree-firmware calls chatty eog firefox-esr font-noto font-noto-emoji gedit gnome-calculator gnome-clocks gnome-contacts gnome-software karlender kgx lollypop megapixels mobile-config-firefox portfolio postmarketos-artwork-wallpapers postmarketos-hidden-desktop-entries postmarketos-tweaks postmarketos-welcome-gtk3 ttyescape xdg-user-dirs yelp postmarketos-base-nofde
(032488) [23:02:17] See also: <https://postmarketos.org/troubleshooting>
(032488) [23:02:17] Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pmb/__init__.py", line 49, in main
getattr(frontend, args.action)(args)
File "/usr/lib/python3.10/site-packages/pmb/helpers/frontend.py", line 324, in install
pmb.install.install(args)
File "/usr/lib/python3.10/site-packages/pmb/install/_install.py", line 1046, in install
create_device_rootfs(args, step, steps)
File "/usr/lib/python3.10/site-packages/pmb/install/_install.py", line 987, in create_device_rootfs
pmb.chroot.apk.install(args, install_packages, suffix)
File "/usr/lib/python3.10/site-packages/pmb/chroot/apk.py", line 260, in install
pmb.chroot.root(args, ["apk", "--no-progress"] + command,
File "/usr/lib/python3.10/site-packages/pmb/chroot/root.py", line 76, in root
return pmb.helpers.run_core.core(args, msg, cmd_sudo, None, output,
File "/usr/lib/python3.10/site-packages/pmb/helpers/run_core.py", line 347, in core
check_return_code(args, code, log_message)
File "/usr/lib/python3.10/site-packages/pmb/helpers/run_core.py", line 219, in check_return_code
raise RuntimeError(f"Command failed (exit code {str(code)}): " +
RuntimeError: Command failed (exit code 1): (rootfs_asus-flo) % apk --no-progress add postmarketos-base device-asus-flo postmarketos-ui-phosh device-asus-flo-kernel-downstream device-asus-flo-nonfree-firmware calls chatty eog firefox-esr font-noto font-noto-emoji gedit gnome-calculator gnome-clocks gnome-contacts gnome-software karlender kgx lollypop megapixels mobile-config-firefox portfolio postmarketos-artwork-wallpapers postmarketos-hidden-desktop-entries postmarketos-tweaks postmarketos-welcome-gtk3 ttyescape xdg-user-dirs yelp postmarketos-base-nofde
(034726) [23:02:57] % tail -n 60 -F /home/manuel/.local/var/pmbootstrap/log.txt
(034726) [23:02:57] *** output passed to pmbootstrap stdout, not to this log ***