Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2014 10:27:36 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        Winston Smith <smith.winston.101@gmail.com>, FreeBSD ARM <freebsd-arm@freebsd.org>
Subject:   Today's Crochet fixes
Message-ID:  <24AD766C-FA11-45AD-94B3-7C99EBF53FD0@freebsd.org>
In-Reply-To: <CADH-AwHGYEWJc17PVCvtUtXBb7_sRVLdRoXe0f2jd42R9P8xqw@mail.gmail.com>
References:  <CADH-AwHGYEWJc17PVCvtUtXBb7_sRVLdRoXe0f2jd42R9P8xqw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24AD766C-FA11-45AD-94B3-7C99EBF53FD0>