From owner-freebsd-arm@freebsd.org Sat Apr 9 03:47:49 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A14A2B0847D for ; Sat, 9 Apr 2016 03:47:49 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (kientzle.com [142.254.26.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3FA861944 for ; Sat, 9 Apr 2016 03:47:48 +0000 (UTC) (envelope-from tim@kientzle.com) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id u393MHk7075868; Sat, 9 Apr 2016 03:22:17 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.102] (192.168.1.101 [192.168.1.101]) by kientzle.com with SMTP id yw4wgg8xs6awqf8nqpje6z8mrn; Sat, 09 Apr 2016 03:22:17 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Indication of Successful Build From: Tim Kientzle In-Reply-To: Date: Fri, 8 Apr 2016 20:22:17 -0700 Cc: Mark Millard , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <7124E8A4-3086-41D0-81E5-B3EFB94F6992@kientzle.com> References: To: Russell Haley X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2016 03:47:49 -0000 > On Apr 6, 2016, at 1:14 PM, Russell Haley = wrote: >=20 > Thanks for the input Mark. >=20 > I'm currently looking into the cross build script on the developers > wiki, as well as considering updating crochet to use the u-boot ports > and adding hummingboard to it. I'm going to take all these suggestions > and see what I can come up with. In my mind it wouldn't be hard to use > the return codes indicated by Boris to create a running log of make > results and copy successful outputs to a different directory. What > raises my concern is that I can't be the first person to ever come up > with this idea, so where are all the other attempts at this? In my > mind that means I'm either way ahead of the curve (not) or I am going > down the wrong path and there is something else to this I haven't > considered. Crochet already uses U-Boot ports for some boards (patches to switch others would be appreciated). It grabs version control info and uses it to name the resulting build. It captures results from the make commands it runs. I believe it correctly handles failed make commands. It doesn't support Hummingboard, but adding a new board is generally pretty straightforward. Of course, as others have noted, it's easy to write your own scripts. That is, after all, how Crochet started out. Cheers, Tim >=20 > Anyway, I keep telling myself to get on with my own project, but there > is just so much fun stuff to play with down in the guts of FreeBSD! I > was just trying to get booting from NFS to work. lolz. Okay, down the > rabbit hole... >=20 > Thanks, >=20 > Alice (Russ) >=20 > On Wed, Apr 6, 2016 at 12:13 PM, Mark Millard = wrote: >> I use script to make a typescript/log file and keep the log file for = as long as I care. So, for example, the script use in: >>=20 >>> # more = ~/sys_build_scripts.powerpc64-host/make_powerpc64vtsc_nodebug_incl_clang_x= toolchain-powerpc64-host.sh >>> script = ~/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_incl_clang_xtoolch= ain-powerpc64-host-$(date +%Y-%m-%d:%H:%M:%S) \ >>> env __MAKE_CONF=3D"/root/src.configs/make.conf" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.powerpc64-xtoolchain.powerpc64-= host" \ >>> MAKEOBJDIRPREFIX=3D"/usr/obj/xtoolchain/powerpc.powerpc64" \ >>> make $* >>=20 >> =3D=3D=3D >> Mark Millard >> markmi at dsl-only.net >>=20 >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >=20