Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2015 16:59:22 -0700
From:      Russell Haley <russ.haley@gmail.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   HummingBoard Boot
Message-ID:  <CABx9NuS3kNZ362nmXPveSzpAdq=AL3o_tJw9g5JA6fcqy7tUFg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi there,

Ian, thanks for all your great updates on the arm iMX6 pages. I went
out and picked up a hummingboard and I'm trying to put this all
together.

I was able to find and flash the u-boot image for the
cubox-hummingboard. Ian, thank you again for your efforts there.
However, there are two things that are not clear to me from the iMX6
page:

1) where does the u-boot environment variable file go?
2) where do I put ubldr on the SD? I am thinking within the first 1 MB?
2b) I noticed in a Linux image the boot loader had an SDL file and a
u-boot.imx file. Your instruction on the iMx6 page verified that is
the process. However, the files installed from the pkgng system is
only a u-boot.imx file. Am I missing anopther piece?

Finally, I will go back and get my head in crochet again soon, but I
was wondering if it's possible for me to just use the current snapshot
release from the website?

ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/FreeBSD-11.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20150722-r285794.img.xz

I opened it up and it seemed to be a fat filesystem and a ufs
filesystem (I didn't go any further than this. Is this ubldr and
rootfs with kernel in /sys/?). I'm hoping I can just do this:

sudo pkg install u-boot-cubox-hummingboard
cd /usr/local/share/u-boot/u-boot-cubox-hummingboard
dd if=u-boot.imx of=/dev/da2 bs=1k oseek=1 conv=sync
cd /usr/snapshot/current
wget ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/FreeBSD-11.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20150722-r285794.img.xz
dd if=FreeBSD-11.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20150722-r285794.img.xz
of=/dev/da2 bs=1k seek=1024

boot!

Thanks

Russ

p.s. I bought the freeBSD driver book. I am trying to obsorb it as
fast as I can. Is there a particular driver that I could/should dig in
on from the list on the iMX6 page? Is there something I can help debug
or document?



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