pmbootstrap install xiaomi-riva error, cannot build/flash kernel
Describe your issue
pmbootstrap flasher boot
xiaomi-riva error, says dtb not found
.
pmbootstrap build linux-xiaomi-riva --force
error, error logs see comments below
/t/postmarketOS-export 🕙 21:36:50
❯ pmbootstrap -v flasher boot
[21:38:30] Register qemu binfmt (aarch64)
[21:38:32] (rootfs_xiaomi-riva) install device-xiaomi-riva
[21:38:35] (rootfs_xiaomi-riva) install postmarketos-mkinitfs
[21:38:39] (rootfs_xiaomi-riva) install postmarketos-mkinitfs-hook-maximum-attention
[21:38:42] (rootfs_xiaomi-riva) mkinitfs xiaomi-riva
[21:38:44] (native) boot xiaomi-riva kernel
[21:38:44] (native) install android-tools
< waiting for any device >
Sending 'boot.img' (16480 KB) OKAY [ 0.549s]
Booting FAILED (remote: 'dtb not found')
fastboot: error: Command failed
[21:39:22] NOTE: The failed command's output is above the ^^^ line in the log file: /home/light4/.local/var/pmbootstrap/log.txt
[21:39:22] ERROR: Command failed (exit code 1): (native) % fastboot --cmdline androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.usbconfigfs=false androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78B0000 androidboot.selinux=permissive loop.max_part=7 buildvariant=userdebug boot /mnt/rootfs_xiaomi-riva/boot/boot.img
What's the expected behaviour?
What's the current behaviour?
How to reproduce your issue?
pmbootstrap init
pmbootstrap install
~ on master via 🐍 v3.10.8 🕙 20:37:55
❯ cat ~/.config/pmbootstrap.cfg
[pmbootstrap]
aports = /home/light4/.local/var/pmbootstrap/cache_git/pmaports
ccache_size = 5G
is_default_channel = False
device = xiaomi-riva
extra_packages = neovim,git,curl
hostname =
build_pkgs_on_install = False
jobs = 17
kernel = stable
keymap =
locale = en_US.UTF-8
mirror_alpine = http://mirrors.tuna.tsinghua.edu.cn/alpine/
mirrors_postmarketos = http://mirrors.tuna.tsinghua.edu.cn/postmarketOS/
nonfree_firmware = True
nonfree_userland = True
ssh_keys = True
ssh_key_glob = ~/.ssh/id_*.pub
timezone = Asia/Shanghai
ui = gnome-mobile
ui_extras = False
user = light4
work = /home/light4/.local/var/pmbootstrap
boot_size = 512
extra_space = 0
sudo_timer = True
qemu_redir_stdio = False
[providers]
What device are you using?
xiaomi redmi 5a xiaomi-riva
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v22.06
-
v22.12
-
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
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
Edited by Administrator