Compare commits

..

74 Commits

Author SHA1 Message Date
Pedro Gonçalves a394b6a943 systems/lauv-atom/patches/linux: change version for 4.9. 2020-08-22 17:58:04 +01:00
Pedro Gonçalves 6e1efd4be8 rules/pciutils: update md5. 2020-08-22 17:57:01 +01:00
Pedro Gonçalves e2883ffbfb mkpackage: update lsts url for the new repo of packages. 2020-08-22 17:56:31 +01:00
Pedro Gonçalves 30fc9943b5 rules/bzip2: fix/update url. 2020-08-19 18:51:19 +01:00
Pedro Gonçalves b745ff2117 systems/lauv-atom: change default ip of aries-atom-testbed. 2020-08-19 09:58:17 +01:00
Pedro Gonçalves 5882d84881 mkpackage: fix url of lsts. 2020-08-06 15:54:04 +01:00
Pedro Gonçalves ed18cffe34 systems/lauv-atom: remove unnecessary config files of systems. 2020-07-31 13:01:38 +01:00
Pedro Gonçalves ccef280bb2 systems/lauv-atom/cfg: add linux config kernel file for 4.9.99. 2020-07-31 13:01:07 +01:00
Pedro Gonçalves 8c0018da52 systems/lauv-atom/cfg: remove config linux kernel of 4.4.66. 2020-07-31 13:00:31 +01:00
Pedro Gonçalves 09f7e47418 systems/lauv-atom/aries-atom-testbed: add config file for testbed cpu. 2020-07-31 13:00:00 +01:00
Pedro Gonçalves 49f4225950 rules/uuid: add package rule. 2020-07-31 12:59:21 +01:00
Pedro Gonçalves a2fe849981 rules/syslinux/host: fix host_install for the new version (6.04) 2020-07-31 12:58:56 +01:00
Pedro Gonçalves bf121450f9 rules/syslinux/default: fix host_install and target_install for the new version (6.04) 2020-07-31 12:58:29 +01:00
Pedro Gonçalves c338fcbf33 rules/syslinux/common: update URL package, version, and add update requires package. 2020-07-31 12:57:46 +01:00
Pedro Gonçalves bf13a75426 rules/rsync/default: update URL package. 2020-07-31 12:56:50 +01:00
Pedro Gonçalves 532219e93d rules/pciutils/default: update URL package. 2020-07-31 12:56:31 +01:00
Pedro Gonçalves 292d4e038a rules/ntp/default: update URL package. 2020-07-31 12:55:55 +01:00
Pedro Gonçalves ec58084c1a rules/ncurses/default: fix configure setup. 2020-07-31 12:54:40 +01:00
Pedro Gonçalves 4043649b7b rules/ncurses/common: update package version. 2020-07-31 12:54:11 +01:00
Pedro Gonçalves 2f2a324ae7 rules/mpc/host: update URL of package. 2020-07-31 12:53:43 +01:00
Pedro Gonçalves a5fb3c80c9 rules/linux/default: update version of package to 4.9.99 (LTS - 2023) 2020-07-31 12:53:13 +01:00
Pedro Gonçalves 889e874e46 rules/linux-headers/cross: update version of package to 4.9.99 (LTS - 2023). 2020-07-31 12:52:46 +01:00
Pedro Gonçalves c1e1eafdfd rules/htop/default: update version of package, fix configure setup. 2020-07-31 12:51:57 +01:00
Pedro Gonçalves 65c20669cc rules/glibc/common: update version of package. 2020-07-31 12:51:03 +01:00
Pedro Gonçalves 24b98ce638 rules/gcc/common: update version of package/gcc to 9.3. 2020-07-31 12:50:38 +01:00
Pedro Gonçalves b736d3158c rules/elfutils: create package rule. 2020-07-31 12:50:00 +01:00
Pedro Gonçalves 898cc939e4 rules/binutils/cross: change version of package to work with gcc9.3 and syslinux 6.04. 2020-07-31 12:49:34 +01:00
Pedro Gonçalves 3251a10ec5 mkpackage: change order of servers, LSTS -> upstream URL -> OMST. 2020-07-31 12:47:57 +01:00
Pedro Gonçalves 1f26d350a9 mkconfig: update glued tag version to 2020.07. 2020-07-31 12:45:45 +01:00
Pedro Gonçalves abe517027c docker/Makefile: fix bash style. 2020-07-31 12:45:09 +01:00
Pedro Gonçalves ca8575fcb3 docker/Dockerfile: remove unnecessary packages/commands. 2020-07-31 12:44:27 +01:00
Pedro Gonçalves 0b2847d8ae mpfr: update version ( for GCC 5.4 ). 2020-07-24 22:42:59 +01:00
Pedro Gonçalves cc1145aa5b mpc: update version ( for GCC 5.4 ). 2020-07-24 22:42:39 +01:00
Pedro Gonçalves 05a3da0739 libdc1394: disable examples. 2020-07-24 22:39:56 +01:00
Pedro Gonçalves 78e7b73377 binutils: update version ( for GCC 5.4 ). 2020-07-24 22:39:38 +01:00
Pedro Gonçalves 63f917dc2f gmp: update version ( for GCC 5.4 ). 2020-07-24 22:39:17 +01:00
Pedro Gonçalves 07464d6a51 gcc: update version for GCC 5.4.0 . 2020-07-24 22:39:02 +01:00
Pedro Gonçalves fb1809285e architectures/cortex-a8-hardfp: change flags name for GCC 5.4.0 . 2020-07-24 22:38:39 +01:00
Pedro Gonçalves b0de898293 architectures/arm-1176: change flags name for GCC 5.4.0 . 2020-07-24 22:38:22 +01:00
Pedro Gonçalves ec33e87794 architectures/arm926ej-s: change flags name for GCC 5.4.0 . 2020-07-24 22:38:04 +01:00
Pedro Gonçalves 65ee78c98f architectures/atom: change flags name for GCC 5.4.0 . 2020-07-24 22:37:48 +01:00
Pedro Gonçalves b3a527b34c architectures/atom64: change flags name for GCC 5.4.0 . 2020-07-24 22:36:59 +01:00
Pedro Gonçalves d4487d5225 architectures/cortex-a8: change flags name for GCC 5.4.0 . 2020-07-24 22:36:42 +01:00
Pedro Gonçalves d6e39ce3e3 architectures/cortex-a9-hardfp: change flags name for GCC 5.4.0 . 2020-07-24 22:36:19 +01:00
Pedro Gonçalves 674a712295 architectures/geode: change flags name for GCC 5.4.0 . 2020-07-24 22:35:59 +01:00
Pedro Gonçalves da9e5f24d9 architectures/i586: change flags name for GCC 5.4.0 . 2020-07-24 22:35:43 +01:00
Pedro Gonçalves 2d410b4746 architectures/i686: change flags name for GCC 5.4.0 . 2020-07-24 22:35:21 +01:00
Pedro Gonçalves 1592437a1e architectures/mips32r2: change flags name for GCC 5.4.0 . 2020-07-24 22:34:57 +01:00
Pedro Gonçalves 016b423659 architectures/xscale-iwmmxt: change flags name for GCC 5.4.0 . 2020-07-24 22:34:37 +01:00
Pedro Gonçalves dc50fd3024 architectures/xscale: change flags name for GCC 5.4.0 . 2020-07-24 22:33:53 +01:00
Pedro Gonçalves 193ec8a889 docker: update debian version to 9, add option clean and delete_img. 2020-07-24 22:04:26 +01:00
Tiago Marques 11ae07af25 systems/lauv-atom/cfg: Renamed config file to linux-4.4.66.cfg 2018-02-27 09:01:49 +00:00
Tiago Marques 622298d9ea systems/lauv-atom/cfg/linux-4.4.cfg: Fixed support for PPS. 2018-02-26 17:39:57 +00:00
Tiago Marques 8c4da1edb1 systems/lauv-atom/cfg/linux-4.4.cfg: Fixed kernel's version in header. 2018-02-26 17:29:07 +00:00
Tiago Marques b11f8e0356 gitignore: Ignore lauv-atom build folder. 2018-02-26 17:23:27 +00:00
Tiago Marques c59222722e Merge branch 'master' into feature/aries 2017-12-12 11:15:08 +00:00
Tiago Marques 37ad836dea rules/gcc/cross: Fixed bug for 64 bit systems, causing libraries to be searched in the wrong directory. 2017-08-30 13:49:41 +01:00
Tiago Marques 4d392d3b53 Merge branch 'feature/linux-update' into feature/aries 2017-08-29 16:56:14 +01:00
Tiago Marques 0dc3ebc1b7 systems/lauv-atom: Added lauv-arpao's testbed configuration file. 2017-08-29 15:38:06 +01:00
Tiago Marques 737475139f Merge branch 'feature/linux-update' into feature/aries 2017-08-28 16:56:39 +01:00
Pedro Gonçalves c72e40639f docker: update file to use gcc 5.4. 2017-08-28 14:36:27 +01:00
Pedro Gonçalves 5981014778 lctr-a9xx: rename rule profile to v3_14. 2017-08-28 14:36:27 +01:00
Pedro Gonçalves 18d4a3ef62 lctr-a9xx: change linux rule to linux/default_3.3 to maintain compatibility with older processors. 2017-08-28 14:36:27 +01:00
Pedro Gonçalves 6db16d2162 lctr-a9xx/patches/linux_4.4.66: add patch for omap3. 2017-08-28 14:36:27 +01:00
Pedro Gonçalves 2f68bd0990 lctr-a9xx: add cfg linux file for version 4.4.66. 2017-08-28 14:36:27 +01:00
Pedro Gonçalves 2bd76e6887 linux/default_3.3: add rule to maintain compatibility with older processors. 2017-08-28 14:36:27 +01:00
Pedro Gonçalves 448eaf0125 systems/lctr-b2xx/cfg: update kernel config file to 4.4.66. 2017-08-28 14:36:27 +01:00
Pedro Gonçalves 988a0e82d4 bridge-utils: update version to 1.6. 2017-08-28 14:36:27 +01:00
Pedro Gonçalves e33ee3ba0b bridge-utils/patches: update to version 1.6. 2017-08-28 14:36:27 +01:00
Pedro Gonçalves b04ac63e45 escc: update version to 1.0.71. 2017-08-28 14:36:27 +01:00
Pedro Gonçalves be2d8de7c6 linux-headers: update to version 4.4.66 2017-08-28 14:36:27 +01:00
Pedro Gonçalves e07541323e linux: update linux kernel to 4.4.66 2017-08-28 14:36:27 +01:00
Pedro Gonçalves 7c86a9ebdc lctr-a6xx/cfg: add patches for linux 4.4.66 2017-08-28 14:36:27 +01:00
Ricardo Martins e13c7873da systems: added preliminary support for Diamond Systems Aries SBC. 2017-08-25 10:48:32 +01:00
80 changed files with 8678 additions and 9725 deletions

