From owner-freebsd-arm@FreeBSD.ORG Wed Mar 25 05:42:59 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 E3D4278F; Wed, 25 Mar 2015 05:42:58 +0000 (UTC) Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::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 7C6C577E; Wed, 25 Mar 2015 05:42:58 +0000 (UTC) Received: by labe2 with SMTP id e2so11156024lab.3; Tue, 24 Mar 2015 22:42:56 -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=zjwM22kDUfUKtmzUTVlfIkRpxy/t2FHk6uJYrAzm5z8=; b=vLm+DEoCUaXKpA8hPWvQabqU2czTIa12LFZgFV73jqAFNFU9JBAsyFqCbylsK2WnF5 DZSVCl17H5bBRd3OSMIvST0SdwLjSHCtA1wE/qfEt+OW9C/kQXIYF6ITcC0IkPHFOzQr krs3OnAx4J77bJpceZ/v5dtazkJ4Z5mg+3F1T8E7oMbgjQ3R1okFVj/695YmYDW5pda8 LKYE2zvqDXwOQKDr5oVV5YHcexHHeBOqZakLC0LHdDImdbCwfbMLth+mqwex4nLvsMm7 j1x5VriLrxp0+lItO/lF7qZuV8uWY4lZuG51jkyPvMU1l0tnqK69wQd4zKeAH7QY3keX jM0Q== MIME-Version: 1.0 X-Received: by 10.152.22.67 with SMTP id b3mr6616081laf.117.1427262176511; Tue, 24 Mar 2015 22:42:56 -0700 (PDT) Received: by 10.152.37.3 with HTTP; Tue, 24 Mar 2015 22:42:56 -0700 (PDT) In-Reply-To: <1427220117.1588.1.camel@freebsd.org> References: <622469F8-C245-4E84-B5E1-FE360D3C9B4C@me.com> <215C10E1-9F47-46B6-A60B-430D7DEDA090@me.com> <1427212609.5591.10.camel@freebsd.org> <1427220117.1588.1.camel@freebsd.org> Date: Tue, 24 Mar 2015 22:42:56 -0700 Message-ID: Subject: Re: Digi-CCWMX53 - 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: Wed, 25 Mar 2015 05:42:59 -0000 Thanks Ian, Sorry, getting another error. This is in a fresh 10-Release jail. I installed arm-none-eabi-gcc from pkgng. The missing "m" in make is not a copy/paste error. # pwd /usr/ports/sysutils/u-boot-ccwmx53 # make install make: "/usr/ports/sysutils/u-boot-ccwmx53/Makefile" line 29: Unassociated shell command "${U_BOOT_DIR}/README" "ake: "/usr/ports/sysutils/u-boot-ccwmx53/Makefile" line 32: Unassociated shell command "CROSS_COMPILE=arm-none-eabi- \ make: "/usr/ports/sysutils/u-boot-ccwmx53/Makefile" line 33: Unassociated shell command "HOSTCC=cc" make: Fatal errors encountered -- cannot continue make: stopped in /usr/ports/sysutils/u-boot-ccwmx53 Russ On Tue, Mar 24, 2015 at 11:01 AM, Ian Lepore wrote: > On Tue, 2015-03-24 at 09:56 -0600, Ian Lepore wrote: >> On Mon, 2015-03-23 at 22:34 -0700, Russell Haley wrote: >> > Okay, I'll create a 10 jail and see what happens. Last straw is to try >> > this in Linux? I'm working on a make tutorial right now. >> > >> > Good doggy Russell, good doggy. >> > >> > ha ha. >> > >> >> Try the attached new port I just threw together for building u-boot for >> this board. I have a different imx53 board so I haven't run-tested >> this, but it builds for me on my x86 10-stable machine. >> >> Unfortunately, this is the oldest u-boot source I've ever tried to work >> with and most of the "standard freebsd u-boot patches" won't apply, so >> this is pretty much exactly what comes from Rui's github branch. (I was >> able to use the latest u-boot from denx for my imx53 board, but >> apparently Digi never contributed their changes back to denx so this >> ancient version is the only option right now.) >> >> To use this diff, cd to your /usr/ports dir and apply the diff using: >> >> patch -p0 > >> Then just cd to /usr/ports/sysutils/u-boot-ccwmx53 and do "make install" >> and you should end up with the u-boot files for your board installed >> at /usr/local/share/u-boot > > Oops, I just noticed a typo in that... in PLIST_FILES, the filename > should be u-boot.bin, not u-boot.imx. > > -- Ian > >