I am developing a custom Beaglebone image which I want to deploy on to many other Beaglebones. The easiest way of doing that is using the beaglebone-black-make-microSD-flasher-from-eMMC.sh script provided with every Beaglebone.
That has also worked fine so far until I started deleting /boot/initrd.img-4.19.94-ti-r*.
I need my Beaglebone to boot as fast as possible and I have found out, that by removing the initrd.img-4.19.94-ti-r* file, the boot time is reduced by over 10 seconds.
@RobertCNelson has also stated, that this file is not necessarily needed (If I understood that correctly)
Because the shell script creating the micro sd flasher also creates the initrd file, I have written a script, that removes the file if it is present.
But now if I flash a SD card with my image, the first beaglebone I want to overwrite, is flashed successfully. But the second one, won’t flash anymore. (Error: We don’t know how to reset the leds as we are not a BBB compatible device)
Why does the script think, that it isn’t a Beaglebone anymore?
Why does it work the first time, but fail the times after? The micro SD shouln’t be edited, when flashing a Beaglebone or am I wrong? I am confused.
Thanks in Advance.