2
.gitignore vendored
View File

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

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-cpu=arm1176jzf-s --with-tune=arm1176jzf-s --with-fpu=vfpv3 --with-float=softfp'
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_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-tune=arm926ej-s --with-float=soft'
cfg_target_gcc_configure_flags='--with-arch=armv5te --with-mtune=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-cpu=atom --with-tune=atom'
cfg_target_gcc_configure_flags='--with-arch=atom --with-mcpu=atom --with-mtune=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-cpu=x86-64 --with-tune=atom'
cfg_target_gcc_configure_flags='--with-mcpu=x86-64 --with-mtune=atom'
cfg_target_linux_kernel='arch/x86/boot/bzImage'
cfg_target_lib64='yes'

View File

@ -1,6 +0,0 @@
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-cpu=cortex-a8 --with-tune=cortex-a8 --with-fpu=vfpv3 --with-float=hard'
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_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-cpu=cortex-a8 --with-tune=cortex-a8 --with-fpu=vfpv3 --with-float=softfp'
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_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-cpu=cortex-a9 --with-tune=cortex-a9 --with-fpu=vfpv3 --with-float=hard'
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_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-cpu=geode --with-tune=geode'
cfg_target_gcc_configure_flags='--with-arch=geode --with-mcpu=geode --with-mtune=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-cpu=i586 --with-tune=i586'
cfg_target_gcc_configure_flags='--with-arch=i586 --with-mcpu=i586 --with-mtune=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='--with-cpu=i686'
cfg_target_glibc_configure_flags='--with-cpu=i686'
cfg_target_gcc_configure_flags='--mwith-cpu=i686'
cfg_target_glibc_configure_flags='--with-mcpu=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-tune=mips32r2 --with-float=soft'
cfg_target_gcc_configure_flags='--with-abi=32 --with-mtune=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-cpu=iwmmxt --with-tune=iwmmxt --with-float=soft'
cfg_target_gcc_configure_flags='--with-arch=iwmmxt --with-mcpu=iwmmxt --with-mtune=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-tune=xscale --with-float=soft'
cfg_target_gcc_configure_flags='--with-arch=armv5te --with-mtune=xscale --with-float=soft'

