Compare commits

..

30 Commits

Author SHA1 Message Date
Diogo Cordeiro
c33ae26742 systems: added lctr-a72xx to test cortex-a72 architecture. 2020-09-16 16:20:18 +01:00
Diogo Cordeiro
2a82e92e04 architectures/cortex-a72: remove redundant conflicting flags 2020-09-16 16:15:41 +01:00
Diogo Cordeiro
cc98513b14 architectures: added cortex-a72 architecture. 2020-09-11 01:12:38 +01:00
Jose Pinto
8418458d6e ZeroTierOne: Added package rule. 2019-08-17 10:18:44 +01:00
Jose Pinto
78a8e0099d Kplex: added package rule. 2019-08-17 10:18:25 +01:00
Pedro Gonçalves
9824634051
Merge pull request #40 from LSTS/feature/exiftool
Feature/exiftool
2019-04-05 15:21:08 +01:00
Pedro Gonçalves
a21f7a4835 lctr-rpi: config: add exiftool and libusb to the main config. 2019-04-05 15:20:04 +01:00
Tiago Sá Marques
ca8a965f1f
Merge pull request #38 from krisgry/feature/copy-curl
Copy libcurl_* to /lib/, for cross-compilation of DUNE
2019-04-04 12:21:54 +00:00
Tiago Sá Marques
623bac0c38
Merge pull request #37 from krisgry/feature/copylibopenCV
Copy libopencv_* to /lib/, for cross-compilation of DUNE
2019-04-04 12:20:03 +00:00
mariacosta
c66054cafd lctr-rpi: test-rpi-eth0: Added libusb package. 2019-02-27 18:29:23 +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
Kristoffer Gryte
4e0d51b548 rules/curl: symlink libcurl to /lib/ for cross-compilation of DUNE 2019-02-06 14:40:03 +01:00
Kristoffer Gryte
20a8911a04 rules/opencv: symlink libopencv_* to /lib/, for cross-compilation of DUNE 2019-02-06 14:29:43 +01: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
80 changed files with 9725 additions and 8678 deletions

2
.gitignore vendored
View File

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

View File

@ -2,5 +2,5 @@ cfg_target_canonical="armv11-$cfg_glued_vendor-linux-gnueabi"
cfg_target_linux='arm'
cfg_target_uboot_arch='arm'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfloat-abi=softfp -mfpu=vfpv3'
cfg_target_gcc_configure_flags='--with-arch=armv7-a --with-mcpu=arm1176jzf-s --with-mtune=arm1176jzf-s --with-fpu=vfpv3 --with-float=softfp'
cfg_target_gcc_configure_flags='--with-arch=armv7-a --with-cpu=arm1176jzf-s --with-tune=arm1176jzf-s --with-fpu=vfpv3 --with-float=softfp'
cfg_target_ar_flags='elf32-littlearm'

View File

@ -1,4 +1,4 @@
cfg_target_canonical="armv5te-$cfg_glued_vendor-linux-gnueabi"
cfg_target_linux='arm'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mtune=arm926ej-s -mfloat-abi=soft'
cfg_target_gcc_configure_flags='--with-arch=armv5te --with-mtune=arm926ej-s --with-float=soft'
cfg_target_gcc_configure_flags='--with-arch=armv5te --with-tune=arm926ej-s --with-float=soft'

View File

@ -1,4 +1,4 @@
cfg_target_canonical="atom-$cfg_glued_vendor-linux-gnu"
cfg_target_linux='x86'
cfg_target_linux_kernel='arch/x86/boot/bzImage'
cfg_target_gcc_configure_flags='--with-arch=atom --with-mcpu=atom --with-mtune=atom'
cfg_target_gcc_configure_flags='--with-arch=atom --with-cpu=atom --with-tune=atom'

View File

@ -1,6 +1,6 @@
cfg_target_canonical="atom64-$cfg_glued_vendor-linux-gnu"
cfg_target_linux='x86'
cfg_target_gcc_flags='-O2 -pipe -march=atom -funit-at-a-time'
cfg_target_gcc_configure_flags='--with-mcpu=x86-64 --with-mtune=atom'
cfg_target_gcc_configure_flags='--with-cpu=x86-64 --with-tune=atom'
cfg_target_linux_kernel='arch/x86/boot/bzImage'
cfg_target_lib64='yes'

