Compare commits

...
This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.

53 Commits

Author SHA1 Message Date
Jose Pinto
ecd5bf3213 Added necsave packages to lauv-xplore-2. 2016-10-17 15:33:55 +01:00
Jose Pinto
92b1d5609d Added FTDI_so kernel module. 2016-10-17 15:33:28 +01:00
Jose Pinto
1e3f781bb3 Necsave: use mission/necsave branch of DUNE. 2016-10-17 14:00:44 +01:00
Jose Pinto
585e48ab75 Added lauv-xtreme-2-aux system. 2016-10-11 14:10:58 +01:00
Jose Pinto
c711e7454c Necsave: now using git submodules. 2016-10-11 14:10:39 +01:00
Jose Pinto
09a3e3ecd1 Necsave: Setting branches to use during REP16. 2016-07-05 23:36:12 +01:00
Jose Pinto
f88cc8a39a Merge remote-tracking branch 'origin/master' into feature/necsave. 2016-03-22 09:46:00 +00:00
Jose Pinto
f9de3a4f8f Necsave: now using integration_02 branch for all modules. 2016-03-21 13:47:57 +00:00
José Braga
e2fcc7af9c lctr-b2xx: modified lauv-noptilus-1-aux IP address. 2016-02-29 17:55:06 +00:00
Jose Pinto
8b638e2f27 Rules/necsave: Also copying configs. 2016-02-17 16:01:45 +00:00
José Pinto
de84a56ab3 Merge branch 'master' into feature/necsave. 2016-02-11 14:27:09 +00:00
Ricardo Martins
570819ea0b mkpackage: fixed last commit logic. 2016-02-11 14:26:24 +00:00
José Pinto
99e99f3e0f Merge branch 'master' into feature/necsave. 2016-02-11 14:16:11 +00:00
Ricardo Martins
52d6566325 mkpackage: forced CURL to return error if download fails, remove file if download fails. 2016-02-11 14:15:14 +00:00
Jose Pinto
1c415a44ac Merge branch 'master' into feature/necsave.
Conflicts:
	systems/lctr-b2xx/lauv-noptilus-3-aux.cfg
