Compare commits

..

4 Commits

34 changed files with 46 additions and 2809 deletions

1
.gitignore vendored
View File

@@ -10,4 +10,3 @@
/lauv-aux-rpi
/ntnu-b2xx
/stamp9g20
/lctr-rpi

View File

@@ -1,6 +1,6 @@
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2013 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@@ -1,6 +1,6 @@
version=\
(
'1.0.7'
'1.0.6'
)
url=\
@@ -10,7 +10,7 @@ url=\
md5=\
(
'4e18a516249256e2dad4d79ae56c913d'
'07783e66e27601ab0a8250c328b3d6bf'
)
if [ -d "$cfg_dir_builds/linux/linux-"* ]; then

View File

@@ -1,37 +0,0 @@
version=\
(
'2.0.2'
)
url=\
(
"https://hisham.hm/htop/releases/$version/htop-$version.tar.gz"
)
md5=\
(
'7d354d904bad591a931ad57e99fea84a'
)
maintainer=\
(
'Jose Pinto <zepinto@lsts.pt>'
)
build()
{
$cmd_make
}
configure()
{
cd "../htop-$version"
./configure --disable-unicode --prefix="${cfg_dir_rootfs}"
}
target_install()
{
cd "../htop-$version"
$cmd_make install
}

View File

@@ -2,7 +2,7 @@
version=\
(
"1.0.6"
"1.1.13"
)
url=\
@@ -12,22 +12,28 @@ url=\
md5=\
(
"246a3865ec037f8f5757ef6b973a80fc"
"9678fb7a04808b6e0de63746d35e4bb1"
)
maintainer=\
(
'?'
'Tiago Marques <tsmarques@fe.up.pt>'
)
requires=\
(
'x264/default'
# 'ffmpeg/default'
)
configure()
{
./bootstrap
./configure \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--build="$cfg_host_canonical" \
--host="$cfg_target_canonical" \
--enable-run-as-root \
--enable-run-as-root \
--disable-dbus-control \
--disable-dbus \
--disable-hal \
@@ -42,7 +48,20 @@ configure()
--disable-skins2 \
--disable-lua \
--disable-x11 \
--disable-glx
--disable-glx \
--disable-bonjour \
--disable-upnp \
--disable-udev \
--disable-mtp \
--disable-libgcrypt \
--disable-remoteosd \
CC="$cmd_target_cc" \
enable_xcb="no" \
enable_goom="no" \
enable_projectm="no" \
enable_alsa="no" \
enable_portaudio="no" \
enable_v4l2="no"
}
build()

View File

@@ -19,7 +19,8 @@ configure()
--sysroot="${cfg_dir_toolchain_sysroot}" \
--cross-prefix="${cmd_target_prefix}" \
--host="$cfg_target_canonical" \
--prefix="${cfg_dir_toolchain_sysroot}/usr"
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--disable-asm
}
build()

View File

@@ -1,2 +0,0 @@
cfg_hostname='lauv-arpao-aux'
cfg_eth_ext_ip='10.0.10.63'

View File

@@ -136,7 +136,7 @@ CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_EXPERT=y
# CONFIG_UID16 is not set
# CONFIG_SYSCTL_SYSCALL is not set
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS is not set
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
@@ -1900,7 +1900,7 @@ CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
#
# Compile-time checks and compiler options
#
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_ENABLE_WARN_DEPRECATED is not set
# CONFIG_ENABLE_MUST_CHECK is not set
CONFIG_FRAME_WARN=2048

View File

@@ -12,5 +12,5 @@ cfg_ptpd_interface='eth0'
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=''
cfg_escc_script='/etc/escc/hg1700.sh'
cfg_kernel_extra_args='panic=5 quiet'

View File

@@ -1,2 +0,0 @@
cfg_hostname='lauv-arpao'
cfg_eth_ext_ip='10.0.10.60'

View File

@@ -1,3 +1,2 @@
cfg_hostname='lauv-xplore-1'
cfg_eth_ext_ip='10.0.10.120'
cfg_modules="$cfg_modules ftdi_sio"

View File

@@ -0,0 +1,2 @@
cfg_hostname='x8-00'
cfg_eth_ext_ip='10.0.20.95'

View File

@@ -1,3 +1,3 @@
cfg_hostname='x8-02'
cfg_eth_ext_ip='10.0.20.100'
cfg_eth_ext_ip='10.0.20.105'
cfg_packages='u-boot dropbear rsync busybox linux uswitch ppp iptables socat bridge-utils ntp e2fsprogs i2c-tools iperf dnsmasq libav'

