Compare commits
74 Commits
master
...
feature/ar
Author | SHA1 | Date | |
---|---|---|---|
|
a394b6a943 | ||
|
6e1efd4be8 | ||
|
e2883ffbfb | ||
|
30fc9943b5 | ||
|
b745ff2117 | ||
|
5882d84881 | ||
|
ed18cffe34 | ||
|
ccef280bb2 | ||
|
8c0018da52 | ||
|
09f7e47418 | ||
|
49f4225950 | ||
|
a2fe849981 | ||
|
bf121450f9 | ||
|
c338fcbf33 | ||
|
bf13a75426 | ||
|
532219e93d | ||
|
292d4e038a | ||
|
ec58084c1a | ||
|
4043649b7b | ||
|
2f2a324ae7 | ||
|
a5fb3c80c9 | ||
|
889e874e46 | ||
|
c1e1eafdfd | ||
|
65c20669cc | ||
|
24b98ce638 | ||
|
b736d3158c | ||
|
898cc939e4 | ||
|
3251a10ec5 | ||
|
1f26d350a9 | ||
|
abe517027c | ||
|
ca8575fcb3 | ||
|
0b2847d8ae | ||
|
cc1145aa5b | ||
|
05a3da0739 | ||
|
78e7b73377 | ||
|
63f917dc2f | ||
|
07464d6a51 | ||
|
fb1809285e | ||
|
b0de898293 | ||
|
ec33e87794 | ||
|
65ee78c98f | ||
|
b3a527b34c | ||
|
d4487d5225 | ||
|
d6e39ce3e3 | ||
|
674a712295 | ||
|
da9e5f24d9 | ||
|
2d410b4746 | ||
|
1592437a1e | ||
|
016b423659 | ||
|
dc50fd3024 | ||
|
193ec8a889 | ||
|
11ae07af25 | ||
|
622298d9ea | ||
|
8c4da1edb1 | ||
|
b11f8e0356 | ||
|
c59222722e | ||
|
37ad836dea | ||
|
4d392d3b53 | ||
|
0dc3ebc1b7 | ||
|
737475139f | ||
|
c72e40639f | ||
|
5981014778 | ||
|
18d4a3ef62 | ||
|
6db16d2162 | ||
|
2f68bd0990 | ||
|
2bd76e6887 | ||
|
448eaf0125 | ||
|
988a0e82d4 | ||
|
e33ee3ba0b | ||
|
b04ac63e45 | ||
|
be2d8de7c6 | ||
|
e07541323e | ||
|
7c86a9ebdc | ||
|
e13c7873da |
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,3 +11,4 @@
|
|||||||
/ntnu-b2xx
|
/ntnu-b2xx
|
||||||
/stamp9g20
|
/stamp9g20
|
||||||
/lctr-rpi
|
/lctr-rpi
|
||||||
|
/lauv-atom
|
@ -2,5 +2,5 @@ cfg_target_canonical="armv11-$cfg_glued_vendor-linux-gnueabi"
|
|||||||
cfg_target_linux='arm'
|
cfg_target_linux='arm'
|
||||||
cfg_target_uboot_arch='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_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'
|
cfg_target_ar_flags='elf32-littlearm'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
cfg_target_canonical="armv5te-$cfg_glued_vendor-linux-gnueabi"
|
cfg_target_canonical="armv5te-$cfg_glued_vendor-linux-gnueabi"
|
||||||
cfg_target_linux='arm'
|
cfg_target_linux='arm'
|
||||||
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mtune=arm926ej-s -mfloat-abi=soft'
|
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'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
cfg_target_canonical="atom-$cfg_glued_vendor-linux-gnu"
|
cfg_target_canonical="atom-$cfg_glued_vendor-linux-gnu"
|
||||||
cfg_target_linux='x86'
|
cfg_target_linux='x86'
|
||||||
cfg_target_linux_kernel='arch/x86/boot/bzImage'
|
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'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
cfg_target_canonical="atom64-$cfg_glued_vendor-linux-gnu"
|
cfg_target_canonical="atom64-$cfg_glued_vendor-linux-gnu"
|
||||||
cfg_target_linux='x86'
|
cfg_target_linux='x86'
|
||||||
cfg_target_gcc_flags='-O2 -pipe -march=atom -funit-at-a-time'
|
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_linux_kernel='arch/x86/boot/bzImage'
|
||||||
cfg_target_lib64='yes'
|
cfg_target_lib64='yes'
|
||||||
|
@ -2,5 +2,5 @@ cfg_target_canonical="armv7-$cfg_glued_vendor-linux-gnueabihf"
|
|||||||
cfg_target_linux='arm'
|
cfg_target_linux='arm'
|
||||||
cfg_target_uboot_arch='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_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'
|
cfg_target_ar_flags='elf32-littlearm'
|
||||||
|
@ -2,5 +2,5 @@ cfg_target_canonical="armv7-$cfg_glued_vendor-linux-gnueabi"
|
|||||||
cfg_target_linux='arm'
|
cfg_target_linux='arm'
|
||||||
cfg_target_uboot_arch='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_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'
|
cfg_target_ar_flags='elf32-littlearm'
|
||||||
|
@ -2,5 +2,5 @@ cfg_target_canonical="armv7-$cfg_glued_vendor-linux-gnueabihf"
|
|||||||
cfg_target_linux='arm'
|
cfg_target_linux='arm'
|
||||||
cfg_target_uboot_arch='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_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'
|
cfg_target_ar_flags='elf32-littlearm'
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
cfg_target_canonical="geode-$cfg_glued_vendor-linux-gnu"
|
cfg_target_canonical="geode-$cfg_glued_vendor-linux-gnu"
|
||||||
cfg_target_linux='x86'
|
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'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
cfg_target_canonical="i586-$cfg_glued_vendor-linux-gnu"
|
cfg_target_canonical="i586-$cfg_glued_vendor-linux-gnu"
|
||||||
cfg_target_linux='x86'
|
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_gcc_flags='-O2 -pipe -march=i586 -funit-at-a-time'
|
||||||
cfg_target_glibc_configure_flags='--with-cpu=i586'
|
cfg_target_glibc_configure_flags='--with-cpu=i586'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
cfg_target_canonical="i686-$cfg_glued_vendor-linux-gnu"
|
cfg_target_canonical="i686-$cfg_glued_vendor-linux-gnu"
|
||||||
cfg_target_linux='x86'
|
cfg_target_linux='x86'
|
||||||
cfg_target_gcc_flags='-O2 -pipe -march=i686 -funit-at-a-time'
|
cfg_target_gcc_flags='-O2 -pipe -march=i686 -funit-at-a-time'
|
||||||
cfg_target_gcc_configure_flags='--with-cpu=i686'
|
cfg_target_gcc_configure_flags='--mwith-cpu=i686'
|
||||||
cfg_target_glibc_configure_flags='--with-cpu=i686'
|
cfg_target_glibc_configure_flags='--with-mcpu=i686'
|
||||||
cfg_target_linux_kernel='arch/x86/boot/bzImage'
|
cfg_target_linux_kernel='arch/x86/boot/bzImage'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
cfg_target_canonical="mipsisa32r2-$cfg_glued_vendor-linux-gnu"
|
cfg_target_canonical="mipsisa32r2-$cfg_glued_vendor-linux-gnu"
|
||||||
cfg_target_linux='mips'
|
cfg_target_linux='mips'
|
||||||
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mabi=32 -mips32r2 -mtune=mips32r2 -msoft-float'
|
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'
|
cfg_target_glibc_configure_flags='--without-fp'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
cfg_target_canonical="armv5-$cfg_glued_vendor-linux-gnueabi"
|
cfg_target_canonical="armv5-$cfg_glued_vendor-linux-gnueabi"
|
||||||
cfg_target_linux='arm'
|
cfg_target_linux='arm'
|
||||||
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=iwmmxt -mtune=iwmmxt -mfloat-abi=soft'
|
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'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
cfg_target_canonical="armv5-$cfg_glued_vendor-linux-gnueabi"
|
cfg_target_canonical="armv5-$cfg_glued_vendor-linux-gnueabi"
|
||||||
cfg_target_linux='arm'
|
cfg_target_linux='arm'
|
||||||
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mtune=xscale -mfloat-abi=soft'
|
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'
|
||||||
|
@ -20,19 +20,31 @@
|
|||||||
# Author: Ricardo Martins #
|
# Author: Ricardo Martins #
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
FROM debian:8
|
FROM debian:9
|
||||||
|
|
||||||
MAINTAINER Ricardo Martins <rasm@oceanscan-mst.com>
|
MAINTAINER Ricardo Martins <rasm@oceanscan-mst.com>
|
||||||
|
MAINTAINER Pedro Gonçalves <pedro@lsts.pt>
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
# Update distro.
|
# 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 update -y
|
||||||
|
RUN apt-get install -y apt-utils
|
||||||
RUN apt-get dist-upgrade -y
|
RUN apt-get dist-upgrade -y
|
||||||
|
RUN apt-get install -y bash-completion
|
||||||
RUN apt-get install -y wget
|
RUN apt-get install -y wget
|
||||||
RUN apt-get install -y bzip2
|
RUN apt-get install -y bzip2
|
||||||
RUN apt-get install -y git
|
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 file
|
RUN apt-get install -y file
|
||||||
RUN apt-get install -y kmod
|
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
|
||||||
|
@ -21,11 +21,24 @@
|
|||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
TAG := glued
|
TAG := glued
|
||||||
VERSION := 2016.05.0
|
VERSION := 2020.07.24
|
||||||
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)
|
||||||
|
|
||||||
|
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
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
# Config: GLUED version.
|
# Config: GLUED version.
|
||||||
cfg_glued_version='2017.11'
|
cfg_glued_version='2020.07'
|
||||||
# Config: GLUED vendor.
|
# Config: GLUED vendor.
|
||||||
cfg_glued_vendor='lsts'
|
cfg_glued_vendor='lsts'
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ download()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# First try LSTS mirror.
|
# First try LSTS mirror.
|
||||||
lsts_url="https://lsts.pt/glued/$(basename $u)"
|
lsts_url="https://www.lsts.pt/glued/validPackages/$(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.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'2.25.1'
|
'2.25'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'ac493a78de4fee895961d025b7905be4'
|
'd9f3303f802a5b6b0bb73a335ab89d66'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
|
@ -5,7 +5,7 @@ version=\
|
|||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"http://bzip.org/1.0.6/bzip2-$version.tar.gz"
|
"https://sourceforge.net/projects/bzip2/files/bzip2-$version.tar.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
|
42
rules/elfutils/default.bash
Normal file
42
rules/elfutils/default.bash
Normal 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
|
||||||
|
}
|
@ -1,16 +1,16 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'4.9.3'
|
'9.3.0'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
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=\
|
md5=\
|
||||||
(
|
(
|
||||||
'6f831b4d251872736e8e9cc09746f327'
|
'9b7e8f6cfad96114e726c752935af58a'
|
||||||
)
|
)
|
||||||
|
|
||||||
build_dir=$pkg_var
|
build_dir=$pkg_var
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'2.22'
|
'2.26'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'e51e02bf552a0a1fbbdc948fb2f5e83c'
|
'102f637c3812f81111f48f2427611be1'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'5.0.4'
|
'6.1.2'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'50c3edcb7c9438e04377ee9a1a061b79'
|
'8ddbb26dc3bd4e2302984debba1406a5'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'2.0.2'
|
'2.2.0'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'7d354d904bad591a931ad57e99fea84a'
|
'0d816b6beed31edc75babcfbf863ffa8'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
@ -18,6 +18,11 @@ maintainer=\
|
|||||||
'Jose Pinto <zepinto@lsts.pt>'
|
'Jose Pinto <zepinto@lsts.pt>'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
requires=\
|
||||||
|
(
|
||||||
|
'ncurses/default'
|
||||||
|
)
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
$cmd_make
|
$cmd_make
|
||||||
@ -26,7 +31,15 @@ build()
|
|||||||
configure()
|
configure()
|
||||||
{
|
{
|
||||||
cd "../htop-$version"
|
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()
|
target_install()
|
||||||
|
@ -19,6 +19,7 @@ configure()
|
|||||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||||
--target="$cfg_target_canonical" \
|
--target="$cfg_target_canonical" \
|
||||||
--host="$cfg_target_canonical" \
|
--host="$cfg_target_canonical" \
|
||||||
|
--disable-examples \
|
||||||
--build="$cfg_host_canonical"
|
--build="$cfg_host_canonical"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'4.4.66'
|
'4.9.99'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'5353de56bf4621a35afc4384c7e51f30'
|
'aecc1118040df0c18dbca9f1f163ef84'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'4.4.66'
|
'4.9.99'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'5353de56bf4621a35afc4384c7e51f30'
|
'aecc1118040df0c18dbca9f1f163ef84'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
@ -23,6 +23,7 @@ requires=\
|
|||||||
'bc/host'
|
'bc/host'
|
||||||
'kmod/host'
|
'kmod/host'
|
||||||
'lz4/host'
|
'lz4/host'
|
||||||
|
# 'elfutils/default'
|
||||||
)
|
)
|
||||||
|
|
||||||
# This variable is updated by find_patches().
|
# This variable is updated by find_patches().
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
"0.9"
|
"1.0.2"
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"http://www.multiprecision.org/mpc/download/mpc-$version.tar.gz"
|
"https://ftp.gnu.org/gnu/mpc/mpc-$version.tar.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
"0d6acab8d214bd7d1fbbc593e83dd00d"
|
"68fadff3358fb3e7976c7a398a0af4c3"
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'3.1.3'
|
'3.1.5'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'5fdfa3cfa5c86514ee4a241a1affa138'
|
'b1d23a55588e3b2a13e3be66bc69fd8d'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
"5.9"
|
"6.2"
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
"8cb9c412e5f2d96bc6f459aa8c6282a1"
|
"e812da327b1c2214ac1aed440ea3ae8d"
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
|
@ -10,7 +10,10 @@ configure_common()
|
|||||||
--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-build-cc="$cmd_target_cc" \
|
||||||
|
--with-build-cpp="$cmd_target_cpp" \
|
||||||
--with-shared \
|
--with-shared \
|
||||||
|
--enable-ext-colors \
|
||||||
--enable-pc-files \
|
--enable-pc-files \
|
||||||
--without-progs \
|
--without-progs \
|
||||||
--without-tests \
|
--without-tests \
|
||||||
|
@ -5,7 +5,7 @@ version=\
|
|||||||
|
|
||||||
url=\
|
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=\
|
md5=\
|
||||||
|
@ -5,7 +5,7 @@ version=\
|
|||||||
|
|
||||||
url=\
|
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=\
|
md5=\
|
||||||
|
@ -5,12 +5,12 @@ version=\
|
|||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"http://www.samba.org/ftp/rsync/rsync-$version.tar.gz"
|
"https://github.com/WayneD/rsync/archive/v$version.tar.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'43bd6676f0b404326eee2d63be3cdcfe'
|
'e559dd27216db757f4b34d64b8bf789e'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'3.82'
|
'6.04'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
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=\
|
md5=\
|
||||||
(
|
(
|
||||||
'c9f4e73e385c86b3a8faf9b615a04836'
|
'fefbc39becb619339fc22c91ec7112ab'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
@ -22,4 +22,11 @@ requires=\
|
|||||||
(
|
(
|
||||||
'nasm/host'
|
'nasm/host'
|
||||||
'python_host/host'
|
'python_host/host'
|
||||||
|
'uuid/default'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
post_unpack()
|
||||||
|
{
|
||||||
|
cd ..
|
||||||
|
$cmd_cp syslinux-$version-pre1/* syslinux-$version/
|
||||||
|
}
|
||||||
|
@ -2,9 +2,9 @@ source $pkg_common
|
|||||||
|
|
||||||
host_install()
|
host_install()
|
||||||
{
|
{
|
||||||
$cmd_make clean &&
|
$cmd_make_single clean &&
|
||||||
$cmd_make &&
|
$cmd_make_single CC="$cmd_target_cc" &&
|
||||||
cp -d extlinux/extlinux ${cfg_dir_toolchain}/bin/extlinux
|
cp -d bios/extlinux/extlinux ${cfg_dir_toolchain}/bin/extlinux
|
||||||
}
|
}
|
||||||
|
|
||||||
target_install()
|
target_install()
|
||||||
@ -19,11 +19,11 @@ target_install()
|
|||||||
export cfg_kernel_boot_dev='/dev/sda1'
|
export cfg_kernel_boot_dev='/dev/sda1'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$cmd_make clean &&
|
$cmd_make_single clean &&
|
||||||
$cmd_make CC="$cmd_target_cc" &&
|
$cmd_make_single CC="$cmd_target_cc" &&
|
||||||
$cmd_target_strip extlinux/extlinux -o $cfg_dir_rootfs/usr/sbin/extlinux &&
|
$cmd_target_strip bios/extlinux/extlinux -o $cfg_dir_rootfs/usr/sbin/extlinux &&
|
||||||
$cmd_mkdir $cfg_dir_rootfs/boot/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) \
|
(echo $console ; cat "$pkg_dir"/extlinux.conf) \
|
||||||
| sed "s%\$cfg_kernel_extra_args%$cfg_kernel_extra_args%g" \
|
| sed "s%\$cfg_kernel_extra_args%$cfg_kernel_extra_args%g" \
|
||||||
| sed "s%\$cfg_kernel_boot_dev%$cfg_kernel_boot_dev%g" \
|
| sed "s%\$cfg_kernel_boot_dev%$cfg_kernel_boot_dev%g" \
|
||||||
|
@ -2,9 +2,9 @@ source $pkg_common
|
|||||||
|
|
||||||
host_install()
|
host_install()
|
||||||
{
|
{
|
||||||
$cmd_make clean &&
|
$cmd_make_single clean &&
|
||||||
$cmd_make &&
|
$cmd_make_single CC="$cmd_target_cc" &&
|
||||||
cp -d extlinux/extlinux ${cfg_dir_toolchain}/bin &&
|
cp -d bios/extlinux/extlinux ${cfg_dir_toolchain}/bin &&
|
||||||
mkdir -p ${cfg_dir_toolchain}/boot &&
|
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
10
rules/uuid/default.bash
Normal 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/
|
||||||
|
}
|
2
systems/lauv-atom/aries-atom-testbed.cfg
Normal file
2
systems/lauv-atom/aries-atom-testbed.cfg
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
cfg_hostname='aries-atom-testbed'
|
||||||
|
cfg_eth_ext_ip='10.0.200.66'
|
2847
systems/lauv-atom/cfg/linux-4.9.99.cfg
Normal file
2847
systems/lauv-atom/cfg/linux-4.9.99.cfg
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,2 +0,0 @@
|
|||||||
cfg_hostname='lauv-atom-testbed'
|
|
||||||
cfg_eth_ext_ip='10.0.200.92'
|
|
85
systems/lauv-atom/patches/linux/4.9/00-aim104-com8.patch
Normal file
85
systems/lauv-atom/patches/linux/4.9/00-aim104-com8.patch
Normal 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
|
5548
systems/lauv-atom/patches/linux/4.9/00-aries-dsdt.patch
Normal file
5548
systems/lauv-atom/patches/linux/4.9/00-aries-dsdt.patch
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user