2016-02-02 15:09:06 +00:00
Jose Pinto
f32fa39117 Merged mkconfig from master. 2016-01-13 11:18:56 +00:00
Ricardo Martins
73d5d950ea necsave: added symlink for log folder. 2016-01-13 11:17:20 +00:00
Jose Pinto
407d267025 necsave: use the branches configured as default for downloading the source. 2016-01-13 11:17:20 +00:00
Jose Pinto
ed94c11db3 necsave: Refresh rule pulls changes from git and rebuilds everything. 2016-01-13 11:17:20 +00:00
Ricardo Martins
0acac46293 lctr-b2xx: removed libexif from lauv-noptilus-2-aux. 2016-01-13 11:17:20 +00:00
Ricardo Martins
5922835236 lauv-noptilus-2-aux: removed additional storage. 2016-01-13 11:17:20 +00:00
Ricardo Martins
edc70d528d lauv-noptilus-1-aux: removed additional storage. 2016-01-13 11:17:20 +00:00
Ricardo Martins
31bed7ae8f necsave: added dependencies. 2016-01-13 11:17:20 +00:00
Ricardo Martins
7f19c508c1 lctr-b2xx: added lauv-noptilus-2 and lauv-noptilus-1. 2016-01-13 11:17:20 +00:00
Ricardo Martins
849aeba26e lctr-b2xx: added lauv-noptilus-2 and lauv-noptilus-1. 2016-01-13 11:17:20 +00:00
Ricardo Martins
fefe950223 mkconfig: added necsave suffix. 2016-01-13 11:17:19 +00:00
Ricardo Martins
de790486a2 necsave: added NECSAVE software. 2016-01-13 11:16:29 +00:00
Ricardo Martins
b0c958ae59 dune: added package for NECSAVE. 2016-01-13 11:16:29 +00:00
Jose Pinto
13fa4d279e Added configuration for necsave secondary cpu. 2016-01-13 11:16:29 +00:00
Jose Pinto
7692a45c51 Fixed libtool dependency. 2016-01-13 11:16:29 +00:00
Jose Pinto
c7ae8c42fe Added rule for CZMQ. 2016-01-13 11:16:29 +00:00
Jose Pinto
32ca698e19 Added rule for 0MQ. 2016-01-13 11:16:28 +00:00
Jose Pinto
32b085001a Added rule for jansson lib. 2016-01-13 11:16:28 +00:00
Jose Pinto
684639b9e2 Merge branch 'feature/necsave' of https://github.com/lsts/glued into feature/necsave 2015-11-11 10:13:27 +00:00
Ricardo Martins
c266998d6f necsave: added symlink for log folder. 2015-11-09 14:30:14 +00:00
Jose Pinto
82cbbdf857 necsave: use the branches configured as default for downloading the source. 2015-11-08 20:43:18 +00:00
Jose Pinto
7a9fd0f88d necsave: Refresh rule pulls changes from git and rebuilds everything. 2015-11-07 21:34:56 +00:00
Ricardo Martins
68ffa9e038 lctr-b2xx: removed libexif from lauv-noptilus-2-aux. 2015-11-04 09:49:33 +00:00
Ricardo Martins
1ef70f2a1c lauv-noptilus-2-aux: removed additional storage. 2015-11-03 14:57:28 +00:00
Ricardo Martins
7aeed40d2d lauv-noptilus-1-aux: removed additional storage. 2015-11-03 14:57:23 +00:00
Ricardo Martins
1a6647111b Merge branch 'master' into feature/necsave 2015-11-03 14:29:00 +00:00
Ricardo Martins
7227be47a8 necsave: added dependencies. 2015-11-03 14:28:04 +00:00
Ricardo Martins
4f8ab7805a lctr-b2xx: added lauv-noptilus-2 and lauv-noptilus-1. 2015-11-03 13:24:35 +00:00
Ricardo Martins
2e1bdc638f lctr-b2xx: added lauv-noptilus-2 and lauv-noptilus-1. 2015-11-03 13:24:27 +00:00
Ricardo Martins
a9d220a53e mkconfig: added necsave suffix. 2015-11-03 13:11:08 +00:00
Ricardo Martins
d34d4740e6 necsave: added NECSAVE software. 2015-11-03 13:09:29 +00:00
Ricardo Martins
81c8368e02 dune: added package for NECSAVE. 2015-11-03 13:09:17 +00:00
Ricardo Martins
41f6ca083e Merge branch 'master' into feature/necsave_pkg 2015-11-03 13:08:36 +00:00
Jose Pinto
5b6cda04a2 Added configuration for necsave secondary cpu. 2015-10-02 11:47:29 +01:00
Jose Pinto
1dac252899 Fixed libtool dependency. 2015-10-01 10:35:10 +01:00
Jose Pinto
0e06bd4823 Added rule for CZMQ. 2015-10-01 09:52:53 +01:00
Jose Pinto
271a171fc7 Added rule for 0MQ. 2015-10-01 09:51:40 +01:00
Jose Pinto
16fd1a30c5 Added rule for jansson lib. 2015-10-01 09:44:10 +01:00
12 changed files with 294 additions and 1 deletions

52
rules/czmq/default.bash Normal file
View File

