I’m using the Vim_Ubuntu-server-16.04_Linux-4.9_V170604 image that was released a few days ago but would like to make a few customisations.
Is it possible to extract the Kernel and Initrd from the update.img? I have extracted the ramdisk.PARTITION from the .img file using aml_image_v2_packer but I can’t work out how to further break that down into kernel and initrd.
I basically want to do the opposite of this:
$ ./utils/mkbootimg --kernel linux/arch/arm64/boot/Image --ramdisk images/initrd.img -o images/boot.img
I want to take boot.img and get the Image and initrd.img from it. Is that possible?
Otherwise, would you be able to provide these files from your build environment? Maybe they could be in the /boot directory of the rootfs.