Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2015 12:37:50 -0300
From:      Luiz Otavio O Souza <lists.br@gmail.com>
To:        Brett Wynkoop <freebsd-arm@wynn.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, Peter Garshtja <peter.garshtja@ambient-md.com>
Subject:   Re: kernel build fails
Message-ID:  <CAB=2f8yQk0Ezp5FSHjSJWNj_zbCzdbci7MCkvn=AD5g4RL1e2w@mail.gmail.com>
In-Reply-To: <20150223201030.3a3d0a32@ivory.wynn.com>
References:  <20150223173731.4902457d@ivory.wynn.com> <CAKtsCdfuqimQs7z1xGc1yPwBT9obSctQgj=uKFCS6dPrKCkZLQ@mail.gmail.com> <54EBC6AD.30707@ambient-md.com> <20150223201030.3a3d0a32@ivory.wynn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23 February 2015 at 22:10, Brett Wynkoop wrote:
> On Mon, 23 Feb 2015 19:32:45 -0500
> Peter Garshtja wrote:
>
>> Hi,
>>
>> In your output i see
>>
>> *-O -pipe -mcpu=arm1176jzf-s
>>
>> arm1176 is armv6, but beaglebone has armv7 cpu.
>>
>> Are you compiling using crochet ?
>>
>> If not, try crochet its easy to use.
>>
>> Thanks,
>> Peter
>> *
>
> Peter-
>
> This is a native kernel build on the BeagleBone.  The disk image this
> build is being done on was prepared with crochet on a FreeBSD 10.1 x86
> box.
>
> My point is that a native kernel build should be possible.  It was
> possible under 10.0 when that was head.
>
> -Brett
>

Brett,

Things have evolved since 10.0 and the defaults used by crochet don't
work anymore.

Please remove the /etc/make.conf file.

The CPUTYPE in that file is wrong for Beaglebones (ARMv7):
https://github.com/kientzle/crochet-freebsd/blob/master/board/BeagleBone/overlay/etc/make.conf

Luiz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB=2f8yQk0Ezp5FSHjSJWNj_zbCzdbci7MCkvn=AD5g4RL1e2w>