Compare commits

..

82 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
João Teixeira
4c8324abc3 lctr-9axx: added manta-sabuvis system 2018-10-24 14:33:44 +01:00
João Teixeira
4316b4c9f7 systems/lctr-rpi: Added titan configuration file. 2018-08-30 11:25:42 +01:00
João Teixeira
9015c36df9 systems: Added systems buv-petinga-1 2018-04-20 19:37:04 +01:00
mariacosta
3e002e3ec5 systems/lctr-rpi: Added x8-06-aux configuration file. 2018-04-20 11:10:10 +01:00
Tiago Marques
b15293ee66 lctr-9axx: added manta-rugged-2 system. 2018-04-20 09:38:18 +01:00
Tiago Marques
e2da8b7586 systems: Added systems lauv-nemo-1 and lauv-nemo-1-aux. 2018-02-16 15:46:05 +00:00
Tiago Marques
0cf9ba8b9c systems/lauv-aux-rpi: removed Europa from packages. 2018-01-09 09:30:44 +00:00
Tiago Marques
5967c0b13f mkpackage: use HTTPS for lsts repository 2017-12-04 11:35:38 +00:00
Tiago Marques
459c14e7f4 mkconfig: updated glued version 2017-11-27 16:27:42 +00:00
Pedro Gonçalves
d2a0d5208c systems/lauv-aux-rpi: add system config file for lauv-xplore-5-aux. 2017-10-24 17:00:28 +01:00
Pedro Gonçalves
644b98c753 systems/lauv-aux-rpi: add system config file for lauv-xplore-4-aux. 2017-10-24 16:59:54 +01:00
Pedro Gonçalves
fcad38b6d7 systems/lauv-aux-rpi: add system config file for lauv-xplore-3-aux. 2017-10-24 16:58:50 +01:00
Pedro Gonçalves
853e7ea553 systems/lctr-a6xx: add system config file for lauv-xplore-5. 2017-10-11 14:08:33 +01:00
Pedro Gonçalves
b0633cd82c systems/lctr-a6xx: add system config file for lauv-xplore-4. 2017-10-11 14:08:23 +01:00
Pedro Gonçalves
7e8e9cbad0 systems/lctr-a6xx: add system config file for lauv-xplore-3. 2017-10-11 14:08:13 +01:00
Tiago Marques
19855db2da Merge branch 'bug/kmod-modules-dep'
Authored By: Ricardo Martins
2017-09-28 19:57:10 +01:00
Ricardo Martins
a8a131e19c linux: use system kmod. 2017-09-28 17:58:58 +01:00
Ricardo Martins
bbbd691fb3 docker: install kmod. 2017-09-28 17:58:14 +01:00
Tiago Marques
200dfc2205 Merge branch 'feature/linux-update'
Authored By: Pedro Gonçalves
Reviewed By: Tiago Marques
2017-09-25 18:29:42 +01:00
Tiago Marques
1a95420340 systems/lctr-b2xx/patches/linux/00-lctr-b2xx-dts: Updated patch 2017-09-25 16:07:42 +01:00
Tiago Marques
aec36f560b rules/lpg/default: Fixed dependencies. 2017-09-25 10:41:27 +01:00
Tiago Marques
13b3b18b5d systems/lctr-b2xx/patches/linux: Upgraded to v4.4.66 2017-09-22 15:45:21 +01:00
Tiago Marques
87e70a6615 Merge branch 'feature/memtest' 2017-09-13 10:32:41 +01:00
Tiago Marques
7dc03d18c5 systems/lctr-a6xx/config: Added memtest86+ package. 2017-09-13 10:26:50 +01:00
Tiago Marques
dbae4f69f6 rules/memtest86+/fs: Renamed script. 2017-09-12 09:46:51 +01:00
Tiago Marques
29298872e8 rules/memtest86+/fs/memtester: Changed shebang. 2017-09-11 18:02:15 +01:00
Tiago Marques
a55b6dbc6a rules/memtest86+: Removed garbage file. 2017-09-11 17:55:47 +01:00
Tiago Marques
5919324f1b systems/lctr-a6xx/cfg/linux-4.4.66: Disabled pps's debug messages. 2017-09-01 12:11:27 +01:00
Tiago Marques
020e2c7fe9 rules/gcc/cross: Fixed bug for 64 bit systems, causing libraries to be searched in the wrong directory. 2017-08-29 19:19:46 +01:00
Tiago Sá Marques
63ce5fa404 Merge pull request #33 from krisklau/pr/update_gdb
gdb: Upgraded version to 7.10.1 to allow remote debugging on bbb.
2017-08-16 13:35:38 +01:00
Tiago Sá Marques
8097d2679b Merge pull request #34 from krisklau/pr/openssh_privsep
openssh: Compile with privsep-path set to /var/empty/
2017-08-16 13:29:25 +01:00
Tiago Marques
d352a68acc Merge branch 'krisklau-pr/ntnu-update-s17' 2017-08-16 12:56:36 +01:00
Tiago Marques
81052b54a6 Revert "System: noptilus-aux: Added lpg."
This reverts commit 84bbaf4bca.
2017-08-16 12:56:25 +01:00
Tiago Marques
b28a6d787e rules/perf/default: Fixed dependencies. 2017-08-16 12:56:25 +01:00
Tiago Marques
347ef94fd4 Revert "systems/lctr-a6xx/config: build perf for lctr-a6xx systems."
This reverts commit e5bfb87131.
2017-08-16 12:56:25 +01:00
Tiago Marques
eacd69fe0f rules/perf/default: Fixed code style. 2017-08-16 12:56:25 +01:00
tsmarques
d1adbb7b9c rules/perf: Fixed target_install(). Copy perf to rootfs instead of toolchain. 2017-08-16 12:56:25 +01:00
tsmarques
c8e3e6fc59 rules/perf: removed temporary file. 2017-08-16 12:56:25 +01:00
tsmarques
a911af2fa0 systems/lctr-a6xx/config: build perf for lctr-a6xx systems. 2017-08-16 12:56:25 +01:00
tsmarques
fb7aa49ab0 rules/perf: added rules for perf package. 2017-08-16 12:56:25 +01:00
Tiago Marques
ee477076c8 Revert "System: noptilus-aux: Added lpg."
This reverts commit 84bbaf4bca.
2017-08-16 12:52:53 +01:00
Tiago Marques
d4be30bec6 rules/memtest86+: Added script to start memtest. 2017-08-12 08:24:17 +01:00
Tiago Marques
a6564e1b5d rules/syslinux/extlinux.conf: Added boot option for memtest. 2017-08-12 08:23:13 +01:00
Tiago Marques
6f0b948b98 Merge branch 'feature/perf' 2017-08-04 14:09:40 +01:00
Kristian Klausen
277501513a openssh: Compile with privsep-path set to /var/empty/ 2017-08-04 10:11:02 +02:00
Kristian Klausen
40b48c2b35 gdb: Upgraded version to 7.10.1 to allow remote debugging on bbb. 2017-08-04 10:01:41 +02:00
Tiago Marques
1369cb7f34 rules/perf/default: Fixed dependencies. 2017-08-03 23:32:34 +00:00
Tiago Marques
e12f3dc414 Revert "systems/lctr-a6xx/config: build perf for lctr-a6xx systems."
This reverts commit e5bfb87131.
2017-08-03 21:22:08 +00:00
Tiago Marques
52880f1754 rules/perf/default: Fixed code style. 2017-08-03 21:21:39 +00:00
Tiago Marques
5a8237118f rules: Added rule for memtext86+ 2017-08-01 20:39:26 +01:00
tsmarques
996c2c6fa0 rules/perf: Fixed target_install(). Copy perf to rootfs instead of toolchain. 2016-12-20 18:05:02 +00:00
tsmarques
0ec6de7ea4 rules/perf: removed temporary file. 2016-10-18 15:15:33 +02:00
tsmarques
e5bfb87131 systems/lctr-a6xx/config: build perf for lctr-a6xx systems. 2016-10-17 23:44:05 +02:00
tsmarques
0eeb5362b9 rules/perf: added rules for perf package. 2016-10-17 23:43:58 +02:00
59 changed files with 6829 additions and 69 deletions

