Compare commits
108 Commits
master
...
release/gl
Author | SHA1 | Date |
---|---|---|
Ricardo Martins | 90fe5f8cad | |
Ricardo Martins | 0217738383 | |
Ricardo Martins | cba834239c | |
Ricardo Martins | 46fdf289d9 | |
Ricardo Martins | 715b888143 | |
Pedro Gonçalves | f93e5ff07e | |
Pedro Gonçalves | 18488ce9d0 | |
Pedro Gonçalves | f447dc266e | |
José Braga | 1d22adea1a | |
José Braga | e6214648d6 | |
LSTS | 95e11fa702 | |
José Braga | bc4980c1cc | |
José Braga | 9a9a7d60fd | |
José Braga | 1f39751c19 | |
José Braga | 091db874ab | |
Jose Pinto | f5bfe76a82 | |
José Braga | 88edd69395 | |
Jose Pinto | c3a875aaad | |
Jose Pinto | 3d61f41f13 | |
Jose Pinto | a39c3c4c67 | |
Jose Pinto | f09082179e | |
Ricardo Martins | 0c5f6ca811 | |
Renato Caldas | d358335097 | |
Ricardo Martins | f7ebc02923 | |
Ricardo Martins | bf874138ac | |
Ricardo Martins | 06288b9fed | |
Ricardo Martins | 283d09a73f | |
Ricardo Martins | b190ddad04 | |
Renato Caldas | 0fac03e798 | |
Ricardo Martins | 3ee9754b26 | |
Renato Caldas | 8e4a5e8fd6 | |
Ricardo Martins | 97d1c610c8 | |
Ricardo Martins | e717d722ab | |
Ricardo Martins | 856bd832ce | |
Ricardo Martins | fc5685fa40 | |
Ricardo Martins | 341d6676ad | |
Ricardo Martins | 07f82e04f7 | |
Ricardo Martins | b3cd04f1e4 | |
Ricardo Martins | b3b2a4edfd | |
Ricardo Martins | eff7f5927c | |
Ricardo Martins | 2c9888096c | |
Ricardo Martins | ec1bf09d1f | |
Ricardo Martins | 09f5463715 | |
Ricardo Martins | ac520a9c1b | |
Ricardo Martins | 4d32c16079 | |
Ricardo Martins | e9c2f389fd | |
José Braga | b6c34a1172 | |
José Braga | 66c1da6d25 | |
Ricardo Martins | 71775a3734 | |
Ricardo Martins | 8439ec05e8 | |
Ricardo Martins | 1368c66223 | |
Ricardo Martins | 3e069e7027 | |
Ricardo Martins | 11fe6069c1 | |
Ricardo Martins | 58b5f37f30 | |
Ricardo Martins | ae92cad20f | |
Ricardo Martins | 7bc39c42cd | |
Ricardo Martins | d6d31cc585 | |
Ricardo Martins | 4809ef5537 | |
Ricardo Martins | 12321bd4bc | |
Ricardo Martins | ba83c7a108 | |
Ricardo Martins | 9b0c150f47 | |
Ricardo Martins | e2e006cc33 | |
Ricardo Martins | 4cbc20eda6 | |
Ricardo Martins | b6a866422a | |
Ricardo Martins | 9c879ac1ad | |
Ricardo Martins | 28e3a2f4b0 | |
Ricardo Martins | 5c5c8ea50d | |
Ricardo Martins | 58bd6dded1 | |
Ricardo Martins | 187a2bebd4 | |
Ricardo Martins | 60f8ef41fc | |
Ricardo Martins | 8baaca2665 | |
Ricardo Martins | fa0956a7f9 | |
Ricardo Martins | 3142a7f473 | |
Ricardo Martins | 9906a6f9dc | |
Ricardo Martins | e1137a4ee5 | |
Ricardo Martins | d1aede925a | |
Ricardo Martins | 00bb88ce54 | |
Ricardo Martins | a650535d90 | |
Ricardo Martins | 77b021c469 | |
Ricardo Martins | 1616c418ad | |
Ricardo Martins | ff609d20cc | |
Ricardo Martins | 1b1a3b663c | |
Ricardo Martins | 74a2058410 | |
Ricardo Martins | f4f30a7501 | |
Ricardo Martins | 0e871214bf | |
Jose Braga | 00b616b7c7 | |
Jose Braga | f6a3973c9b | |
Jose Braga | d71cd0f31c | |
Ricardo Martins | e395e75b04 | |
Ricardo Martins | c00c27649b | |
Ricardo Martins | 61529350c5 | |
Ricardo Martins | 108ce638ed | |
Jose Braga | d0381c9b62 | |
Ricardo Martins | f90424a424 | |
Ricardo Martins | 9854a87f75 | |
Ricardo Martins | 53bd90bb42 | |
Ricardo Martins | e53a6fc1b4 | |
Ricardo Martins | 5171aee6a3 | |
Ricardo Martins | 2950ac0ccc | |
Jose Braga | 90b0e4d5cc | |
Jose Braga | 3575ea7021 | |
Jose Braga | 6fe4727a85 | |
Jose Braga | c2c0689b70 | |
Jose Braga | b0112ec61c | |
Jose Braga | e6e9a01c1d | |
Jose Braga | 23e5f9b34c | |
Jose Braga | 5abb3e220a | |
Jose Braga | 9686a1cefa |
|
@ -1,8 +1,8 @@
|
|||
downloads
|
||||
lctr-a4xx
|
||||
lctr-a6xx
|
||||
lctr-a8xx
|
||||
lctr-a9xx
|
||||
lctr-b1xx
|
||||
lctr-b2xx
|
||||
qemu-i686
|
||||
/downloads
|
||||
/lctr-a4xx
|
||||
/lctr-a6xx
|
||||
/lctr-a8xx
|
||||
/lctr-a9xx
|
||||
/lctr-b1xx
|
||||
/lctr-b2xx
|
||||
/qemu-i686
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
###########################################################################
|
||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||
# Copyright (C) 2016 OceanScan - Marine Systems & Technology, Lda. #
|
||||
###########################################################################
|
||||
# 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. #
|
||||
###########################################################################
|
||||
# Author: Ricardo Martins #
|
||||
###########################################################################
|
||||
|
||||
FROM debian:8
|
||||
|
||||
MAINTAINER Ricardo Martins <rasm@oceanscan-mst.com>
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
# Update distro.
|
||||
RUN apt-get update -y
|
||||
RUN apt-get dist-upgrade -y
|
||||
RUN apt-get install -y wget
|
||||
RUN apt-get install -y bzip2
|
||||
RUN apt-get install -y git
|
||||
RUN apt-get install -y g++-multilib
|
||||
RUN apt-get install -y cmake
|
||||
RUN apt-get install -y file
|
|
@ -0,0 +1,31 @@
|
|||
###########################################################################
|
||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||
# Copyright (C) 2016 OceanScan - Marine Systems & Technology, Lda. #
|
||||
###########################################################################
|
||||
# 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. #
|
||||
###########################################################################
|
||||
# Author: Ricardo Martins #
|
||||
###########################################################################
|
||||
|
||||
TAG := glued
|
||||
VERSION := 2016.05.0
|
||||
VOLUME := $(CURDIR)/..
|
||||
|
||||
all:
|
||||
docker build -t $(TAG):$(VERSION) .
|
||||
|
||||
shell:
|
||||
docker run -w $(VOLUME) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)
|
|
@ -21,7 +21,7 @@
|
|||
###########################################################################
|
||||
|
||||
# Config: GLUED version.
|
||||
cfg_glued_version='1.9.0'
|
||||
cfg_glued_version='1.9.15'
|
||||
# Config: GLUED vendor.
|
||||
cfg_glued_vendor='lsts'
|
||||
|
||||
|
@ -88,14 +88,15 @@ if ! [ -f "architectures/$cfg_architecture.cfg" ]; then
|
|||
fi
|
||||
source "architectures/$cfg_architecture.cfg"
|
||||
|
||||
# Creating the mac address if not set in configuration file we create one derivated from the IP address:
|
||||
if [ -n $cfg_eth_ext_ip ]; then
|
||||
ips=(`echo $cfg_eth_ext_ip | sed -e 's/\./\n/g'`)
|
||||
for i in "${ips[@]}"
|
||||
do
|
||||
hip=("${hip[@]}" `printf '%x' $i`)
|
||||
done
|
||||
cfg_eth_ext_mac="80:c1:${hip[0]}:${hip[1]}:${hip[2]}:${hip[3]}"
|
||||
# Create a MAC address based on the IP address if cfg_eth_ext_soft_mac
|
||||
# is set.
|
||||
if [ -n "$cfg_eth_ext_ip" ] && [ -n "$cfg_eth_ext_soft_mac" ]; then
|
||||
ips=(`echo $cfg_eth_ext_ip | sed -e 's/\./\n/g'`)
|
||||
for i in "${ips[@]}"
|
||||
do
|
||||
hip=("${hip[@]}" `printf '%x' $i`)
|
||||
done
|
||||
cfg_eth_ext_mac="80:c1:${hip[0]}:${hip[1]}:${hip[2]}:${hip[3]}"
|
||||
fi
|
||||
|
||||
# Config: system name.
|
||||
|
|
|
@ -5,7 +5,7 @@ version=\
|
|||
|
||||
url=\
|
||||
(
|
||||
"http://www.eu.apache.org/dist/ant/binaries/apache-ant-$version-bin.tar.bz2"
|
||||
"http://www.lsts.pt/glued/apache-ant-$version-bin.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
|
|
@ -5,7 +5,7 @@ version=\
|
|||
|
||||
url=\
|
||||
(
|
||||
"ftp://mirror.ovh.net/gentoo-distfiles/distfiles/db-$version.tar.gz"
|
||||
"http://www.lsts.pt/glued/db-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
|
|
@ -26,5 +26,6 @@ build()
|
|||
|
||||
target_install()
|
||||
{
|
||||
$cmd_target_strip src/dnsmasq -o "$cfg_dir_rootfs/usr/sbin/dnsmasq"
|
||||
$cmd_target_strip src/dnsmasq -o "$cfg_dir_rootfs/usr/sbin/dnsmasq" &&
|
||||
tar -C "$cfg_package_spec_dir/fs" -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
}
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
start()
|
||||
{
|
||||
mkdir -p /var/lib/misc
|
||||
dnsmasq
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
killall dnsmasq
|
||||
}
|
|
@ -1,16 +1,16 @@
|
|||
version=\
|
||||
(
|
||||
'3.0.20'
|
||||
'3.0.28'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://daniel-baumann.ch/files/software/dosfstools/dosfstools-$version.tar.gz"
|
||||
"https://github.com/dosfstools/dosfstools/releases/download/v$version/dosfstools-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'7f1c1afd4ae4622e07b24ec0ddfc4184'
|
||||
'64e3b3a59b51d2a97d7ac38b23a124bb'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
|
|
|
@ -1,80 +0,0 @@
|
|||
version=\
|
||||
(
|
||||
'2.9.0'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/dtn/dtn-$version.tgz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'adfc25b561c1eeda30d9b68a6b088bd8'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'db/default'
|
||||
'tcl/default'
|
||||
'xerces-c/default'
|
||||
'oasys/default'
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
"../dtn-$version/configure" \
|
||||
--prefix="/usr" \
|
||||
--sysconfdir="/etc/dtn" \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--with-oasys="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--enable-ecl \
|
||||
--without-python \
|
||||
--disable-python
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make -j1 -C servlib &&
|
||||
$cmd_make -j1 -C applib libdtnapi.a &&
|
||||
$cmd_make -j1 -C applib libdtnapi++.a &&
|
||||
$cmd_make -j1 -C applib libdtnapisrv.a &&
|
||||
$cmd_make -j1 -C daemon &&
|
||||
$cmd_make -j1 -C apps
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
cp -a servlib/libdtnserv.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
|
||||
cp -a applib/libdtnapi++.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
|
||||
cp -a applib/libdtnapi++-$version.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
|
||||
cp -a applib/libdtnapi-$version.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
|
||||
cp -a applib/libdtnapi.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
|
||||
cp -a applib/libdtnapisrv.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
|
||||
|
||||
mkdir -p "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
|
||||
cp -a applib/dtn_ipc.h "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
|
||||
cp -a applib/dtn_errno.h "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
|
||||
cp -a applib/sdnv-c.h "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
|
||||
cp -a applib/dtn_api.h "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
|
||||
cp -a applib/dtn_types.h "$cfg_dir_toolchain_sysroot/usr/include/dtn"
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_target_strip apps/dtnsend/dtnsend -o "$cfg_dir_rootfs/usr/bin/dtnsend" &&
|
||||
$cmd_target_strip apps/dtnrecv/dtnrecv -o "$cfg_dir_rootfs/usr/bin/dtnrecv" &&
|
||||
$cmd_target_strip apps/dtncp/dtncp -o "$cfg_dir_rootfs/usr/bin/dtncp" &&
|
||||
$cmd_target_strip apps/dtnping/dtnping -o "$cfg_dir_rootfs/usr/bin/dtnping" &&
|
||||
$cmd_target_strip daemon/dtnd -o "$cfg_dir_rootfs/usr/bin/dtnd" &&
|
||||
$cmd_mkdir "$cfg_dir_rootfs/etc/dtn" "$cfg_dir_rootfs/usr/share/dtn" &&
|
||||
cp servlib/conv_layers/clevent.xsd "$cfg_dir_rootfs/usr/share/dtn" &&
|
||||
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
# Configuration parameters
|
||||
# cfg_dtnd_config: DTN Daemon configuration file.
|
||||
# cfg_dtnd_name: DTN node name.
|
||||
|
||||
start()
|
||||
{
|
||||
export DTN_NODE="$cfg_dtnd_name"
|
||||
db="/opt/lsts/dtn/var/$DTN_NODE/db"
|
||||
|
||||
if [ -f "$cfg_dtnd_config" ]; then
|
||||
mkdir -p /opt/lsts/dtn
|
||||
|
||||
if ! [ -d "$db" ]; then
|
||||
mkdir -p "$db"
|
||||
/usr/bin/dtnd \
|
||||
-c "$cfg_dtnd_config" \
|
||||
--init-db
|
||||
fi
|
||||
|
||||
/usr/bin/dtnd -d \
|
||||
-c "$cfg_dtnd_config" \
|
||||
-o /opt/lsts/dtn/log.txt
|
||||
fi
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
killall dtnd > /dev/null 2>&1
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
version=\
|
||||
(
|
||||
'1.41.9'
|
||||
'1.42.13'
|
||||
)
|
||||
|
||||
url=\
|
||||
|
@ -10,7 +10,7 @@ url=\
|
|||
|
||||
md5=\
|
||||
(
|
||||
'52f60a9e19a02f142f5546f1b5681927'
|
||||
'bc759fc62666786f5436e2075beb3265'
|
||||
)
|
||||
|
||||
configure()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
version=\
|
||||
(
|
||||
'1.0.3'
|
||||
'1.0.6'
|
||||
)
|
||||
|
||||
url=\
|
||||
|
@ -10,7 +10,7 @@ url=\
|
|||
|
||||
md5=\
|
||||
(
|
||||
'd8729636cc2d7f46f62141d392898bfa'
|
||||
'07783e66e27601ab0a8250c328b3d6bf'
|
||||
)
|
||||
|
||||
if [ -d "$cfg_dir_builds/linux/linux-"* ]; then
|
||||
|
@ -25,7 +25,7 @@ build()
|
|||
M=`pwd` \
|
||||
-C "$kernel" &&
|
||||
|
||||
for util in setescc esccclock esccsettings; do
|
||||
for util in setescc esccclock esccsettings esccfs6131; do
|
||||
make CC="$cmd_target_cc" -C "utils/$util"
|
||||
done
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ target_install()
|
|||
-C "$kernel" \
|
||||
modules_install &&
|
||||
|
||||
for util in setescc esccclock esccsettings; do
|
||||
for util in setescc esccclock esccsettings esccfs6131; do
|
||||
$cmd_target_strip "utils/$util/$util" -o "$cfg_dir_rootfs/usr/bin/$util"
|
||||
done &&
|
||||
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
# Channels:
|
||||
# * 0: Honeywell HG1700
|
||||
# * 1: LSTS PSIMAR
|
||||
|
||||
# Create channels.
|
||||
/usr/bin/setescc 0 0x200 5 0 0 0
|
||||
/usr/bin/setescc 1 0x200 5 0 0 1
|
||||
|
||||
# Set clocks (Hz).
|
||||
"$cmd_escc_set_clock" 0 1000000
|
||||
"$cmd_escc_set_clock" 1 25804800
|
||||
|
||||
# Set registers.
|
||||
/usr/bin/esccsettings 0 /etc/escc/hg1700.cfg
|
||||
/usr/bin/esccsettings 1 /etc/escc/psimar.cfg
|
|
@ -1,3 +1,11 @@
|
|||
# Channels:
|
||||
# * 0: Honeywell HG1700
|
||||
|
||||
# Create channels.
|
||||
/usr/bin/setescc 0 0x200 5 0 0 0
|
||||
/usr/bin/esccclock 0 0x5d1460 23
|
||||
|
||||
# Set clocks (Hz).
|
||||
"$cmd_escc_set_clock" 0 1000000
|
||||
|
||||
# Set registers.
|
||||
/usr/bin/esccsettings 0 /etc/escc/hg1700.cfg
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
# IMU
|
||||
/usr/bin/setescc 0 0x200 5 0 0 0
|
||||
/usr/bin/esccsettings 0 /etc/escc/ifog-imu-1-a.cfg
|
||||
# Channels:
|
||||
# * 0: iMAR iFOG-IMU-1-A
|
||||
# * 1: LSTS PSIMAR
|
||||
|
||||
# PSIMAR
|
||||
# Create channels.
|
||||
/usr/bin/setescc 0 0x200 5 0 0 0
|
||||
/usr/bin/setescc 1 0x200 5 0 0 1
|
||||
|
||||
# Set clock.
|
||||
"$cmd_escc_set_clock" 1 25804800
|
||||
|
||||
# Set registers.
|
||||
/usr/bin/esccsettings 0 /etc/escc/ifog-imu-1-a.cfg
|
||||
/usr/bin/esccsettings 1 /etc/escc/psimar.cfg
|
||||
/usr/bin/esccclock 1 0xc8920 22
|
||||
|
|
|
@ -5,6 +5,14 @@ start()
|
|||
mknod /dev/escc0 c 261 0 &&
|
||||
rm -f /dev/escc1 &&
|
||||
mknod /dev/escc1 c 261 1 &&
|
||||
|
||||
# Clock command.
|
||||
if [ -z "$cfg_escc_et" ]; then
|
||||
cmd_escc_set_clock='/usr/bin/esccclock'
|
||||
else
|
||||
cmd_escc_set_clock='/usr/bin/esccfs6131'
|
||||
fi &&
|
||||
|
||||
if [ -f "$cfg_escc_script" ]; then
|
||||
source "$cfg_escc_script"
|
||||
fi
|
||||
|
|
|
@ -6,5 +6,8 @@ start()
|
|||
echo 0 > /sys/kernel/debug/omap_mux/uart1_txd &&
|
||||
echo 20 > /sys/kernel/debug/omap_mux/uart1_rxd &&
|
||||
|
||||
# Camera/Strobe
|
||||
echo 0x07 > /sys/kernel/debug/omap_mux/lcd_data6 &&
|
||||
|
||||
umount /sys/kernel/debug
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ maybe_upgrade()
|
|||
rm -rf $dune_base/.dune-upgrade &&
|
||||
mkdir $dune_base/.dune-upgrade &&
|
||||
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 &&
|
||||
cp "$dune_base/etc/"*-saved.ini "$dune_base/.dune-upgrade/"dune-*/etc 2> /dev/null
|
||||
rm $dune_base/dune-*.tar.bz2 &&
|
||||
for dir in $dune_base/.dune-upgrade/dune-*/*; do
|
||||
d="$(basename "$dir")"
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
start()
|
||||
{
|
||||
/opt/lsts/dune/bin/dune-gsmux \
|
||||
/dev/ttyO1 \
|
||||
/opt/lsts/dune/log \
|
||||
< /dev/null \
|
||||
>> /opt/lsts/dune/log/gsmux.log 2>&1 &
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
killall dune-gsmux
|
||||
}
|
|
@ -1,192 +0,0 @@
|
|||
#! /bin/sh
|
||||
#############################################################################
|
||||
# Copyright (C) 2012 Laboratório de Sistemas e Tecnologia Subaquática #
|
||||
# Departamento de Engenharia Electrotécnica e de Computadores #
|
||||
# Rua Dr. Roberto Frias, 4200-465 Porto, Portugal #
|
||||
#############################################################################
|
||||
# Author: Ricardo Martins #
|
||||
#############################################################################
|
||||
|
||||
GSM_USER='vodafone'
|
||||
GSM_PASS='vodafone'
|
||||
GSM_APN='internet.vodafone.pt'
|
||||
GSM_MODE='AT\^SYSCFG=2,2,3fffffff,0,1'
|
||||
GSM_PIN='AT'
|
||||
|
||||
FWL_EXT_ITF='ppp0'
|
||||
FWL_INT_ITF='eth0'
|
||||
|
||||
CHAT_SCRIPT=$(cat <<EOF
|
||||
ABORT 'BUSY' \
|
||||
ABORT 'NO CARRIER' \
|
||||
ABORT 'VOICE' \
|
||||
ABORT 'NO DIALTONE' \
|
||||
ABORT 'NO DIAL TONE' \
|
||||
ABORT 'NO ANSWER' \
|
||||
ABORT 'DELAYED' \
|
||||
REPORT CONNECT \
|
||||
TIMEOUT 6 \
|
||||
'' 'ATQ0' \
|
||||
'OK-AT-OK' 'ATZ' \
|
||||
TIMEOUT 3 \
|
||||
'OK' '$GSM_PIN' \
|
||||
'OK-AT-OK' 'ATI' \
|
||||
'OK' 'ATZ' \
|
||||
'OK' 'ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0' \
|
||||
'OK' '$GSM_MODE' \
|
||||
'OK-AT-OK' 'AT+CGDCONT=1,\"IP\",\"$GSM_APN\"' \
|
||||
'OK' 'ATDT*99***1#' \
|
||||
TIMEOUT 30 \
|
||||
CONNECT ''
|
||||
EOF
|
||||
)
|
||||
|
||||
modem_probe()
|
||||
{
|
||||
nr="$(cat /proc/tty/driver/usbserial | grep GSM | head -n 1 | cut -f1 -d:)"
|
||||
if [ -z "$nr" ]; then
|
||||
echo ""
|
||||
else
|
||||
echo "/dev/ttyUSB$nr"
|
||||
fi
|
||||
}
|
||||
|
||||
ppp_start()
|
||||
{
|
||||
modem="$(modem_probe)"
|
||||
|
||||
if [ -z "$modem" ]; then
|
||||
echo -e "\nERROR: failed to find GSM modem.\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
auth=''
|
||||
if [ -n "$GSM_USER" ] && [ -n "$GSM_PASS" ]; then
|
||||
auth="user \"$GSM_USER\" password \"$GSM_PASS\""
|
||||
fi
|
||||
|
||||
echo -e "\n* Removing default route"
|
||||
|
||||
/sbin/route del default dev eth0 > /dev/null 2>&1
|
||||
|
||||
echo -e "\n* Starting PPP"
|
||||
|
||||
/usr/sbin/pppd \
|
||||
"$modem" \
|
||||
921600 \
|
||||
$auth \
|
||||
lock \
|
||||
crtscts \
|
||||
modem \
|
||||
passive \
|
||||
novj \
|
||||
defaultroute \
|
||||
noipdefault \
|
||||
usepeerdns \
|
||||
noauth \
|
||||
hide-password \
|
||||
persist \
|
||||
holdoff 10 \
|
||||
maxfail 2 \
|
||||
updetach \
|
||||
connect "/usr/sbin/chat -E -v -t15 $CHAT_SCRIPT" > /var/run/ppp.log 2>&1
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\nERROR: PPP failed to establish a connection.\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ip=$(ifconfig ppp0 | grep inet | cut -f2 -d: | cut -f1 -d' ')
|
||||
echo " - External IP is $ip"
|
||||
}
|
||||
|
||||
ppp_stop()
|
||||
{
|
||||
pid="$(cat /var/run/ppp0.pid 2> /dev/null)"
|
||||
|
||||
echo -e "\n* Stopping PPP"
|
||||
|
||||
if [ -z "$pid" ]; then
|
||||
echo " - Daemon is not running"
|
||||
return 0
|
||||
fi
|
||||
|
||||
for n in 1 2 3 4 5; do
|
||||
if ! [ -d "/proc/$pid" ]; then
|
||||
echo " - Daemon stopped"
|
||||
return 0
|
||||
fi
|
||||
|
||||
echo " - Sending SIGTERM to '$pid' (try $n)"
|
||||
kill "$pid" > /dev/null 2>&1
|
||||
sleep 2
|
||||
done
|
||||
|
||||
kill -9 "$pid" > /dev/null 2>&1
|
||||
echo " - Daemon terminated"
|
||||
return 0
|
||||
}
|
||||
|
||||
nat_start()
|
||||
{
|
||||
echo -e "\n* Enabling NAT"
|
||||
|
||||
echo " - Enabling IP forwarding"
|
||||
echo '1' > /proc/sys/net/ipv4/ip_forward
|
||||
echo '1' > /proc/sys/net/ipv4/ip_dynaddr
|
||||
|
||||
echo " - Flushing rules"
|
||||
iptables -P INPUT ACCEPT
|
||||
iptables -F INPUT
|
||||
iptables -P OUTPUT ACCEPT
|
||||
iptables -F OUTPUT
|
||||
iptables -P FORWARD DROP
|
||||
iptables -F FORWARD
|
||||
iptables -t nat -F
|
||||
|
||||
echo " - Installing rules"
|
||||
iptables -A FORWARD -i "$FWL_EXT_ITF" -o "$FWL_INT_ITF" -m state --state ESTABLISHED,RELATED -j ACCEPT
|
||||
iptables -A FORWARD -i "$FWL_EXT_ITF" -o "$FWL_EXT_ITF" -j ACCEPT
|
||||
iptables -A FORWARD -i "$FWL_EXT_ITF" -o "$FWL_INT_ITF" -j ACCEPT
|
||||
iptables -A FORWARD -i "$FWL_INT_ITF" -o "$FWL_EXT_ITF" -j ACCEPT
|
||||
iptables -A FORWARD -j LOG
|
||||
iptables -t nat -A POSTROUTING -o "$FWL_EXT_ITF" -j MASQUERADE
|
||||
}
|
||||
|
||||
nat_stop()
|
||||
{
|
||||
echo -e "\n* Disabling NAT"
|
||||
|
||||
echo " - Disabling IP forwarding"
|
||||
echo '0' > /proc/sys/net/ipv4/ip_forward
|
||||
echo '0' > /proc/sys/net/ipv4/ip_dynaddr
|
||||
|
||||
echo " - Flushing NAT rules"
|
||||
iptables -P INPUT ACCEPT
|
||||
iptables -F INPUT
|
||||
iptables -P OUTPUT ACCEPT
|
||||
iptables -F OUTPUT
|
||||
iptables -P FORWARD DROP
|
||||
iptables -F FORWARD
|
||||
iptables -t nat -F
|
||||
}
|
||||
|
||||
start()
|
||||
{
|
||||
ppp_start && nat_start
|
||||
if [ $? -eq 0 ]; then
|
||||
echo -e "\n* Connection Established\n"
|
||||
else
|
||||
echo -e "\nERROR: failed to establish a connection\n"
|
||||
fi
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
nat_stop && ppp_stop
|
||||
if [ $? -eq 0 ]; then
|
||||
echo -e "\n* Service stopped\n"
|
||||
else
|
||||
echo -e "\nERROR: failed to stop service.\n"
|
||||
fi
|
||||
}
|
|
@ -6,8 +6,6 @@
|
|||
#############################################################################
|
||||
# Author: Ricardo Martins #
|
||||
#############################################################################
|
||||
# $Id:: upgrade 1244 2012-10-08 07:21:07Z rasm $:#
|
||||
#############################################################################
|
||||
|
||||
base='/opt/lsts/glued'
|
||||
hostname="$(hostname)"
|
||||
|
@ -111,6 +109,68 @@ kernel_upgrade()
|
|||
fi
|
||||
}
|
||||
|
||||
uboot_part_upgrade()
|
||||
{
|
||||
label="$1"
|
||||
dev="$2"
|
||||
|
||||
echo -en "* $label: probing bootloader partition... "
|
||||
if ! [ -b "$dev" ]; then
|
||||
echo 'not present'
|
||||
return 0
|
||||
fi
|
||||
echo 'present'
|
||||
|
||||
echo -en "* $label: mounting bootloader partition... "
|
||||
mount -t vfat "$dev" /mnt > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "failed"
|
||||
return 0
|
||||
fi
|
||||
echo 'done'
|
||||
|
||||
for f in MLO u-boot.img; do
|
||||
echo -en "* $label: Replacing $f... "
|
||||
cp "$base/.glued-new/boot/$f" /mnt
|
||||
echo 'done'
|
||||
done
|
||||
|
||||
echo -en "* $label: unmounting bootloader partition... "
|
||||
umount /mnt > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
echo 'failed'
|
||||
return 1
|
||||
fi
|
||||
|
||||
sync && sync && sync && sync
|
||||
echo 'done'
|
||||
return 0
|
||||
}
|
||||
|
||||
uboot_part_upgrade_check()
|
||||
{
|
||||
# Check if board is a BeagleBone black.
|
||||
dmesg | grep -i 'machine model' | grep -i beaglebone > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
uboot_part_upgrade 'BeagleBone Black' '/dev/mmcblk1p1'
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Check if board is a IGEPv2.
|
||||
dmesg | grep -i 'machine model' | grep -i igepv2 > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
uboot_part_upgrade 'IGEPv2' '/dev/mmcblk0p1'
|
||||
return 0
|
||||
fi
|
||||
dmesg | grep Machine | grep 'IGEP v2' > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
uboot_part_upgrade 'IGEPv2' '/dev/mmcblk0p1'
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
old_move()
|
||||
{
|
||||
echo "* Mounting rootfs read-write..."
|
||||
|
@ -158,6 +218,7 @@ start()
|
|||
version || return 1
|
||||
kernel_dst || return 1
|
||||
new_unpack || return 1
|
||||
uboot_part_upgrade_check || return 1
|
||||
kernel_upgrade || return 1
|
||||
old_move || return 1
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ maintainer=\
|
|||
target_install()
|
||||
{
|
||||
$cmd_mkdir \
|
||||
"$cfg_dir_rootfs"/{dev,boot,proc,sys,etc,bin,sbin,opt,var,root} \
|
||||
"$cfg_dir_rootfs"/{dev,boot,proc,sys,etc,bin,sbin,opt,var,mnt,root} \
|
||||
"$cfg_dir_rootfs"/usr/{bin,sbin,lib,lib/firmware} \
|
||||
"$cfg_dir_rootfs"/opt \
|
||||
"$cfg_dir_rootfs"/dev/{shm,pts} \
|
||||
|
@ -23,6 +23,7 @@ target_install()
|
|||
ln -fs ../tmp "$cfg_dir_rootfs"/var/run &&
|
||||
ln -fs ../tmp "$cfg_dir_rootfs"/var/log &&
|
||||
ln -fs ../tmp "$cfg_dir_rootfs"/var/lock &&
|
||||
ln -fs ../tmp "$cfg_dir_rootfs"/var/lib &&
|
||||
ln -fs /sbin/init "$cfg_dir_rootfs"/init &&
|
||||
ln -fs /tmp/resolv.conf "$cfg_dir_rootfs"/etc/resolv.conf &&
|
||||
ln -fs /proc/self/mounts "$cfg_dir_rootfs"/etc/mtab &&
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
version=\
|
||||
(
|
||||
'7.5.1'
|
||||
'7.7.1'
|
||||
)
|
||||
|
||||
url=\
|
||||
|
@ -10,5 +10,5 @@ url=\
|
|||
|
||||
md5=\
|
||||
(
|
||||
'3f48f468b24447cf24820054ff6e85b1'
|
||||
'77b20b515e7c25f032cb9732a66620fe'
|
||||
)
|
||||
|
|
|
@ -5,7 +5,7 @@ version=\
|
|||
|
||||
url=\
|
||||
(
|
||||
"http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-$version.tar.bz2"
|
||||
"http://www.lsts.pt/glued/i2c-tools-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
version=\
|
||||
(
|
||||
'2.30'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://sethwklein.net/iana-etc-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'3ba3afb1d1b261383d247f46cb135ee8'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make STRIP=yes
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_make DESTDIR="$cfg_dir_rootfs" install
|
||||
}
|
|
@ -32,5 +32,5 @@ build()
|
|||
host_install()
|
||||
{
|
||||
$cmd_make install &&
|
||||
ln -fs kmod "$cfg_dir_toolchain/sbin/depmod"
|
||||
ln -fs ../bin/kmod "$cfg_dir_toolchain/sbin/depmod"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,56 @@
|
|||
version=\
|
||||
(
|
||||
'0.2.5'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/libtirpc/$version/libtirpc-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'8cd41a5ef5a9b50d0fb6abb98af15368'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
"../libtirpc-$version/configure" \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--disable-gssapi \
|
||||
--disable-ipv6 \
|
||||
--disable-static \
|
||||
--enable-shared
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_mkdir "$cfg_dir_rootfs/etc"
|
||||
$cmd_cp "doc/netconfig" "$cfg_dir_rootfs/etc/netconfig"
|
||||
|
||||
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libtirpc*so*; do
|
||||
if [ -L "$f" ]; then
|
||||
cp -vd "$f" "$cfg_dir_rootfs/lib"
|
||||
else
|
||||
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/lib/$(basename "$f")"
|
||||
fi
|
||||
done
|
||||
}
|
|
@ -36,17 +36,20 @@ build()
|
|||
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux &&
|
||||
ARCH=$cfg_target_linux || return 1
|
||||
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux \
|
||||
modules &&
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
modules || return 1
|
||||
|
||||
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux \
|
||||
uImage
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
uImage || return 1
|
||||
fi
|
||||
|
||||
if [ -n "${cfg_target_linux_size}" ]; then
|
||||
|
@ -82,11 +85,15 @@ target_install()
|
|||
CROSS_COMPILE="$cfg_target_canonical-" \
|
||||
ARCH="$cfg_target_linux" \
|
||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||
KBUILD_VERBOSE=1 \
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
modules_install
|
||||
|
||||
$cmd_make \
|
||||
CROSS_COMPILE="$cfg_target_canonical-" \
|
||||
ARCH="$cfg_target_linux" \
|
||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||
KBUILD_VERBOSE=1 \
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
firmware_install
|
||||
}
|
||||
|
|
|
@ -34,4 +34,5 @@ build()
|
|||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
cd "$cfg_dir_toolchain/bin" && ln -s make gmake
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
version=\
|
||||
(
|
||||
'3.1.2'
|
||||
'3.1.4'
|
||||
)
|
||||
|
||||
url=\
|
||||
|
@ -10,7 +10,7 @@ url=\
|
|||
|
||||
md5=\
|
||||
(
|
||||
"ee2c3ac63bf0c2359bf08fc3ee094c19"
|
||||
"b8a2f6b0e68bef46e53da2ac439e1cf4"
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
|
|
|
@ -0,0 +1,58 @@
|
|||
version=\
|
||||
(
|
||||
'1.3.1'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/nfs/$version/nfs-utils-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'97f157f954edb6d4d4385a0c5986f36f'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'libtirpc/default'
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
"../nfs-utils-$version/configure" \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--prefix="$cfg_dir_rootfs/usr" \
|
||||
--disable-gss \
|
||||
--disable-svcgss \
|
||||
--disable-ipv6 \
|
||||
--disable-tirpc \
|
||||
--disable-uuid \
|
||||
--disable-nfsv4 \
|
||||
--without-tcp-wrappers
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_target_strip -v "utils/mount/mount.nfs" -o "$cfg_dir_rootfs/usr/bin/mount.nfs" &&
|
||||
ln -fs mount.nfs "$cfg_dir_rootfs/usr/bin/unmount.nfs" &&
|
||||
$cmd_target_strip -v "utils/exportfs/exportfs" -o "$cfg_dir_rootfs/usr/bin/exportfs" &&
|
||||
$cmd_target_strip -v "utils/mountd/mountd" -o "$cfg_dir_rootfs/usr/bin/rpc.mountd" &&
|
||||
$cmd_target_strip -v "utils/nfsd/nfsd" -o "$cfg_dir_rootfs/usr/bin/rpc.nfsd" &&
|
||||
$cmd_target_strip -v "utils/statd/statd" -o "$cfg_dir_rootfs/usr/bin/rpc.statd" &&
|
||||
if [ -d "$cfg_package_spec_dir/fs" ]; then
|
||||
tar -C "$cfg_package_spec_dir/fs" -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
fi
|
||||
}
|
|
@ -5,7 +5,7 @@ version=\
|
|||
|
||||
url=\
|
||||
(
|
||||
"ftp://mirror.ovh.net/gentoo-distfiles/distfiles/ntp-$version.tar.gz"
|
||||
"https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
|
|
@ -1,50 +0,0 @@
|
|||
version=\
|
||||
(
|
||||
'1.6.0'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/dtn/oasys-$version.tgz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'fc52baea5fd1db8bceb3031356c7acca'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
"../oasys-$version/configure" \
|
||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--with-dbver=4.8 \
|
||||
--disable-static \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--with-tcl="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--with-xerces-c="$cfg_dir_toolchain_sysroot/usr"
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make -j1
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make -j1 install
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
cp -a "$cfg_dir_toolchain_sysroot/usr/lib/"liboasys* $cfg_dir_rootfs/lib &&
|
||||
for f in "$cfg_dir_rootfs/lib/"liboasys*so; do
|
||||
$cmd_target_strip "$f"
|
||||
done
|
||||
}
|
|
@ -21,6 +21,7 @@ maintainer=\
|
|||
requires=\
|
||||
(
|
||||
'tcl/default'
|
||||
'tk/default'
|
||||
'xorg-libx11/default'
|
||||
'xorg-libxt/default'
|
||||
)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
version=\
|
||||
(
|
||||
"0.25"
|
||||
"0.28"
|
||||
)
|
||||
|
||||
url=\
|
||||
|
@ -10,7 +10,7 @@ url=\
|
|||
|
||||
md5=\
|
||||
(
|
||||
"a3270bab3f4b69b7dc6dbdacbcae9745"
|
||||
"aa3c86e67551adc3ac865160e34a2a0d"
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
|
@ -23,7 +23,8 @@ configure()
|
|||
./configure \
|
||||
--prefix="${cfg_dir_toolchain}" \
|
||||
--disable-shared \
|
||||
--enable-static
|
||||
--enable-static \
|
||||
--with-internal-glib
|
||||
}
|
||||
|
||||
build()
|
||||
|
|
|
@ -5,7 +5,7 @@ version=\
|
|||
|
||||
url=\
|
||||
(
|
||||
"ftp://ftp.samba.org/pub/ppp/ppp-$version.tar.gz"
|
||||
"https://ftp.samba.org/pub/ppp/ppp-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
|
|
@ -0,0 +1,62 @@
|
|||
version=\
|
||||
(
|
||||
'0.2.2'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/rpcbind/rpcbind-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'8acf839bfef2364a05fbd6be5f8edf9a'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'libtirpc/default'
|
||||
)
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c &&
|
||||
sed -i "/error = getaddrinfo/s:rpcbind:sunrpc:" src/rpcinfo.c
|
||||
}
|
||||
|
||||
configure()
|
||||
{
|
||||
export PKG_CONFIG_PATH="$cfg_dir_toolchain_sysroot/usr/lib/pkgconfig"
|
||||
|
||||
"../rpcbind-$version/configure" \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--with-rpcuser=root \
|
||||
--without-systemdsystemunitdir
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_mkdir "$cfg_dir_rootfs/usr/bin"
|
||||
|
||||
for f in rpcbind rpcinfo; do
|
||||
$cmd_target_strip "$f" -o "$cfg_dir_rootfs/usr/bin/$f"
|
||||
done
|
||||
}
|
|
@ -1,16 +1,16 @@
|
|||
version=\
|
||||
(
|
||||
'3.1.0'
|
||||
'3.1.1'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://www.samba.org/ftp/rsync/rsync-$version.tar.gz"
|
||||
"https://download.samba.org/pub/rsync/src/rsync-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'3be148772a33224771a8d4d2a028b132'
|
||||
'43bd6676f0b404326eee2d63be3cdcfe'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
|
@ -46,5 +46,6 @@ build()
|
|||
|
||||
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-
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
start()
|
||||
{
|
||||
/usr/bin/rsync --daemon --config=/etc/rsyncd.conf
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
killall rsync > /dev/null 2>&1
|
||||
}
|
|
@ -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
|
|
@ -5,7 +5,7 @@ version=\
|
|||
|
||||
url=\
|
||||
(
|
||||
"http://www.dest-unreach.org/socat/download/socat-$version.tar.bz2"
|
||||
"http://www.lsts.pt/glued/socat-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
|
|
@ -5,7 +5,7 @@ version=\
|
|||
|
||||
url=\
|
||||
(
|
||||
"ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz"
|
||||
"http://downloads.sourceforge.net/infozip/unzip60.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
|
|
@ -5,7 +5,7 @@ version=\
|
|||
|
||||
url=\
|
||||
(
|
||||
"ftp://ftp.info-zip.org/pub/infozip/src/zip30.tgz"
|
||||
"http://downloads.sourceforge.net/infozip/Zip%203.x%20%28latest%29/3.0/zip30.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
|
|
@ -27,10 +27,13 @@ fi
|
|||
|
||||
source "$1"
|
||||
|
||||
toolchain_prefix="glued-$cfg_glued_version-$cfg_sys_family-toolchain-$cfg_host_canonical-$cfg_target_canonical"
|
||||
|
||||
tar \
|
||||
-v \
|
||||
-j \
|
||||
-c \
|
||||
--transform="s,^\./,$toolchain_prefix/," \
|
||||
-C "$cfg_dir_toolchain" \
|
||||
-f "$cfg_toolchain_tar" \
|
||||
.
|
||||
|
|
|
@ -0,0 +1,93 @@
|
|||
version=\
|
||||
(
|
||||
"1.55.0"
|
||||
)
|
||||
|
||||
vendor_version="$(echo $version | tr . _)"
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/project/boost/boost/$version/boost_$vendor_version.tar.bz2"
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Jose Pinto <zepinto@fe.up.pt>'
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
"d6eef4b4cacb2183f2bf265a5a03a354"
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'bzip2/default'
|
||||
)
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$pkg_dir/patches-${version}/"*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
cd "../boost_$vendor_version" && cat $patches | patch -p1
|
||||
fi
|
||||
}
|
||||
|
||||
configure()
|
||||
{
|
||||
cd "../boost_$vendor_version" &&
|
||||
./bootstrap.sh \
|
||||
--with-icu="$cfg_dir_toolchain_sysroot/usr"
|
||||
|
||||
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
|
||||
echo "" >> user-config.jam
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
cd "../boost_$vendor_version" &&
|
||||
./bjam -d+2 \
|
||||
toolset=gcc \
|
||||
variant=release \
|
||||
link=shared \
|
||||
threading=multi \
|
||||
runtime-link=shared \
|
||||
-sICU_PATH="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--user-config=user-config.jam \
|
||||
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
|
||||
--without-python \
|
||||
--layout=tagged
|
||||
}
|
||||
|
||||
|
||||
host_install()
|
||||
{
|
||||
cd "../boost_$vendor_version" &&
|
||||
./bjam -d+2 \
|
||||
toolset=gcc \
|
||||
variant=release \
|
||||
link=shared \
|
||||
threading=multi \
|
||||
runtime-link=shared \
|
||||
-sICU_PATH="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--user-config=user-config.jam \
|
||||
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
|
||||
--without-python \
|
||||
--layout=tagged \
|
||||
install
|
||||
|
||||
mkdir -p "${cfg_dir_toolchain_sysroot}/usr/share"
|
||||
cp -rvd "../boost_$vendor_version/boost" \
|
||||
"${cfg_dir_toolchain_sysroot}/usr/share"
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
base="$cfg_dir_toolchain_sysroot/usr/lib"
|
||||
for f in "$base/libboost_"*.so*; do
|
||||
dst="$cfg_dir_rootfs/lib/$(basename "$f")"
|
||||
cp -v -d "$f" "$dst" &&
|
||||
$cmd_target_strip "$dst"
|
||||
done
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
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 boost europa'
|
||||
|
|
@ -2,9 +2,8 @@ cfg_hostname='lauv-simulator-1'
|
|||
cfg_eth_ext_ip='10.0.10.55'
|
||||
cfg_services0='dropbear network storage upgrade escc syslog ptpd setserial'
|
||||
cfg_services1=''
|
||||
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 e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp util-linux/ldattach uswitch pciutils apache-ant/host bzip2 libantlr3c boost europa'
|
||||
cfg_target_linux_kernel='arch/x86/boot/bzImage'
|
||||
cfg_ptpd_master='true'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_eth_prv_ip='192.168.0.1'
|
||||
|
||||
|
|
|
@ -122,7 +122,8 @@ CONFIG_ANON_INODES=y
|
|||
CONFIG_EXPERT=y
|
||||
# CONFIG_UID16 is not set
|
||||
# CONFIG_SYSCTL_SYSCALL is not set
|
||||
# CONFIG_KALLSYMS is not set
|
||||
CONFIG_KALLSYMS=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_HOTPLUG=y
|
||||
CONFIG_PRINTK=y
|
||||
CONFIG_BUG=y
|
||||
|
@ -1060,15 +1061,15 @@ CONFIG_SCx200_ACB=y
|
|||
#
|
||||
# PPS support
|
||||
#
|
||||
CONFIG_PPS=m
|
||||
CONFIG_PPS_DEBUG=y
|
||||
CONFIG_PPS=y
|
||||
# CONFIG_PPS_DEBUG is not set
|
||||
CONFIG_NTP_PPS=y
|
||||
|
||||
#
|
||||
# PPS clients support
|
||||
#
|
||||
# CONFIG_PPS_CLIENT_KTIMER is not set
|
||||
CONFIG_PPS_CLIENT_LDISC=m
|
||||
CONFIG_PPS_CLIENT_LDISC=y
|
||||
# CONFIG_PPS_CLIENT_GPIO is not set
|
||||
|
||||
#
|
||||
|
@ -1669,7 +1670,24 @@ CONFIG_TMPFS=y
|
|||
# CONFIG_HUGETLB_PAGE is not set
|
||||
# CONFIG_CONFIGFS_FS is not set
|
||||
# CONFIG_MISC_FILESYSTEMS is not set
|
||||
# CONFIG_NETWORK_FILESYSTEMS is not set
|
||||
CONFIG_NETWORK_FILESYSTEMS=y
|
||||
CONFIG_NFS_FS=y
|
||||
# CONFIG_NFS_V2 is not set
|
||||
CONFIG_NFS_V3=y
|
||||
# CONFIG_NFS_V3_ACL is not set
|
||||
# CONFIG_NFS_V4 is not set
|
||||
# CONFIG_NFSD is not set
|
||||
CONFIG_LOCKD=y
|
||||
CONFIG_LOCKD_V4=y
|
||||
CONFIG_NFS_COMMON=y
|
||||
CONFIG_SUNRPC=y
|
||||
# CONFIG_RPCSEC_GSS_KRB5 is not set
|
||||
# CONFIG_SUNRPC_DEBUG is not set
|
||||
# CONFIG_CEPH_FS is not set
|
||||
# CONFIG_CIFS is not set
|
||||
# CONFIG_NCP_FS is not set
|
||||
# CONFIG_CODA_FS is not set
|
||||
# CONFIG_AFS_FS is not set
|
||||
CONFIG_NLS=y
|
||||
CONFIG_NLS_DEFAULT="utf8"
|
||||
# CONFIG_NLS_CODEPAGE_437 is not set
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
cfg_architecture='geode'
|
||||
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_services2='dune'
|
||||
cfg_modules=''
|
||||
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 dtn'
|
||||
cfg_packages='zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp util-linux/ldattach uswitch pciutils bzip2'
|
||||
cfg_terminal='ttyS0'
|
||||
cfg_target_linux_kernel='arch/x86/boot/bzImage'
|
||||
cfg_ptpd_master='true'
|
||||
|
@ -13,3 +13,4 @@ cfg_eth_ext_mk='255.255.0.0'
|
|||
cfg_eth_ext_gw='10.0.0.1'
|
||||
cfg_eth_prv_ip='192.168.0.1'
|
||||
cfg_escc_script='/etc/escc/hg1700.sh'
|
||||
cfg_kernel_extra_args='panic=-1'
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
mount_path()
|
||||
{
|
||||
rpath="$cfg_lauv_storage_host:$1"
|
||||
lpath="$1"
|
||||
|
||||
mkdir -p "$lpath"
|
||||
|
||||
mount -t nfs -o wsize=32768 "$rpath" "$lpath"
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "* Mounted '$rpath' in '$lpath'"
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
start()
|
||||
{
|
||||
/usr/bin/rpcbind
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "ERROR: failed to start rpcbind."
|
||||
return 1
|
||||
fi
|
||||
|
||||
for path in $cfg_lauv_storage_paths; do
|
||||
n=0; while [ $n -lt "$cfg_lauv_storage_timeout" ]; do
|
||||
mount_path "$path"
|
||||
if [ $? -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
|
||||
let n++
|
||||
sleep 1
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
killall rpcbind
|
||||
|
||||
for path in $cfg_lauv_storage_paths; do
|
||||
umount "$path"
|
||||
done
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
cfg_hostname='lauv-dolphin-2'
|
||||
cfg_eth_ext_ip='10.0.10.140'
|
||||
cfg_packages="$cfg_packages"
|
||||
cfg_escc_script='/etc/escc/ifog-imu-1-a.sh'
|
||||
cfg_escc_et='true'
|
||||
cfg_dune_i18n='C'
|
|
@ -0,0 +1,6 @@
|
|||
cfg_hostname='lauv-dolphin-3'
|
||||
cfg_eth_ext_ip='10.0.10.150'
|
||||
cfg_packages="$cfg_packages"
|
||||
cfg_escc_script='/etc/escc/ifog-imu-1-a.sh'
|
||||
cfg_escc_et='true'
|
||||
cfg_dune_i18n='C'
|
|
@ -0,0 +1,3 @@
|
|||
cfg_hostname='lauv-lupis-1'
|
||||
cfg_eth_ext_ip='10.0.10.130'
|
||||
cfg_packages='zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd uswitch pciutils bzip2'
|
|
@ -1,4 +1,3 @@
|
|||
cfg_hostname='lauv-noptilus-1'
|
||||
cfg_eth_ext_ip='10.0.10.60'
|
||||
cfg_arp_table='192.168.0.2|02:49:58:00:03:26 192.168.0.5|02:49:58:00:02:71'
|
||||
cfg_dune_i18n='pt_PT'
|
||||
cfg_escc_script='/etc/escc/hg1700-psimar.sh'
|
|
@ -1,3 +1,3 @@
|
|||
cfg_hostname='lauv-noptilus-2'
|
||||
cfg_eth_ext_ip='10.0.10.90'
|
||||
cfg_arp_table=''
|
||||
cfg_escc_script='/etc/escc/hg1700-psimar.sh'
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
cfg_hostname='lauv-noptilus-3'
|
||||
cfg_eth_ext_ip='10.0.10.100'
|
||||
cfg_arp_table='192.168.0.5|02:49:58:00:03:2a'
|
||||
cfg_escc_script='/etc/escc/hg1700-psimar.sh'
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
cfg_hostname='lauv-oceaneco-1'
|
||||
cfg_eth_ext_ip='10.0.10.160'
|
||||
cfg_dune_i18n='C'
|
|
@ -0,0 +1,3 @@
|
|||
cfg_hostname='lauv-oceaneco-2'
|
||||
cfg_eth_ext_ip='10.0.10.170'
|
||||
cfg_dune_i18n='C'
|
|
@ -1,2 +1,3 @@
|
|||
cfg_hostname='lauv-seacon-1'
|
||||
cfg_eth_ext_ip='10.0.10.10'
|
||||
cfg_escc_script='/etc/escc/hg1700-psimar.sh'
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
cfg_hostname='lauv-seacon-4'
|
||||
cfg_eth_ext_ip='10.0.10.40'
|
|
@ -0,0 +1,2 @@
|
|||
cfg_hostname='lauv-xplore-1'
|
||||
cfg_eth_ext_ip='10.0.10.120'
|
|
@ -0,0 +1,2 @@
|
|||
cfg_hostname='lauv-xplore-2'
|
||||
cfg_eth_ext_ip='10.0.10.180'
|
|
@ -1,4 +1,2 @@
|
|||
cfg_hostname='lauv-xtreme-2'
|
||||
cfg_eth_ext_ip='10.0.10.50'
|
||||
cfg_arp_table='192.168.0.5|02:49:58:00:02:d3'
|
||||
cfg_dune_i18n='pt_PT'
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
diff -Nru linux-3.5.4/drivers/tty/serial/8250/8250.c linux-3.5.4.rasm/drivers/tty/serial/8250/8250.c
|
||||
--- linux-3.5.4/drivers/tty/serial/8250/8250.c 2012-09-14 23:28:08.000000000 +0100
|
||||
+++ linux-3.5.4.rasm/drivers/tty/serial/8250/8250.c 2015-03-19 14:49:54.026244446 +0000
|
||||
@@ -207,8 +207,7 @@
|
||||
.name = "ST16654",
|
||||
.fifo_size = 64,
|
||||
.tx_loadsz = 32,
|
||||
- .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 |
|
||||
- UART_FCR_T_TRIG_10,
|
||||
+ .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01,
|
||||
.flags = UART_CAP_FIFO | UART_CAP_EFR | UART_CAP_SLEEP,
|
||||
},
|
||||
[PORT_16850] = {
|
|
@ -1219,10 +1219,11 @@ CONFIG_MMC_BLOCK_BOUNCE=y
|
|||
# MMC/SD/SDIO Host Controller Drivers
|
||||
#
|
||||
CONFIG_MMC_SDHCI=y
|
||||
# CONFIG_MMC_SDHCI_PCI is not set
|
||||
# CONFIG_MMC_SDHCI_PLTFM is not set
|
||||
CONFIG_MMC_WBSD=y
|
||||
CONFIG_MMC_TIFM_SD=y
|
||||
CONFIG_MMC_SDHCI_PCI=y
|
||||
# CONFIG_MMC_RICOH_MMC is not set
|
||||
CONFIG_MMC_SDHCI_PLTFM=y
|
||||
# CONFIG_MMC_WBSD is not set
|
||||
# CONFIG_MMC_TIFM_SD is not set
|
||||
# CONFIG_MMC_CB710 is not set
|
||||
# CONFIG_MMC_VIA_SDMMC is not set
|
||||
# CONFIG_MMC_VUB300 is not set
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
cfg_hostname="kontrol-pitx-sp"
|
||||
cfg_eth_ext_ip="192.168.0.25"
|
||||
cfg_kernel_boot_dev='b301'
|
||||
cfg_kernel_boot_dev='/dev/mmcblk0p1'
|
||||
cfg_kernel_extra_args='noacpi'
|
||||
|
|
|
@ -8,9 +8,9 @@ cfg_packages='u-boot dropbear rsync busybox linux uswitch ppp iptables socat bri
|
|||
cfg_target_linux_kernel='arch/arm/boot/uImage'
|
||||
cfg_terminal='ttyO2'
|
||||
cfg_ntpd_config='/etc/ntp/server.cfg'
|
||||
cfg_dtnd_config='/opt/lsts/dtn/etc/dtn.conf'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.0.1'
|
||||
cfg_eth_ext_soft_mac='true'
|
||||
cfg_target_uboot_config='igep0020_config'
|
||||
cfg_target_linux_load_addr=0x80008000
|
||||
cfg_partitions=\
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
port=53
|
||||
interface=eth0
|
||||
dhcp-range=10.0.200.1,10.0.200.50,12h
|
|
@ -0,0 +1,2 @@
|
|||
cfg_hostname='manta-12'
|
||||
cfg_eth_ext_ip='10.0.30.12'
|
|
@ -0,0 +1,2 @@
|
|||
cfg_hostname='manta-13'
|
||||
cfg_eth_ext_ip='10.0.30.13'
|
|
@ -0,0 +1,2 @@
|
|||
cfg_hostname='manta-14'
|
||||
cfg_eth_ext_ip='10.0.30.14'
|
|
@ -0,0 +1,2 @@
|
|||
cfg_hostname='manta-15'
|
||||
cfg_eth_ext_ip='10.0.30.15'
|
|
@ -0,0 +1,2 @@
|
|||
cfg_hostname='manta-16'
|
||||
cfg_eth_ext_ip='10.0.30.16'
|
|
@ -0,0 +1,2 @@
|
|||
cfg_hostname='manta-18'
|
||||
cfg_eth_ext_ip='10.0.30.18'
|
|
@ -0,0 +1,2 @@
|
|||
cfg_hostname='manta-19'
|
||||
cfg_eth_ext_ip='10.0.30.19'
|
|
@ -0,0 +1,2 @@
|
|||
cfg_hostname='manta-21'
|
||||
cfg_eth_ext_ip='10.0.30.21'
|
|
@ -0,0 +1,2 @@
|
|||
cfg_hostname='manta-22'
|
||||
cfg_eth_ext_ip='10.0.30.22'
|
|
@ -0,0 +1,2 @@
|
|||
cfg_hostname='manta-23'
|
||||
cfg_eth_ext_ip='10.0.30.23'
|
|
@ -0,0 +1,3 @@
|
|||
cfg_hostname='x8-03'
|
||||
cfg_eth_ext_ip='10.0.20.110'
|
||||
cfg_services1='ntpd'
|
|
@ -1,7 +0,0 @@
|
|||
cfg_hostname='gsmux'
|
||||
cfg_storage='data0:ext4:/opt'
|
||||
cfg_eth_ext_ip='10.0.200.11'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.0.1'
|
||||
cfg_services2='gsmux'
|
||||
cfg_ptpd_interface='eth0'
|
|
@ -1,6 +1,6 @@
|
|||
cfg_hostname='lauv-seacon-4-aux'
|
||||
cfg_hostname='lauv-seacon-1-aux'
|
||||
cfg_storage='data0:ext4:/opt'
|
||||
cfg_eth_ext_ip='10.0.10.43'
|
||||
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'
|
|
@ -1,7 +0,0 @@
|
|||
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'
|
Reference in New Issue