Jootamam - Howto create an initramfs image.
Script for booting OrangePI PC in FEL mode. GitHub Gist: instantly share code, notes, and snippets.
The mkinitramfs script generates an initramfs image. The initramfs is a compressed cpio archive. The archive can be used on a different box of the same arch with the corresponding Linux kernel. mkinitramfs is meant for advanced usage. On your local box update-initramfs calls mkinitramfs with the relevant parameters. update-initramfs keeps sha1sum of generated initramfs. It takes care to.
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand.
In order to modify some files, you need to find out how to switch the filesystem into read-write mode. Note that sometimes embedded devices use read-only filesystem formats such as cramfs, and therefore in order to replace or add even a single file (such as a new, or an additional Busybox binary), you need to re-create and write out the entire filesystem image. This operation is not simple for.
Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up initramfs-tools (0.136ubuntu6). update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools (0.136ubuntu6). update-initramfs.
FEL is a low-level subroutine containing in the BootROM on allwinner devices. It is used for provisioning and recovery of devices using USB. When the chip goes to FEL mode, the chip will be waiting for communication from PC though USB.
The result is you can't boot into your system. This is because the initramfs script cryptmount by default can't manage splashy at all. It uses askpass to get your password used by cryptsetup, but askpass doesn't work with splashy, at least in the way that splashy is managed by initramfs default script.