1
.gitignore vendored
View File

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

View File

@@ -35,3 +35,7 @@ RUN apt-get install -y git
RUN apt-get install -y g++-multilib 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 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 #
@@ -23,7 +23,7 @@
########################################################################### ###########################################################################
# Config: GLUED version. # Config: GLUED version.
cfg_glued_version='2016.05' cfg_glued_version='2017.11'
# Config: GLUED vendor. # Config: GLUED vendor.
cfg_glued_vendor='lsts' cfg_glued_vendor='lsts'

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="http://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

@@ -49,10 +49,15 @@ host_install()
target_install() target_install()
{ {
$cmd_mkdir \ libdir=lib
"$cfg_dir_rootfs/usr/lib" && if [ -d "$cfg_dir_toolchain/$cfg_target_canonical/lib64" ]; then
libdir=lib64
fi
for f in "$cfg_dir_toolchain/$cfg_target_canonical/lib/"{libgcc_s,libstdc++}.so*; do $cmd_mkdir \
"$cfg_dir_rootfs/usr/$libdir" &&
for f in "$cfg_dir_toolchain/$cfg_target_canonical/$libdir/"{libgcc_s,libstdc++}.so*; do
base="$(basename $f)" base="$(basename $f)"
if [ $(echo "$base" | grep '\.py' 2> /dev/null) ]; then if [ $(echo "$base" | grep '\.py' 2> /dev/null) ]; then

View File

@@ -1,6 +1,6 @@
version=\ version=\
( (
'7.8.2' '7.10.1'
) )
url=\ url=\
@@ -10,5 +10,5 @@ url=\
md5=\ md5=\
( (
'a80cf252ed2e775d4e4533341bbf2459' '39e654460c9cdd80200a29ac020cfe11'
) )

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

@@ -128,14 +128,12 @@ build()
$cmd_make \ $cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \ CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \ ARCH=$cfg_target_linux \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
modules || return 1 modules || return 1
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
$cmd_make \ $cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \ CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \ ARCH=$cfg_target_linux \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
uImage || return 1 uImage || return 1
fi fi
@@ -144,7 +142,6 @@ build()
$cmd_make \ $cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \ CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \ ARCH=$cfg_target_linux \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
zImage || return 1 zImage || return 1
fi fi
@@ -153,7 +150,6 @@ build()
$cmd_make \ $cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \ CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \ ARCH=$cfg_target_linux \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
dtbs || return 1 dtbs || return 1
fi fi
@@ -198,14 +194,12 @@ target_install()
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 \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
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 \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ # 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

@@ -129,14 +129,12 @@ build()
$cmd_make \ $cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \ CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \ ARCH=$cfg_target_linux \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
modules || return 1 modules || return 1
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
$cmd_make \ $cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \ CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \ ARCH=$cfg_target_linux \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
uImage || return 1 uImage || return 1
fi fi
@@ -145,7 +143,6 @@ build()
$cmd_make \ $cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \ CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \ ARCH=$cfg_target_linux \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
zImage || return 1 zImage || return 1
fi fi
@@ -154,7 +151,6 @@ build()
$cmd_make \ $cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \ CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \ ARCH=$cfg_target_linux \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
dtbs || return 1 dtbs || return 1
fi fi
@@ -199,7 +195,6 @@ target_install()
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 \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
modules_install modules_install
$cmd_make \ $cmd_make \
@@ -207,6 +202,5 @@ target_install()
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 \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
firmware_install firmware_install
} }