@ -0,0 +1,52 @@
version=\
(
"3.0.2"
)
url=\
(
"https://github.com/zeromq/czmq/archive/v$version.tar.gz"
)
md5=\
(
"23e9885f7ee3ce88d99d0425f52e9be1"
)
configure()
{
./autogen.sh && \
./configure \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical"
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
requires=\
(
'libtool/host'
'zeromq'
)
target_install()
{
# Libs:
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libczmq.*; do
if [ -L "$f" ]; then
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
else
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
fi
done
}

37
rules/dune/default.bash Normal file
View File

@ -0,0 +1,37 @@
version=\
(
'mission/necsave'
)
requires=\
(
'cmake/host'
)
download()
{
git clone "git@github.com:LSTS/dune.git" dune &&
cd dune && git checkout "$version" && cd - &&
git clone "git@git.lsts.pt:dune-private.git" dune/private &&
cd dune/private && git checkout "$version" && cd -
}
configure()
{
$cmd_mkdir build &&
cd build &&
cmake \
-DCMAKE_INSTALL_PREFIX="$cfg_dir_toolchain_sysroot/usr" \
-DCROSS="$cmd_target_cc" \
../dune
}
build()
{
$cmd_make -C build
}
host_install()
{
$cmd_make -C build install
}

View File

@ -0,0 +1,45 @@
version=\
(
"2.7"
)
url=\
(
"http://www.digip.org/jansson/releases/jansson-2.7.tar.gz"
)
md5=\
(
"3a106a465bbb77637550b422f5b262ef"
)
configure()
{
./configure \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical"
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
# Libs:
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libjansson.*; do
if [ -L "$f" ]; then
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
else
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
fi
done
}

View File

@ -0,0 +1,79 @@
version=\
(
'master'
)
branch=\
(
'master'
)
maintainer=\
(
"Jose Pinto <zepinto@fe.up.pt>"
)
requires=\
(
'jansson/default'
'czmq/default'
'boost/default'
'cmake/host'
'dune/default'
)
download()
{
git clone -b $branch "git@necsave.info:necsave/communications.git" source &&
cd source &&
./update.sh &&
cd -
}
configure()
{
$cmd_mkdir build && cd build
PKG_CONFIG_PATH="$cfg_dir_toolchain_sysroot/usr/lib/pkgconfig" \
cmake \
-DCMAKE_INSTALL_PREFIX="$cfg_dir_toolchain_sysroot/usr/necsave" \
-DCMAKE_CXX_COMPILER="$cmd_target_cxx" \
-DCMAKE_C_COMPILER="$cmd_target_cc" \
-DCMAKE_FIND_ROOT_PATH:PATH="$cfg_dir_toolchain_sysroot/usr" \
-DDUNE_HOME="$cfg_dir_toolchain_sysroot/usr" \
-DCMAKE_SYSTEM_NAME:STRING=Linux \
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE:STRING=BOTH \
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY:STRING=ONLY \
-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM:STRING=BOTH \
../source
}
refresh()
{
cd ../default
rm .build .host_install .target_install .postconfigure
cd -
cd integration && git pull && cd - &&
cd source && git pull && cd - &&
for r in duneplatform missionplanner perception vehicleplanner; do
cd "source/src/Modules/$r" && git pull && cd -
done
}
build()
{
$cmd_make -C build
}
host_install()
{
$cmd_make -C build install
}
#target_install()
#{
# rm -rf "$cfg_dir_rootfs/usr/necsave" &&
# $cmd_cp -r "$cfg_dir_toolchain_sysroot/usr/necsave" "$cfg_dir_rootfs/usr" &&
# ln -fs /opt/lsts/necsave/log "$cfg_dir_rootfs/usr/necsave/log" &&
# $cmd_cp -r "integration/REP16"/* "$cfg_dir_rootfs/usr/necsave"
#
#}

46
rules/zeromq/default.bash Normal file
View File

@ -0,0 +1,46 @@
version=\
(
"4.1.3"
)
url=\
(
"http://download.zeromq.org/zeromq-$version.tar.gz"
)
md5=\
(
"d0824317348cfb44b8692e19cc73dc3a"
)
configure()
{
./configure \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--without-libsodium
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
# Libs:
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libzmq.*; do
if [ -L "$f" ]; then
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
else
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
fi
done
}

View File

@ -0,0 +1,7 @@
cfg_hostname='lauv-xtreme-2-aux'
cfg_eth_ext_ip='10.0.10.53'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_lauv_storage='internal'
cfg_packages="$cfg_packages necsave"

View File

@ -0,0 +1,9 @@
cfg_hostname='lauv-xplore-2-aux'
cfg_eth_ext_ip='10.0.10.183'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
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 jansson zeromq czmq boost europa'

View File

@ -1529,7 +1529,7 @@ CONFIG_USB_SERIAL_GENERIC=y
# CONFIG_USB_SERIAL_CP210X is not set
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
# CONFIG_USB_SERIAL_EMPEG is not set
# CONFIG_USB_SERIAL_FTDI_SIO is not set
CONFIG_USB_SERIAL_FTDI_SIO=y
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IPAQ is not set
# CONFIG_USB_SERIAL_IR is not set
@ -2209,3 +2209,4 @@ CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
# CONFIG_AVERAGE is not set
# CONFIG_CORDIC is not set
# CONFIG_DDR is not set

View File

@ -1,2 +1,4 @@
cfg_hostname='lauv-xplore-2'
cfg_eth_ext_ip='10.0.10.130'
cfg_packages="$cfg_packages necsave"

View File

@ -0,0 +1,7 @@
cfg_hostname='lauv-noptilus-1-aux'
cfg_storage='data0:ext4:/opt'
cfg_eth_ext_ip='10.0.10.83'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_packages="$cfg_packages necsave"

View File

@ -0,0 +1,7 @@
cfg_hostname='lauv-noptilus-2-aux'
cfg_storage='data0:ext4:/opt'
cfg_eth_ext_ip='10.0.10.93'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_packages="$cfg_packages necsave"

View File

@ -4,3 +4,4 @@ cfg_eth_ext_ip='10.0.10.103'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_packages="$cfg_packages necsave"