From owner-freebsd-arm@freebsd.org Fri May 20 06:59:52 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 E16D6B38DB1 for ; Fri, 20 May 2016 06:59:52 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A79711B1C for ; Fri, 20 May 2016 06:59:52 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id u4K6xkv0038639 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 19 May 2016 23:59:47 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id u4K6xkjR038638; Thu, 19 May 2016 23:59:46 -0700 (PDT) (envelope-from fbsd) Date: Thu, 19 May 2016 23:59:45 -0700 From: bob prohaska To: Warner Losh Cc: David Cornejo , freebsd-arm Subject: Re: upgrading arm6hf Message-ID: <20160520065945.GH1049@www.zefox.net> References: <20160519232102.GF1049@www.zefox.net> <20160520021633.GG1049@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 06:59:53 -0000 Just did a reboot, uname -p reports root@www:~ # uname -p armv6hf Make buildworld reports root@www:/usr/src # make -j4 buildworld --- buildworld --- bmake[1]: "/usr/src/Makefile.inc1" line 266: To cross-build, set TARGET_ARCH. *** [buildworld] Error code 1 make: stopped in /usr/src 1 error make: stopped in /usr/src The kernel was rebuilt and installed using TARGET=arm TARGET_ARCH=armv6. No errors were observed, reboot was uneventful. Invoking root@www:/usr/src # make -j4 buildworld TARGET=arm TARGET_ARCH=armv6 the result is --- buildworld --- bmake[1]: "/usr/src/Makefile.inc1" line 266: To cross-build, set TARGET_ARCH. *** [buildworld] Error code 1 make: stopped in /usr/src make -j4 buildworld TARGET=arm TARGET_ARCH=armv6hf still produces the same error Is the TARGET_ARCH variable simply not being recognized? For clarity this is a self-hosted RPI2, revision 300255 Thanks for reading, and any guidance! bob prohaska bob prohaska