From owner-freebsd-arm@FreeBSD.ORG Fri Aug 29 12:44:26 2014 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3AA881D6 for ; Fri, 29 Aug 2014 12:44:26 +0000 (UTC) Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail-n.franken.de", Issuer "Thawte DV SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F28CB183E for ; Fri, 29 Aug 2014 12:44:25 +0000 (UTC) Received: from [192.168.1.200] (p508F16A0.dip0.t-ipconnect.de [80.143.22.160]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 814D01C0B4058 for ; Fri, 29 Aug 2014 14:44:18 +0200 (CEST) From: Michael Tuexen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Problem running make_dtb.sh Message-Id: Date: Fri, 29 Aug 2014 14:44:16 +0200 To: "freebsd-arm@freebsd.org" Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2014 12:44:26 -0000 Dear all, when trying to build the kernel on a Wandboard the traditional way as = described in = https://www.freebsd.org/doc/en/books/developers-handbook/kernelbuild.html#= kernelbuild-traditional a make results in ... sh ../../../tools/fdt/make_dtb.sh ../../.. wandboard-quad.dts = /usr/home/tuexen/sys/arm/compile/WANDBOARD-QUAD converting wandboard-quad.dts -> = /usr/home/tuexen/sys/arm/compile/WANDBOARD-QUAD/wandboard-quad.dtb :159:10: fatal error: 'wandboard-quad.dts' file not found #include "wandboard-quad.dts" ^ 1 error generated. Error: :1.1-2.1 syntax error FATAL ERROR: Unable to parse input tree *** Error code 1 Stop. The reason is that make_dtb.sh uses $MACHINE which is not set. If I set = it to arm, the make completes successfully. How is this fixed in the best way? Best regards Michael