Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
29
Issues
29
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Schedules
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
Software for White Rabbit PTP Core
Commits
22d1f939
Commit
22d1f939
authored
Nov 26, 2020
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
boards/ertm14: use custom SDBFS image
parent
8641301b
Pipeline
#671
passed with stage
in 37 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
47 additions
and
4 deletions
+47
-4
boards.mk
boards/boards.mk
+4
-4
board.h
boards/ertm14/board.h
+1
-0
--SDB-CONFIG--
boards/ertm14/sdbfs/--SDB-CONFIG--
+42
-0
bitstream
boards/ertm14/sdbfs/bitstream
+0
-0
calibration
boards/ertm14/sdbfs/calibration
+0
-0
mac-address
boards/ertm14/sdbfs/mac-address
+0
-0
sfp-database
boards/ertm14/sdbfs/sfp-database
+0
-0
wr-init
boards/ertm14/sdbfs/wr-init
+0
-0
wrc_bin
boards/ertm14/sdbfs/wrc_bin
+0
-0
No files found.
boards/boards.mk
View file @
22d1f939
...
...
@@ -3,13 +3,13 @@ obj-$(CONFIG_TARGET_GENERIC_PHY_16BIT) += boards/generic/board.o
obj-$(CONFIG_TARGET_WR_SWITCH) += boards/wr-switch/main.o boards/wr-switch/gpio-wrs.o boards/wr-switch/ad9516.o
obj-$(CONFIG_TARGET_AFCZ) += boards/afcz/board.o
obj-$(CONFIG_TARGET_SIS8300KU) += boards/sis8300ku/board.o
obj-$(CONFIG_TARGET_ERTM14) += boards/ertm14/board.o boards/ertm14/ertm15_rf_distr.o boards/ertm14/phy_calibration.o boards/ertm14/rf_frame_transceiver.o boards/ertm14/cmd_ertm14.o
obj-$(CONFIG_TARGET_ERTM14) += boards/ertm14/board.o boards/ertm14/ertm15_rf_distr.o boards/ertm14/phy_calibration.o boards/ertm14/rf_frame_transceiver.o boards/ertm14/cmd_ertm14.o
boards/ertm14/sdbfs-custom-image.o
obj-$(CONFIG_TARGET_PXIE_FMC) += boards/pxie-fmc/board.o
#boards/sis8300ku/board.o: boards/sis8300ku/sdbfs-image.h
#./tools/gensdbfs -c boards/sis8300ku/sdbfs-image.h boards/sis8300ku/sdbfs boards/sis8300ku/sdbfs-image.bin
boards/ertm14/sdbfs-custom-image.h: boards/ertm14/sdbfs
./tools/gensdbfs -c boards/ertm14/sdbfs-custom-image.h boards/ertm14/sdbfs boards/ertm14/sdbfs-custom-image.bin
#obj-$(CONFIG_TARGET_SIS8300KU): boards/sis8300ku/sdbfs-image.h
# echo "DUPA"
# sleep 10
# #
boards/ertm14/board.h
View file @
22d1f939
...
...
@@ -23,6 +23,7 @@
#include "lib/ertm14-uart-link.h"
#include "rf_frame_transceiver.h"
#define BOARD_USE_CUSTOM_SDBFS 1
#define BOARD_HAS_CUSTOM_NETWORK_INIT 1
#undef BOARD_ERTM14_REV_1
...
...
boards/ertm14/sdbfs/--SDB-CONFIG--
0 → 100644
View file @
22d1f939
#
# Even though in I2C eeproms we are going to be a subdirectory, not starting
# at offset zero at all, we want to start at zero *wihin* our space.
# This is actually the default, but stating it is better.
.
position = 0
# Then, we have a number of writable files. By default (i.e. no config)
# all existing files are created as read-only files with current contents
# and exact size.
#
# Allocation granularity is 64 bytes
# FPGA bitstream
bitstream
write = 0
position = 0
maxsize = 0x300000
# WRCore firmware
wrc-bin
write = 0
position = 0x300000
maxsize = 0x100000
# WRCore init script
wr-init
position = 0x610000
write = 1
maxsize = 65536
sfp-database
position = 0x620000
write = 1
maxsize = 65536
# calibration data
calibration
position = 0x630000
write = 1
maxsize = 1024
boards/ertm14/sdbfs/bitstream
0 → 100644
View file @
22d1f939
boards/ertm14/sdbfs/calibration
0 → 100644
View file @
22d1f939
boards/ertm14/sdbfs/mac-address
0 → 100644
View file @
22d1f939
boards/ertm14/sdbfs/sfp-database
0 → 100644
View file @
22d1f939
boards/ertm14/sdbfs/wr-init
0 → 100644
View file @
22d1f939
boards/ertm14/sdbfs/wrc_bin
0 → 100644
View file @
22d1f939
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