View File

@ -0,0 +1,6 @@
cfg_target_canonical="armv11-$cfg_glued_vendor-linux-gnueabi"
cfg_target_linux='arm'
cfg_target_uboot_arch='arm'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=cortex-a72 -mtune=cortex-a72 -mfloat-abi=hard -mfpu=neon-fp-armv8'
cfg_target_gcc_configure_flags='--with-cpu=cortex-a72 --with-tune=cortex-a72 --with-fpu=neon-fp-armv8 --with-float=hard'
cfg_target_ar_flags='aarch64-elf'

View File

@ -2,5 +2,5 @@ cfg_target_canonical="armv7-$cfg_glued_vendor-linux-gnueabihf"
cfg_target_linux='arm'
cfg_target_uboot_arch='arm'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=hard -mfpu=vfpv3'
cfg_target_gcc_configure_flags='--with-arch=armv7-a --with-mcpu=cortex-a8 --with-mtune=cortex-a8 --with-fpu=vfpv3 --with-float=hard'
cfg_target_gcc_configure_flags='--with-arch=armv7-a --with-cpu=cortex-a8 --with-tune=cortex-a8 --with-fpu=vfpv3 --with-float=hard'
cfg_target_ar_flags='elf32-littlearm'

View File

@ -2,5 +2,5 @@ cfg_target_canonical="armv7-$cfg_glued_vendor-linux-gnueabi"
cfg_target_linux='arm'
cfg_target_uboot_arch='arm'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=vfpv3'
cfg_target_gcc_configure_flags='--with-arch=armv7-a --with-mcpu=cortex-a8 --with-mtune=cortex-a8 --with-fpu=vfpv3 --with-float=softfp'
cfg_target_gcc_configure_flags='--with-arch=armv7-a --with-cpu=cortex-a8 --with-tune=cortex-a8 --with-fpu=vfpv3 --with-float=softfp'
cfg_target_ar_flags='elf32-littlearm'

View File

@ -2,5 +2,5 @@ cfg_target_canonical="armv7-$cfg_glued_vendor-linux-gnueabihf"
cfg_target_linux='arm'
cfg_target_uboot_arch='arm'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=cortex-a9 -mtune=cortex-a9 -mfloat-abi=hard -mfpu=vfpv3'
cfg_target_gcc_configure_flags='--with-arch=armv7-a --with-mcpu=cortex-a9 --with-mtune=cortex-a9 --with-fpu=vfpv3 --with-float=hard'
cfg_target_gcc_configure_flags='--with-arch=armv7-a --with-cpu=cortex-a9 --with-tune=cortex-a9 --with-fpu=vfpv3 --with-float=hard'
cfg_target_ar_flags='elf32-littlearm'

View File

@ -1,3 +1,3 @@
cfg_target_canonical="geode-$cfg_glued_vendor-linux-gnu"
cfg_target_linux='x86'
cfg_target_gcc_configure_flags='--with-arch=geode --with-mcpu=geode --with-mtune=geode'
cfg_target_gcc_configure_flags='--with-arch=geode --with-cpu=geode --with-tune=geode'

View File

@ -1,5 +1,5 @@
cfg_target_canonical="i586-$cfg_glued_vendor-linux-gnu"
cfg_target_linux='x86'
cfg_target_gcc_configure_flags='--with-arch=i586 --with-mcpu=i586 --with-mtune=i586'
cfg_target_gcc_configure_flags='--with-arch=i586 --with-cpu=i586 --with-tune=i586'
cfg_target_gcc_flags='-O2 -pipe -march=i586 -funit-at-a-time'
cfg_target_glibc_configure_flags='--with-cpu=i586'

View File

@ -1,6 +1,6 @@
cfg_target_canonical="i686-$cfg_glued_vendor-linux-gnu"
cfg_target_linux='x86'
cfg_target_gcc_flags='-O2 -pipe -march=i686 -funit-at-a-time'
cfg_target_gcc_configure_flags='--mwith-cpu=i686'
cfg_target_glibc_configure_flags='--with-mcpu=i686'
cfg_target_gcc_configure_flags='--with-cpu=i686'
cfg_target_glibc_configure_flags='--with-cpu=i686'
cfg_target_linux_kernel='arch/x86/boot/bzImage'

View File

