From owner-freebsd-arm@freebsd.org Mon Aug 22 22:00:14 2016 Return-Path: Delivered-To: freebsd-arm@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 747F7BC2799; Mon, 22 Aug 2016 22:00:14 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::231]) (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 343E716AC; Mon, 22 Aug 2016 22:00:14 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: by mail-yw0-x231.google.com with SMTP id u134so61539094ywg.3; Mon, 22 Aug 2016 15:00:14 -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=RtAmaGq3iRhWwG85a/en9zEoNT3I0QGWdw3JBtt0ccI=; b=kS78Wj/4XxsA3hgfzDGZgXOAOmP8e73G+vl7912tDCMROjyWtipYZI/OO1ca4IBJ3q pg7wn8RYxkNZ8s0rXsHVIKGnBtm+pA245jn422DjBHbi8VtA/K3/s6mxu3me/yNbk+sz WXfJUmoDb8dd//11GTA2vC0E9z2lqaa9gdaV8+YL6nyCV0xXEKjX7ryv9N+lIJ8GDF8y 9Po5qy30oalwDxOqYIR0MI1EtIJFxFqVQZwxero6rOUZ+Ke05AEFvLT36M1Rvj6aE0Cb cEvRwuDvTASpm+mUEqgr47sbk0fjh9vkK7s0OdT1LIaW5qbkkvN6EO5sFI0c5UYCKRij 1v1A== 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=RtAmaGq3iRhWwG85a/en9zEoNT3I0QGWdw3JBtt0ccI=; b=Egti0s4qQcfnosY4felldZNZsa95ISU7Hiwa+9ro76P8ZyTa+oFaJmih4qFWb7YyD7 1r66jikj3nUVXJWQ+plNATYT1m+5GzSv2BeRFc4OuOGIN8MMt/7ptgTeF107mWEO/SZp Mrp1Bv/PQBZBxbUxT0DRMtTzRTKEFFeiKZpWaxjrBCovpPgq/PZr3GsuhmGmE2/PJBwD iOLaOUe4CJLG4teLE1ZtIHR8odl6nExLZodjd5pJjZchIBDqs37jAsq8z3rsJ03iTFhs Bv+n+mVgBtgqPxLFHW13WcdYJG9EsN8K0GUgz9El4aza3Nbzf3EnD9Npt68qt8m1pZHM SZnA== X-Gm-Message-State: AEkoouse5Iq13Qb2XOZLT5UQJijhPG0iXEiR3zCtD/6GH+Zl4OgWKNIduOOHml2ywJOJf1Bu43pDE9ljFPg/bA== X-Received: by 10.13.211.195 with SMTP id v186mr19577994ywd.319.1471903213493; Mon, 22 Aug 2016 15:00:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.213.20 with HTTP; Mon, 22 Aug 2016 15:00:13 -0700 (PDT) In-Reply-To: References: <8004FC58-40BE-404B-905F-C15C872FD084@cs.huji.ac.il> From: Luiz Otavio O Souza Date: Mon, 22 Aug 2016 19:00:13 -0300 Message-ID: Subject: Re: rpi-b leds To: Andrey Fesenko Cc: Daniel Braniss , freebsd-arm , freebsd-current Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2016 22:00:14 -0000 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