I wrote the Ubuntu 18.10 preinstall to Micro-SD for the Raspberry Pi 3 (mine is B+). Initially the /boot partition mounted as /mnt/boot included the following files:
*firmware folder
*raspi2 kernel? (wasn't in format .img or it might have been)
*There was a config raspi2.x.x.x.txt
*Inside the firmware folder was config.txt with a reference to uboot.bin
*There was a kernel8.img I added that I was trying to boot, but instead it booted the raspi2
Since I booted it a couple of times the whole structure of /boot in terms of the first partition being mounted to /mnt/boot has drastically changed:
*firmware folder has gone
*raspi2 references don't appear to be there anymore
*a new kernel8.img has been created in place of the one I compiled?
*The config.txt is now located under /boot and references kernel8.bin instead
What changed!?
I tried to overwrite my kernel8.img again, but now nothing boots - just rainbow screen:
sudo cp arch/arm64/boot/Image /mnt/boot/kernel8.img
sudo make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- INSTALL_MOD_PATH=/mnt modules_install