...
 
Commits (4)
# .gitignore file
xcompiler/*
# OS generated files #
######################
*.bak
......
......@@ -17,6 +17,11 @@
SUBMOD_DIRS=spec-sw wr-nic fmc-dio wrpc-sw coht-vic
MAKE_DIRS = spec-sw wr-nic fmc-dio wrpc-sw coht-vic #tools
LM32_XCOMPILER_URL="https://www.ohwr.org/project/wrpc-sw/uploads/2776ce0ba43503d1486ae205b48fb450"
LM32_XCOMPILER_NAME="lm32_host_64bit.tar.xz"
XCOMPILER_DIR="xcompiler"
LM32_XCOMPILER_NAME_DIR="lm32-gcc-4.5.3"
#RUNME := $(shell test -d $(FMC_DRV) || git submodule update --init)
## Call the sub folder Makefiles
......@@ -40,14 +45,9 @@ patch:
update:
./scripts/wr-ssk-get -f
git submodule update
cd spec-sw
git submodule update
cd wr-nic
git submodule update
cd fmc-dio
git submodule update
cd wrpc-sw
git submodule update
cd coht-vic
git submodule update
@rm -rf $(XCOMPILER_DIR)
mkdir -p $(XCOMPILER_DIR)
cd $(XCOMPILER_DIR) && wget $(LM32_XCOMPILER_URL)/$(LM32_XCOMPILER_NAME) \
&& tar xvf $(LM32_XCOMPILER_NAME)
cd wrpc-sw && make spec_defconfig && \
CROSS_COMPILE="$(shell pwd)/$(XCOMPILER_DIR)/$(LM32_XCOMPILER_NAME_DIR)/bin/lm32-elf-" make
Subproject commit 58e29b61413df73b198134dbaa9321b4aac6406f
Subproject commit 81ed5171a57977d2e23eac898262197b4806ba9a
......@@ -106,7 +106,11 @@ insthdl()
if [ ! -d ${installdir} ]; then
sudo mkdir -p ${installdir}
fi
sudo cp -v ${DOWNLOADDIR}/spec-init.bin ${DOWNLOADDIR}/wr_nic_dio.bin ${installdir}
sudo cp -v ${DOWNLOADDIR}/spec-init.bin \
${DOWNLOADDIR}/wr_nic_dio.bin \
${DOWNLOADDIR}/wr_nic.bin \
${DOWNLOADDIR}/wr_nic_lm32_sw.bin \
${installdir}
wr_echoret $? "OK" "ERROR"
checkdrv;
......@@ -290,7 +294,7 @@ exit 0
# setup script dir
scriptdir=$(cd $(dirname $0); pwd)
DOWNLOADDIR=${scriptdir}/../firmware
PKGURL="https://www.ohwr.org/project/wr-starting-kit/uploads/747b23348cf45573b3df5ac55c3cfbf9/wr-starting-kit-v2.0_gw.tar.gz 9e48bbe6c30b18864ecddceb7627e6e9"
PKGURL="https://drive.google.com/uc?export=download&id=1ihH73-YVrRDhWcYa9-4kkqepvl3xrRGk 39843e9cb12182dfe741fb3b26ac6ea5"
while [ $# -gt 0 ]; do # Until you run out of parameters . . .
case "$1" in
......
Subproject commit 3508bf44d78f5bbf8afa5d54f6e2755bd8403cbb
Subproject commit e54f945ce05f16803c6c82a4fb1fdb244946b5e3