View File

@ -20,19 +20,31 @@
# Author: Ricardo Martins #
###########################################################################
FROM debian:8
FROM debian:9
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,12 +21,24 @@
###########################################################################
TAG := glued
VERSION := 2016.05.0
VERSION := 2020.07.24
VOLUME := $(CURDIR)/..
DNS := 8.8.8.8
DNS := 8.8.8.8
all:
docker build -t $(TAG):$(VERSION) .
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-2019 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2017 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-2019 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2017 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='2017.11'
cfg_glued_version='2020.07'
# Config: GLUED vendor.
cfg_glued_vendor='lsts'

View File

@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2017 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-2019 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2017 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 #
@ -71,22 +71,22 @@ download()
fi
fi
# First try LSTS mirror.
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.
omst_url="http://www.omst.pt/glued/$(basename $u)"
download_tool "$omst_url" "$cfg_dir_downloads/$file"
if [ $? -ne 0 ]; then
# On failure try upstream URL.
download_tool "$u" "$cfg_dir_downloads/$file"
if [ $? -ne 0 ]; then
echo "ERROR: download failed"
exit 1
fi
fi
fi
# First try LSTS mirror.
lsts_url="https://www.lsts.pt/glued/validPackages/$(basename $u)"
download_tool "$lsts_url" "$cfg_dir_downloads/$file"
if [ $? -ne 0 ]; then
# Then try OceanScan-MST mirror.
omst_url="http://www.omst.pt/glued/$(basename $u)"
download_tool "$omst_url" "$cfg_dir_downloads/$file"
if [ $? -ne 0 ]; then
# On failure try upstream URL.
download_tool "$u" "$cfg_dir_downloads/$file"
if [ $? -ne 0 ]; then
echo "ERROR: download failed"
exit 1
fi
fi
fi
md5="$(md5sum_tool "$cfg_dir_downloads/$file")"
if [ "$s" != "$md5" ]; then

