From owner-freebsd-current@freebsd.org Tue Aug 23 07:24:33 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 E6D07BC3EEE; Tue, 23 Aug 2016 07:24:33 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: from mail-yb0-x229.google.com (mail-yb0-x229.google.com [IPv6:2607:f8b0:4002:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A63C51927; Tue, 23 Aug 2016 07:24:33 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: by mail-yb0-x229.google.com with SMTP id d10so47785223ybi.1; Tue, 23 Aug 2016 00:24:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=TrC0chrM4ASgJX1YBnLah0SEtZLWJ6ncnuTcMDWZxrA=; b=oI0yIWU23ivjTjpH+QqbtJ0bhlOkj5Vx8ZulEQwSn2bP6g2lSFD5R39UAHkar9VR4w NB9a5UgwMHZL8zHIPFQMKip9wymjky9xZwNJaMDiYJHsR/w0wG0mDLI55XL5CHx7Tedd e7A0bGHdD37+bUvGV2ZkT6pg9Y6HrpM46j/wgBewwnna7rhmXGQyPq33imPHul1NShyd oaI7wDJFi10rCCBQsw8MtLtwji69hYF9OYw4v96x6CV4F07mG0Sfo6G+NH/vWVoiNzQX pfQFSIvcP8N842eqzEfe55Q0ItRwtxJIzxHiKkYHYRgIg0YFwVGZQNmRnBchw/DkFvbA tlGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=TrC0chrM4ASgJX1YBnLah0SEtZLWJ6ncnuTcMDWZxrA=; b=CpgWBIU9a9xsaXmHZgv9xp0itArmADFVngYS+MiqMoIzItO3fGr+B0Cns9wAt+ef8Q WKSF9BoDbkJuIHp+tAUMt8ZYQhB2I0+QfijwXvcT9srT7DQUmiYiSrik+bbXb2qB7IXW uigvg6EtW1+9Er+wBLRKVn2vc0RW+bh0BIpij8lA2fdCi+s9suN5iE/bQ28ZaF3BaJoN gm82ifyG9/+1bSu07NTxHA6yI6wSjgCVS9j3xYEsLDzJB/EWAqJEC0lFCWldmhVP5fs1 pLGtRcVuQBVJNb8bfPFDx4V6Mr7rZiaaZC9/aKQgBhmXDVSHKIacg3J1rTMwCWn0BJru nI/Q== X-Gm-Message-State: AEkoouvA1TXDRPazmp8/xK4tWdBcFnDuBtvZG9cWBwL6MBHEsljG0BCysYv2Iei3/99i19DFFWonaevVijfLpw== X-Received: by 10.37.203.88 with SMTP id b85mr116755ybg.90.1471937072886; Tue, 23 Aug 2016 00:24:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.206.196 with HTTP; Tue, 23 Aug 2016 00:24:32 -0700 (PDT) In-Reply-To: References: <8004FC58-40BE-404B-905F-C15C872FD084@cs.huji.ac.il> From: Andrey Fesenko Date: Tue, 23 Aug 2016 10:24:32 +0300 Message-ID: Subject: Re: rpi-b leds To: Luiz Otavio O Souza Cc: Daniel Braniss , freebsd-arm , freebsd-current Content-Type: text/plain; charset=UTF-8 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 07:24:34 -0000 On Tue, Aug 23, 2016 at 1:00 AM, Luiz Otavio O Souza 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. > > Luiz Sorry for misinformation Raspberry Pi Model B (Rev 2.0, 512Mb): hw.board.revision: 15 leds work after complete boot