From owner-freebsd-current@freebsd.org Tue Aug 23 06:00:14 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46632BC33F3; Tue, 23 Aug 2016 06:00:14 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F0FCA134A; Tue, 23 Aug 2016 06:00:13 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.81.13]) by kabab.cs.huji.ac.il with esmtp id 1bc4kp-0008qR-PY; Tue, 23 Aug 2016 09:00:07 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: rpi-b leds From: Daniel Braniss In-Reply-To: Date: Tue, 23 Aug 2016 09:00:08 +0300 Cc: Andrey Fesenko , freebsd-arm , freebsd-current Content-Transfer-Encoding: quoted-printable Message-Id: <0DB7BED3-A29F-497C-ACB9-6E678111764E@cs.huji.ac.il> References: <8004FC58-40BE-404B-905F-C15C872FD084@cs.huji.ac.il> To: Luiz Otavio O Souza X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 06:00:14 -0000 > On 23 Aug 2016, at 01:00, Luiz Otavio O Souza = 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 and it=E2=80=99s a b+ managed to get pin 35 to work, but not 47. 50% success! thanks, danny >=20 >=20 > Luiz