View File

@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2017 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-2019 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2017 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-2019 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2017 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-2019 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2017 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.1'
'2.25'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'ac493a78de4fee895961d025b7905be4'
'd9f3303f802a5b6b0bb73a335ab89d66'
)
maintainer=\

View File

@ -37,8 +37,7 @@ configure()
{
cd "../boost_$vendor_version" &&
./bootstrap.sh \
--with-icu="$cfg_dir_toolchain_sysroot/usr" \
--with-libraries="regex,filesystem,system,thread"
--with-icu="$cfg_dir_toolchain_sysroot/usr"
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=\
(
"http://bzip.org/1.0.6/bzip2-$version.tar.gz"
"https://sourceforge.net/projects/bzip2/files/bzip2-$version.tar.gz"
)
md5=\

View File

@ -35,11 +35,6 @@ 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

@ -0,0 +1,42 @@
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

@ -1,37 +0,0 @@
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=\
(
'4.9.3'
'9.3.0'
)
url=\
(
"http://mirrors.kernel.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2"
"http://mirrors.kernel.org/gnu/gcc/gcc-$version/gcc-$version.tar.gz"
)
md5=\
(
'6f831b4d251872736e8e9cc09746f327'
'9b7e8f6cfad96114e726c752935af58a'
)
build_dir=$pkg_var

View File

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

View File

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

View File

@ -1,6 +1,6 @@
version=\
(
'2.0.2'
'2.2.0'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'7d354d904bad591a931ad57e99fea84a'
'0d816b6beed31edc75babcfbf863ffa8'
)
maintainer=\
@ -18,6 +18,11 @@ maintainer=\
'Jose Pinto <zepinto@lsts.pt>'
)
requires=\
(
'ncurses/default'
)
build()
{
$cmd_make
@ -26,7 +31,15 @@ build()
configure()
{
cd "../htop-$version"
./configure --disable-unicode --prefix="${cfg_dir_rootfs}"
./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"
}
target_install()

View File

@ -1,25 +0,0 @@
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,6 +19,7 @@ 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.4.66'
'4.9.99'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'5353de56bf4621a35afc4384c7e51f30'
'aecc1118040df0c18dbca9f1f163ef84'
)
maintainer=\

