Compare commits

...

22 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
15 changed files with 55 additions and 18 deletions

View File

@@ -21,7 +21,7 @@
###########################################################################
# Config: GLUED version.
cfg_glued_version='1.9.0'
cfg_glued_version='1.9.9'
# 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.

View File

@@ -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=\

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 20 > /sys/kernel/debug/omap_mux/uart1_rxd &&
# Camera/Strobe
echo 0x07 > /sys/kernel/debug/omap_mux/lcd_data6 &&
umount /sys/kernel/debug
}

View File

@@ -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")"

View File

@@ -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-
}

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

@@ -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 apache-ant/host bzip2 libantlr3c boost europa'
cfg_terminal='ttyS0'
cfg_target_linux_kernel='arch/x86/boot/bzImage'
cfg_ptpd_master='true'

View File

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

View File

@@ -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'

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

@@ -11,6 +11,7 @@ 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=\

View File

@@ -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'