@ -1,5 +1,5 @@
cfg_target_canonical="mipsisa32r2-$cfg_glued_vendor-linux-gnu"
cfg_target_linux='mips'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mabi=32 -mips32r2 -mtune=mips32r2 -msoft-float'
cfg_target_gcc_configure_flags='--with-abi=32 --with-mtune=mips32r2 --with-float=soft'
cfg_target_gcc_configure_flags='--with-abi=32 --with-tune=mips32r2 --with-float=soft'
cfg_target_glibc_configure_flags='--without-fp'

View File

@ -1,4 +1,4 @@
cfg_target_canonical="armv5-$cfg_glued_vendor-linux-gnueabi"
cfg_target_linux='arm'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=iwmmxt -mtune=iwmmxt -mfloat-abi=soft'
cfg_target_gcc_configure_flags='--with-arch=iwmmxt --with-mcpu=iwmmxt --with-mtune=iwmmxt --with-float=soft'
cfg_target_gcc_configure_flags='--with-arch=iwmmxt --with-cpu=iwmmxt --with-tune=iwmmxt --with-float=soft'

View File

@ -1,4 +1,4 @@
cfg_target_canonical="armv5-$cfg_glued_vendor-linux-gnueabi"
cfg_target_linux='arm'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mtune=xscale -mfloat-abi=soft'
cfg_target_gcc_configure_flags='--with-arch=armv5te --with-mtune=xscale --with-float=soft'
cfg_target_gcc_configure_flags='--with-arch=armv5te --with-tune=xscale --with-float=soft'

View File

@ -20,31 +20,19 @@
# Author: Ricardo Martins #
###########################################################################
FROM debian:9
FROM debian:8
MAINTAINER Ricardo Martins <rasm@oceanscan-mst.com>
MAINTAINER Pedro Gonçalves <pedro@lsts.pt>
ENV DEBIAN_FRONTEND noninteractive
# Update distro.
RUN echo "deb http://ftp.us.debian.org/debian testing non-free contrib" >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y gnupg2
RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5
RUN apt-get install -y apt-utils
RUN apt-get install -y gpgv
RUN apt-get update -y
RUN apt-get install -y apt-utils
RUN apt-get dist-upgrade -y
RUN apt-get install -y bash-completion
RUN apt-get install -y wget
RUN apt-get install -y bzip2
RUN apt-get install -y git
RUN apt-get install -y g++-multilib
RUN apt-get install -y cmake
RUN apt-get install -y file
RUN apt-get install -y kmod
RUN apt-get install -y vim
RUN apt-get install -y nasm
RUN apt-get install -y build-essential
RUN apt-get install -y make

View File

@ -21,7 +21,7 @@
###########################################################################
TAG := glued
VERSION := 2020.07.24
VERSION := 2016.05.0
VOLUME := $(CURDIR)/..
DNS := 8.8.8.8
@ -30,15 +30,3 @@ all:
shell:
docker run -w $(VOLUME) --dns=$(DNS) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)
clean:
@echo "* Stopping docker service..."
@sudo systemctl stop docker
@echo "* Cleaning docker service..."
@sudo rm -rf /var/lib/docker
@echo "* Starting docker service..."
@sudo systemctl start docker
@echo "* Done."
delete_img:
@sudo docker system prune -a

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-2019 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-2019 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 #
@ -23,7 +23,7 @@
###########################################################################
# Config: GLUED version.
cfg_glued_version='2020.07'
cfg_glued_version='2017.11'
# Config: GLUED vendor.
cfg_glued_vendor='lsts'

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-2019 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-2019 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 #
@ -72,7 +72,7 @@ download()
fi
# First try LSTS mirror.
lsts_url="https://www.lsts.pt/glued/validPackages/$(basename $u)"
lsts_url="https://www.lsts.pt/glued/$(basename $u)"
download_tool "$lsts_url" "$cfg_dir_downloads/$file"
if [ $? -ne 0 ]; then
# Then try OceanScan-MST mirror.

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-2019 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-2019 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-2019 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-2019 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=\
(
'2.25'
'2.25.1'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'd9f3303f802a5b6b0bb73a335ab89d66'
'ac493a78de4fee895961d025b7905be4'
)
maintainer=\

View File

@ -37,7 +37,8 @@ configure()
{
cd "../boost_$vendor_version" &&
./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)
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

