From owner-freebsd-arm@FreeBSD.ORG Tue Mar 24 05:04:02 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 2491A41F for ; Tue, 24 Mar 2015 05:04:02 +0000 (UTC) Received: from mail-yh0-x22a.google.com (mail-yh0-x22a.google.com [IPv6:2607:f8b0:4002:c01::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D2268892 for ; Tue, 24 Mar 2015 05:04:01 +0000 (UTC) Received: by yhch68 with SMTP id h68so79149588yhc.1 for ; Mon, 23 Mar 2015 22:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=aAaSA2SBUw2Yb7sVbdNwdIJq2TQCZb/p2IwM5iGSotA=; b=tGsgpOunNKHzm3NlHUu0vA7q2SW8dPfARcHmECEsbkXSfjEyZkBaahFCsxYhMzptZ8 BwzWUx3b0AMdNg0SiiEjuiUpzXvp5f/skoSCb+W1QNKvC/GVe1mSCzc2Upax6OigGvmE /2Efkrtx8OI70+2POxc0jd11inX2APmEWKbFB1Dct0N2iIcWc2R4Za+NuSac7A2pnZrm pz8uBE0dME6iHwL9Ljk92uRZgWm35jBpRzDMOfjj1VbESbmnWKib5wmhNccE8i9s4AdC YSY7mqNfn40FvaiVNu1heJiii4u/hLKbFV2/qwEm515ScGSDJ2rRCzABUedXM9nNNi2v zHXA== MIME-Version: 1.0 X-Received: by 10.170.98.133 with SMTP id p127mr2831409yka.115.1427173440656; Mon, 23 Mar 2015 22:04:00 -0700 (PDT) Received: by 10.170.182.81 with HTTP; Mon, 23 Mar 2015 22:04:00 -0700 (PDT) In-Reply-To: References: <622469F8-C245-4E84-B5E1-FE360D3C9B4C@me.com> Date: Mon, 23 Mar 2015 22:04:00 -0700 Message-ID: Subject: Re: Digi-CCWMX53 - u-boot From: Russell Haley To: Rui Paulo Content-Type: text/plain; charset=UTF-8 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 05:04:02 -0000 No, I've never had this work. It's also a fresh-ish jail and a straight clone from your github repo (note: I just deleted and re-cloned it with the same results). Could it be a problem using newer versions of the tools? Have you had this work recently? I was really hoping to get this working with Crochet, but right now I'd settle for a binary that has a working USB driver. I've really become hung up on this step. I used to have a copy of u-boot that had a working USB driver but I can't find it anymore (and that was 2 virtual machines ago!) so I haven't been able to mount rootfs for some time. I think this picture is an accurate reflection of my experience with FreeBSD/Arm development so far (I am currently in the later stage): https://plus.google.com/u/0/+Danokellz/posts/JjSAAV4DNgp lolz. On Mon, Mar 23, 2015 at 8:19 PM, Rui Paulo wrote: > On Mar 21, 2015, at 14:31, Russell Haley wrote: >> >> Thanks for getting back to me Rui, >> >> I have done the following bit of flailing around: >> >> - 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 >> >> >> So after much faffing about I've tried a whole bunch of combinations: >> gmake HOSTCC=gcc48 CROSS_COMPILE=arm-none-eabi- >> gmake HOSTCC=gcc48 CROSS_COMPILE=armv6-freebsd- >> gmake SED=gsed HOSTCC=cc CROSS_COMPILE=armv6-freebsd- >> gmake SED=gsed HOSTCC=gcc48 CROSS_COMPILE=arm-none-eabi- >> >> >> All with the same result: >> >> 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=0x77800000 -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 > > >