path: root/board
diff options
authorGravatar Charles Manning <cdhmanning@gmail.com>2015-07-13 00:00:31 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-13 02:09:33 +0200
commite4f787ec999834116089d79f6bd65c70403cd689 (patch)
tree999ae3ac4b1ab040bc5dcb2ae9d9d15c4007ab94 /board
parentaec5af98caf65b8ad08db4f372527a0503bb381c (diff)
configs: add altera_socdk_defconfig for Altera Cyclone 5 Development Board
This is largely the same as altera_sockit_defconfig. It uses a fresher Linux and u-boot than SocKit. It also speeds the serial port up to 115200. The post-image script is generalized by adding BR2_ROOTFS_POST_SCRIPT_ARGS and moving it up the altera directory. Similarly, the readme is moved up and made more generic. Signed-off-by: Charles Manning <cdhmanning@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board')
-rwxr-xr-xboard/altera/post-image.sh (renamed from board/altera/sockit/post-image.sh)5
-rw-r--r--board/altera/readme.txt (renamed from board/altera/sockit/readme.txt)9
2 files changed, 10 insertions, 4 deletions
diff --git a/board/altera/sockit/post-image.sh b/board/altera/post-image.sh
index 9040808ecf..03e7819aa6 100755
--- a/board/altera/sockit/post-image.sh
+++ b/board/altera/post-image.sh
@@ -1,7 +1,8 @@
-# post-image.sh for SoCkit
+# post-image.sh for SoCkit/SoCDK
# 2014, "Roman Diouskine" <roman.diouskine@savoirfairelinux.com>
# 2014, "Sebastien Bourdelin" <sebastien.bourdelin@savoirfairelinux.com>
# create a DTB file copy with the name expected by the u-boot config
-cp -af $BINARIES_DIR/socfpga_cyclone5_sockit.dtb $BINARIES_DIR/socfpga.dtb
+# Name of the DTB is passed as the second argument to the script.
+cp -af $BINARIES_DIR/${2}.dtb $BINARIES_DIR/socfpga.dtb
diff --git a/board/altera/sockit/readme.txt b/board/altera/readme.txt
index b6da489f61..8d5b89114b 100644
--- a/board/altera/sockit/readme.txt
+++ b/board/altera/readme.txt
@@ -3,7 +3,8 @@ SoCkit
-This is the buildroot board support for the Arrow SoCkit Evaluation Board.
+This is the buildroot board support for the Arrow SoCkit Evaluation Board
+and the Altera Cyclone 5 Development Board.
A good source of information is :
@@ -46,6 +47,10 @@ all that is required to bring the SoCkit :
$ make altera_sockit_defconfig
+and for the SoC Development Board :
+ $ make altera_sockdk_defconfig
Build everything
@@ -63,7 +68,7 @@ After building, you should obtain this tree:
├── rootfs.ext2
├── rootfs.ext3 -> rootfs.ext2
├── rootfs.tar
- ├── socfpga_cyclone5_sockit.dtb
+ ├── socfpga_cyclone5_sockit.dtb or socfpga_cyclone5_socdk.dtb
├── socfpga.dtb
├── u-boot.img
├── u-boot-spl.bin