StaLeWaR Posted June 22, 2016 Share Posted June 22, 2016 Good day friends! I have Orange Pi PC and I decided to try Armbian. Excellent build! My congratulations to the developers Before, I used the image of 'loboris'. I had a problem with the management of the LED in Armbian. How to make u-boot turn red led to the kernel boot? Edit fex file no avail Link to comment Share on other sites More sharing options...
EvgeniK45 Posted July 3, 2016 Share Posted July 3, 2016 in .fex file: set last param to "1" ------------------------------------------------------------ [leds_para] red_led = port:PA15<1>default><default><1> ------------------------------------------------------------ convert to .bin in boot.cmd (on top of the file) write: ------------------------------------------------------------ gpio set PA15 ------------------------------------------------------------ recompile it with: mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr reboot device, now you have red led on boot... 1 Link to comment Share on other sites More sharing options...
shahidali55 Posted July 11, 2016 Share Posted July 11, 2016 Thanks EvgeniK45, this works perfectly on the Orange Pi One with Armbian 5.14. Red LED lights up almost immediately after power is connected. It switches off after shutdown (shutdown -h now). This can now be used to detect system state in my case where a 10 minute power backup is available after mains failure and system needs to be safely shutdown/rebooted after power is restored. Now only if there was something on the Orange Pi One like the RUN jumper on the raspberry pi to reset the system externally ... in .fex file: set last param to "1" ------------------------------------------------------------ [leds_para] red_led = port:PA15<1>default><default><1> ------------------------------------------------------------ convert to .bin in boot.cmd (on top of the file) write: ------------------------------------------------------------ gpio set PA15 ------------------------------------------------------------ recompile it with: mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr reboot device, now you have red led on boot... Link to comment Share on other sites More sharing options...
EvgeniK45 Posted July 17, 2016 Share Posted July 17, 2016 Now only if there was something on the Orange Pi One like the RUN jumper on the raspberry pi to reset the system externally ... Yes it has... But you need to work a little soldering. Here are 2 contacts on the spot D48 is reset. They only need to shut between them. Link to comment Share on other sites More sharing options...
shahidali55 Posted July 25, 2016 Share Posted July 25, 2016 Thanks EvgeniK45. Will test this out soon . . . Yes it has... Link to comment Share on other sites More sharing options...
shahidali55 Posted July 29, 2016 Share Posted July 29, 2016 Just tested this out. Bridging D48 momentarily resets the board and begins boot of OS after it was shutdown via "sudo shutdown -h now". Now I can finally replace my slow and aging Raspberry Pi A+ with a fast and shiny Orange Pi One Link to comment Share on other sites More sharing options...
Recommended Posts