while working on my board I want to get to know the status of the bootup. I tried to look into many articles but didn't get any conclusion on how to toggle the GPIO led while booting up and detect the bootup status just like green led blinks on the Raspberry-pi. I too want to do the same for my board any references will be helpful. Thank you in advance for your help.
it is working fine and I am able to execute it as per the requirement we need to create the service at the location
/lib/systemd/system/
being a root user we can create the service and
[Unit]
Description = Blink my LED
DefaultDependencies=no
[Service]
ExecStart=/usr/bin/python3 /<your location>/boot_status.py
[Install]
WantedBy=sysinit.target
can refer link for more details :
https://www.freedesktop.org/software/systemd/man/systemd.special.html