From owner-freebsd-arm@FreeBSD.ORG Sun May 3 05:18:32 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 74244E2 for ; Sun, 3 May 2015 05:18:32 +0000 (UTC) Received: from moon.peach.ne.jp (moon.peach.ne.jp [203.141.148.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 41ECB11FA for ; Sun, 3 May 2015 05:18:31 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id 6459550F0B; Sun, 3 May 2015 14:18:29 +0900 (JST) Received: from artemis (unknown [172.18.0.21]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTPSA id 47FBC50F05; Sun, 3 May 2015 14:18:29 +0900 (JST) Message-ID: <3FEE8BBA9C0D43E58AFE9B041EC05039@ad.peach.ne.jp> From: "Daisuke Aoyama" To: "Luiz Otavio O Souza" Cc: References: In-Reply-To: Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? Date: Sun, 3 May 2015 14:18:30 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2015 05:18:32 -0000 -------------------------------------------------- From: "Luiz Otavio O Souza" Sent: Sunday, May 03, 2015 8:07 AM To: Cc: "Daisuke Aoyama" Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? > On 2 May 2015 at 13:50, Andreas Schwarz wrote: >> On 03.05.15, Daisuke Aoyama wrote: >> >> Hi Daisuke, >> >>> I get freeze if I remove "options SMP" from kernel config. >>> Also freshly installed OS(VM in ESXi) and freshly installed crochet and src without any >>> patch >>> give me un-bootable image.... >>> It seems current RPI2 code does not work with/without ARM_NEW_PMAP at least r282205. >>> My host is r281389 (clang 3.6 version) which is same version of ODROID-C1 and RPI version on >>> ESXi server. >> >> Thank you for the hint, this will explain my problems. >> >> -andreas >> > > indeed. This was the fb issue. It should be fixed with r282359. > > Now a fresh src and kernel (with 'options ARM_NEW_PMAP') will boot to > login prompt. > > If something doesn't not work, let me know. Thank you for your hard work. I notice my SMP kernel failed to attach fb0. >fb0: Failed to set framebuffer info So, it never stop here... I will check new version. If you plan to use RPi2, please apply the cpufreq patch that contains the voltage control fix. Without the patch, you get wrong voltage. You can see the voltage by verbose mode (boot -v from loader). WARNING: Don't set any value without patch. I don't know whether it affects physical damage. Please commit the patch, if you confirm it. Thanks, -- Daisuke Aoyama