Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
meta-spec
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
meta-spec
Commits
8a21da99
Commit
8a21da99
authored
Jul 20, 2016
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Optimize the WR NIC bitbake recipe
parent
a714f403
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
14 deletions
+5
-14
top-manifest.patch
recipes-software/nic-bitstream/files/top-manifest.patch
+3
-3
nic-bitstream_0.1.bb
recipes-software/nic-bitstream/nic-bitstream_0.1.bb
+2
-11
No files found.
recipes-software/nic-bitstream/files/top-manifest.patch
View file @
8a21da99
diff -Naur a/
syn/specdio/Manifest.py b/syn/specdio
/Manifest.py
--- a/
syn/specdio/
Manifest.py 2016-07-20 04:17:52.657700773 +0100
+++ b/
syn/specdio/
Manifest.py 2016-07-20 04:19:26.030800405 +0100
diff -Naur a/
Manifest.py b
/Manifest.py
--- a/Manifest.py 2016-07-20 04:17:52.657700773 +0100
+++ b/Manifest.py 2016-07-20 04:19:26.030800405 +0100
@@ -9,1 +9,3 @@
syn_project = "wr_nic_dio.xise"
+syn_tool = "ise"
...
...
recipes-software/nic-bitstream/nic-bitstream_0.1.bb
View file @
8a21da99
...
...
@@ -11,9 +11,7 @@ SRC_URI = "git://ohwr.org/white-rabbit/wr-nic.git \
file://top-manifest.patch"
SRCREV = "3bf04881479303ae41ce3fd2f4df90cd22ea8991"
S = "${WORKDIR}/git"
HDLMAKE_TOP_FOLDER = "${S}/syn/specdio"
S = "${WORKDIR}/git/syn/specdio"
FILES_${PN} += "/lib/firmware/fmc"
...
...
@@ -25,19 +23,12 @@ addtask fetch_extra after do_unpack before do_patch
# Use HDLMake to analyze the project and generate the Makefile
do_configure() {
cd ${HDLMAKE_TOP_FOLDER}
hdlmake
}
# Synthesize the FPGA bitstream
do_compile() {
cd ${HDLMAKE_TOP_FOLDER}
make
}
# Deploy the bitstream into the appropriated target folder
do_install() {
install -d ${D}/lib/firmware/fmc
install -m 0755 ${S}/
syn/specdio/
wr_nic_dio_top.bin ${D}/lib/firmware/fmc/wr_nic_dio.bin
install -m 0755 ${S}/wr_nic_dio_top.bin ${D}/lib/firmware/fmc/wr_nic_dio.bin
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment