From owner-freebsd-arm@freebsd.org Sun Aug 2 03:57:34 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 4B7B19AF57C for ; Sun, 2 Aug 2015 03:57:34 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) (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 C646E14D9 for ; Sun, 2 Aug 2015 03:57:33 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by lafd3 with SMTP id d3so65223763laf.1 for ; Sat, 01 Aug 2015 20:57:31 -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 :content-type:content-transfer-encoding; bh=SgpcuSj21/EQ8Ik329zTxzQ0YPznEt7aUEIC7RHYkFE=; b=M28yxVUrjaF3uGhFZUSYGk+7wLzYnuNm2cKijaWODJLEgCnmPD+SU1RjrxTOe85H9T M1qxOGWDL9P3LMC94GoxWXsOzETyv2v6HK07x73tYejflMgXDqtA9kzVVGgEJwdYOCwi 2V25Hwg9urEFgGjgV+CIBLzQAZpUFvd6gL3AGKNe941RherAMp1/FsV6pQ87oFMTpwz1 Fx6VDHiPT3q0xyEgJp+Q6kxw2Z75+EVZ+TxVPqruZ4/dv+fIc23wcq3sZ1qbgAyau+Dm kVba7cAV8G9zjR88EPJq5dIpG3Q/i+JssXkMNiTgt0FG9LAWEzOaw9Ewl4zIdhA34On8 9+vg== MIME-Version: 1.0 X-Received: by 10.112.85.3 with SMTP id d3mr10835400lbz.33.1438487851854; Sat, 01 Aug 2015 20:57:31 -0700 (PDT) Received: by 10.152.180.166 with HTTP; Sat, 1 Aug 2015 20:57:31 -0700 (PDT) In-Reply-To: <20150801182519.4886608.58781.1809@gmail.com> References: <20150728173831.229400355e485fa511ca388b@ulrich-grey.de> <20150801182519.4886608.58781.1809@gmail.com> Date: Sat, 1 Aug 2015 20:57:31 -0700 Message-ID: Subject: Re: Hummingboard u-boot not loading? From: Russell Haley To: =?UTF-8?Q?Mika=C3=ABl_Urankar?= , 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: Sun, 02 Aug 2015 03:57:34 -0000 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: 1) use your patch and build bootloader from ports cd /usr/ports/sysutils/u-boot-cubox-hummingboard/work/stage/usr/local/share= /u-boot/u-boot-cubox-hummingboard root@Jailbird:/usr/ports/sysutils/u-boot-cubox-hummingboard/work/stage/usr/= local/share/u-boot/u-boot-cubox-hummingboard# ll total 200 -rw-r--r-- 1 root wheel 900 Aug 1 10:28 README -rw-r--r-- 1 root wheel 271360 Aug 1 10:28 u-boot.imx root@Jailbird:/usr/ports/sysutils/u-boot-cubox-hummingboard/work/stage/usr/= local/share/u-boot/u-boot-cubox-hummingboard# 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.683733 secs (396880 bytes/sec) BOOT RESPONSE: nothing. HDMI connected screen stays off 2) The build from pkgng root@Jailbird:/usr/local/share/u-boot/u-boot-cubox-hummingboard# ll total 201 -rw-r--r-- 1 root wheel 900 Jul 23 16:47 README -rw-r--r-- 1 root wheel 271360 Jul 23 16:47 u-boot.imx root@Jailbird:/usr/local/share/u-boot/u-boot-cubox-hummingboard# 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.625492 secs (433834 bytes/sec) BOOT RESPONSE: Screen Starts, Solid Run Logo - no console. Not sure what to do next. I will drill in to u-boot and see how the SPL options get triggered. very frustrating. Thanks guys! Russ On Sat, Aug 1, 2015 at 11:25 AM, Russell Haley wrote= : > Thank you, that patch allowed me to complete the build but I was ripped a= way from my computer before attempting a boot. I'll try it out tonight when= I get home. > > Russ > > Sent from my BlackBerry 10 smartphone on the Koodo network. > Original Message > From: Mika=C3=ABl Urankar > Sent: Saturday, August 1, 2015 2:47 AM > To: Russell Haley > Subject: Re: Hummingboard u-boot not loading? > > 2015-08-01 8:03 GMT+02:00 Russell Haley : >> Hi Guys, >> >> I'm still really stalled out on u-boot-cubox-hummingboard right now. >> I'm trying to get a new hummingboard i2eX board running (dual core >> IMX6). The only thing I can think of is the pkg binary was built with >> a quad-core configuration in the SPL portion of the code but I can't >> confirm that cause I STILL don't know what I am doing with u-boot >> cross compilation. >> >> I am running the hummingboard pro with a dual core i2eX SOM. I also >> can't get the code from the ports tree to build and get the error from >> the email below. I think the last time Ian worked through this with me >> is because I was trying to build u-boot with cross tools from 11 but >> my kernel and installed verison is 10 (I'm in a jail). Unfortuantely, >> I am just "throwing mud at a wall" at this point to see if something >> sticks. > > Hi, > > Can you try this patch, it compiles fine here but I haven't tested it: > http://mikael.urankar.free.fr/FreeBSD/arm/patches/sysutils_u-boot-cubox-h= ummingboard_gcc-5.2.patch > > You will also probably need this patch: > http://mikael.urankar.free.fr/FreeBSD/arm/patches/sysutils_u-boot-cubox-h= ummingboard.patch