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
f86eff5f
Commit
f86eff5f
authored
Nov 16, 2016
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wr-nic includes Chipscope components: use prebuilt bitstream from OHR
parent
43ea325b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
19 deletions
+16
-19
nic-bitstream_0.1.bb
recipes-gateware/nic-bitstream/nic-bitstream_0.1.bb
+16
-19
No files found.
recipes-gateware/nic-bitstream/nic-bitstream_0.1.bb
View file @
f86eff5f
SUMMARY = "Provides
the FPGA bitstream for White Rabbit Network Interface Card on SPEC
"
SUMMARY = "Provides
wr_nic_dio.bin bitstream for wr-nic over spec
"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
PR = "r1"
inherit module
PR = "r0"
PV = "0.1"
# Patch the top Manifest.py to adapt the old WR-NIC repo to the new HDLMake format.
SRC_URI = "git://ohwr.org/white-rabbit/wr-nic.git \
file://top-manifest.patch"
SRCREV = "3bf04881479303ae41ce3fd2f4df90cd22ea8991"
S = "${WORKDIR}/git/syn/specdio"
SRC_URI = "http://www.ohwr.org/attachments/download/2687/wr_nic_dio.bin-2014-02-14"
SRC_URI[md5sum] = "371f22659e5acf8612e7e11c1481abf6"
FILES_${PN} += "/lib/firmware/fmc
"
S = "${WORKDIR}/
"
# Update and init Git submodules to clone some dependent HDL libraries
do_fetch_extra(){
git submodule update --init
}
addtask fetch_extra after do_unpack before do_patch
FILES_${PN} += "/lib/firmware/fmc"
# Use HDLMake to analyze the project and generate the Makefile
do_configure() {
hdlmake
do_compile() {
:
}
# Deploy the bitstream into the appropriated target folder
do_install() {
install -d ${D}/lib/firmware/fmc
install -m 0755 ${S}/wr_nic_dio_top.bin
${D}/lib/firmware/fmc/wr_nic_dio.bin
install -d ${D}/lib/firmware/fmc
install -m 0755 ${S}/wr_nic_dio.bin-2014-02-14
${D}/lib/firmware/fmc/wr_nic_dio.bin
}
# The inherit of module.bbclass will automatically name module packages with
# "kernel-module-" prefix as required by the oe-core build environment.
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