Compare commits

...

59 Commits

Author SHA1 Message Date
Jose Braga
f6a3973c9b Version 1.9.9. 2014-05-05 14:23:43 +01:00
Jose Braga
d71cd0f31c lauv-lupis-1: added config. 2014-05-05 14:22:47 +01:00
Ricardo Martins
e395e75b04 Development version 1.9.x. 2014-04-29 03:43:04 +01:00
Ricardo Martins
c00c27649b Version 1.9.8. 2014-04-29 03:42:11 +01:00
Ricardo Martins
61529350c5 lctr-a6xx: added rsync daemon. 2014-04-28 23:09:58 +01:00
Ricardo Martins
108ce638ed rsync: added daemon scripts and configuration. 2014-04-28 23:09:43 +01:00
Jose Braga
d0381c9b62 lctr-a6xx: removed dtn. 2014-04-15 14:22:34 +01:00
Ricardo Martins
f90424a424 db: updated download address. 2014-03-31 12:38:32 +01:00
Ricardo Martins
9854a87f75 Starting version 1.9.7. 2014-02-08 16:14:12 +00:00
Ricardo Martins
53bd90bb42 GLUED: preparing v1.9.6. 2014-02-07 14:57:43 +00:00
Ricardo Martins
e53a6fc1b4 mkconfig: backported cfg_eth_ext_soft_mac. 2014-02-07 14:50:54 +00:00
Ricardo Martins
5171aee6a3 filesystem: backported dune upgrade fix. 2014-02-07 11:16:22 +00:00
Ricardo Martins
2950ac0ccc Marking version 1.9.5. 2014-02-06 11:13:46 +00:00
Jose Braga
90b0e4d5cc filesystem: added mux of pin that connects LEDs and camera. 2014-02-05 16:29:26 +00:00
Jose Braga
3575ea7021 lauv-lsts-1 and lauv-xplore-1 are two different vehicles. 2014-02-04 15:12:00 +00:00
Jose Braga
6fe4727a85 Renamed lauv-lsts-1 to lauv-xplore-1. 2014-02-04 14:26:56 +00:00
Jose Braga
c2c0689b70 Marking version 1.9.4. 2014-01-28 10:49:04 +00:00
Jose Braga
b0112ec61c escc: script to configure hg1700 plus psimar. 2014-01-28 10:39:11 +00:00
Jose Braga
e6e9a01c1d Marking version 1.9.3. 2014-01-27 18:00:38 +00:00
Jose Braga
23e5f9b34c Renamed sc-1 aux. 2014-01-27 17:57:08 +00:00
Jose Braga
5abb3e220a Marking version 1.9.1. 2014-01-27 17:48:37 +00:00
Jose Braga
9686a1cefa Renamed lauv-seacon-4. 2014-01-27 17:47:38 +00:00
Ricardo Martins
56c065b51b Marking version 1.9.0. 2014-01-06 18:43:50 +00:00
Ricardo Martins
132fcaa531 Added builds to gitignore. 2014-01-06 18:40:14 +00:00
Ricardo Martins
e4b430b23c apache-ant: upgraded to version 1.9.3. 2014-01-06 17:07:43 +00:00
Ricardo Martins
a0efadc2d5 libpng: updated to 1.6.8. 2014-01-06 17:07:23 +00:00
Ricardo Martins
1650a8becd lctr-b2xx: renamed lauv-seacon-4-camera to lauv-seacon-4-aux. 2014-01-06 16:56:41 +00:00
Ricardo Martins
e6ed397a9f lctr-b2xx: added lauv-seacon-4-camera. 2014-01-06 16:13:30 +00:00
Ricardo Martins
77ef845247 gettext: upgraded to 0.18.3.1. 2014-01-06 12:02:13 +00:00
Ricardo Martins
6d29df1ded mkpackage: added support for downloading git repositories. 2014-01-06 10:03:10 +00:00
Ricardo Martins
6990d3f0f8 filesystem: script 'dune' now saves user parameters on upgrade. This commit closes #2603 2013-12-02 11:41:20 +00:00
Jose Braga
660a2a20f0 lauv-lsts-1: added config. 2013-11-25 11:27:35 +00:00
Ricardo Martins
e257522a21 rsync: upgraded to 3.1.0. 2013-11-20 18:17:18 +00:00
Ricardo Martins
b95a2f9f9b mkpackage: fixed typo. 2013-11-20 16:36:33 +00:00
Jose Braga
4255957dca LAUV Noptilus 3: missing zeros in mac address. 2013-10-16 08:47:33 +01:00
Jose Braga
0912c074c8 LAUV Noptilus 3: defined ARP table for Imagenex sidescan. 2013-10-16 08:39:47 +01:00
Ricardo Martins
59a8643fb1 lctr-a9xx: removed DTN from list of packages. 2013-10-09 01:33:17 +01:00
Jose Pinto
07caf7eec9 Delete default.bash~ 2013-09-14 23:51:40 +01:00
Jose Pinto
0e2f041f30 Update default.bash 2013-09-14 23:51:24 +01:00
Jose Pinto
eb7b97af99 Added node.js package. 2013-09-14 23:49:40 +01:00
Ricardo Martins
e50b1c84d3 dei80211mr: removed package for now. 2013-09-12 18:12:52 +01:00
Ricardo Martins
70ce9a9f63 ns-miracle: removed package for now. 2013-09-12 18:12:32 +01:00
Joao Fortuna
23eda780fc Added configuration file for X8-03. 2013-09-10 19:01:54 +01:00
João Fortuna
fa2366ad0b README.md: Escaped angle bracket symbol for correct display on GitHub. 2013-09-10 11:07:04 +01:00
Jose Pinto
adc9ee5076 Added configuration for TREX execution on kontron (lauv-xtreme-2). 2013-09-10 09:59:37 +01:00
Ricardo Martins
7d2a65b207 lctr-a6xx: added second octo-UART. 2013-09-05 01:43:39 +01:00
Ricardo Martins
b61cf9c209 lctr-a6xx: probe additional octo-UART board. 2013-09-05 00:09:04 +01:00
Ricardo Martins
bdf0eabb3f lctr-a6xx: increased number of UARTs. 2013-09-05 00:08:42 +01:00
Ricardo Martins
0be67b7a8a flashrom: added dependencies. 2013-09-04 16:30:15 +01:00
Ricardo Martins
ca92d8c2cb lctr-a6xx: added flashrom to list of packages. 2013-08-29 14:21:10 +01:00
Ricardo Martins
8c1168dd62 Merge branch 'glued-1.8.x'
Conflicts:
	mkconfig.bash
	systems/lctr-a6xx/lauv-dolphin-1.cfg