@ -5,7 +5,7 @@ version=\
url=\
(
"https://sourceforge.net/projects/bzip2/files/bzip2-$version.tar.gz"
"http://bzip.org/1.0.6/bzip2-$version.tar.gz"
)
md5=\

View File

@ -35,6 +35,11 @@ build()
host_install()
{
$cmd_make install
# make available for cross compilation
for f in "${cfg_dir_toolchain_sysroot}/usr/lib/"libcurl*so*; do
echo "Doing $f"
ln -s -f "$f" "${cfg_dir_toolchain}/lib"
done
}
target_install()

View File

@ -1,42 +0,0 @@
version=\
(
'0.180'
)
url=\
(
"ftp://sourceware.org/pub/elfutils/$version/elfutils-$version.tar.bz2"
)
md5=\
(
'23feddb1b3859b03ffdbaf53ba6bd09b'
)
requires=\
(
'zlib/host'
'zlib/default'
)
configure()
{
MAKEINFO='/bin/true' \
"./configure" --disable-debuginfod \
--build="$cfg_host_canonical" \
--target="$cmd_target_prefix" \
--host="$cfg_host_canonical" \
--prefix="$cfg_dir_toolchain" \
CC="$cmd_target_cc" \
CXX="$cmd_target_cxx"
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}

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

@ -1,16 +1,16 @@
version=\
(
'9.3.0'
'4.9.3'
)
url=\
(
"http://mirrors.kernel.org/gnu/gcc/gcc-$version/gcc-$version.tar.gz"
"http://mirrors.kernel.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2"
)
md5=\
(
'9b7e8f6cfad96114e726c752935af58a'
'6f831b4d251872736e8e9cc09746f327'
)
build_dir=$pkg_var

View File

@ -1,6 +1,6 @@
version=\
(
'2.26'
'2.22'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'102f637c3812f81111f48f2427611be1'
'e51e02bf552a0a1fbbdc948fb2f5e83c'
)
maintainer=\

View File

@ -1,6 +1,6 @@
version=\
(
'6.1.2'
'5.0.4'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'8ddbb26dc3bd4e2302984debba1406a5'
'50c3edcb7c9438e04377ee9a1a061b79'
)
maintainer=\

View File

@ -1,6 +1,6 @@
version=\
(
'2.2.0'
'2.0.2'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'0d816b6beed31edc75babcfbf863ffa8'
'7d354d904bad591a931ad57e99fea84a'
)
maintainer=\
@ -18,11 +18,6 @@ maintainer=\
'Jose Pinto <zepinto@lsts.pt>'
)
requires=\
(
'ncurses/default'
)
build()
{
$cmd_make
@ -31,15 +26,7 @@ build()
configure()
{
cd "../htop-$version"
./configure --disable-unicode \
--disable-dependency-tracking \
--build="$cfg_host_canonical" \
--host="$cfg_host_canonical" \
--prefix="$cfg_dir_rootfs" \
HTOP_NCURSESW_CONFIG_SCRIPT="$cfg_dir_toolchain_sysroot/usr/bin/ncursesw6-config" \
HTOP_NCURSES_CONFIG_SCRIPT="$cfg_dir_toolchain_sysroot/usr/bin/ncurses6-config" \
CC="$cmd_target_cc" \
CXX="$cmd_target_cxx"
./configure --disable-unicode --prefix="${cfg_dir_rootfs}"
}
target_install()

25
rules/kplex/default.bash Normal file
View File

@ -0,0 +1,25 @@
version=\
(
'1.4'
)
url=\
(
"https://github.com/stripydog/kplex/archive/v$version.tar.gz"
)
md5=\
(
'df198384d2d7dee4b802136f4f9e9d44'
)
build()
{
cd ../kplex-$version && $cmd_make VERBOSE=1 CC="$cmd_target_cc"
}
target_install()
{
$cmd_cp ../kplex-$version/kplex "$cfg_dir_rootfs/usr/bin/kplex"
}

View File

@ -19,7 +19,6 @@ configure()
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--disable-examples \
--build="$cfg_host_canonical"
}

View File

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

View File

@ -1,6 +1,6 @@
version=\
(
'4.9.99'
'4.4.66'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'aecc1118040df0c18dbca9f1f163ef84'
'5353de56bf4621a35afc4384c7e51f30'
)
maintainer=\
@ -23,7 +23,6 @@ requires=\
'bc/host'
'kmod/host'
'lz4/host'
# 'elfutils/default'
)
# This variable is updated by find_patches().

