Compare commits

...

28 Commits

Author SHA1 Message Date
Pedro Gonçalves
34029e1175 systems/lctr-rpi/boot: add settings to test external sdcard. 2019-07-31 19:59:20 +01:00
Pedro Gonçalves
9f26b1f04f systems/lctr-rpi/cfg: update kernel config file. 2019-07-31 19:57:21 +01:00
Pedro Gonçalves
f0ec5b76f3 rules/linux: update md5 value. 2019-07-31 19:54:40 +01:00
Pedro Gonçalves
565302c895 systems/lctr-rpi/fs/boot: update config file for CM3. 2019-07-30 18:18:13 +01:00
Pedro Gonçalves
0b1404228d systems/lctr-rpi/cfg: update config file to version 4.19.60. 2019-07-30 18:17:00 +01:00
Pedro Gonçalves
3267ac919c rules:rpi-boot: update to version 4.19.60. 2019-07-30 18:16:24 +01:00
Pedro Gonçalves
92d4bb763a rules:linux: update to version 4.19.60. 2019-07-30 18:16:02 +01:00
Pedro Gonçalves
34c2c7edd0 rules:linux-headers: update to version 4.19.60. 2019-07-30 18:15:52 +01:00
Pedro Gonçalves
bc6b79bb55 rules/filesystem/fs/etc/rc.d/mount_sdcard_cm3: add boot script to mount external sdcard in /opt/lsts 2019-03-15 20:09:05 +00:00
Pedro Gonçalves
582ef9eec4 systems/lctr-rpi/test-rpi-cm3: add test system for cm3. 2019-03-15 19:51:49 +00:00
Pedro Gonçalves
9cb1747015 systems/lctr-rpi/fs/boot/config: add line to activate external sdcard in CM3. 2019-03-15 19:02:39 +00:00
Pedro Gonçalves
f8c6d5051a rules/linux/default: remove firmware compilation (in new kernel 4.19 firmware compilation not exist - precautions for other systems) 2019-03-15 09:45:06 +00:00
Pedro Gonçalves
a6957ee9a6 rules/rpi-boot-firmware: update boot of rpi to kernel 4.19.x 2019-03-15 09:43:04 +00:00
Pedro Gonçalves
69c86a1905 rules/linux/rpi: update version of kernel to 4.19.x 2019-03-15 09:42:12 +00:00
Pedro Gonçalves
a9f2d9f865 systems/lctr-rpi/cfg: add kernel config for rpi (4.19.x). 2019-03-15 09:41:25 +00:00
Pedro Gonçalves
445ce22db2 docker: add bison, flex and libssl-dev for the new kernel version (4.19.x) 2019-03-15 09:21:36 +00:00
Pedro Gonçalves
ef9335f132 Merge branch 'feature/exiftool' into feature/cm3-rpi 2019-02-25 17:06:11 +00:00
Pedro Gonçalves
c425981fa4 systems/lctr-a6xx: add geode-testbed config system. 2019-02-25 16:15:54 +00:00
Pedro Gonçalves
b69cfb9682 systems/lctr-rpi/test-rpi-eth0: fix service network name. 2019-02-22 18:09:40 +00:00
Pedro Gonçalves
568f2abbbf rules/exiftool: fix path for bin folder. 2019-02-22 17:11:59 +00:00
Pedro Gonçalves
0dd5539b48 systems/lctr-rpi: update test-rpi config for eth0 and wlan0. 2019-02-21 18:22:45 +00:00
Pedro Gonçalves
d1872860fa rules/exiftool: add rule for exiftool lib/api. 2019-02-21 18:21:54 +00:00
mariacosta
4cf1db0317 GLUED: Updated Copyright. 2019-02-11 10:50:52 +00:00
Paulo Dias
00255e4608 gitignore: added helper script to ignore. 2019-02-08 20:12:08 +00:00
Paulo Dias
72a786508e rules: boost: added needed libraries that must be built separately are: regex,filesystem,system,thread. 2019-02-08 20:11:29 +00:00
Paulo Dias
8bda2a4551 systems: Added boost to lauv-nemo-aux. 2019-02-08 20:09:34 +00:00
zepinto
7542b861c3 Docker Makefile: added DNS option. 2019-01-15 18:26:25 +00:00
Paulo Dias
580816dde8 mkpackage: use www.lsts.pt instead of lsts.pt. 2019-01-08 20:44:04 +00:00
27 changed files with 6630 additions and 31 deletions