2013-08-19 21:11:12 +01:00
Ricardo Martins
017b61c00a Bumped patch level to 1.8.4. 2013-08-19 21:06:00 +01:00
Ricardo Martins
ef064bd167 lauv-dolphin-1: removed sidescan ARP table and changed DUNE language to 'C'. 2013-08-19 21:05:15 +01:00
Ricardo Martins
2ed647f110 Updated licence. 2013-08-19 14:31:11 +01:00
Ricardo Martins
0718aecf43 filesystem: increased mount retries to 120. 2013-08-12 13:33:48 +01:00
Ricardo Martins
dc023bdc37 filesystem: increased mount retries to 120. 2013-08-12 13:31:30 +01:00
Ricardo Martins
c382d46e9b Bumped patch level. 2013-08-03 19:54:32 +01:00
Ricardo Martins
2de0e986f9 lauv-dolphin-1: changed DUNE language to ru_RU. 2013-08-03 17:42:21 +01:00
Ricardo Martins
d68ebd33e6 Starting v1.9.x development. 2013-08-03 16:35:58 +01:00
41 changed files with 319 additions and 364 deletions

9
.gitignore vendored
View File

@@ -1 +1,8 @@
downloads downloads
lctr-a4xx
lctr-a6xx
lctr-a8xx
lctr-a9xx
lctr-b1xx
lctr-b2xx
qemu-i686

View File

@@ -18,10 +18,10 @@ terminal:
./mkconfig.bash list ./mkconfig.bash list
Once you have identified the name of the system you want to build, Once you have identified the name of the system you want to build,
issue the following command, replacing <system_name> with the name of issue the following command, replacing \<system_name> with the name of
that system: that system:
./mkconfig.bash <system_name> ./mkconfig.bash \<system_name>
Building Building
======== ========
@@ -31,7 +31,7 @@ necessary packages.
To start the compilation process, issue the following command: To start the compilation process, issue the following command:
./mksystem.bash <config_file> ./mksystem.bash \<config_file>
Archives Archives
======== ========
@@ -46,7 +46,7 @@ To create a package containing all the necessary tools to
cross-compile C/C++ programs for you target system, issue the cross-compile C/C++ programs for you target system, issue the
following command: following command:
./pktoolchain.bash <config_file> ./pktoolchain.bash \<config_file>
Root Filesystem Archive Root Filesystem Archive
----------------------- -----------------------
@@ -56,7 +56,7 @@ GLUED system. It allows you to upgrade existing GLUED systems and
initialize storage devices. To create a root filesystem archive, issue initialize storage devices. To create a root filesystem archive, issue
the following command: the following command:
./pkrootfs.bash <config_file> ./pkrootfs.bash \<config_file>
Initializing Storage Devices Initializing Storage Devices
============================ ============================
@@ -72,7 +72,7 @@ To perform all of the previous steps, you must first identify the
target block device file and then issue the following command (as target block device file and then issue the following command (as
root): root):
./mkdisk.bash <config_file> <block_device> ./mkdisk.bash \<config_file> \<block_device>
Example Example
======= =======

View File