View File

@@ -10,7 +10,13 @@ url=\
md5=\ md5=\
( (
"beb0f3b8be474868b074dca66ced5b48" "d71e2f282372a5cb1021d9e457a3d53f"
)
requires=\
(
'bison/host'
'flex/host'
) )
configure() configure()
@@ -20,7 +26,10 @@ configure()
build() build()
{ {
$cmd_make $cmd_make \
BISON="$cfg_dir_toolchain/bin/bison" \
FLEX="$cfg_dir_toolchain/bin/flex"
} }
target_install() target_install()

View File

@@ -0,0 +1,32 @@
version=\
(
"5.01"
)
url=\
(
"http://www.lsts.pt/glued/memtest86+-$version.tar.gz"
)
md5=\
(
"035b85f2edabc9b4a6b0cf6c9c3acf50"
)
maintainer=\
(
'Tiago Sá Marques <tsmarques@fe.up.pt>'
)
build()
{
$cmd_make \
CC=$cmd_target_cc \
CXX=$cmd_target_cxx
}
target_install()
{
$cmd_cp ./memtest.bin $cfg_dir_rootfs/boot/
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
}

View File

@@ -0,0 +1,14 @@
#! /bin/sh
echo "Starting memtest in 10 seconds (requires reboot), Ctrl-C to cancel..."
for r in 0 1 2 3 4 5 6 7 8 9; do
printf "."
sleep 1
done
mount -o remount,rw /
extlinux -o "memtest" /boot/extlinux/
mount -o remount,ro /
echo "* Rebooting now"
reboot

View File

@@ -30,6 +30,7 @@ configure()
--target="$cfg_target_canonical" \ --target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \ --host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \ --build="$cfg_host_canonical" \
--with-privsep-path=$cfg_dir_rootfs/var/empty \
--disable-strip --disable-strip
} }

