crochet build fails at ubldr Wandboard-Dual

Steven Lawrance stl at koffein.net
Mon Apr 20 10:10:42 UTC 2015


Excerpts from O'Connor, Daniel's message of 2015-04-20 09:14:35 +0930:
> Adding LIBSTAND=/src/arm/crochet/work/obj/arm.armv6/src/FreeBSD-HEAD/lib/libstand/libstand.a made it work, so I then modified the makefiles.
> 
> (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=0x11000000
+strategy_add $PHASE_BUILD_OTHER freebsd_ubldr_build UBLDR_LOADADDR=0x11000000 DESTDIR=${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
===================================================================
--- Makefile.inc1       (revision 281761)
+++ Makefile.inc1       (working copy)
@@ -810,8 +810,8 @@
 .endif
 
 ITOOLS=        [ 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 ${_zoneinfo} \
        ${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..

-- 
Steven Lawrance <stl at koffein.net>


More information about the freebsd-arm mailing list