@@ -1,3 +1,24 @@
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2013 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 #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or (at #
# your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
# General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
nfo1() nfo1()
{ {
echo -e "[$(date +"%Y-%m-%d %H:%M:%S")] \033[0m\033[1;34m* $*\033[0m" echo -e "[$(date +"%Y-%m-%d %H:%M:%S")] \033[0m\033[1;34m* $*\033[0m"

View File

@@ -1,16 +1,27 @@
#! /bin/bash #! /bin/bash
############################################################################# ###########################################################################
# Copyright (C) 2007-2012 Laboratório de Sistemas e Tecnologia Subaquática # # GLUED: GNU/Linux Uniform Environment Distribution #
# Departamento de Engenharia Electrotécnica e de Computadores # # Copyright (C) 2007-2013 Universidade do Porto - Faculdade de Engenharia #
# Rua Dr. Roberto Frias, 4200-465 Porto, Portugal # # Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
############################################################################# ###########################################################################
# Author: Ricardo Martins # # This program is free software; you can redistribute it and/or modify #
############################################################################# # it under the terms of the GNU General Public License as published by #
# $Id:: mkconfig.bash 1629 2013-06-30 11:39:30Z rasm $:# # the Free Software Foundation; either version 2 of the License, or (at #
############################################################################# # your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
# General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Config: GLUED version. # Config: GLUED version.
cfg_glued_version='1.8.2' cfg_glued_version='1.9.9'
# Config: GLUED vendor. # Config: GLUED vendor.
cfg_glued_vendor='lsts' cfg_glued_vendor='lsts'
@@ -77,14 +88,15 @@ if ! [ -f "architectures/$cfg_architecture.cfg" ]; then
fi fi
source "architectures/$cfg_architecture.cfg" source "architectures/$cfg_architecture.cfg"
# Creating the mac address if not set in configuration file we create one derivated from the IP address: # Create a MAC address based on the IP address if cfg_eth_ext_soft_mac
if [ -n $cfg_eth_ext_ip ]; then # is set.
ips=(`echo $cfg_eth_ext_ip | sed -e 's/\./\n/g'`) if [ -n "$cfg_eth_ext_ip" ] && [ -n "$cfg_eth_ext_soft_mac" ]; then
for i in "${ips[@]}" ips=(`echo $cfg_eth_ext_ip | sed -e 's/\./\n/g'`)
do for i in "${ips[@]}"
hip=("${hip[@]}" `printf '%x' $i`) do
done hip=("${hip[@]}" `printf '%x' $i`)
cfg_eth_ext_mac="80:c1:${hip[0]}:${hip[1]}:${hip[2]}:${hip[3]}" done
cfg_eth_ext_mac="80:c1:${hip[0]}:${hip[1]}:${hip[2]}:${hip[3]}"
fi fi
# Config: system name. # Config: system name.

View File

@@ -1,13 +1,24 @@
#! /bin/bash #! /bin/bash
############################################################################# ###########################################################################
# Copyright (C) 2007-2012 Laboratório de Sistemas e Tecnologia Subaquática # # GLUED: GNU/Linux Uniform Environment Distribution #
# Departamento de Engenharia Electrotécnica e de Computadores # # Copyright (C) 2007-2013 Universidade do Porto - Faculdade de Engenharia #
# Rua Dr. Roberto Frias, 4200-465 Porto, Portugal # # Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
############################################################################# ###########################################################################
# Author: Ricardo Martins # # This program is free software; you can redistribute it and/or modify #
############################################################################# # it under the terms of the GNU General Public License as published by #
# $Id:: $:# # the Free Software Foundation; either version 2 of the License, or (at #
############################################################################# # your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
# General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
cmd_parted() cmd_parted()
{ {

View File

@@ -1,13 +1,24 @@
#! /bin/bash #! /bin/bash
############################################################################# ###########################################################################
# Copyright (C) 2007-2012 Laboratório de Sistemas e Tecnologia Subaquática # # GLUED: GNU/Linux Uniform Environment Distribution #
# Departamento de Engenharia Electrotécnica e de Computadores # # Copyright (C) 2007-2013 Universidade do Porto - Faculdade de Engenharia #
# Rua Dr. Roberto Frias, 4200-465 Porto, Portugal # # Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
############################################################################# ###########################################################################
# Author: Ricardo Martins # # This program is free software; you can redistribute it and/or modify #
############################################################################# # it under the terms of the GNU General Public License as published by #
# $Id:: mkpackage.bash 1408 2013-02-06 14:10:34Z nurc $:# # the Free Software Foundation; either version 2 of the License, or (at #
############################################################################# # your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
# General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
source "functions.bash" source "functions.bash"
@@ -80,6 +91,21 @@ download()
let n++ let n++
done done
n=0; while [ -n "${git[$n]}" ]; do
u="$(echo ${git[$n]} | cut -f1 -d'#')"
b="$(echo ${git[$n]} | cut -f2 -d'#')"
dir=$(basename $u)
des="${cfg_dir_builds}/$PKG/$dir-git"
if [[ "$u" == git* ]]; then
git clone --verbose --branch "$b" "$u" "$des"
else
git clone --verbose "$u" "$des"
fi
let n++
done
return 0 return 0
} }
@@ -319,7 +345,7 @@ n=0; while [ -n "${requires[$n]}" ]; do
"$0" "$1" "$req" "$0" "$1" "$req"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
err "failed to build dependecy for package $PKG / $PKG_VAR" err "failed to build dependency for package $PKG / $PKG_VAR"
exit 1 exit 1
fi fi
done done

View File

@@ -1,13 +1,24 @@
#! /bin/bash #! /bin/bash
############################################################################# ###########################################################################
# Copyright (C) 2007-2012 Laboratório de Sistemas e Tecnologia Subaquática # # GLUED: GNU/Linux Uniform Environment Distribution #
# Departamento de Engenharia Electrotécnica e de Computadores # # Copyright (C) 2007-2013 Universidade do Porto - Faculdade de Engenharia #
# Rua Dr. Roberto Frias, 4200-465 Porto, Portugal # # Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
############################################################################# ###########################################################################
# Author: Ricardo Martins # # This program is free software; you can redistribute it and/or modify #
############################################################################# # it under the terms of the GNU General Public License as published by #
# $Id:: mksystem.bash 1152 2012-09-14 02:06:10Z rasm $:# # the Free Software Foundation; either version 2 of the License, or (at #
############################################################################# # your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
# General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Check shell type. # Check shell type.
if [ -z "$BASH_VERSION" ]; then if [ -z "$BASH_VERSION" ]; then

View File

@@ -1,6 +1,6 @@
version=\ version=\
( (
'1.9.2' '1.9.3'
) )
url=\ url=\
@@ -10,7 +10,7 @@ url=\
md5=\ md5=\
( (
'20c6dc8e57d5dc8af595ec4faefd515c' '6e6d888140858f3926c34081c4bd2227'
) )
maintainer=\ maintainer=\

View File

@@ -5,7 +5,7 @@ version=\
url=\ url=\
( (
"ftp://mirror.ovh.net/gentoo-distfiles/distfiles/db-$version.tar.gz" "http://www.lsts.pt/glued/db-$version.tar.gz"
) )
md5=\ md5=\

View File

@@ -1,104 +0,0 @@
version=\
(
'1.1.4'
)
ns_version=\
(
'2.34'
)
url=\
(
"http://www.lsts.pt/glued/dei80211mr-$version.tar.gz"
)
md5=\
(
'8ad1adcd02fc41933d6528c093e1c3d9'
)
requires=\
(
'ns/default'
)
post_unpack()
{
patches=$(ls "$cfg_package_spec_dir/patches/"*.patch)
if [ -n "$patches" ]; then
cat $patches | patch -p0
fi
}
configure()
{
prefix="/ns2_lib"
cd ../dei80211mr-$version/
make distclean
rm -fr autom4te.cache/
rm config.*
rm missing
rm Makefile.in
rm install-sh
rm depcomp
rm configure
rm ltmain.sh
rm m4/libtool*
rm m4/Makefile
rm m4/Makefile.in
rm aclocal.m4
rm m4/lt*
find . -name "*.o" -exec rm {} \;
cd -
/usr/bin/aclocal -I m4 --force && /usr/bin/libtoolize --force && /usr/bin/automake --foreign --add-missing && /usr/bin/autoconf
sed "s#@TCL2CPP@#qemu-arm -L ${cfg_dir_rootfs} ${cfg_dir_rootfs}/lib/ld-linux.so.3 ${cfg_dir_toolchain_sysroot}/usr/bin/tcl2c++#g" "./m4/Makefile.in" -i
sed "s#@TCL2CPP@#qemu-arm -L ${cfg_dir_rootfs} ${cfg_dir_rootfs}/lib/ld-linux.so.3 ${cfg_dir_toolchain_sysroot}/usr/bin/tcl2c++#g" "./Makefile.in" -i
sed "s#@TCL2CPP@#qemu-arm -L ${cfg_dir_rootfs} ${cfg_dir_rootfs}/lib/ld-linux.so.3 ${cfg_dir_toolchain_sysroot}/usr/bin/tcl2c++#g" "./src/Makefile.in" -i
"../dei80211mr-$version/configure" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--prefix="$prefix" \
--disable-static \
--enable-shared \
--with-ns-allinone=${cfg_dir_builds}/ns/ \
--x-includes=no --x-libraries=no
}
build()
{
$cmd_make -j1
}
host_install()
{
$cmd_mkdir \
"$cfg_dir_toolchain_sysroot/ns2/ns2_lib/lib" \
"$cfg_dir_toolchain_sysroot/ns2/ns2_lib/share" &&
$cmd_make \
DESTDIR="$cfg_dir_toolchain_sysroot/ns2" \
install
}
target_install()
{
$cmd_mkdir \
"${cfg_dir_rootfs}/usr/ns2/lib/"
for f in "$cfg_dir_toolchain_sysroot/ns2/ns2_lib/lib/"lib*.so*; do
$cmd_target_strip "$f" -o ${cfg_dir_rootfs}/usr/ns2/lib/"$(basename "$f")"
done
}

View File

@@ -1,19 +0,0 @@
--- m4/nsallinone.m4 2012-09-21 14:09:26.000000000 +0200
+++ m4/nsallinone.m4 2012-09-21 17:08:21.807075643 +0200
@@ -49,12 +49,10 @@
NS_ALLINONE_PATH=$withval
NS_PATH=$NS_ALLINONE_PATH/`cd $NS_ALLINONE_PATH; ls -d ns-* | head -n 1`
- TCL_PATH=$NS_ALLINONE_PATH/`cd $NS_ALLINONE_PATH; ls -d * | grep -e 'tcl[0-9].*' | head -n 1`
- TCLCL_PATH=$NS_ALLINONE_PATH/`cd $NS_ALLINONE_PATH; ls -d tclcl-* | head -n 1`
- OTCL_PATH=$NS_ALLINONE_PATH/`cd $NS_ALLINONE_PATH; ls -d otcl-* | head -n 1`
-
- NS_CPPFLAGS="-I$NS_ALLINONE_PATH/include -I$NS_PATH -I$TCLCL_PATH -I$OTCL_PATH"
-
+ TCL_PATH="${cfg_dir_builds}/tcl/"`cd "${cfg_dir_builds}/tcl/"; ls -d * | grep -e 'tcl[0-9].*' | head -n 1`
+ TCLCL_PATH="${cfg_dir_builds}/tclcl/"`cd "${cfg_dir_builds}/tclcl"; ls -d tclcl-* | head -n 1`
+ OTCL_PATH="${cfg_dir_builds}/otcl/"`cd "${cfg_dir_builds}/otcl/"; ls -d otcl-* | head -n 1`
+ NS_CPPFLAGS="${cfg_dir_toolchain_sysroot}/usr/include -I$NS_PATH -I$TCLCL_PATH -I$OTCL_PATH"
NS_ALLINONE_DISTCHECK_CONFIGURE_FLAGS="--with-ns-allinone=$withval"
AC_SUBST(NS_ALLINONE_DISTCHECK_CONFIGURE_FLAGS)

View File

@@ -0,0 +1,9 @@
# IMU
/usr/bin/setescc 0 0x200 5 0 0 0
/usr/bin/esccclock 0 0x5d1460 23
/usr/bin/esccsettings 0 /etc/escc/hg1700.cfg
# PSIMAR
/usr/bin/setescc 1 0x200 5 0 0 1
/usr/bin/esccsettings 1 /etc/escc/psimar.cfg
/usr/bin/esccclock 1 0xc8920 22

View File

@@ -6,5 +6,8 @@ start()
echo 0 > /sys/kernel/debug/omap_mux/uart1_txd && echo 0 > /sys/kernel/debug/omap_mux/uart1_txd &&
echo 20 > /sys/kernel/debug/omap_mux/uart1_rxd && echo 20 > /sys/kernel/debug/omap_mux/uart1_rxd &&
# Camera/Strobe
echo 0x07 > /sys/kernel/debug/omap_mux/lcd_data6 &&
umount /sys/kernel/debug umount /sys/kernel/debug
} }

