From owner-freebsd-arm@freebsd.org Tue Jul 28 16:46:54 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 EBE029AD6B5 for ; Tue, 28 Jul 2015 16:46:53 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) (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 75AB38A2; Tue, 28 Jul 2015 16:46:53 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by lbbzr7 with SMTP id zr7so78786754lbb.1; Tue, 28 Jul 2015 09:46:51 -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=mQ5F5NlexWIY0HU7iam2E9kRsC4/f3F0ehHf5PvSJFA=; b=QNM8VnqhjfK9rf1KuvyoXS27/U5FQfWRq5i16jKn14LF0rtxhpSpjNTR8M/GfH1m1q rX+0jZNYHKiU5bGNSMhbfXDfd2srhuxePyMAlFb9QNUWLqnAfJH0rRlIHLCOrM1YVNXa Xi5luYdgzm6Hmlrgv1JDXPeiwNJhCLJrWLzPuW0CGaoLT9HB2LK9S5Y9SbdnRHVP7XHy BOdMY310SmLvTzkuhM5KXHiVeEgMKSRvs8C5n620Kwh75SVMPgscsh5cXFp+c5mjur2T MTZJMYjvh73HK4iMnMJDSz9DDZ1a5nntUH/+eJEaCMiTEqkfcg6Fi4ytqnQ25UeQQD35 QHUw== MIME-Version: 1.0 X-Received: by 10.152.87.205 with SMTP id ba13mr32824544lab.37.1438102011605; Tue, 28 Jul 2015 09:46:51 -0700 (PDT) Received: by 10.152.180.166 with HTTP; Tue, 28 Jul 2015 09:46:51 -0700 (PDT) In-Reply-To: <20150728092332.5fb79e36@planb.netng.org> References: <20150728092332.5fb79e36@planb.netng.org> Date: Tue, 28 Jul 2015 09:46:51 -0700 Message-ID: Subject: Re: Hummingboard u-boot not loading? From: Russell Haley To: Vladimir Botka Cc: freebsd-arm , Ian Lepore 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: Tue, 28 Jul 2015 16:46:54 -0000 Hi Vladimir, I haven't figured out how to use the snapshot image properly. I am hoping it's as simple as a dd but I haven't found any instruction on it yet. The snapshot page indicates it has multiple ISOs in it? I'm at work so it's not in front of me, but perhaps my issue is that I have a dual core pro SOM. U-boot requires a processor specific portion (as per Ian on wiki) and I don't remember being given a choice about which variant goes into the u-boot.imx file from pkgng. I think the ports build is failing for me for the same reason it always has, I'm using a 10.1 jail and building the current source on there. Russ On Tue, Jul 28, 2015 at 12:23 AM, Vladimir Botka wrote: > Hi, > > On Mon, 27 Jul 2015 21:13:44 -0700 > Russell Haley wrote: > >> Hello, >> So I seem to be stalled out because I can't get the boot loader to >> run. First: >> pkg install u-boot-cubox-hummingboard >> and then >> dd if=3Du-boot.imx of=3D/dev/da2 bs=3D1k oseek=3D1 conv=3Dsync >> 265+0 records in >> 265+0 records out >> 271360 bytes transferred in 0.771273 secs (351834 bytes/sec) >> When I put in the card and run it I see the SolidRun graphic with a >> date/time (buid date I presume?) but it doesn't go any further than >> that... I thought I would at least see a command prompt? >> Any input would be great. >> I also tried building it from ports but got this error: >> [...] > > FWIW, the boot loader [2] works for me with HummimgBoard [1]. But I > can't boot [3] the image [4]. > > Thank you for the hints in the thread "HummingBoard Boot". Are you sure > the compressed image (*.img.xz) shall be dumped [4]? > > > [1] > HummingBoard U-Boot > bdinfo > arch_number =3D 0x000012A5 > boot_params =3D 0x10000100 > ... > > [2] from the package u-boot-cubox-hummingboard-2013.10 > MD5 (u-boot.imx) =3D 5c1483cc507167df9f7e344f6b615a69 > dd if=3Du-boot.imx of=3D/dev/mmcblk0 bs=3D1k seek=3D1 (dumped in Linux) > > [3] > HummingBoard U-Boot > boot > Booting from: mmc 0 ubldr > ** Unrecognized filesystem type ** > > [4] (dumped in Linux) > dd > if=3DFreeBSD-11.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20150722-r285794.i= mg.xz > of=3D/dev/mmcblk0 bs=3D1k seek=3D1024 > > Cheers, > > -vlado > > -- > Vladim=C3=ADr Botka >