if so, why is the IMAGE_FSTYPES set to ext4.gz.u-boot?
--Randy
the linux kernel bundles a blank cpio.gz which is loaded into an initramfs during early initialization, but since there is no init, linux then boots the normal rootfs (e.g., on ext4).
you can instead bundle your own cpio.gz with the kernelwhich has, at a minimum, an init script or program. it is from this initramfs-based rootfs i thought was intended to do the swupdate for a single-copy mode update.
Why do you say this is unwanted? Because it takes extra boot time? I've never done a "pivot" so I don't know how long it takes switch to the new rootfs (the normal one on an ext4, e.g.).
The only way I see to get a custom image is to modify uboot to load the cpio.gz into memory and also add to the device tree the chosen node:
/ {
chosen {
linux,initrd-start = <0x82000000>;
linux,initrd-end = <0x82800000>;
};
};
How would you load the generated image from your swupdate-image recipe?
Perhaps I'm missing something.
--Randy
--Randy
To clarify, I was only going to have one linux kernel, the one that contained the custom, bundled cpio.gz.