46
rules/perf/default.bash Normal file
View File

@@ -0,0 +1,46 @@
version=\
(
"3.19"
)
url=\
(
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz"
)
requires=\
(
'flex/host'
'bison/host'
'zlib/default'
)
# v3.19
md5=\
(
'd3fc8316d4d4d04b65cbc2d70799e763'
)
#3.14.63
# md5=('6cf8a6b23849f47f511e0e46cfdb6392')
build()
{
cd ../linux-$version/
$cmd_make \
CROSS_COMPILE="$cfg_target_canonical-" \
ARCH="$cfg_target_linux" \
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
KBUILD_VERBOSE=1 \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
NO_LIBELF=1 \
LDFLAGS=-static \
-C "./tools/perf/"
}
target_install()
{
$cmd_cp ../linux-$version/tools/perf/perf \
$cfg_dir_rootfs/usr/bin/
}

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,3 +1,6 @@
LABEL linux LABEL linux
KERNEL /boot/kernel KERNEL /boot/kernel
APPEND rootwait root=$cfg_kernel_boot_dev rootfstype=ext2 ro $cfg_kernel_extra_args APPEND rootwait root=$cfg_kernel_boot_dev rootfstype=ext2 ro $cfg_kernel_extra_args
LABEL memtest
LINUX /boot/memtest.bin

View File

@@ -0,0 +1,6 @@
cfg_hostname='lauv-blue'
cfg_eth_ext_ip='10.0.2.55'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_services1=''

View File

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

View File

@@ -6,5 +6,5 @@ cfg_ptpd_interface='eth0'
cfg_services0='network dropbear storage upgrade syslog ptpd' cfg_services0='network dropbear storage upgrade syslog ptpd'
cfg_services1='' cfg_services1=''
cfg_services2='trex' cfg_services2='trex'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa' cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'

View File

@@ -6,5 +6,5 @@ cfg_ptpd_interface='eth0'
cfg_services0='network dropbear storage upgrade syslog ptpd' cfg_services0='network dropbear storage upgrade syslog ptpd'
cfg_services1='' cfg_services1=''
cfg_services2='trex' cfg_services2='trex'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa' cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'

View File

@@ -0,0 +1,10 @@
cfg_hostname='lauv-xplore-3-aux'
cfg_eth_ext_ip='10.0.10.143'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_services0='network dropbear storage upgrade syslog ptpd'
cfg_services1=''
cfg_services2='trex'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'

View File

@@ -0,0 +1,10 @@
cfg_hostname='lauv-xplore-4-aux'
cfg_eth_ext_ip='10.0.10.153'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_services0='network dropbear storage upgrade syslog ptpd'
cfg_services1=''
cfg_services2='trex'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'

View File

@@ -0,0 +1,10 @@
cfg_hostname='lauv-xplore-5-aux'
cfg_eth_ext_ip='10.0.10.163'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_services0='network dropbear storage upgrade syslog ptpd'
cfg_services1=''
cfg_services2='trex'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'

View File

@@ -0,0 +1,2 @@
cfg_hostname='buv-petinga-1'
cfg_eth_ext_ip='10.0.10.170'

View File

@@ -1182,7 +1182,7 @@ CONFIG_SCx200_ACB=y
# PPS support # PPS support
# #
CONFIG_PPS=y CONFIG_PPS=y
CONFIG_PPS_DEBUG=y # CONFIG_PPS_DEBUG is not set
CONFIG_NTP_PPS=y CONFIG_NTP_PPS=y
# #
@@ -2030,8 +2030,6 @@ CONFIG_NLS_UTF8=y
# Kernel hacking # Kernel hacking
# #
CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_HAVE_KVM_IRQFD=y
CONFIG_VFIO_VIRQFD=y
# #
# printk and dmesg options # printk and dmesg options

View File

@@ -4,7 +4,7 @@ cfg_services0='dropbear network storage upgrade syslog escc ptpd setserial'
cfg_services1='' cfg_services1=''
cfg_services2='dune' cfg_services2='dune'
cfg_modules='' cfg_modules=''
cfg_packages='coreboot-lsts emm-8p-xt-eeprom zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp uswitch pciutils bzip2' cfg_packages='coreboot-lsts emm-8p-xt-eeprom zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp uswitch pciutils bzip2 memtest86+'
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='geode-testbed'
cfg_eth_ext_ip='10.0.200.64'

View File

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

View File

@@ -0,0 +1,2 @@
cfg_hostname='lauv-xplore-3'
cfg_eth_ext_ip='10.0.10.140'

