Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Aug 2015 20:57:31 -0700
From:      Russell Haley <russ.haley@gmail.com>
To:        =?UTF-8?Q?Mika=C3=ABl_Urankar?= <mikael.urankar@gmail.com>,  freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Hummingboard u-boot not loading?
Message-ID:  <CABx9NuQi2=8L_1hdpkTPLi864X9y5RigU2Vg7FyAhCOc_v8MNQ@mail.gmail.com>
In-Reply-To: <20150801182519.4886608.58781.1809@gmail.com>
References:  <CABx9NuTk2xwncnOMb73ujtOLmA4LvN7V=CHfiL5CC9bFwZ%2BX_Q@mail.gmail.com> <20150728173831.229400355e485fa511ca388b@ulrich-grey.de> <CABx9NuQ3vPbJv%2B0cxt1QijnqYad1nKrQyifbNPBgicyr%2Bv5Mow@mail.gmail.com> <CABx9NuTNbh3Ckbx1L7wLWmP%2Bq4kJXQMd-huem7PcfehzQk18_g@mail.gmail.com> <CABx9NuTgD3US6AW9fpo0OmKSKEuJHqPPMD-pM28fTHMf92q7tw@mail.gmail.com> <CAJwjRmSx3JJLTROzTPfDpAptJoiOSsOS6V2ZrWSDYE-8DaGm5g@mail.gmail.com> <20150801182519.4886608.58781.1809@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <russ.haley@gmail.com> 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 <russ.haley@gmail.com>:
>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuQi2=8L_1hdpkTPLi864X9y5RigU2Vg7FyAhCOc_v8MNQ>