freebsd-beaglebone install problem

Tim Kientzle tim at kientzle.com
Wed Sep 5 04:28:38 UTC 2012


On Sep 4, 2012, at 9:22 PM, Tim Kientzle wrote:

> 
> On Sep 4, 2012, at 6:07 PM, Warner Losh wrote:
> 
>> 
>> On Sep 4, 2012, at 4:17 PM, Hans Stimer wrote:
>> 
>>> I'm running into problems getting FreeBSD working on the BeagleBone.
> 
>>> 
>>>> # cu -l /dev/ttyU1 -s 115200
>>>> Connected
>>>> CCCCCCCC
>> 
> 
> The ROM code for the AM3358 SoC in the BeagleBone falls
> back to YModem if it can't load the first-stage MLO boot loader
> from SDHC.
> 
> If you see this, then either the FAT partition is
> ill-formed or the MLO file is missing.
> 
>>> I checked the logs, and this one stood out:
>>> 
>>>> # less _.uboot.build.log 
>>>> Generating include/autoconf.mk
>>>> include/common.h:43:20: error: stdarg.h: No such file or directory
>>>> In file included from include/image.h:36,
>>>>               from include/common.h:117:
> 
> Yeah, looks like U-Boot didn't build.
> 
> I haven't updated my local U-Boot sources in a while,
> I'll go do that and get right back to you…

Please update the freebsd-beaglebone scripts and
try again.  I found and fixed a couple of problems:

 * I had reversed the logic to decide if patches were already
   applied, so U-Boot wasn't getting patched.
 * One of my patches needed to be updated to work with
   the newest U-Boot sources.
 * I added some logic so that the beaglebsd.sh script will
   actually fail with an error message if the U-Boot patch,
   configure, or build steps fail.  This should make problems
   like this more obvious.

Let me know if you run into any other issues.

Cheers,

Tim




More information about the freebsd-arm mailing list