Compare commits
27 Commits
tag/glued-
...
glued-1.9.
Author | SHA1 | Date | |
---|---|---|---|
|
1b1a3b663c | ||
|
74a2058410 | ||
|
f4f30a7501 | ||
|
0e871214bf | ||
|
00b616b7c7 | ||
|
f6a3973c9b | ||
|
d71cd0f31c | ||
|
e395e75b04 | ||
|
c00c27649b | ||
|
61529350c5 | ||
|
108ce638ed | ||
|
d0381c9b62 | ||
|
f90424a424 | ||
|
9854a87f75 | ||
|
53bd90bb42 | ||
|
e53a6fc1b4 | ||
|
5171aee6a3 | ||
|
2950ac0ccc | ||
|
90b0e4d5cc | ||
|
3575ea7021 | ||
|
6fe4727a85 | ||
|
c2c0689b70 | ||
|
b0112ec61c | ||
|
e6e9a01c1d | ||
|
23e5f9b34c | ||
|
5abb3e220a | ||
|
9686a1cefa |
@@ -21,7 +21,7 @@
|
||||
###########################################################################
|
||||
|
||||
# Config: GLUED version.
|
||||
cfg_glued_version='1.9.0'
|
||||
cfg_glued_version='1.9.10'
|
||||
# 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=\
|
||||
|
9
packages/escc/fs/etc/escc/hg1700-psimar.sh
Executable file
9
packages/escc/fs/etc/escc/hg1700-psimar.sh
Executable 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
|
@@ -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,6 +1,6 @@
|
||||
version=\
|
||||
(
|
||||
'7.5.1'
|
||||
'7.7.1'
|
||||
)
|
||||
|
||||
url=\
|
||||
@@ -10,5 +10,5 @@ url=\
|
||||
|
||||
md5=\
|
||||
(
|
||||
'3f48f468b24447cf24820054ff6e85b1'
|
||||
'77b20b515e7c25f032cb9732a66620fe'
|
||||
)
|
||||
|
@@ -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-
|
||||
}
|
||||
|
9
packages/rsync/fs/etc/rc.d/rsyncd
Normal file
9
packages/rsync/fs/etc/rc.d/rsyncd
Normal file
@@ -0,0 +1,9 @@
|
||||
start()
|
||||
{
|
||||
/usr/bin/rsync --daemon --config=/etc/rsyncd.conf
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
killall rsync > /dev/null 2>&1
|
||||
}
|
10
packages/rsync/fs/etc/rsyncd.conf
Normal file
10
packages/rsync/fs/etc/rsyncd.conf
Normal 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
|
@@ -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'
|
||||
|
3
systems/lctr-a6xx/lauv-lupis-1.cfg
Normal file
3
systems/lctr-a6xx/lauv-lupis-1.cfg
Normal 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'
|
@@ -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'
|
2
systems/lctr-a6xx/lauv-xplore-1.cfg
Normal file
2
systems/lctr-a6xx/lauv-xplore-1.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
cfg_hostname='lauv-xplore-1'
|
||||
cfg_eth_ext_ip='10.0.10.120'
|
@@ -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=\
|
||||
|
@@ -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'
|
Reference in New Issue
Block a user