Commit 22d1f939 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

boards/ertm14: use custom SDBFS image

parent 8641301b
Pipeline #671 passed with stage
in 37 seconds
......@@ -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
# #
......@@ -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
......
#
# 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment