From owner-freebsd-arm@freebsd.org Mon Aug 3 04:53:51 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 119FA9B13B4 for ; Mon, 3 Aug 2015 04:53:51 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::232]) (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 818201A7B; Mon, 3 Aug 2015 04:53:50 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by lbqc9 with SMTP id c9so46176145lbq.1; Sun, 02 Aug 2015 21:53:47 -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:content-transfer-encoding; bh=GQ1bcfrIT3JChXyoG54P5TUxtojQhqI7wNmt1Js5FoY=; b=Sq8zTPebcoJSbyYr7nEUPb4Curk/HY5xOFRJcr2+N1xnRMQW/o1X09DH2iA3RHS3yy KoKUaEkNt9unHvMEgl8zYHnkBn9YrVmZyvrlDhzsJAqnlJPJHSHoAvGqUwu2V20dzN2V 0G5B6oLeGegx2SMvTzMcin0RWESgvN5QxbH3vG6LHL5ztnSoVKhsNS1LHucFYg5I2wF7 SLJ1s3XoDabA0hoR8IIaZ0pOVHQZg0H07AFlhc+yGWL3/fwQXz6Ihv99D17jwEnYxYI3 ZCWINFIvdeUBpmek7vM+hp7kZM9UBxpyJsiOcEJThTAX0zPRhXQ7iIqracM/2SxyZt/O 4Jzw== MIME-Version: 1.0 X-Received: by 10.153.7.66 with SMTP id da2mr1109603lad.117.1438577627214; Sun, 02 Aug 2015 21:53:47 -0700 (PDT) Received: by 10.152.180.166 with HTTP; Sun, 2 Aug 2015 21:53:47 -0700 (PDT) In-Reply-To: References: <20150728173831.229400355e485fa511ca388b@ulrich-grey.de> <20150801182519.4886608.58781.1809@gmail.com> Date: Sun, 2 Aug 2015 21:53:47 -0700 Message-ID: Subject: Re: Hummingboard u-boot not loading? From: Russell Haley To: =?UTF-8?Q?Mika=C3=ABl_Urankar?= , Oleksandr Tymoshenko , Ian Lepore Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 04:53:51 -0000 Well I have seen what I think is ubldr get loaded by u-boot. I see the following message: 20647 bytes read in 26 ms (9.6MiB/s) And then nothing. I am hoping this mean ubldr successfully loaded. The lack of the rest of the output seems to make me think, well, I don't know what to think. Is the output going to the serial console I don't currently have? Just because it read the file doesn't mean that bootelf worked? I don't have anything in a loader.conf file yet so that may also be the problem. Ian, thanks for chiming in. I want to keep going with the binary that Gonzo gave me but I will look back at the pkgng image once I get a full boot happening. As usual, all suggestions welcome. Thanks, Russ On Sun, Aug 2, 2015 at 10:26 AM, Russell Haley wrote= : > Hi guys, > > No, I don't have a serial cable yet. I have ordered an FDTI cable and > should have it this week. Oleksandr gave me a binary that is working > right now, I will try out the new patch as soon as I have the FDTI > cable and can get debug output. > > okay, on to the next problem... > > Russ > > On Sun, Aug 2, 2015 at 9:02 AM, Mika=C3=ABl Urankar wrote: >> 2015-08-02 5:57 GMT+02:00 Russell Haley : >>> Thanks Mikael, >>> >>> I was able to build using the patches you provided and the binary >>> u-boot.imx is the exact same size as the one from pkgng. However, >>> nothing happens when I boot it: >> >> I've updated my patch, it works on my cubox. >> http://mikael.urankar.free.fr/FreeBSD/arm/patches/sysutils_u-boot-cubox-= hummingboard_gcc-5.2.patch >> >> The patches come from here: >> https://github.com/OpenELEC/OpenELEC.tv/tree/master/packages/tools/u-boo= t/patches >> http://u-boot.denx.narkive.com/XoUw8ZsY/patch-arm-switch-to-mno-unaligne= d-access-when-supported-by-the-compiler