Compare commits
30 Commits
feature/ar
...
bugfix/mak
Author | SHA1 | Date | |
---|---|---|---|
|
d9a598aad4 | ||
|
3ea28bfee6 | ||
|
d72ebbe955 | ||
|
8418458d6e | ||
|
78a8e0099d | ||
|
9824634051 | ||
|
a21f7a4835 | ||
|
ca8a965f1f | ||
|
623bac0c38 | ||
|
c66054cafd | ||
|
c425981fa4 | ||
|
b69cfb9682 | ||
|
568f2abbbf | ||
|
0dd5539b48 | ||
|
d1872860fa | ||
|
4cf1db0317 | ||
|
00255e4608 | ||
|
72a786508e | ||
|
8bda2a4551 | ||
|
4e0d51b548 | ||
|
20a8911a04 | ||
|
7542b861c3 | ||
|
580816dde8 | ||
|
4c8324abc3 | ||
|
4316b4c9f7 | ||
|
9015c36df9 | ||
|
3e002e3ec5 | ||
|
b15293ee66 | ||
|
e2da8b7586 | ||
|
0cf9ba8b9c |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -11,3 +11,4 @@
|
||||
/ntnu-b2xx
|
||||
/stamp9g20
|
||||
/lctr-rpi
|
||||
build.bash
|
||||
|
@@ -23,9 +23,10 @@
|
||||
TAG := glued
|
||||
VERSION := 2016.05.0
|
||||
VOLUME := $(CURDIR)/..
|
||||
DNS := 8.8.8.8
|
||||
|
||||
all:
|
||||
docker build -t $(TAG):$(VERSION) .
|
||||
|
||||
shell:
|
||||
docker run -w $(VOLUME) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)
|
||||
docker run -w $(VOLUME) --dns=$(DNS) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
###########################################################################
|
||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||
###########################################################################
|
||||
# This program is free software; you can redistribute it and/or modify #
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
###########################################################################
|
||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||
###########################################################################
|
||||
# This program is free software; you can redistribute it and/or modify #
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
###########################################################################
|
||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||
###########################################################################
|
||||
# This program is free software; you can redistribute it and/or modify #
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
###########################################################################
|
||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||
###########################################################################
|
||||
# This program is free software; you can redistribute it and/or modify #
|
||||
@@ -72,7 +72,7 @@ download()
|
||||
fi
|
||||
|
||||
# First try LSTS mirror.
|
||||
lsts_url="https://lsts.pt/glued/$(basename $u)"
|
||||
lsts_url="https://www.lsts.pt/glued/$(basename $u)"
|
||||
download_tool "$lsts_url" "$cfg_dir_downloads/$file"
|
||||
if [ $? -ne 0 ]; then
|
||||
# Then try OceanScan-MST mirror.
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
###########################################################################
|
||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||
###########################################################################
|
||||
# This program is free software; you can redistribute it and/or modify #
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
###########################################################################
|
||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||
###########################################################################
|
||||
# This program is free software; you can redistribute it and/or modify #
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
###########################################################################
|
||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||
###########################################################################
|
||||
# This program is free software; you can redistribute it and/or modify #
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
###########################################################################
|
||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||
###########################################################################
|
||||
# This program is free software; you can redistribute it and/or modify #
|
||||
|
@@ -37,7 +37,8 @@ configure()
|
||||
{
|
||||
cd "../boost_$vendor_version" &&
|
||||
./bootstrap.sh \
|
||||
--with-icu="$cfg_dir_toolchain_sysroot/usr"
|
||||
--with-icu="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--with-libraries="regex,filesystem,system,thread"
|
||||
|
||||
GXX_VER=$(${cmd_target_cxx} -dumpversion)
|
||||
echo "using gcc : ${GXX_VER} : ${cmd_target_cxx} : <cxxflags>\"-pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ${cfg_target_gcc_flags} \" <linkflags>\"\" ;" > user-config.jam
|
||||
|
@@ -35,6 +35,11 @@ build()
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
# make available for cross compilation
|
||||
for f in "${cfg_dir_toolchain_sysroot}/usr/lib/"libcurl*so*; do
|
||||
echo "Doing $f"
|
||||
ln -s -f "$f" "${cfg_dir_toolchain}/lib"
|
||||
done
|
||||
}
|
||||
|
||||
target_install()
|
||||
|
37
rules/exiftool/default.bash
Normal file
37
rules/exiftool/default.bash
Normal file
@@ -0,0 +1,37 @@
|
||||
version=\
|
||||
(
|
||||
"10.96"
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"https://lsts.pt/glued/exiftoolBin-${version}.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
"71d52bf2d75f023b844dd8c9100daaff"
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Pedro Gonçalves <pedro@lsts.pt>'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'perl/default'
|
||||
)
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
$cmd_cp -r ../exiftoolBin-${version}/* .
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_cp -rv usr/* $cfg_dir_toolchain_sysroot/usr/
|
||||
$cmd_cp -rv usr/* $cfg_dir_rootfs/usr/
|
||||
$cmd_cp -rv usr/local/bin/* $cfg_dir_rootfs/usr/bin/
|
||||
}
|
||||
|
@@ -5,12 +5,12 @@ version=\
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://mirrors.kernel.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2"
|
||||
"https://lsts.pt/glued/gcc-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'6f831b4d251872736e8e9cc09746f327'
|
||||
'0abd6a50e1d6cf1642ae2414cc5a10b6'
|
||||
)
|
||||
|
||||
build_dir=$pkg_var
|
||||
|
25
rules/kplex/default.bash
Normal file
25
rules/kplex/default.bash
Normal file
@@ -0,0 +1,25 @@
|
||||
version=\
|
||||
(
|
||||
'1.4'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"https://github.com/stripydog/kplex/archive/v$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'df198384d2d7dee4b802136f4f9e9d44'
|
||||
)
|
||||
|
||||
build()
|
||||
{
|
||||
cd ../kplex-$version && $cmd_make VERBOSE=1 CC="$cmd_target_cc"
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_cp ../kplex-$version/kplex "$cfg_dir_rootfs/usr/bin/kplex"
|
||||
}
|
||||
|
@@ -5,12 +5,12 @@ version=\
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://ftp.gnu.org/gnu/make/make-$version.tar.bz2"
|
||||
"https://lsts.pt/glued/make-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'1a11100f3c63fcf5753818e59d63088f'
|
||||
'69520444a44561c8ce10276eee8ec55e'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
|
@@ -1,6 +1,6 @@
|
||||
version=\
|
||||
(
|
||||
"5.9"
|
||||
"6.1"
|
||||
)
|
||||
|
||||
url=\
|
||||
@@ -10,7 +10,7 @@ url=\
|
||||
|
||||
md5=\
|
||||
(
|
||||
"8cb9c412e5f2d96bc6f459aa8c6282a1"
|
||||
"98c889aaf8d23910d2b92d65be2e737a"
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
|
@@ -63,6 +63,11 @@ host_install()
|
||||
{
|
||||
cd ${pkg_build_dir}/../build &&
|
||||
$cmd_make install
|
||||
|
||||
# make available for cross compilation
|
||||
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libopencv*so*; do
|
||||
ln -s -f "$f" "$cfg_dir_toolchain/lib"
|
||||
done
|
||||
}
|
||||
|
||||
target_install()
|
||||
|
34
rules/zerotier/default.bash
Normal file
34
rules/zerotier/default.bash
Normal file
@@ -0,0 +1,34 @@
|
||||
version=\
|
||||
(
|
||||
'1.4.2'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"https://github.com/zerotier/ZeroTierOne/archive/$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'c173f8b61bcdb23844a2669ff0d7bdf0'
|
||||
)
|
||||
|
||||
build()
|
||||
{
|
||||
cd ../ZeroTierOne-$version && $cmd_make \
|
||||
VERBOSE=1 \
|
||||
CC="$cmd_target_cc" \
|
||||
CXX="$cmd_target_cxx" \
|
||||
LD="$cmd_target_ld" \
|
||||
STRIP="$cmd_target_strip" \
|
||||
CC_FLAGS="$cfg_target_gcc_flags"
|
||||
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_cp "../ZeroTierOne-$version/zerotier-one" "$cfg_dir_rootfs/usr/bin/zerotier-one"
|
||||
ln -sf "$cfg_dir_rootfs/usr/bin/zerotier-one" "$cfg_dir_rootfs/usr/bin/zerotier-cli"
|
||||
ln -sf "$cfg_dir_rootfs/usr/bin/zerotier-one" "$cfg_dir_rootfs/usr/bin/zerotier-idtool"
|
||||
}
|
||||
|
6
systems/lauv-aux-rpi/lauv-blue.cfg
Normal file
6
systems/lauv-aux-rpi/lauv-blue.cfg
Normal file
@@ -0,0 +1,6 @@
|
||||
cfg_hostname='lauv-blue'
|
||||
cfg_eth_ext_ip='10.0.2.55'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.0.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_services1=''
|
3
systems/lauv-aux-rpi/lauv-nemo-1-aux.cfg
Normal file
3
systems/lauv-aux-rpi/lauv-nemo-1-aux.cfg
Normal file
@@ -0,0 +1,3 @@
|
||||
cfg_hostname='lauv-nemo-1-aux'
|
||||
cfg_eth_ext_ip='10.0.10.63'
|
||||
cfg_packages="$cfg_packages boost"
|
@@ -6,5 +6,5 @@ cfg_ptpd_interface='eth0'
|
||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||
cfg_services1=''
|
||||
cfg_services2='trex'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'
|
||||
|
||||
|
@@ -6,5 +6,5 @@ cfg_ptpd_interface='eth0'
|
||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||
cfg_services1=''
|
||||
cfg_services2='trex'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'
|
||||
|
||||
|
@@ -6,5 +6,5 @@ cfg_ptpd_interface='eth0'
|
||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||
cfg_services1=''
|
||||
cfg_services2='trex'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'
|
||||
|
||||
|
@@ -6,5 +6,5 @@ cfg_ptpd_interface='eth0'
|
||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||
cfg_services1=''
|
||||
cfg_services2='trex'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'
|
||||
|
||||
|
@@ -6,5 +6,5 @@ cfg_ptpd_interface='eth0'
|
||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||
cfg_services1=''
|
||||
cfg_services2='trex'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'
|
||||
|
||||
|
2
systems/lctr-a6xx/buv-petinga-1.cfg
Normal file
2
systems/lctr-a6xx/buv-petinga-1.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
cfg_hostname='buv-petinga-1'
|
||||
cfg_eth_ext_ip='10.0.10.170'
|
2
systems/lctr-a6xx/geode-testbed.cfg
Normal file
2
systems/lctr-a6xx/geode-testbed.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
cfg_hostname='geode-testbed'
|
||||
cfg_eth_ext_ip='10.0.200.64'
|
2
systems/lctr-a6xx/lauv-nemo-1.cfg
Normal file
2
systems/lctr-a6xx/lauv-nemo-1.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
cfg_hostname='lauv-nemo-1'
|
||||
cfg_eth_ext_ip='10.0.10.60'
|
2
systems/lctr-a9xx/manta-rugged-2.cfg
Normal file
2
systems/lctr-a9xx/manta-rugged-2.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
cfg_hostname='manta-rugged-2'
|
||||
cfg_eth_ext_ip='10.0.30.25'
|
2
systems/lctr-a9xx/manta-sabuvis.cfg
Normal file
2
systems/lctr-a9xx/manta-sabuvis.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
cfg_hostname='manta-sabuvis'
|
||||
cfg_eth_ext_ip='10.0.30.26'
|
@@ -3,7 +3,7 @@ cfg_storage='data0:ext4:/opt'
|
||||
cfg_modules=''
|
||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||
cfg_services2='dune'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi exiftool libusb'
|
||||
cfg_target_linux_kernel='arch/arm/boot/zImage'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
|
9
systems/lctr-rpi/test-rpi-eth0.cfg
Normal file
9
systems/lctr-rpi/test-rpi-eth0.cfg
Normal file
@@ -0,0 +1,9 @@
|
||||
cfg_hostname='test-rpi'
|
||||
cfg_eth_ext_ip='10.0.200.52'
|
||||
cfg_services1=''
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi exiftool libusb'
|
||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||
cfg_modules="$cfg_modules ftdi_sio"
|
||||
cfg_terminal='tty1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
|
4
systems/lctr-rpi/titan.cfg
Normal file
4
systems/lctr-rpi/titan.cfg
Normal file
@@ -0,0 +1,4 @@
|
||||
cfg_hostname='titan'
|
||||
cfg_eth_ext_ip='10.0.20.150'
|
||||
cfg_packages="$cfg_packages libjpeg-turbo v4l-utils uv4l libav"
|
||||
cfg_modules="$cfg_modules ftdi_sio"
|
9
systems/lctr-rpi/x8-06-aux.cfg
Normal file
9
systems/lctr-rpi/x8-06-aux.cfg
Normal file
@@ -0,0 +1,9 @@
|
||||
cfg_hostname='x8-06-aux'
|
||||
cfg_eth_ext_ip='10.0.20.109'
|
||||
cfg_services1='lauv-storage-server'
|
||||
cfg_packages="$cfg_packages opencv raspicam exiv2 libav uswitch nfs-utils"
|
||||
cfg_modules="$cfg_modules ftdi_sio"
|
||||
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lauv-aux.dtb'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_terminal='ttyAMA0'
|
||||
cfg_lauv_storage_dir='/opt/lsts/dune/log'
|
@@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
###########################################################################
|
||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||
###########################################################################
|
||||
# This program is free software; you can redistribute it and/or modify #
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
###########################################################################
|
||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||
###########################################################################
|
||||
# This program is free software; you can redistribute it and/or modify #
|
||||
|
Reference in New Issue
Block a user