Preface Full disk images contain the bootloader and partition table. To mount an image file, view the contents of the file, then specify a byte offset that points to the beginning of our linux root partition.
Chrooting into systems with different architectures
Preface The qemu-user-static package provides several usermode emulation binaries. We can copy these over to our chroot environment to emulate programs from a different architecture.
WARNING Be prepared to recover your broken SPI flash if an error occurs. When a binary is written to the SPI flash, the SPI flash will be what chooses which drives to boot from.
Preface I assume that you have an nvme drive with a formatted ext4 partition present. I'm using Manjaro Arm. I've tested this on Alarm and I'd imagine it would work on debian aswell.
Preface This is a verbatim copy of the directions written on jackhumbert's git.
Installtion # compile git clone https://github.com/jackhumbert/pinebook-pro-keyboard-updater cd pinebook-pro-keyboard-updater sudo apt-get install build-essential libusb-1.