Re: rpi-b leds

From: Daniel Braniss <danny_at_cs.huji.ac.il>
Date: Tue, 23 Aug 2016 09:15:59 +0300
> On 23 Aug 2016, at 09:00, Daniel Braniss <danny_at_cs.huji.ac.il> wrote:
> 
>> 
>> On 23 Aug 2016, at 01:00, Luiz Otavio O Souza <lists.br_at_gmail.com> wrote:
>> 
>> On 22 August 2016 at 08:55, Andrey Fesenko wrote:
>>> On Mon, Aug 22, 2016 at 1:29 PM, Daniel Braniss wrote:
>>>> Hi,
>>>> I see that now both leds on the rpi-2 are operational,
>>>> any chance it can happen on the rpi-b too?
>>>> 
>>> 
>>> A year or two ago, rpi-b had operational leds, it's make not working
>>> after rework fdt/std layer
>> 
>> I tested the leds on two different rpi-b and the leds are working.
>> Maybe you are talking about the b+ model ?
>> 
>> The ACT or OK led for the old boards (< b+) are wired to gpio 16. The
>> b+ has two leds, they are wired to pins 47 and 35.
>> 
>> For a quick fix, edit your dts and the leds will work.
>> 
>> Can you check the board revision for your rpi ? (sysctl hw.board.revision)
>> 
>> These are the ones I tested:
>> 
>> hw.board.revision: 3
>> hw.board.revision: 14
>> 
>> Tested with r301978.
> tested with revision 303422:
> hw.board.revision: 16
> 
> and it’s a b+
> 
> managed to get pin 35 to work, but not 47.
> 50% success!
> thanks,
> 	danny
> 

maybe this can shed some light:

gpio0: <BCM2708/2835 GPIO controller> mem 0x200000-0x2000af on simplebus0
gpio0: read-only pins: 46-53.
gpio0: reserved pins: 48-53.
gpiobus0: <OFW GPIO bus> on gpio0
gpioled0: <GPIO led> at pin 16 on gpiobus0
gpioled1: <GPIO led> at pin 47 on gpiobus0
gpioled2: <GPIO led> at pin 35 on gpiobus0
gpioled3: <GPIO led> at pin 6 on gpiobus0
gpioled4: <GPIO led> at pin 12 on gpiobus0
gpioled5: <GPIO led> at pin 13 on gpiobus0
gpiobus0: warning: pin 16 is already mapped
gpioled6: <GPIO led> at pin 22 on gpiobus0
gpioled7: <GPIO led> at pin 23 on gpiobus0
gpioled8: <GPIO led> at pin 24 on gpiobus0
gpioled9: <GPIO led> at pin 5 on gpiobus0
gpioc0: <GPIO controller> on gpio0

>> 
>> 
>> Luiz
> 
> _______________________________________________
> freebsd-current_at_freebsd.org <mailto:freebsd-current_at_freebsd.org> mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current <https://lists.freebsd.org/mailman/listinfo/freebsd-current>
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org <mailto:freebsd-current-unsubscribe_at_freebsd.org>"
Received on Tue Aug 23 2016 - 04:16:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:07 UTC