Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2015 21:13:44 -0700
From:      Russell Haley <russ.haley@gmail.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Hummingboard u-boot not loading?
Message-ID:  <CABx9NuTk2xwncnOMb73ujtOLmA4LvN7V=CHfiL5CC9bFwZ%2BX_Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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=u-boot.imx of=/dev/da2 bs=1k oseek=1 conv=sync

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:

Generating include/generated/asm-offsets.h
tools/scripts/make-asm-offsets arch/arm/cpu/armv7/mx6/asm-offsets.s
include/generated/asm-offsets.h
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
gmake[1]: Leaving directory
'/usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/u-boot-cubox-hummingboard

Thanks,

Russ



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuTk2xwncnOMb73ujtOLmA4LvN7V=CHfiL5CC9bFwZ%2BX_Q>