View File

@@ -0,0 +1,2 @@
cfg_hostname='lauv-xplore-4'
cfg_eth_ext_ip='10.0.10.150'

View File

@@ -0,0 +1,2 @@
cfg_hostname='lauv-xplore-5'
cfg_eth_ext_ip='10.0.10.160'

View File

@@ -0,0 +1,2 @@
cfg_hostname='manta-rugged-2'
cfg_eth_ext_ip='10.0.30.25'

View File

@@ -0,0 +1,2 @@
cfg_hostname='manta-sabuvis'
cfg_eth_ext_ip='10.0.30.26'

View File

@@ -4,4 +4,4 @@ cfg_eth_ext_ip='10.0.10.83'
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'
cfg_packages="$cfg_packages boost jansson czmq zeromq lpg" cfg_packages="$cfg_packages boost jansson czmq zeromq"

View File

@@ -4,4 +4,4 @@ cfg_eth_ext_ip='10.0.10.93'
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'
cfg_packages="$cfg_packages boost jansson czmq zeromq lpg" cfg_packages="$cfg_packages boost jansson czmq zeromq"

View File

@@ -4,4 +4,4 @@ cfg_eth_ext_ip='10.0.10.103'
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'
cfg_packages="$cfg_packages boost jansson czmq zeromq lpg" cfg_packages="$cfg_packages boost jansson czmq zeromq"

View File

@@ -1,14 +1,13 @@
diff -Nru linux-3.13.1/arch/arm/boot/dts/Makefile linux-3.13.1.rasm/arch/arm/boot/dts/Makefile --- linux-4.4.66/arch/arm/boot/dts/Makefile 2017-09-25 13:07:10.353013618 +0100
--- linux-3.13.1/arch/arm/boot/dts/Makefile 2014-01-29 13:06:37.000000000 +0000 +++ linux-4.4.66.tsm/arch/arm/boot/dts/Makefile 2017-09-25 13:11:13.523693878 +0100
+++ linux-3.13.1.rasm/arch/arm/boot/dts/Makefile 2014-02-01 06:53:43.968486026 +0000 @@ -463,6 +463,7 @@
@@ -198,6 +198,7 @@ am335x-evm.dtb \
am335x-evmsk.dtb \ am335x-evmsk.dtb \
am335x-bone.dtb \
am335x-boneblack.dtb \
+ am335x-lctr-b2xx.dtb \
am335x-nano.dtb \ am335x-nano.dtb \
am335x-base0033.dtb \ + am335x-lctr-b2xx.dtb \
am3517-evm.dtb \ am335x-pepper.dtb \
am335x-lxm.dtb \
am335x-chiliboard.dtb \
diff -Nru linux-3.13.1/arch/arm/boot/dts/am335x-lctr-b2xx.dts linux-3.13.1.rasm/arch/arm/boot/dts/am335x-lctr-b2xx.dts diff -Nru linux-3.13.1/arch/arm/boot/dts/am335x-lctr-b2xx.dts linux-3.13.1.rasm/arch/arm/boot/dts/am335x-lctr-b2xx.dts
--- linux-3.13.1/arch/arm/boot/dts/am335x-lctr-b2xx.dts 1970-01-01 01:00:00.000000000 +0100 --- linux-3.13.1/arch/arm/boot/dts/am335x-lctr-b2xx.dts 1970-01-01 01:00:00.000000000 +0100
+++ linux-3.13.1.rasm/arch/arm/boot/dts/am335x-lctr-b2xx.dts 2014-02-01 06:51:48.273816483 +0000 +++ linux-3.13.1.rasm/arch/arm/boot/dts/am335x-lctr-b2xx.dts 2014-02-01 06:51:48.273816483 +0000

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

@@ -0,0 +1,4 @@
cfg_hostname='titan'
cfg_eth_ext_ip='10.0.20.150'
cfg_packages="$cfg_packages libjpeg-turbo v4l-utils uv4l libav"
cfg_modules="$cfg_modules ftdi_sio"

View File

@@ -0,0 +1,9 @@
cfg_hostname='x8-06-aux'
cfg_eth_ext_ip='10.0.20.109'
cfg_services1='lauv-storage-server'
cfg_packages="$cfg_packages opencv raspicam exiv2 libav uswitch nfs-utils"
cfg_modules="$cfg_modules ftdi_sio"
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lauv-aux.dtb'
cfg_ptpd_interface='eth0'
cfg_terminal='ttyAMA0'
cfg_lauv_storage_dir='/opt/lsts/dune/log'

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 #