View File

@@ -14,6 +14,7 @@ maybe_upgrade()
rm -rf $dune_base/.dune-upgrade && rm -rf $dune_base/.dune-upgrade &&
mkdir $dune_base/.dune-upgrade && mkdir $dune_base/.dune-upgrade &&
tar -x -C $dune_base/.dune-upgrade -f $dune_base/dune-*.tar.bz2 && tar -x -C $dune_base/.dune-upgrade -f $dune_base/dune-*.tar.bz2 &&
cp "$dune_base/etc/"*-saved.ini "$dune_base/.dune-upgrade/"dune-*/etc 2> /dev/null
rm $dune_base/dune-*.tar.bz2 && rm $dune_base/dune-*.tar.bz2 &&
for dir in $dune_base/.dune-upgrade/dune-*/*; do for dir in $dune_base/.dune-upgrade/dune-*/*; do
d="$(basename "$dir")" d="$(basename "$dir")"

View File

@@ -9,7 +9,7 @@ start()
mkdir -p "$point" mkdir -p "$point"
fi fi
n=0; while [ $n -lt 20 ]; do n=0; while [ $n -lt 120 ]; do
args='' args=''
if [ $fstype = 'ext3' ]; then if [ $fstype = 'ext3' ]; then

View File

@@ -1,6 +1,6 @@
version=\ version=\
( (
"0.9.5.2" '0.9.5.2'
) )
url=\ url=\
@@ -10,12 +10,17 @@ url=\
md5=\ md5=\
( (
"280f8b1d3ef0533d6ec913b0da857477" '280f8b1d3ef0533d6ec913b0da857477'
) )
maintainer=\ maintainer=\
( (
"Renato Caldas <rmsc@fe.up.pt>" 'Renato Caldas <rmsc@fe.up.pt>'
)
requires=\
(
'pciutils/default'
) )
build() build()

