From owner-freebsd-arm@FreeBSD.ORG Tue Mar 24 03:20:17 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 302BB5E5 for ; Tue, 24 Mar 2015 03:20:17 +0000 (UTC) Received: from st11p02mm-asmtp001.mac.com (st11p02mm-asmtp001.mac.com [17.172.220.236]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 034F4C12 for ; Tue, 24 Mar 2015 03:20:16 +0000 (UTC) Received: from fukuyama.hsd1.ca.comcast.net (unknown [73.162.13.215]) by st11p02mm-asmtp001.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NLP0047V58O6W00@st11p02mm-asmtp001.mac.com> for freebsd-arm@freebsd.org; Tue, 24 Mar 2015 03:19:38 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-03-24_01:2015-03-23,2015-03-24,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1503240033 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Digi-CCWMX53 - u-boot From: Rui Paulo In-reply-to: Date: Mon, 23 Mar 2015 20:19:36 -0700 Content-transfer-encoding: quoted-printable Message-id: References: <622469F8-C245-4E84-B5E1-FE360D3C9B4C@me.com> To: Russell Haley X-Mailer: Apple Mail (2.2070.6) Cc: freebsd-arm 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: Tue, 24 Mar 2015 03:20:17 -0000 On Mar 21, 2015, at 14:31, Russell Haley wrote: >=20 > Thanks for getting back to me Rui, >=20 > I have done the following bit of flailing around: >=20 > - updated my userland to 1100065 > - Installed arm-none-eabi from pkgng as Mr. Lepore has indicated > - installed the latest gcc (gcc48?) > - I have since built the xdev target as well. > - Installed mpc > - setenv LD_LIBRARY_PATH "/usr/local/lib" > - ldconfig >=20 >=20 > So after much faffing about I've tried a whole bunch of combinations: > gmake HOSTCC=3Dgcc48 CROSS_COMPILE=3Darm-none-eabi- > gmake HOSTCC=3Dgcc48 CROSS_COMPILE=3Darmv6-freebsd- > gmake SED=3Dgsed HOSTCC=3Dcc CROSS_COMPILE=3Darmv6-freebsd- > gmake SED=3Dgsed HOSTCC=3Dgcc48 CROSS_COMPILE=3Darm-none-eabi- >=20 >=20 > All with the same result: >=20 > for dir in tools examples/standalone examples/api ; do gmake -C $dir > _depend ; done > gmake[1]: Entering directory '/usr/uboot/tools' > gmake[1]: Nothing to be done for '_depend'. > gmake[1]: Leaving directory '/usr/uboot/tools' > gmake[1]: Entering directory '/usr/uboot/examples/standalone' > gmake[1]: Nothing to be done for '_depend'. > gmake[1]: Leaving directory '/usr/uboot/examples/standalone' > gmake[1]: Entering directory '/usr/uboot/examples/api' > gmake[1]: Nothing to be done for '_depend'. > gmake[1]: Leaving directory '/usr/uboot/examples/api' > gmake -C tools all > gmake[1]: Entering directory '/usr/uboot/tools' > gcc48 -g -Wall -idirafter /usr/uboot/include -idirafter > /usr/uboot/include2 -idirafter /usr/uboot/include -I /usr/uboot/libfdt > -I /usr/uboot/tools -DTEXT_BASE=3D0x77800000 -DUSE_HOSTCC > -D__KERNEL_STRICT_NAMES -O -c -o fdt.o > gcc48: fatal error: no input files > compilation terminated. > Makefile:231: recipe for target 'fdt.o' failed > gmake[1]: *** [fdt.o] Error 1 > gmake[1]: Leaving directory '/usr/uboot/tools' > Makefile:402: recipe for target 'tools' failed > gmake: *** [tools] Error 2 It looks like Makefile rules are broken in your system. Did this ever = work for you? -- Rui Paulo