On 10/31/2014 06:02 PM, Paul Whalen wrote:
Good day all,
With Fedora 21 Beta being released on November 4, 2014 (next Tuesday),
I'd like to update the installer script we offer, adding support for
some additional boards. The most recent version of the installer script
already includes support for:
Adding support for a new board is very easy. Just add a minimal (bash)
scriptlet to the 'boards.d' directory with the command(s) needed to
write the board-specific setup, such as U-Boot. In many cases this is
just a single command.
For Example, the Pandaboard scriptlet contains:
# write MLO & U-Boot
echo "= Writing MLO for $TARGET..."
sudo dd if=/tmp/root/usr/share/uboot/$TARGET/MLO of=$MEDIA count=1
seek=1 conv=notrunc bs=128k; sync
echo "= Writing u-boot.img for $TARGET..."
sudo dd if=/tmp/root/usr/share/uboot/$TARGET/u-boot.img of=$MEDIA
count=2 seek=1 conv=notrunc bs=384k; sync
To add support for the Beaglebone, a symlink to the existing Pandaboard
scriptlet was added, since MLO and U-Boot are written to the same
offsets for both boards.
When adding a board, please ensure the name of the scriptlet matches the
name of the U-Boot folder in '/usr/share/uboot/'. Adding a new board
to the 'boards.d' directory also automatically updates the installer
script help message to include the new board.
Once the new scriptlet has been tested and confirmed working, please
send it to me and I will add it to the package.
I don't know if I will have time to test prior to Nov 4, but the
Cubieboard2 has only ONE difference than the Cubietruck. That is the
directory for uboot. I know this because I select Cubietruck for my
installs then dd the Cubieboard2 uboot over the Cubietruck one.
I am thinking of packing along one of my Cubieboard2s for my next trip.
It is small enough and in a case.