View File

@@ -1,6 +1,6 @@
version=\ version=\
( (
'0.18.1.1' '0.18.3.1'
) )
url=\ url=\
@@ -10,7 +10,7 @@ url=\
md5=\ md5=\
( (
'3dd55b952826d2b32f51308f2f91aa89' '3fc808f7d25487fc72b5759df7419e02'
) )
maintainer=\ maintainer=\

View File

@@ -1,46 +1,45 @@
version=\ version=\
( (
"1.6.2" '1.6.8'
) )
url=\ url=\
( (
"http://downloads.sourceforge.net/project/libpng/libpng16/$version/libpng-$version.tar.xz" "http://downloads.sourceforge.net/project/libpng/libpng16/$version/libpng-$version.tar.xz"
) )
md5=\ md5=\
( (
"9d838f6fca9948a9f360a0cc1b516d5f" '51ce71a1642cdde1f4485a7ff82193c0'
) )
configure() configure()
{ {
./configure \ ./configure \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \ --prefix="${cfg_dir_toolchain_sysroot}/usr" \
--target="$cfg_target_canonical" \ --target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \ --host="$cfg_target_canonical" \
--build="$cfg_host_canonical" --build="$cfg_host_canonical"
} }
build() build()
{ {
$cmd_make $cmd_make
} }
host_install() host_install()
{ {
$cmd_make install $cmd_make install
} }
target_install() target_install()
{ {
# Libs: # Libs:
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libpng*.so*; do for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libpng*.so*; do
if [ -L "$f" ]; then if [ -L "$f" ]; then
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib" $cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
else else
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")" $cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
fi fi
done done
} }

View File

@@ -0,0 +1,38 @@
version=\
(
'0.10.18'
)
url=\
(
"http://nodejs.org/dist/v$version/node-v$version.tar.gz"
)
md5=\
(
'8b905b6013b82fb7076b02a6c881f9a6'
)
maintainer=\
(
'Jose Pinto <zepinto@fe.up.pt>'
)
configure()
{
"../node-v$version/configure" --without-snapshot --prefix="${cfg_dir_rootfs}"
}
build()
{
cd "../node-v$version"
$cmd_make
}
target_install()
{
cd "../node-v$version"
$cmd_make install
}

View File

