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
W dniu 31.10.2014 o 18:02, Paul Whalen pisze:
The most recent version of the installer script already includes support for:
- panda
You mean pandaboard, right?
Just asking to use proper names of boards instead of short ones. We had that with beagleboard which was often shorted to beagle when there were people remembering board named beagle which had nothing common...
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[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.
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.
On Sat, Nov 1, 2014 at 9:20 PM, Marcin Juszkiewicz mjuszkiewicz@redhat.com wrote:
W dniu 31.10.2014 o 18:02, Paul Whalen pisze:
The most recent version of the installer script already includes support for:
- panda
You mean pandaboard, right?
Just asking to use proper names of boards instead of short ones. We had that with beagleboard which was often shorted to beagle when there were people remembering board named beagle which had nothing common...
It's what's used in upstream u-boot.
Peter
On 10/31/2014 01: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[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 the Cubieboard2, I just copied the Cubietruck file to a Cubieboard2 file. In the installer.sh I did add:
# change cubieboard2 target to uppercase if [ "$TARGET" = "cubieboard2" ]; then TARGET="Cubieboard2" fi
Which again is just a copy of what you do for the Cubietruck. Perhaps someone cleverer than I would simplify this. In fact, you might generalize this, making them all uppercase and allowing lowercase input...
Then I thought there might be someway to do this with a single script file, but perhaps once Hans gets the WiFi working for the CT (and other things CT has that CB2 does not), it could result in a different install than for the CB2 anyway.
I did bring a CB2 along with me and I hope tonight (Central Time) I will be able to run a test with Beta-RC4.