From owner-freebsd-arm@freebsd.org Mon Dec 12 00:07:48 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 4E160C72B09 for ; Mon, 12 Dec 2016 00:07:48 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2D72F1F97 for ; Mon, 12 Dec 2016 00:07:47 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=yZbAit8/lYt0k4I4MCwpX6quM6hAlnlgUQwZoUuusds=; b=RQpN1/GroGf6imf3WCc/ju5Uq7 ILA+Z3DU5VPxOgGHgFZdbnahhv17w8sYeEqmkO6Y5FQflAVJgGTIMhH2+laIM9upgM53w0CfUFH19 r6peFAXFT9urQhy1IPkILI0LdFRklsVl8v7OCb/nCJNu10GB+IFA+nQav50O4xpwKWMs=; Received: from subs08-103-10-67-166.three.co.id ([103.10.67.166]:60827 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cGDE8-003txp-0A for freebsd-arm@freebsd.org; Sun, 11 Dec 2016 16:08:16 -0700 Date: Mon, 12 Dec 2016 07:08:10 +0800 From: Erich Dollansky To: freebsd-arm@freebsd.org Subject: tcsh modification to support Raspberry Pi 3 Message-ID: <20161212070755.4f1a56bd@X220.alogt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2016 00:07:48 -0000 Hi, tcsh has some environment variables 'hardcoded' which define the machine it runs on: HOSTTYPE=FreeBSD VENDOR=acorn OSTYPE=FreeBSD MACHTYPE=arm64 is what mine shows now. VENDOR and MACHTYPE have been unknown before. I modified the source /usr/src.head/contrib/tcsh/host.defs I replaced line 571: vendor : defined(arm32) || defined(__arm__)|| defined(__aarch64__) : "acorn" and inserted a new line 583 machtype: defined(arm64) || defined(__AARCH64EL__) : "arm64" I would need a little bit of hand holding to get this into the source tree. Who can help? Erich