From owner-freebsd-questions@FreeBSD.ORG Mon Dec 8 04:34:45 2014 Return-Path: Delivered-To: freebsd-questions@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 034CDB93 for ; Mon, 8 Dec 2014 04:34:45 +0000 (UTC) Received: from shell.msen.com (msen.com [148.59.86.2]) (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 AF7C9F7 for ; Mon, 8 Dec 2014 04:34:44 +0000 (UTC) X-Sent-To: Received: from [192.168.1.67] (99-170-102-4.lightspeed.livnmi.sbcglobal.net [99.170.102.4]) (authenticated bits=0) by shell.msen.com (8.14.3/8.14.3) with ESMTP id sB84Yh7o038004 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sun, 7 Dec 2014 23:34:43 -0500 (EST) (envelope-from mark@msen.com) Message-ID: <54852A6D.7040208@msen.com> Date: Sun, 07 Dec 2014 23:34:53 -0500 From: Mark Moellering User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Raspberry Pi issues [SOLVED] References: <54850E3C.7030206@msen.com> In-Reply-To: <54850E3C.7030206@msen.com> Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=99.170.102.4; envelope-from= Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=99.170.102.4; helo=[192.168.1.67] X-Milter: Spamilter (Reciever: shell.msen.com; Sender-ip: 99.170.102.4; Sender-helo: [192.168.1.67]; ) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 04:34:45 -0000 On 12/7/2014 9:34 PM, Mark Moellering wrote: > Everyone, > > I am trying to get FreeBSD running on a Raspberry Pi. I have > found a lot of info and many stories of success online but I am having > some real difficulty with Release 10.1 , using the official arm6 > release image. > > I am using a Raspberry Pi B+ 512MB Ram, only 256MB found. Initially, > it would not boot properly. I downloaded various versions of > start.elf from github. The latest one also gave problems but a > slightly older one worked. I found several posts from late october > claiming success and used a version from around that time. All of the > posts I found referncing success were either 11-current or 10.1-RC3 , > so I don't know if there is something different for 10.1 Release. Not > seeing all of the memory is my first problem. > > The second problem is I am unable to compile software, which obviously > could be related to the memory issue. The error I see every time is > when compiling is: > > sqlite/sqlite3.c:8542:26: warning: unused variable 'sqlite3one' > [-Wunused-const-variable] > SQLITE_PRIVATE const int sqlite3one = 1; > ^ > cc: error: unable to execute command: Killed > cc: error: clang frontend command failed due to signal (use -v to see > invocation) > FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 > Target: armv6--freebsd10.1-gnueabi > Thread model: posix > cc: note: diagnostic msg: PLEASE submit a bug report to > https://bugs.freebsd.org/submit/ and include the crash backtrace, > preprocessed source, and associated run script. > cc: note: diagnostic msg: Error generating preprocessed source(s). > *** [sqlite/libsqlite_static_la-sqlite3.lo] Error code 1 > > > If anyone has any suggestions, etc. it would be greatly appreciated. > > Mark Moellering > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > All, I carefully reread the following Raspberry Pi Forum Post : http://www.raspberrypi.org/forums/viewtopic.php?f=85&t=89622 The important part was an update where it specified getting FreeBSD Specific boot files from a directory on github, which is different than the 'master' boot files specified elsewhere: ************************************************************************************** UPDATE: There are some new boot files at the following URL: https://github.com/kientzle/crochet-fre ... rryPi/boot Download the following files and copy them to your MSDOS partition: bootcode.bin fixup.dat fixup_cd.dat start.elf start_cd.elf *********************************************************************************** using the above files fixed the memory and subsequently, the compiling problem. I also found the suggestion : echo 'hw.bcm2835.sdhci.hs="0"' >> /boot/loader.conf extremely helpful. I hope this helps someone. Mark