Package Details: uboot-legacy-initrd-hooks 0.0.1-1

Git Clone URL: (read-only, click to copy)
Package Base: uboot-legacy-initrd-hooks
Description: Pacman hooks and corresponding scripts to generate uboot legacy initrd, for AArch64 devices, mainly those with Amlogic SoCs
Upstream URL: None
Licenses: GPL3
Submitter: 7Ji
Maintainer: 7Ji
Last Packager: 7Ji
Votes: 0
Popularity: 0.000000
First Submitted: 2022-11-06 12:23 (UTC)
Last Updated: 2022-11-06 12:40 (UTC)

Latest Comments

7Ji commented on 2022-11-07 00:19 (UTC)


Why this isn't on ArchLinuxARM?

Sorry but there's no AUR-equivalent for ArchLinuxARM, as I saw some other popular AArch64-only packages exist on AUR so I thought it's OK to share them here.

FabioLolix commented on 2022-11-06 16:04 (UTC)

Why this stuff isn't on ArchLinuxARM?

7Ji commented on 2022-11-06 13:00 (UTC)

This package is more than just two hooks, the script (/usr/bin/img2uimg) that's called by these hooks under the hood can be called by user directly. You can call it to conviniently convert a normal initramfs to a uboot legacy ramdisk using a command like this:

img2uimg initramfs.img

the result uimg will be initramfs.uimg

It can also convert multiple initramfs in one call:

img2uimg initramfs-linux-a.img initramfs-linux-b.img initramfs-linux-a-fallback.img initramfs-linux-b-fallback.img

If calling without argument, it will convert all linux kernels' initramfs that has a preset under /etc/mkinitcpio.d to uimg. It's recommended to run img2uimg once after you run mkinitcpio -P without invoking the hooks:

mkinitcpio -P