Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Aug 2015 17:12:39 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Russell Haley <russ.haley@gmail.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Hummingboard u-boot not loading?
Message-ID:  <1438557159.50703.7.camel@freebsd.org>
In-Reply-To: <CABx9NuTgD3US6AW9fpo0OmKSKEuJHqPPMD-pM28fTHMf92q7tw@mail.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>

next in thread | previous in thread | raw e-mail | index | archive | help
The compiler used by the u-boot ports got upgraded to gcc 5, and the old
u-boot source can't be compiled with that.  We need a new cross-compiler
port that brings back gcc 4.9.whatever it was using, and the u-boot
ports need to be updated to reference that.  I've been way too busy with
$work stuff to look into it in detail.

As to the existing package not working, I think I glitched the
board-detection code, which causes it to not come up with the right fdt
file for the board.  It should be possible to workaround by either doing

  setenv fdt_file imx6dl-hummingboard.dtb
  saveenv

Or you could create a uEnv.txt file in the FAT filesystem on the sd with

   fdt_file=imx6dl-hummingboard.dtb

(of course use the right imx6q or 6dl and hummingboard vs cubox for your
system).

-- Ian

On Fri, 2015-07-31 at 23:03 -0700, Russell Haley wrote:
> 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.
> 
> Any suggestions or help would be great.
> 
> Thanks,
> 
> Russ
> 
> On Tue, Jul 28, 2015 at 11:05 AM, Russell Haley <russ.haley@gmail.com> wrote:
> > ---------- Forwarded message ----------
> > From: Russell Haley <russ.haley@gmail.com>
> > Date: Tue, Jul 28, 2015 at 11:05 AM
> > Subject: Re: Hummingboard u-boot not loading?
> > To: Ulrich Grey <usenet@ulrich-grey.de>
> >
> >
> > boo hooo hooo... I just want to boot my new toy! lolz :D
> >
> > Okay, I guess I will delete my ports tree and try and get a previous
> > version from svn? Glad I'm doing this in a jail...
> >
> > On Tue, Jul 28, 2015 at 10:38 AM, Ulrich Grey <usenet@ulrich-grey.de> wrote:
> >>
> >>> In file included from
> >>> /usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3/include/linux/compiler.h:40:0,
> >>>                  from
> >>> /usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3/include/linux/byteorder/little_endian.h:12,
> >>>                  from
> >>> /usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3/include/asm/byteorder.h:29,
> >>>                  from
> >>> /usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3/include/compiler.h:112,
> >>>                  from
> >>> /usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3/include/image.h:19,
> >>>                  from
> >>> /usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3/include/common.h:100,
> >>>                  from lib/asm-offsets.c:15:
> >>> /usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3/include/linux/compiler-gcc.h:93:30:
> >>> fatal error: linux/compiler-gcc5.h: No such file or directory
> >>> compilation terminated.
> >>> Makefile:746: recipe for target 'lib/asm-offsets.s' failed
> >>> gmake[1]: *** [lib/asm-offsets.s] Error 1
> >>
> >> After I have updated the portstree I get the same errors.
> >> I guess this is related to devel/arm-none-eabi-gcc. It's now version 5.2.0.
> >> Version 4.9.2_4 works for me.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1438557159.50703.7.camel>