From owner-freebsd-arm@FreeBSD.ORG Sun Mar 15 20:22:16 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 27545EF3; Sun, 15 Mar 2015 20:22:16 +0000 (UTC) Received: from mail-yk0-x236.google.com (mail-yk0-x236.google.com [IPv6:2607:f8b0:4002:c07::236]) (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 DA83FEF2; Sun, 15 Mar 2015 20:22:15 +0000 (UTC) Received: by ykfc206 with SMTP id c206so4757324ykf.1; Sun, 15 Mar 2015 13:22:15 -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=+3xuyHZeImHVbvIRs1nlJVjpzbzE/Y+N/k4dOH7wChk=; b=NW94Q0f9I5BwTjcUN94GDQ86L6RcFNM13S6cXJxgpI7PiO3/2TZAqLTXfUVNXAfJHl Csb3hDkbenbY+bmdTXKWZgksnZmU85Prmt3VLfeM2enBrE9E8I9uRFgWvNb/yBYdgKeY wHCXkk5QBFV9bWVUoO1i3M6PGsZKajTjyTdqmF5TC2xumfOP1Nxymle3a6u20ZuqgBNd g0Hv2Kc7cu/9l1c+BaT0KGk5qc8FIdJzXrpA5uPXyEryuqO56h1qKCu2RsbafyPVgR1M XJe82WwTdPVnknhBdAyQfS7ahJ9sRL0avCQEGkw42feLfJVTHtSsF0H01EUyUKsE39Yr UokQ== MIME-Version: 1.0 X-Received: by 10.236.104.132 with SMTP id i4mr56732474yhg.62.1426450934945; Sun, 15 Mar 2015 13:22:14 -0700 (PDT) Received: by 10.170.182.81 with HTTP; Sun, 15 Mar 2015 13:22:14 -0700 (PDT) In-Reply-To: <1426437012.67325.7.camel@freebsd.org> References: <1426437012.67325.7.camel@freebsd.org> Date: Sun, 15 Mar 2015 13:22:14 -0700 Message-ID: Subject: Re: Building Cross Compiler and u-boot From: Russell Haley To: Ian Lepore 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: Sun, 15 Mar 2015 20:22:16 -0000 Thanks Ian, I'll play with this tonight. On Sun, Mar 15, 2015 at 9:30 AM, Ian Lepore wrote: > On Sat, 2015-03-14 at 21:14 -0700, Russell Haley wrote: >> Hello I am trying to build the cross compile tools and make u-boot. >> >> Tim Kientzle spoke about two ways of getting cross compilers for >> outside of building FreeBDS: >> >> 1) make TARGET=arm TARGET_ARCH=armv6 buildenv >> >> after a successful buildworld >> >> 2)make xdev XDEV=arm XDEV_ARCH=armv6 >> >> I have struggled (and failed) to make either work. I checked out Rui >> Paulos uboot fork to /usr/uboot. >> >> >> 1)Using buildenv -> > > The xdev way of building crosstools to build uboot is pretty much dead. > Probably the best way forward is to use one of the existing u-boot ports > such as sysutils/u-boot-wandboard, copy it and transform it into a port > to build the flavor you need. To save the time of building the port > cross-compiler from scratch you can do "pkg install arm-none-eabi-gcc". > > Are you working with the ConnectCore 6? If so, the u-boot ports for > wandboard or cubox-hummingboard are probably 99% ready, you may need to > tweak the config file patch in the port. > > -- Ian >