Date: Mon, 20 Apr 2015 12:10:33 +0200 From: Steven Lawrance <stl@koffein.net> To: "O'Connor, Daniel" <darius@dons.net.au> Cc: Tim Kientzle <tim@kientzle.com>, freebsd-arm <freebsd-arm@freebsd.org>, Ian Lepore <ian@freebsd.org> Subject: Re: crochet build fails at ubldr Wandboard-Dual Message-ID: <1429523981-sup-2230@luwak.koffein.net> In-Reply-To: <A6E50B78-8694-4984-8984-12479303361E@dons.net.au> References: <CAFuo_fy5tPjQDbtuSwcBEt4UMuu2tv8zRLLwBrpZPUGcyEMKEA@mail.gmail.com> <CAFuo_fx6Ztb2Rn8dPmZ3HBJniChvkZX54qmF_oaA87LJeHCFFQ@mail.gmail.com> <1429456908.1182.82.camel@freebsd.org> <CAFuo_fzHtCF6F%2B%2BUGqSdhzvbkTjxRtoT8sXFKV%2BCr4UpsGmymQ@mail.gmail.com> <1429458041.1182.86.camel@freebsd.org> <1CA4192E-F6B5-4BD8-8BF8-8F725E1EC7BA@kientzle.com> <CAFuo_fx-uqfThQhutvZugAK16HjY2sxtegRcGydkLu0Si_h6uQ@mail.gmail.com> <32B72D5A-742C-4B58-AD65-EA33B306D30C@kientzle.com> <A6E50B78-8694-4984-8984-12479303361E@dons.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Excerpts from O'Connor, Daniel's message of 2015-04-20 09:14:35 +0930: > Adding LIBSTAND=3D/src/arm/crochet/work/obj/arm.armv6/src/FreeBSD-HEAD/= lib/libstand/libstand.a made it work, so I then modified the makefiles. >=20 > (I was the person who reported it on IRC :) I'm another one who reported it on IRC ;-) My workaround was to add DESTDIR ubldr command in the board's setup.sh: # # ubldr # -strategy_add $PHASE_BUILD_OTHER freebsd_ubldr_build UBLDR_LOADADDR=3D0x1= 1000000 +strategy_add $PHASE_BUILD_OTHER freebsd_ubldr_build UBLDR_LOADADDR=3D0x1= 1000000 DESTDIR=3D${WORKDIR}/obj/arm.${TARGET_ARCH}/${FREEBSD_SRC}/tmp/ strategy_add $PHASE_BOOT_INSTALL freebsd_ubldr_copy_ubldr ubldr However I then ran into another problem in installworld, where a couple of tools were missing. This seems to fix it: Index: Makefile.inc1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Makefile.inc1 (revision 281761) +++ Makefile.inc1 (working copy) @@ -810,8 +810,8 @@ .endif =20 ITOOLS=3D [ awk cap_mkdb cat chflags chmod chown \ - date echo egrep find grep id install ${_install-info} \ - ln lockf make mkdir mtree mv pwd_mkdb \ + date echo egrep env find grep id install ${_install-info} \ + ln lockf make mkdir mktemp mtree mv pwd_mkdb \ rm sed services_mkdb sh strip sysctl test true uname wc ${_zonein= fo} \ ${LOCAL_ITOOLS} The dependency on env was added in r255775; I didn't check for mktemp. I was also going to change crochet to use U-Boot from ports for Wandboard.. --=20 Steven Lawrance <stl@koffein.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1429523981-sup-2230>