View File

@ -1,16 +1,16 @@
version=\
(
"1.0.2"
"0.9"
)
url=\
(
"https://ftp.gnu.org/gnu/mpc/mpc-$version.tar.gz"
"http://www.multiprecision.org/mpc/download/mpc-$version.tar.gz"
)
md5=\
(
"68fadff3358fb3e7976c7a398a0af4c3"
"0d6acab8d214bd7d1fbbc593e83dd00d"
)
maintainer=\

View File

@ -1,6 +1,6 @@
version=\
(
'3.1.5'
'3.1.3'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'b1d23a55588e3b2a13e3be66bc69fd8d'
'5fdfa3cfa5c86514ee4a241a1affa138'
)
maintainer=\

View File

@ -1,6 +1,6 @@
version=\
(
"6.2"
"5.9"
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
"e812da327b1c2214ac1aed440ea3ae8d"
"8cb9c412e5f2d96bc6f459aa8c6282a1"
)
maintainer=\

View File

@ -10,10 +10,7 @@ configure_common()
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--with-build-cc="$cmd_target_cc" \
--with-build-cpp="$cmd_target_cpp" \
--with-shared \
--enable-ext-colors \
--enable-pc-files \
--without-progs \
--without-tests \

View File

@ -5,7 +5,7 @@ version=\
url=\
(
"ftp://mirror.ovh.net/gentoo-distfiles/distfiles/ntp-$version.tar.gz"
"ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/distfiles/ntp-$version.tar.gz"
)
md5=\

View File

@ -63,6 +63,11 @@ host_install()
{
cd ${pkg_build_dir}/../build &&
$cmd_make install
# make available for cross compilation
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libopencv*so*; do
ln -s -f "$f" "$cfg_dir_toolchain/lib"
done
}
target_install()

View File

@ -5,7 +5,7 @@ version=\
url=\
(
"http://ftp.riken.jp/Linux/kernel.org/software/utils/pciutils/pciutils-$version.tar.gz"
"ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/pciutils-$version.tar.gz"
)
md5=\

View File

@ -5,12 +5,12 @@ version=\
url=\
(
"https://github.com/WayneD/rsync/archive/v$version.tar.gz"
"http://www.samba.org/ftp/rsync/rsync-$version.tar.gz"
)
md5=\
(
'e559dd27216db757f4b34d64b8bf789e'
'43bd6676f0b404326eee2d63be3cdcfe'
)
maintainer=\

View File

