Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Apr 2013 20:49:08 +0200
From:      =?windows-1252?Q?Ren=E9_Ladan?= <rene@freebsd.org>
To:        Tim Kientzle <kientzle@freebsd.org>
Cc:        arm@freebsd.org, Ian Lepore <ian@freebsd.org>
Subject:   Re: signal 11 after kernel update r247742 -> r248706
Message-ID:  <5161BFA4.902@freebsd.org>
In-Reply-To: <3AD39992-DE53-4A5C-B168-A146ABC4FDDE@freebsd.org>
References:  <51545932.9050901@freebsd.org> <1364484652.36972.81.camel@revolution.hippie.lan> <515466B5.4020403@freebsd.org> <5155BC1C.2000104@freebsd.org> <CAJ-VmokCuu1B9hT4XxhyEmegT7X5N31tFBtvz2fuHQY3k=akwg@mail.gmail.com> <515D7E0A.6010504@freebsd.org> <515D9239.40606@freebsd.org> <515EB1C8.3050708@freebsd.org> <3AD39992-DE53-4A5C-B168-A146ABC4FDDE@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06-04-2013 05:26, Tim Kientzle wrote:
> On Apr 5, 2013, at 4:13 AM, René Ladan wrote:
>
>> I just upgraded to r248706 again and it boots fine. The difference with
>> the earlier upgrade is that I now cross-install kernel and world …
>>  I used a native 'make installkernel' / 'make installworld' upgrade earlier
>> which required some ad-hoc install hacks.
> Details?
>
> Native builds should Just Work.  If they don't, let's fix them.
> We don't have nearly enough people testing native builds.
I think the initial build from db@ is a cross-build, and all my update
builds are cross-builds.
I tried a native installworld once on the raspberry pi but that took
over two hours.

build script on server:
#!/bin/sh
env MAKEOBJDIRPREFIX=/usr/home/rene/rpi/obj make __MAKE_CONF=/dev/null
-j3 ARCH=arm TARGET_ARCH=armv6 TARGET_CPUTYPE=armv6
MALLOC_PRODUCTION=yes WITH_FDT=yes KERNCONF=RPI-B-RENE buildworld
env MAKEOBJDIRPREFIX=/usr/home/rene/rpi/obj make __MAKE_CONF=/dev/null
-j3 ARCH=arm TARGET_ARCH=armv6 TARGET_CPUTYPE=armv6
MALLOC_PRODUCTION=yes WITH_FDT=yes KERNCONF=RPI-B-RENE buildkernel
ln -s /usr/home/rene/rpi/obj/arm.armv6/usr/home/rene/rpi
/usr/home/rene/rpi/obj/arm.armv6/mnt

install script on laptop (src and obj from server are NFS-mounted on
/mnt/src and /mnt/obj, sd card mounted on /media):
#!/bin/sh
env MAKEOBJDIRPREFIX=/mnt/obj make __MAKE_CONF=/dev/null ARCH=arm
TARGET_ARCH=armv6 TARGET_CPUTYPE=armv6 MALLOC_PRODUCTION=yes
WITH_FDT=yes KERNCONF=RPI-B-RENE DESTDIR=/media installkernel
env MAKEOBJDIRPREFIX=/mnt/obj make __MAKE_CONF=/dev/null ARCH=arm
TARGET_ARCH=armv6 TARGET_CPUTYPE=armv6 MALLOC_PRODUCTION=yes
WITH_FDT=yes KERNCONF=RPI-B-RENE DESTDIR=/media installworld

% cat RPI-B-RENE
include RPI-B

device ums

options INET6
device vlan
%

René




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5161BFA4.902>