1
.gitignore vendored
View File

@@ -11,3 +11,4 @@
/ntnu-b2xx /ntnu-b2xx
/stamp9g20 /stamp9g20
/lctr-rpi /lctr-rpi
build.bash

View File

@@ -36,3 +36,6 @@ RUN apt-get install -y g++-multilib
RUN apt-get install -y cmake RUN apt-get install -y cmake
RUN apt-get install -y file RUN apt-get install -y file
RUN apt-get install -y kmod RUN apt-get install -y kmod
RUN apt-get install -y bison
RUN apt-get install -y flex
RUN apt-get install -y libssl-dev

View File

@@ -23,9 +23,10 @@
TAG := glued TAG := glued
VERSION := 2016.05.0 VERSION := 2016.05.0
VOLUME := $(CURDIR)/.. VOLUME := $(CURDIR)/..
DNS := 8.8.8.8
all: all:
docker build -t $(TAG):$(VERSION) . docker build -t $(TAG):$(VERSION) .
shell: shell:
docker run -w $(VOLUME) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION) docker run -w $(VOLUME) --dns=$(DNS) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)

View File

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

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
#! /bin/bash #! /bin/bash
########################################################################### ###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution # # GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia # # Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) # # Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
########################################################################### ###########################################################################
# This program is free software; you can redistribute it and/or modify # # This program is free software; you can redistribute it and/or modify #
@@ -72,7 +72,7 @@ download()
fi fi
# First try LSTS mirror. # First try LSTS mirror.
lsts_url="https://lsts.pt/glued/$(basename $u)" lsts_url="https://www.lsts.pt/glued/$(basename $u)"
download_tool "$lsts_url" "$cfg_dir_downloads/$file" download_tool "$lsts_url" "$cfg_dir_downloads/$file"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
# Then try OceanScan-MST mirror. # Then try OceanScan-MST mirror.

View File

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

View File

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

View File

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

View File

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

View File

