Raspberry Pi issues [SOLVED]
Mark Moellering
mark at msen.com
Mon Dec 8 04:34:45 UTC 2014
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at 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
<https://github.com/kientzle/crochet-freebsd/tree/master/board/RaspberryPi/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
More information about the freebsd-questions
mailing list