@@ -1,106 +0,0 @@
version=\
(
'1.0'
)
dei_version=\
(
'1.1.4'
)
ns_version=\
(
'2.34'
)
url=\
(
"http://www.lsts.pt/glued/ns-miracle-$version.tar.gz"
)
md5=\
(
'860072ac58b2d1274da46d02b5608229'
)
requires=\
(
'ns/default'
'dei80211mr/default'
)
post_unpack()
{
patches=$(ls "$cfg_package_spec_dir/patches/"*.patch)
if [ -n "$patches" ]; then
cat $patches | patch -p0
fi
}
configure()
{
cd ../ns-miracle-$version/trunk/main/
prefix="/ns2_lib"
make distclean
rm -fr autom4te.cache/
rm config.*
rm missing
rm Makefile.in
rm install-sh
rm depcomp
rm configure
rm ltmain.sh
rm m4/libtool*
rm m4/Makefile
rm m4/Makefile.in
rm aclocal.m4
rm m4/lt*
find . -name "*.o" -exec rm {} \;
/usr/bin/aclocal -I m4 --force && /usr/bin/libtoolize --force && /usr/bin/automake --foreign --add-missing && /usr/bin/autoconf
sed "s#@TCL2CPP@#qemu-arm -L ${cfg_dir_rootfs} ${cfg_dir_rootfs}/lib/ld-linux.so.3 ${cfg_dir_toolchain_sysroot}/usr/bin/tcl2c++#g" "./m4/Makefile.in" -i
sed "s#@TCL2CPP@#qemu-arm -L ${cfg_dir_rootfs} ${cfg_dir_rootfs}/lib/ld-linux.so.3 ${cfg_dir_toolchain_sysroot}/usr/bin/tcl2c++#g" "./Makefile.in" -i
"./configure" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--prefix="$prefix" \
--disable-static \
--enable-shared \
--with-ns-allinone=${cfg_dir_builds}/ns/ \
--with-dei80211mr=${cfg_dir_builds}/dei80211mr/dei80211mr-$dei_version
}
build()
{
cd ../ns-miracle-$version/trunk/main/
$cmd_make -j1 \
TCL2CPP="qemu-arm -L ${cfg_dir_rootfs} ${cfg_dir_rootfs}/lib/ld-linux.so.3 ${cfg_dir_toolchain_sysroot}/usr/bin/tcl2c++"
}
host_install()
{
cd ../ns-miracle-$version/trunk/main/
$cmd_mkdir \
"$cfg_dir_toolchain_sysroot/ns2/ns2_lib/lib" \
"$cfg_dir_toolchain_sysroot/ns2/ns2_lib/share" &&
$cmd_make \
DESTDIR="$cfg_dir_toolchain_sysroot/ns2" \
install
}
target_install()
{
$cmd_mkdir \
"${cfg_dir_rootfs}/usr/ns2/lib/"
for f in "$cfg_dir_toolchain_sysroot/ns2/ns2_lib/lib/"lib*.so*; do
$cmd_target_strip "$f" -o ${cfg_dir_rootfs}/usr/ns2/lib/"$(basename "$f")"
done
}

View File

@@ -1,19 +0,0 @@
--- trunk/main/m4/nsallinone.m4 2012-09-21 14:09:26.000000000 +0200
+++ trunk/main/m4/nsallinone.m4 2012-09-21 17:08:21.807075643 +0200
@@ -49,12 +49,10 @@
NS_ALLINONE_PATH=$withval
NS_PATH=$NS_ALLINONE_PATH/`cd $NS_ALLINONE_PATH; ls -d ns-* | head -n 1`
- TCL_PATH=$NS_ALLINONE_PATH/`cd $NS_ALLINONE_PATH; ls -d * | grep -e 'tcl[0-9].*' | head -n 1`
- TCLCL_PATH=$NS_ALLINONE_PATH/`cd $NS_ALLINONE_PATH; ls -d tclcl-* | head -n 1`
- OTCL_PATH=$NS_ALLINONE_PATH/`cd $NS_ALLINONE_PATH; ls -d otcl-* | head -n 1`
-
- NS_CPPFLAGS="-I$NS_ALLINONE_PATH/include -I$NS_PATH -I$TCLCL_PATH -I$OTCL_PATH"
-
+ TCL_PATH="${cfg_dir_builds}/tcl/"`cd "${cfg_dir_builds}/tcl/"; ls -d * | grep -e 'tcl[0-9].*' | head -n 1`
+ TCLCL_PATH="${cfg_dir_builds}/tclcl/"`cd "${cfg_dir_builds}/tclcl"; ls -d tclcl-* | head -n 1`
+ OTCL_PATH="${cfg_dir_builds}/otcl/"`cd "${cfg_dir_builds}/otcl/"; ls -d otcl-* | head -n 1`
+ NS_CPPFLAGS="${cfg_dir_toolchain_sysroot}/usr/include -I$NS_PATH -I$TCLCL_PATH -I$OTCL_PATH"
NS_ALLINONE_DISTCHECK_CONFIGURE_FLAGS="--with-ns-allinone=$withval"
AC_SUBST(NS_ALLINONE_DISTCHECK_CONFIGURE_FLAGS)

View File

@@ -1,11 +0,0 @@
--- trunk/main/configure.ac 2012-09-26 14:56:59.532858970 +0200
+++ trunk/main/configure.ac 2012-09-26 14:55:04.897973134 +0200
@@ -70,7 +70,7 @@
dnl Activate all compile warnings & debug symbols
CFLAGS="${CFLAGS=} -Wall -g"
-
+TCL2CPP="qemu-arm -L ${cfg_dir_rootfs} ${cfg_dir_rootfs}/lib/ld-linux.so.3 ${cfg_dir_toolchain_sysroot}/usr/bin/tcl2c++"
AC_DEFINE(CPP_NAMESPACE,std)

View File

