Compare commits

...

21 Commits

Author SHA1 Message Date
Ricardo Martins
1b1a3b663c Preparing v1.9.10. 2014-05-22 13:18:40 +01:00
Ricardo Martins
74a2058410 lauv-lupis-1: streamlined packages. 2014-05-22 13:18:33 +01:00
Ricardo Martins
f4f30a7501 apache-ant: changed URL. 2014-05-13 21:10:04 +01:00
Ricardo Martins
0e871214bf gdb: upgraded to version 7.7.1. 2014-05-13 09:55:43 +01:00
Jose Braga
00b616b7c7 Development version 1.9.x. 2014-05-05 14:25:33 +01:00
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
13 changed files with 47 additions and 17 deletions

View File

@@ -21,7 +21,7 @@
########################################################################### ###########################################################################
# Config: GLUED version. # Config: GLUED version.
cfg_glued_version='1.9.4' cfg_glued_version='1.9.10'
# Config: GLUED vendor. # Config: GLUED vendor.
cfg_glued_vendor='lsts' cfg_glued_vendor='lsts'
@@ -88,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

@@ -5,7 +5,7 @@ version=\
url=\ 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=\ md5=\

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

@@ -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,7 +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 && 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

@@ -1,6 +1,6 @@
version=\ version=\
( (
'7.5.1' '7.7.1'
) )
url=\ url=\
@@ -10,5 +10,5 @@ url=\
md5=\ md5=\
( (
'3f48f468b24447cf24820054ff6e85b1' '77b20b515e7c25f032cb9732a66620fe'
) )

View File

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

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

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

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