Fwd: HummingBoard Boot
Russell Haley
russ.haley at gmail.com
Sun Jul 26 07:39:19 UTC 2015
Okay, gonna answer my own questions. I keep forgetting that trying to
skirt building the code in the projects means I miss all the good
documentation in there as well!
1&2) I think I understand this: the u-boot image is created to look in
the fat partition for ubldr and uEnv.txt? This seems to be evidenced
by the file patch-include_configs_mx6__cubox-1.h
2a) looked into the port for u-boot-cubox-hummingboard and say that
Ian was kind enough to document that the SPL and the u-boot.img is
combined into a file called u-boot.imx.
I also actually READ the text on the pages for the snapshots and
found out it contains a couple of images. I can only seem to access
one so I created a memory device and I am copying it to an SD card
now. I'm building from source again as well just to be safe.
Thanks,
Russ
---------- Forwarded message ----------
From: Russell Haley <russ.haley at gmail.com>
Date: Sat, Jul 25, 2015 at 4:59 PM
Subject: HummingBoard Boot
To: freebsd-arm <freebsd-arm at freebsd.org>
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?
More information about the freebsd-arm
mailing list