PINE64
System LED - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Pine A64 Hardware, Accessories and POT (https://forum.pine64.org/forumdisplay.php?fid=32)
+---- Forum: POT modules (https://forum.pine64.org/forumdisplay.php?fid=8)
+---- Thread: System LED (/showthread.php?tid=523)

Pages: 1 2


System LED - stephen fleming - 04-01-2016

I am curious about what the purpose of the LED next to the charge LED on the board is. On the pin-out diagram of the expansion connector it is identified as System LED.


RE: System LED - tllim - 04-01-2016

(04-01-2016, 07:15 AM)stephen fleming Wrote: I am curious about what the purpose of the LED next to the charge LED on the board is. On the pin-out diagram of the expansion connector it is identified as System LED.

This LED is software programmable, and no dedicate assigned function.


RE: System LED - Andrew2 - 04-02-2016

(04-01-2016, 10:51 PM)tllim Wrote:
(04-01-2016, 07:15 AM)stephen fleming Wrote: I am curious about what the purpose of the LED next to the charge LED on the board is. On the pin-out diagram of the expansion connector it is identified as System LED.

This LED is software programmable, and no dedicate assigned function.

Please consider telling us to which pin it is connected, then using longsleep's minimal Ubuntu image, define it in the .dts file and then put something like 
Code:
(echo heartbeat >/sys/class/leds/green_led/trigger ; sleep 60 ; echo none >/sys/class/leds/green_led/trigger) &
in /etc/rc.local. This way you could provide a small 'DOA-or-not.img' every user can use to see whether the board boots at least or not.


RE: System LED - stephen fleming - 04-02-2016

(04-02-2016, 04:15 AM)Andrew2 Wrote:
(04-01-2016, 10:51 PM)tllim Wrote:
(04-01-2016, 07:15 AM)stephen fleming Wrote: I am curious about what the purpose of the LED next to the charge LED on the board is. On the pin-out diagram of the expansion connector it is identified as System LED.

This LED is software programmable, and no dedicate assigned function.

Please consider telling us to which pin it is connected, then using longsleep's minimal Ubuntu image, define it in the .dts file and then put something like 
Code:
(echo heartbeat >/sys/class/leds/green_led/trigger ; sleep 60 ; echo none >/sys/class/leds/green_led/trigger) &
in /etc/rc.local. This way you could provide a small 'DOA-or-not.img' every user can use to see whether the board boots at least or not.

According to the schematic diagram, the user programmable LED is controlled by PL7 on the A64 CPU.


RE: System LED - longsleep - 04-03-2016

Where should this LED be located? I am not seeing it, maybe i am blind. Can you post a picture where it is marked?

Also PL7 is used by s_jtag0@0 in the device tree. Can you provide a link, hint where you see that in the docs?


RE: System LED - Andrew2 - 04-03-2016

Maybe that's the culprit (leds need to be connected to EXP connector): [Image: attachment.php?aid=53]


RE: System LED - longsleep - 04-03-2016

Mhm ok, but where is the actual LED? Especially "purpose of the LED next to the charge LED on the board" . I can't see it - Please mark eg. in https://www.stdin.xyz/media/arm-board-party-1.jpg


RE: System LED - stephen fleming - 04-03-2016

(04-03-2016, 10:04 AM)longsleep Wrote: Mhm ok, but where is the actual LED? Especially "purpose of the LED next to the charge LED on the board" . I can't see it - Please mark eg. in https://www.stdin.xyz/media/arm-board-party-1.jpg
[Image: Pine_64_4.jpg]
                                                                                                                                  ^
                                                                                                      
The LED in question is located right next to the charge LED(marked Chgled) and is just called LED on the board and System LED on the expansion connector pin out sheet.


RE: System LED - longsleep - 04-03-2016

(04-03-2016, 11:08 AM)stephen fleming Wrote:                                                                                                                                                                                                                
The LED in question is located right next to the charge LED(marked Chgled) and is just called LED on the board and System LED on the expansion connector pin out sheet.

No LED that i can see. I suppose you mean the (unused) PINs at the very bottom.


RE: System LED - stephen fleming - 04-03-2016

(04-03-2016, 11:12 AM)longsleep Wrote:
(04-03-2016, 11:08 AM)stephen fleming Wrote:                                                                                                                                                                                                                
The LED in question is located right next to the charge LED(marked Chgled) and is just called LED on the board and System LED on the expansion connector pin out sheet.

No LED that i can see. I suppose you mean the (unused) PINs at the very bottom.
Yes, the software programmable and charge LEDs are optional  and are not installed on the board. When my board arrives, I plan on wiring up the LEDs and the power and reset switches.