Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2016 09:15:59 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Luiz Otavio O Souza <lists.br@gmail.com>
Cc:        Andrey Fesenko <f0andrey@gmail.com>, freebsd-arm <freebsd-arm@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: rpi-b leds
Message-ID:  <AC53E65D-D04F-4715-939F-76174BAD67F4@cs.huji.ac.il>
In-Reply-To: <0DB7BED3-A29F-497C-ACB9-6E678111764E@cs.huji.ac.il>
References:  <8004FC58-40BE-404B-905F-C15C872FD084@cs.huji.ac.il> <CA%2BK5SrN6A7f-wYJBCNafc8O73gS=uT90iPeQi-RK5xGk4i8zrQ@mail.gmail.com> <CAB=2f8xytid2qEui9wVpyzkgtJOwUuvNKm889J3C0c_OJUYVnA@mail.gmail.com> <0DB7BED3-A29F-497C-ACB9-6E678111764E@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 23 Aug 2016, at 09:00, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>=20
>>=20
>> On 23 Aug 2016, at 01:00, Luiz Otavio O Souza <lists.br@gmail.com> =
wrote:
>>=20
>> 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?
>>>>=20
>>>=20
>>> A year or two ago, rpi-b had operational leds, it's make not working
>>> after rework fdt/std layer
>>=20
>> I tested the leds on two different rpi-b and the leds are working.
>> Maybe you are talking about the b+ model ?
>>=20
>> 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.
>>=20
>> For a quick fix, edit your dts and the leds will work.
>>=20
>> Can you check the board revision for your rpi ? (sysctl =
hw.board.revision)
>>=20
>> These are the ones I tested:
>>=20
>> hw.board.revision: 3
>> hw.board.revision: 14
>>=20
>> Tested with r301978.
> tested with revision 303422:
> hw.board.revision: 16
>=20
> and it=E2=80=99s a b+
>=20
> managed to get pin 35 to work, but not 47.
> 50% success!
> thanks,
> 	danny
>=20

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

>>=20
>>=20
>> Luiz
>=20
> _______________________________________________
> freebsd-current@freebsd.org <mailto:freebsd-current@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@freebsd.org =
<mailto:freebsd-current-unsubscribe@freebsd.org>"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AC53E65D-D04F-4715-939F-76174BAD67F4>