@ -1,16 +1,16 @@
version=\
(
'6.04'
'3.82'
)
url=\
(
"https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/Testing/$version/syslinux-$version-pre1.tar.gz"
"https://www.kernel.org/pub/linux/utils/boot/syslinux/3.xx/syslinux-$version.tar.bz2"
)
md5=\
(
'fefbc39becb619339fc22c91ec7112ab'
'c9f4e73e385c86b3a8faf9b615a04836'
)
maintainer=\
@ -22,11 +22,4 @@ requires=\
(
'nasm/host'
'python_host/host'
'uuid/default'
)
post_unpack()
{
cd ..
$cmd_cp syslinux-$version-pre1/* syslinux-$version/
}

View File

@ -2,9 +2,9 @@ source $pkg_common
host_install()
{
$cmd_make_single clean &&
$cmd_make_single CC="$cmd_target_cc" &&
cp -d bios/extlinux/extlinux ${cfg_dir_toolchain}/bin/extlinux
$cmd_make clean &&
$cmd_make &&
cp -d extlinux/extlinux ${cfg_dir_toolchain}/bin/extlinux
}
target_install()
@ -19,11 +19,11 @@ target_install()
export cfg_kernel_boot_dev='/dev/sda1'
fi
$cmd_make_single clean &&
$cmd_make_single CC="$cmd_target_cc" &&
$cmd_target_strip bios/extlinux/extlinux -o $cfg_dir_rootfs/usr/sbin/extlinux &&
$cmd_make clean &&
$cmd_make CC="$cmd_target_cc" &&
$cmd_target_strip extlinux/extlinux -o $cfg_dir_rootfs/usr/sbin/extlinux &&
$cmd_mkdir $cfg_dir_rootfs/boot/extlinux &&
cp -d bios/mbr/mbr.bin $cfg_dir_rootfs/boot/extlinux &&
cp -d mbr/mbr.bin $cfg_dir_rootfs/boot/extlinux &&
(echo $console ; cat "$pkg_dir"/extlinux.conf) \
| sed "s%\$cfg_kernel_extra_args%$cfg_kernel_extra_args%g" \
| sed "s%\$cfg_kernel_boot_dev%$cfg_kernel_boot_dev%g" \

View File

@ -2,9 +2,9 @@ source $pkg_common
host_install()
{
$cmd_make_single clean &&
$cmd_make_single CC="$cmd_target_cc" &&
cp -d bios/extlinux/extlinux ${cfg_dir_toolchain}/bin &&
$cmd_make clean &&
$cmd_make &&
cp -d extlinux/extlinux ${cfg_dir_toolchain}/bin &&
mkdir -p ${cfg_dir_toolchain}/boot &&
cp -d bios/mbr/mbr.bin ${cfg_dir_toolchain}/boot/mbr.bin
cp -d mbr/mbr.bin ${cfg_dir_toolchain}/boot/mbr.bin
}

View File

@ -1,10 +0,0 @@
maintainer=\
(
'Pedro Gonçalves <pedro@lsts.pt>'
)
host_install()
{
cp -rv $cfg_dir_toolchain/include/uuid $cfg_dir_toolchain_sysroot/usr/include/
$cmd_cp $cfg_dir_toolchain/lib/libuuid* $cfg_dir_toolchain_sysroot/usr/lib/
}

View File

@ -0,0 +1,34 @@
version=\
(
'1.4.2'
)
url=\
(
"https://github.com/zerotier/ZeroTierOne/archive/$version.tar.gz"
)
md5=\
(
'c173f8b61bcdb23844a2669ff0d7bdf0'
)
build()
{
cd ../ZeroTierOne-$version && $cmd_make \
VERBOSE=1 \
CC="$cmd_target_cc" \
CXX="$cmd_target_cxx" \
LD="$cmd_target_ld" \
STRIP="$cmd_target_strip" \
CC_FLAGS="$cfg_target_gcc_flags"
}
target_install()
{
$cmd_cp "../ZeroTierOne-$version/zerotier-one" "$cfg_dir_rootfs/usr/bin/zerotier-one"
ln -sf "$cfg_dir_rootfs/usr/bin/zerotier-one" "$cfg_dir_rootfs/usr/bin/zerotier-cli"
ln -sf "$cfg_dir_rootfs/usr/bin/zerotier-one" "$cfg_dir_rootfs/usr/bin/zerotier-idtool"
}

View File

@ -1,2 +0,0 @@
cfg_hostname='aries-atom-testbed'
cfg_eth_ext_ip='10.0.200.66'

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,2 @@
cfg_hostname='lauv-atom-testbed'
cfg_eth_ext_ip='10.0.200.92'

View File

@ -1,85 +0,0 @@
diff -Nru a/drivers/tty/serial/8250/8250_aim104_com8.c b/drivers/tty/serial/8250/8250_aim104_com8.c
--- a/drivers/tty/serial/8250/8250_aim104_com8.c 1970-01-01 01:00:00.000000000 +0100
+++ b/drivers/tty/serial/8250/8250_aim104_com8.c 2012-05-31 13:13:13.794585528 +0100
@@ -0,0 +1,51 @@
+#include <linux/module.h>
+#include <linux/init.h>
+#include <linux/serial_8250.h>
+
+#define PORT(_base,_irq) \
+ { \
+ .iobase = _base, \
+ .irq = _irq, \
+ .uartclk = 1843200, \
+ .iotype = UPIO_PORT, \
+ .flags = UPF_BOOT_AUTOCONF | UPF_BUGGY_UART, \
+ }
+
+static struct plat_serial8250_port aim104_data[] = {
+ PORT(0x100, 10),
+ PORT(0x108, 10),
+ PORT(0x110, 10),
+ PORT(0x118, 10),
+ PORT(0x120, 10),
+ PORT(0x128, 10),
+ PORT(0x130, 10),
+ PORT(0x138, 10),
+ PORT(0x300, 6),
+ PORT(0x308, 6),
+ PORT(0x310, 6),
+ PORT(0x318, 6),
+ PORT(0x320, 6),
+ PORT(0x328, 6),
+ PORT(0x330, 6),
+ PORT(0x338, 6),
+ { },
+};
+
+static struct platform_device exar_device = {
+ .name = "serial8250",
+ .id = PLAT8250_DEV_PLATFORM,
+ .dev = {
+ .platform_data = aim104_data,
+ },
+};
+
+static int __init exar_init(void)
+{
+ return platform_device_register(&exar_device);
+}
+
+module_init(exar_init);
+
+MODULE_AUTHOR("Ricardo Martins");
+MODULE_DESCRIPTION("8250 serial probe module for Eurotech AIM104-COM8");
+MODULE_LICENSE("GPL");
diff -Nru a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
--- a/drivers/tty/serial/8250/Kconfig 2012-05-21 19:42:51.000000000 +0100
+++ b/drivers/tty/serial/8250/Kconfig 2012-05-31 13:14:45.942587436 +0100
@@ -202,6 +202,15 @@
To compile this driver as a module, choose M here: the module
will be called 8250_exar_st16c554.
+config SERIAL_8250_AIM104_COM8
+ tristate "Support Eurotech AIM104-COM8 Dual Quad UART"
+ depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
+ help
+ Eurotech AIM104-COM8 Dual Quad UART.
+
+ To compile this driver as a module, choose M here: the module
+ will be called 8250_aim104_com8.
+
config SERIAL_8250_HUB6
tristate "Support Hub6 cards"
depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
diff -Nru a/drivers/tty/serial/8250/Makefile b/drivers/tty/serial/8250/Makefile
--- a/drivers/tty/serial/8250/Makefile 2012-05-21 19:42:51.000000000 +0100
+++ b/drivers/tty/serial/8250/Makefile 2012-05-31 13:15:15.366347016 +0100
@@ -14,6 +14,7 @@
obj-$(CONFIG_SERIAL_8250_ACCENT) += 8250_accent.o
obj-$(CONFIG_SERIAL_8250_BOCA) += 8250_boca.o
obj-$(CONFIG_SERIAL_8250_EXAR_ST16C554) += 8250_exar_st16c554.o
+obj-$(CONFIG_SERIAL_8250_AIM104_COM8) += 8250_aim104_com8.o
obj-$(CONFIG_SERIAL_8250_HUB6) += 8250_hub6.o
obj-$(CONFIG_SERIAL_8250_MCA) += 8250_mca.o
obj-$(CONFIG_SERIAL_8250_FSL) += 8250_fsl.o

File diff suppressed because it is too large Load Diff

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_services1=''
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_services1=''
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_services1=''
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_services1=''
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_services1=''
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,2 @@
cfg_hostname='buv-petinga-1'
cfg_eth_ext_ip='10.0.10.170'

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,51 @@
# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details
kernel=uboot.bin
device_tree_address=0x02000000
# enable i2c
dtparam=i2c_arm=on
dtparam=spi=on
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

File diff suppressed because it is too large Load Diff

19
systems/lctr-a72xx/config Normal file
View File

@ -0,0 +1,19 @@
cfg_architecture='cortex-a72'
cfg_storage='data0:ext4:/opt'
cfg_services0='dropbear network storage upgrade syslog ptpd'
cfg_services1=''
cfg_services2='dune'
cfg_modules=''
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware bison binutils openssl linux/rpi exiftool libusb'
cfg_target_linux_kernel='arch/arm/boot/zImage'
cfg_ptpd_interface='eth0'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_terminal='tty1'
cfg_partitions=\
(
rpi-boot BOOT0 512B 32MiB
root root0 32MiB 544MiB
data data0 544MiB -1
)

View File

@ -0,0 +1,3 @@
cfg_hostname="lctr-a72xx-testbed"
cfg_eth_ext_ip="10.0.200.18"
cfg_kernel_boot_dev='/dev/mmcblk0p1'

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

@ -3,7 +3,7 @@ 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_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi exiftool libusb'
cfg_target_linux_kernel='arch/arm/boot/zImage'
cfg_ptpd_interface='eth0'
cfg_eth_ext_mk='255.255.0.0'

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 libusb'
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
###########################################################################
# 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) #
###########################################################################
# 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-2019 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 #