View File

@@ -1,6 +1,6 @@
cfg_hostname='aero-01'
cfg_storage='data0:ext4:/opt'
cfg_eth_ext_ip='10.0.20.80'
cfg_eth_ext_ip='10.0.20.120'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav'

View File

@@ -1,7 +0,0 @@
cfg_hostname='lauv-noptilus-1-aux'
cfg_storage='data0:ext4:/opt data1:ext4:/opt/lsts/dune/log'
cfg_eth_ext_ip='10.0.10.83'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_packages="$cfg_packages ptpd rpcbind nfs-utils libantlr3c boost europa"

View File

@@ -1,7 +0,0 @@
cfg_hostname='lauv-noptilus-2-aux'
cfg_storage='data0:ext4:/opt data1:ext4:/opt/lsts/dune/log'
cfg_eth_ext_ip='10.0.10.93'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_packages="$cfg_packages ptpd rpcbind nfs-utils libantlr3c boost europa"

View File

@@ -4,5 +4,3 @@ cfg_eth_ext_ip='10.0.10.103'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_packages="$cfg_packages ptpd rpcbind nfs-utils libantlr3c boost europa"

View File

@@ -1,31 +0,0 @@
diff -Nru linux-3.14.63/arch/arm/boot/dts/am335x-lctr-b2xx.dts linux-3.14.63.mc/arch/arm/boot/dts/am335x-lctr-b2xx.dts
--- linux-3.14.63/arch/arm/boot/dts/am335x-lctr-b2xx.dts 2017-01-17 14:12:07.019022866 +0000
+++ linux-3.14.63.mc/arch/arm/boot/dts/am335x-lctr-b2xx.dts 2017-01-17 14:26:45.657383756 +0000
@@ -60,6 +60,16 @@
0x154 (PIN_OUTPUT_PULLDOWN | MUX_MODE1)
>;
};
+
+ /* UART4. */
+ uart4_pins: pinmux_uart4_pins {
+ pinctrl-single,pins = <
+ /* uart4_rxd */
+ 0x70 (PIN_INPUT_PULLUP | MUX_MODE6)
+ /* uart4_txd */
+ 0x74 (PIN_OUTPUT_PULLDOWN | MUX_MODE6)
+ >;
+ };
};
/* Enable UART1. */
@@ -75,3 +85,10 @@
pinctrl-0 = <&uart2_pins>;
status = "okay";
};
+
+/* Enable UART4. */
+&uart4 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart4_pins>;
+ status = "okay";
+};

View File

@@ -1,6 +0,0 @@
cfg_hostname='pixhawk-testbed'
cfg_storage='data0:ext4:/opt'
cfg_eth_ext_ip='10.0.200.50'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav'

View File

@@ -1,4 +1,4 @@
cfg_hostname='x8-07'
cfg_hostname='x8-05'
cfg_storage='data0:ext4:/opt'
cfg_eth_ext_ip='10.0.20.110'
cfg_eth_ext_mk='255.255.0.0'

View File

@@ -1,6 +1,6 @@
cfg_hostname='x8-06'
cfg_storage='data0:ext4:/opt'
cfg_eth_ext_ip='10.0.20.105'
cfg_eth_ext_ip='10.0.20.115'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav'

File diff suppressed because it is too large Load Diff

View File

@@ -1,18 +0,0 @@
cfg_architecture='cortex-a8-hardfp'
cfg_storage='data0:ext4:/opt'
cfg_modules=''
cfg_services0='network dropbear storage upgrade syslog ptpd'
cfg_services2='dune'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi'
cfg_target_linux_kernel='arch/arm/boot/zImage'
cfg_target_linux_dtb='arch/arm/boot/dts/bcm2709-rpi-2-b.dtb'
cfg_ptpd_interface='eth0'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_terminal='ttyAMA0'
cfg_partitions=\
(
rpi-boot boot0 512B 32MiB
root root0 32MiB 544MiB
data data0 544MiB -1
)

View File

@@ -1 +0,0 @@
arm_freq=1000

View File

@@ -1,2 +0,0 @@
ttyAMA0 root:root 660 >terminal
ttyUSB[0-9]* root:root 660 */sbin/mdev-ttyusb

View File

@@ -1,4 +0,0 @@
cfg_hostname='nest-1'
cfg_eth_ext_ip='10.0.200.40'
cfg_packages="$cfg_packages ppp iptables"

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2015 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2013 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #