From owner-freebsd-arm@FreeBSD.ORG Sat Mar 21 21:31:39 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 39623BD0 for ; Sat, 21 Mar 2015 21:31:39 +0000 (UTC) Received: from mail-yh0-x233.google.com (mail-yh0-x233.google.com [IPv6:2607:f8b0:4002:c01::233]) (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 E8CB9DD3 for ; Sat, 21 Mar 2015 21:31:38 +0000 (UTC) Received: by yhpt93 with SMTP id t93so53765710yhp.0 for ; Sat, 21 Mar 2015 14:31:38 -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=mjsCIKWeIScUnDEeLLdhyT9px08Jt7JtMNt9IXgtwmY=; b=iiWeqiDqNze/atO2wJXT2yYpyPD1B0cGFfyFemK7Usq4BhbcdCV/RASZuj/owsGeNw ShVhiZZF4EvuZHn8URDCRjfbL3/yZXkx5oGiEwwM445TT38XFiZquORLnad7cFjmrC3m uVFm8isX36mv1if4b8SchQ0quxq1ZfxTIOwRheeqJm+XhCD/rB+YFTKbzQCMbYxkLo1d jQCP13VLMbfMAyGRgQrVcHL9iBEloy7M5zi3BB1y+51CjV66PtKQm0PdwTF4Y7nL2q37 gG9fl0BsO9jjEbY43CFjsbdWFFlYdUHV8VYngKq9Ii0lVZkd+3Z+67ljL+dwKlGH1miz wEeA== MIME-Version: 1.0 X-Received: by 10.236.17.163 with SMTP id j23mr88935076yhj.138.1426973498134; Sat, 21 Mar 2015 14:31:38 -0700 (PDT) Received: by 10.170.182.81 with HTTP; Sat, 21 Mar 2015 14:31:38 -0700 (PDT) In-Reply-To: <622469F8-C245-4E84-B5E1-FE360D3C9B4C@me.com> References: <622469F8-C245-4E84-B5E1-FE360D3C9B4C@me.com> Date: Sat, 21 Mar 2015 14:31:38 -0700 Message-ID: Subject: Re: Digi-CCWMX53 - u-boot From: Russell Haley To: Rui Paulo Content-Type: text/plain; charset=UTF-8 Cc: Tim Kientzle , 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: Sat, 21 Mar 2015 21:31:39 -0000 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 I'm trying to interpret what I'm seeing but I'm still a long way off of solving this stuff myself. interestingly I've managed to tweak something. If I re-open a shell to my jail, vim now fails with the error "Shared object "libpng16.so.16" not found, required by "libgdk_pixbuf-2.0.so.0"" unless I execute # setenv LD_LIBRARY_PATH "/usr/local/lib" Go figure. Thanks, Russ Russ On Fri, Mar 20, 2015 at 6:54 PM, Rui Paulo wrote: > On 19 Mar 2015, at 16:11, Russell Haley wrote: >> >> Rui, >> >> I am finally at a point where I can compile your u-boot fork for the >> Digi-CCWMX53 dev kit but I am getting the following error: >> >> # gmake SED=gsed HOSTCC=cc CROSS_COMPILE=arm-none-eabi- >> 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' >> cc -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 >> cc: error: no input files >> 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 > > Hmm. Have you tried building with gcc? > > -- > Rui Paulo > > >