[fedora-arm] Fedora Arm Installer for F21 Beta - Adding New Boards

Paul Whalen pwhalen at redhat.com
Fri Oct 31 17:02:51 UTC 2014


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[1], adding support for
some additional boards. The most recent version of the installer script
already includes support for:

- Bananapi
- beaglebone
- Cubietruck
- panda
- trimslice
- wandboard_dual
- wandboard_quad
- wandboard_solo

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.


Many Thanks!
Paul

[1] - https://pwhalen.fedorapeople.org/fedora-arm-installer-0.06.tar.bz2


More information about the arm mailing list