@@ -1,6 +1,6 @@
version=\ version=\
( (
"3.0.9" '3.1.0'
) )
url=\ url=\
@@ -10,12 +10,12 @@ url=\
md5=\ md5=\
( (
"5ee72266fe2c1822333c407e1761b92b" '3be148772a33224771a8d4d2a028b132'
) )
maintainer=\ maintainer=\
( (
"Ricardo Martins <rasm@fe.up.pt>" 'Ricardo Martins <rasm@fe.up.pt>'
) )
requires=\ requires=\
@@ -46,5 +46,6 @@ build()
target_install() target_install()
{ {
$cmd_target_strip rsync -o "$cfg_dir_rootfs/usr/bin/rsync" $cmd_target_strip rsync -o "$cfg_dir_rootfs/usr/bin/rsync" &&
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f-
} }

View File

@@ -0,0 +1,9 @@
start()
{
/usr/bin/rsync --daemon --config=/etc/rsyncd.conf
}
stop()
{
killall rsync > /dev/null 2>&1
}

View File

@@ -0,0 +1,10 @@
list = true
uid = root
gid = root
read only = false
timeout = 30
[log]
hosts deny = *
hosts allow = 10.0.0.0/16
path = /opt/lsts/dune/log

View File

@@ -952,8 +952,8 @@ CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_FIX_EARLYCON_MEM=y CONFIG_FIX_EARLYCON_MEM=y
# CONFIG_SERIAL_8250_PCI is not set # CONFIG_SERIAL_8250_PCI is not set
CONFIG_SERIAL_8250_NR_UARTS=16 CONFIG_SERIAL_8250_NR_UARTS=24
CONFIG_SERIAL_8250_RUNTIME_UARTS=16 CONFIG_SERIAL_8250_RUNTIME_UARTS=24
CONFIG_SERIAL_8250_EXTENDED=y CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y CONFIG_SERIAL_8250_MANY_PORTS=y
# CONFIG_SERIAL_8250_FOURPORT is not set # CONFIG_SERIAL_8250_FOURPORT is not set

View File

@@ -1,10 +1,10 @@
cfg_architecture='geode' cfg_architecture='geode'
cfg_storage='data0:ext4:/opt' cfg_storage='data0:ext4:/opt'
cfg_services0='dropbear network storage upgrade escc syslog ptpd setserial' cfg_services0='dropbear network storage upgrade escc syslog ptpd setserial rsyncd'
cfg_services1='' cfg_services1=''
cfg_services2='dune' cfg_services2='dune'
cfg_modules='' cfg_modules=''
cfg_packages='zlib dropbear rsync busybox e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp util-linux/ldattach uswitch pciutils apache-ant/host bzip2 libantlr3c boost europa dtn' cfg_packages='zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp util-linux/ldattach uswitch pciutils apache-ant/host bzip2 libantlr3c boost europa'
cfg_terminal='ttyS0' cfg_terminal='ttyS0'
cfg_target_linux_kernel='arch/x86/boot/bzImage' cfg_target_linux_kernel='arch/x86/boot/bzImage'
cfg_ptpd_master='true' cfg_ptpd_master='true'

View File

@@ -9,3 +9,11 @@ ttyS8 root:root 660 >uart/9
ttyS9 root:root 660 >uart/10 ttyS9 root:root 660 >uart/10
ttyS10 root:root 660 >uart/11 ttyS10 root:root 660 >uart/11
ttyS11 root:root 660 >uart/12 ttyS11 root:root 660 >uart/12
ttyS12 root:root 660 >uart/13
ttyS13 root:root 660 >uart/14
ttyS14 root:root 660 >uart/15
ttyS15 root:root 660 >uart/16
ttyS16 root:root 660 >uart/17
ttyS17 root:root 660 >uart/18
ttyS18 root:root 660 >uart/19
ttyS19 root:root 660 >uart/20

View File

@@ -2,5 +2,4 @@ cfg_hostname='lauv-dolphin-1'
cfg_eth_ext_ip='10.0.10.80' cfg_eth_ext_ip='10.0.10.80'
cfg_packages="$cfg_packages" cfg_packages="$cfg_packages"
cfg_escc_script='/etc/escc/ifog-imu-1-a.sh' cfg_escc_script='/etc/escc/ifog-imu-1-a.sh'
cfg_arp_table='192.168.0.5|00:1F:F2:06:E3:61' cfg_dune_i18n='C'
cfg_dune_i18n='ru_RU'

View File

@@ -0,0 +1,2 @@
cfg_hostname='lauv-lsts-1'
cfg_eth_ext_ip='10.0.10.110'

View File

@@ -0,0 +1,2 @@
cfg_hostname='lauv-lupis-1'
cfg_eth_ext_ip='10.0.10.130'

View File

@@ -1,3 +1,3 @@
cfg_hostname='lauv-noptilus-3' cfg_hostname='lauv-noptilus-3'
cfg_eth_ext_ip='10.0.10.100' cfg_eth_ext_ip='10.0.10.100'
cfg_arp_table='' cfg_arp_table='192.168.0.5|02:49:58:00:03:2a'

View File

@@ -1,2 +1,3 @@
cfg_hostname='lauv-seacon-1' cfg_hostname='lauv-seacon-1'
cfg_eth_ext_ip='10.0.10.10' cfg_eth_ext_ip='10.0.10.10'
cfg_escc_script='/etc/escc/hg1700-psimar.sh'

View File

@@ -1,2 +0,0 @@
cfg_hostname='lauv-seacon-4'
cfg_eth_ext_ip='10.0.10.40'

View File