@@ -37,7 +37,8 @@ configure()
{ {
cd "../boost_$vendor_version" && cd "../boost_$vendor_version" &&
./bootstrap.sh \ ./bootstrap.sh \
--with-icu="$cfg_dir_toolchain_sysroot/usr" --with-icu="$cfg_dir_toolchain_sysroot/usr" \
--with-libraries="regex,filesystem,system,thread"
GXX_VER=$(${cmd_target_cxx} -dumpversion) GXX_VER=$(${cmd_target_cxx} -dumpversion)
echo "using gcc : ${GXX_VER} : ${cmd_target_cxx} : <cxxflags>\"-pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ${cfg_target_gcc_flags} \" <linkflags>\"\" ;" > user-config.jam echo "using gcc : ${GXX_VER} : ${cmd_target_cxx} : <cxxflags>\"-pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ${cfg_target_gcc_flags} \" <linkflags>\"\" ;" > user-config.jam

View File

@@ -0,0 +1,37 @@
version=\
(
"10.96"
)
url=\
(
"https://lsts.pt/glued/exiftoolBin-${version}.tar.gz"
)
md5=\
(
"71d52bf2d75f023b844dd8c9100daaff"
)
maintainer=\
(
'Pedro Gonçalves <pedro@lsts.pt>'
)
requires=\
(
'perl/default'
)
post_unpack()
{
$cmd_cp -r ../exiftoolBin-${version}/* .
}
target_install()
{
$cmd_cp -rv usr/* $cfg_dir_toolchain_sysroot/usr/
$cmd_cp -rv usr/* $cfg_dir_rootfs/usr/
$cmd_cp -rv usr/local/bin/* $cfg_dir_rootfs/usr/bin/
}

View File

@@ -0,0 +1,14 @@
start()
{
echo "* Mounting external sdcard in /opt/lsts *"
mount /dev/mmcblk1p1 /opt/lsts
mkdir -p /opt/lsts/glued
mkdir -p /opt/lsts/dune
}
stop()
{
echo "* Unmount external sdcard *"
umount /dev/mmcblk1p1
}

View File

@@ -1,6 +1,6 @@
version=\ version=\
( (
'4.4.66' '4.19.60'
) )
url=\ url=\
@@ -10,7 +10,7 @@ url=\
md5=\ md5=\
( (
'5353de56bf4621a35afc4384c7e51f30' '3f8dfed50f9d9ff7247b3d6da4fd35a3'
) )
maintainer=\ maintainer=\

View File

@@ -196,10 +196,10 @@ target_install()
KBUILD_VERBOSE=1 \ KBUILD_VERBOSE=1 \
modules_install modules_install
$cmd_make \ #$cmd_make \
CROSS_COMPILE="$cfg_target_canonical-" \ # CROSS_COMPILE="$cfg_target_canonical-" \
ARCH="$cfg_target_linux" \ # ARCH="$cfg_target_linux" \
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ # INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
KBUILD_VERBOSE=1 \ # KBUILD_VERBOSE=1 \
firmware_install # firmware_install
} }

View File

@@ -2,7 +2,7 @@
version=\ version=\
( (
'4.4_2017-01-27' '4.19_2019-07-29'
) )
url=\ url=\
@@ -12,7 +12,7 @@ url=\
md5=\ md5=\
( (
'f31d48a9d2c93509b35e750be489b44c' 'a9fac458f26bf4a3f3d9c981c7e51dd9'
) )
build_dir="rpi-linux-rpi-linux-$version" build_dir="rpi-linux-rpi-linux-$version"

View File

@@ -1,6 +1,6 @@
version=\ version=\
( (
'2017-02-02' '2019-07-29'
) )
url=\ url=\
@@ -10,20 +10,17 @@ url=\
maintainer=\ maintainer=\
( (
'Ricardo Martins <rasm@fe.up.pt>'
'Pedro Gonçalves <pedro@lsts.pt>' 'Pedro Gonçalves <pedro@lsts.pt>'
) )
md5=\ md5=\
( (
'eb42664fce4d73f167064e697dfacb76' '5b35887b1026fafe8174f473679d175a'
) )
target_install() target_install()
{ {
$cmd_mkdir "$cfg_dir_rootfs/boot" $cmd_mkdir "$cfg_dir_rootfs/boot"
$cmd_cp "../$pkg-$version/"* "$cfg_dir_rootfs/boot/" $cmd_cp "../$pkg-$version/"* "$cfg_dir_rootfs/boot/"
tar -C "$pkg_dir/fs" -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f - tar -C "$pkg_dir/fs" -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
} }

View File

@@ -1,2 +1,3 @@
cfg_hostname='lauv-nemo-1-aux' cfg_hostname='lauv-nemo-1-aux'
cfg_eth_ext_ip='10.0.10.63' cfg_eth_ext_ip='10.0.10.63'
cfg_packages="$cfg_packages boost"

View File

@@ -0,0 +1,2 @@
cfg_hostname='geode-testbed'
cfg_eth_ext_ip='10.0.200.64'

File diff suppressed because it is too large Load Diff

View File

@@ -4,6 +4,15 @@ arm_freq=1000
# Disable BT on Rpi3. # Disable BT on Rpi3.
dtoverlay=pi3-disable-bt dtoverlay=pi3-disable-bt
# Enable RasPicam dtoverlay=uart1
start_x=1 dtoverlay=uart0
gpu_mem=128
### EXTERNAL SDCARD OPTIONS
# Activate external sdcard in CM3 [22 at 27]
#dtoverlay=sdio,poll_once=off
#Activate external sdcard in CM3 [34 at 39]
#dtoverlay=sdio34,poll_once=off,gpios_34_39
#dtoverlay=sdio34,poll_once=off,bus_width=4,gpios_34_39
#dtoverlay=sdio34,poll_once=off,bus_width=4,sdio_overclock=30
#dtoverlay=sdio34,poll_once=off,bus_width=4,gpios_34_39,sdio_overclock=30

View File

@@ -0,0 +1,9 @@
cfg_hostname='test-rpi-cm3'
cfg_eth_ext_ip='10.0.200.52'
cfg_services1=''
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi'
cfg_services0='network dropbear storage upgrade syslog ptpd mount_sdcard_cm3'
cfg_modules="$cfg_modules ftdi_sio"
cfg_terminal='tty1'
cfg_ptpd_interface='eth0'

View File

@@ -0,0 +1,9 @@
cfg_hostname='test-rpi'
cfg_eth_ext_ip='10.0.200.52'
cfg_services1=''
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi exiftool'
cfg_services0='network dropbear storage upgrade syslog ptpd'
cfg_modules="$cfg_modules ftdi_sio"
cfg_terminal='tty1'
cfg_ptpd_interface='eth0'

View File

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

View File

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