Compare commits

...

14 Commits

Author SHA1 Message Date
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
9 changed files with 30 additions and 14 deletions

View File

@@ -21,7 +21,7 @@
########################################################################### ###########################################################################
# Config: GLUED version. # Config: GLUED version.
cfg_glued_version='1.9.1' cfg_glued_version='1.9.7'
# 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=\
( (
"ftp://mirror.ovh.net/gentoo-distfiles/distfiles/db-$version.tar.gz" "http://www.lsts.pt/glued/db-$version.tar.gz"
) )
md5=\ 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 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

@@ -4,7 +4,7 @@ cfg_services0='dropbear network storage upgrade escc syslog ptpd setserial'
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,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=\

View File

@@ -1,6 +1,6 @@
cfg_hostname='lauv-seacon-4-aux' cfg_hostname='lauv-seacon-1-aux'
cfg_storage='data0:ext4:/opt' 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_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1' cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0' cfg_ptpd_interface='eth0'