@@ -0,0 +1,2 @@
cfg_hostname='lauv-xplore-1'
cfg_eth_ext_ip='10.0.10.120'

View File

@@ -1,7 +1,7 @@
diff -Nru a/drivers/tty/serial/8250/8250_aim104_com8.c b/drivers/tty/serial/8250/8250_aim104_com8.c diff -Nru a/drivers/tty/serial/8250/8250_aim104_com8.c b/drivers/tty/serial/8250/8250_aim104_com8.c
--- a/drivers/tty/serial/8250/8250_aim104_com8.c 1970-01-01 01:00:00.000000000 +0100 --- a/drivers/tty/serial/8250/8250_aim104_com8.c 1970-01-01 01:00:00.000000000 +0100
+++ b/drivers/tty/serial/8250/8250_aim104_com8.c 2012-05-31 13:13:13.794585528 +0100 +++ b/drivers/tty/serial/8250/8250_aim104_com8.c 2012-05-31 13:13:13.794585528 +0100
@@ -0,0 +1,43 @@ @@ -0,0 +1,51 @@
+#include <linux/module.h> +#include <linux/module.h>
+#include <linux/init.h> +#include <linux/init.h>
+#include <linux/serial_8250.h> +#include <linux/serial_8250.h>
@@ -24,6 +24,14 @@ diff -Nru a/drivers/tty/serial/8250/8250_aim104_com8.c b/drivers/tty/serial/8250
+ PORT(0x128, 10), + PORT(0x128, 10),
+ PORT(0x130, 10), + PORT(0x130, 10),
+ PORT(0x138, 10), + PORT(0x138, 10),
+ PORT(0x300, 6),
+ PORT(0x308, 6),
+ PORT(0x310, 6),
+ PORT(0x318, 6),
+ PORT(0x320, 6),
+ PORT(0x328, 6),
+ PORT(0x330, 6),
+ PORT(0x338, 6),
+ { }, + { },
+}; +};
+ +

View File

@@ -0,0 +1,5 @@
cfg_packages='dropbear rsync busybox e2fsprogs libjpeg-turbo ptpd linux syslinux syslinux/host bzip2 libantlr3c boost europa'
cfg_hostname='lauv-xtreme-2-doam'
cfg_eth_ext_ip='10.0.10.52'
cfg_kernel_boot_dev='/dev/sda1'
cfg_services2='dune trex'

View File

@@ -4,13 +4,14 @@ cfg_modules=''
cfg_services0='dropbear network storage upgrade syslog' cfg_services0='dropbear network storage upgrade syslog'
cfg_services1='huawei ntpd' cfg_services1='huawei ntpd'
cfg_services2='dune' cfg_services2='dune'
cfg_packages='u-boot dropbear rsync busybox linux uswitch ppp iptables socat bridge-utils ntp e2fsprogs dtn i2c-tools iperf dnsmasq' cfg_packages='u-boot dropbear rsync busybox linux uswitch ppp iptables socat bridge-utils ntp e2fsprogs i2c-tools iperf dnsmasq'
cfg_target_linux_kernel='arch/arm/boot/uImage' cfg_target_linux_kernel='arch/arm/boot/uImage'
cfg_terminal='ttyO2' cfg_terminal='ttyO2'
cfg_ntpd_config='/etc/ntp/server.cfg' cfg_ntpd_config='/etc/ntp/server.cfg'
cfg_dtnd_config='/opt/lsts/dtn/etc/dtn.conf' cfg_dtnd_config='/opt/lsts/dtn/etc/dtn.conf'
cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1' cfg_eth_ext_gw='10.0.0.1'
cfg_eth_ext_soft_mac='true'
cfg_target_uboot_config='igep0020_config' cfg_target_uboot_config='igep0020_config'
cfg_target_linux_load_addr=0x80008000 cfg_target_linux_load_addr=0x80008000
cfg_partitions=\ cfg_partitions=\

View File

@@ -0,0 +1,7 @@
cfg_hostname='lauv-seacon-1-aux'
cfg_storage='data0:ext4:/opt'
cfg_eth_ext_ip='10.0.10.13'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_packages='dropbear rsync busybox e2fsprogs ptpd linux/am335x-evm'

View File

@@ -0,0 +1,7 @@
cfg_hostname='x8-03'
cfg_storage='data0:ext4:/opt'
cfg_eth_ext_ip='10.0.20.110'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_packages='dropbear rsync busybox e2fsprogs ptpd i2c-tools linux/am335x-evm ntp'

View File

@@ -1,13 +1,24 @@
#! /bin/bash #! /bin/bash
############################################################################# ###########################################################################
# Copyright (C) 2007-2013 Laboratório de Sistemas e Tecnologia Subaquática # # GLUED: GNU/Linux Uniform Environment Distribution #
# Departamento de Engenharia Electrotécnica e de Computadores # # Copyright (C) 2007-2013 Universidade do Porto - Faculdade de Engenharia #
# Rua Dr. Roberto Frias, 4200-465 Porto, Portugal # # Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
############################################################################# ###########################################################################
# Author: Ricardo Martins # # This program is free software; you can redistribute it and/or modify #
############################################################################# # it under the terms of the GNU General Public License as published by #
# $Id:: glued-download-sources.bash 1622 2013-06-25 08:31:22Z rasm $:# # the Free Software Foundation; either version 2 of the License, or (at #
############################################################################# # your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
# General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
if [ -f 'functions.bash' ]; then if [ -f 'functions.bash' ]; then
DST='downloads' DST='downloads'