Today's Crochet fixes
Tim Kientzle
kientzle at freebsd.org
Sun Apr 20 17:43:42 UTC 2014
I just pushed a couple of changes to Crochet that I thought folks would be especially interested in:
* All boards: Corrected instructions for building xdev tools.
The instructions printed out by Crochet now include the right
flags for building a correct GCC cross-compiler. With this, I've
been able to build a working BeagleBone image on a fresh stock install of
FreeBSD/amd64 11-CURRENT r260789.
* BeagleBone: Added a "copy-to-emmc.sh" script to root's home directory
After logging in as root, try: /bin/sh copy-to-emmc.sh
It will print scary warnings about erasing things. If you go ahead,
it will reformat the eMMC and copy the system from SD to eMMC.
Suggestions for improvements appreciated.
Things I'm interested in help with:
* Updating U-Boot for BeagleBone to a newer snapshot
(Including migrating Patrick Kelsey's patches to support eMMC booting)
* Building U-Boot with clang (Winston Smith claims it "just works"
if you have new enough U-Boot sources; I've not yet tried to reproduce this.
If it works as well as I hope, it will take a while to update U-Boot sources
for each Crochet-supported board.)
* We're using geom_label for BeagleBone fstab now; would appreciate
if someone could add this to the stock kernel configs.
* Diane Bruce fixed the sysutils/u-boot-beaglebone-eabi port so it
builds again. I've not yet tested to see if Crochet can generate a
bootable image using it. It definitely lacks the newer patches that
are in the Crochet-built version of U-Boot for BeagleBone. If this
can be cleaned up, it should provide a template for migrating
U-Boot for other boards into ports.
* Testing other boards: RPi, PandaBoard, WandBoard, etc.
If you play with any of the above, please let me know what you find.
As always, patches are very welcome, pull requests even more so.
Cheers,
Tim
More information about the freebsd-arm
mailing list