View File

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

View File

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

View File

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

View File

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

View File

@ -10,7 +10,10 @@ 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://gentoo.mirrors.ovh.net/gentoo-distfiles/distfiles/ntp-$version.tar.gz"
"ftp://mirror.ovh.net/gentoo-distfiles/distfiles/ntp-$version.tar.gz"
)
md5=\

View File

@ -63,11 +63,6 @@ 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=\
(
"ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/pciutils-$version.tar.gz"
"http://ftp.riken.jp/Linux/kernel.org/software/utils/pciutils/pciutils-$version.tar.gz"
)
md5=\

View File

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

View File

@ -1,16 +1,16 @@
version=\
(
'3.82'
'6.04'
)
url=\
(
"https://www.kernel.org/pub/linux/utils/boot/syslinux/3.xx/syslinux-$version.tar.bz2"
"https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/Testing/$version/syslinux-$version-pre1.tar.gz"
)
md5=\
(
'c9f4e73e385c86b3a8faf9b615a04836'
'fefbc39becb619339fc22c91ec7112ab'
)
maintainer=\
@ -22,4 +22,11 @@ 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 clean &&
$cmd_make &&
cp -d extlinux/extlinux ${cfg_dir_toolchain}/bin/extlinux
$cmd_make_single clean &&
$cmd_make_single CC="$cmd_target_cc" &&
cp -d bios/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 clean &&
$cmd_make CC="$cmd_target_cc" &&
$cmd_target_strip extlinux/extlinux -o $cfg_dir_rootfs/usr/sbin/extlinux &&
$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_mkdir $cfg_dir_rootfs/boot/extlinux &&
cp -d mbr/mbr.bin $cfg_dir_rootfs/boot/extlinux &&
cp -d bios/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 clean &&
$cmd_make &&
cp -d extlinux/extlinux ${cfg_dir_toolchain}/bin &&
$cmd_make_single clean &&
$cmd_make_single CC="$cmd_target_cc" &&
cp -d bios/extlinux/extlinux ${cfg_dir_toolchain}/bin &&
mkdir -p ${cfg_dir_toolchain}/boot &&
cp -d mbr/mbr.bin ${cfg_dir_toolchain}/boot/mbr.bin
cp -d bios/mbr/mbr.bin ${cfg_dir_toolchain}/boot/mbr.bin
}

10
rules/uuid/default.bash Normal file
View File

@ -0,0 +1,10 @@
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

@ -1,34 +0,0 @@
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

@ -0,0 +1,2 @@
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

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

View File

@ -0,0 +1,85 @@
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

@ -1,6 +0,0 @@
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

@ -1,3 +0,0 @@
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'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'

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'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'

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'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'

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'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'

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'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'