Thanks for the information. I’m aware of the normal initrd workflow described here and through embedded and desktop systems. I’m also very experienced in traditional init systems.
For my NX-based system, I don’t want a mutable rootfs. Instead, I want to boot from QSPI into an initrd that’s not transitional, but instead is my runtime/rootfs; with busybox and an interactive shell, etc. A bit unconventional but not really when cboot has TFTP boot and I can boot new initrds over the network.
I have another thread (QSPI booting) where I’m trying to figure out which “partition” of QSPI and configuration of cboot will drop be into my custom initrd without relying on the rootfs. I understand I need to modify the kernel parameters, etc.
Anyway, I still don’t know why the flash is failing on the CONTENTS of my initrd.