Compare commits
101 Commits
feature/me
...
cortex-a72
Author | SHA1 | Date | |
---|---|---|---|
|
2c67b5490e | ||
|
88dd2cf9f1 | ||
|
727baa9236 | ||
|
cc98513b14 | ||
|
8418458d6e | ||
|
78a8e0099d | ||
|
9824634051 | ||
|
a21f7a4835 | ||
|
ca8a965f1f | ||
|
623bac0c38 | ||
|
c66054cafd | ||
|
c425981fa4 | ||
|
b69cfb9682 | ||
|
568f2abbbf | ||
|
0dd5539b48 | ||
|
d1872860fa | ||
|
4cf1db0317 | ||
|
00255e4608 | ||
|
72a786508e | ||
|
8bda2a4551 | ||
|
4e0d51b548 | ||
|
20a8911a04 | ||
|
7542b861c3 | ||
|
580816dde8 | ||
|
4c8324abc3 | ||
|
4316b4c9f7 | ||
|
9015c36df9 | ||
|
3e002e3ec5 | ||
|
b15293ee66 | ||
|
e2da8b7586 | ||
|
0cf9ba8b9c | ||
|
5967c0b13f | ||
|
459c14e7f4 | ||
|
d2a0d5208c | ||
|
644b98c753 | ||
|
fcad38b6d7 | ||
|
853e7ea553 | ||
|
b0633cd82c | ||
|
7e8e9cbad0 | ||
|
19855db2da | ||
|
a8a131e19c | ||
|
bbbd691fb3 | ||
|
200dfc2205 | ||
|
1a95420340 | ||
|
aec36f560b | ||
|
13b3b18b5d | ||
|
87e70a6615 | ||
|
5919324f1b | ||
|
020e2c7fe9 | ||
|
b4674e5cb6 | ||
|
1c2f480dbd | ||
|
63ce5fa404 | ||
|
8097d2679b | ||
|
d352a68acc | ||
|
81052b54a6 | ||
|
b28a6d787e | ||
|
347ef94fd4 | ||
|
eacd69fe0f | ||
|
d1adbb7b9c | ||
|
c8e3e6fc59 | ||
|
a911af2fa0 | ||
|
fb7aa49ab0 | ||
|
ee477076c8 | ||
|
8faf53ef3e | ||
|
aa786393e6 | ||
|
592571c75a | ||
|
d87b79cecd | ||
|
8f5aa75fae | ||
|
2601d6a4a4 | ||
|
770821bbcd | ||
|
6bcbaced95 | ||
|
6607a06504 | ||
|
a4f6e5c9d8 | ||
|
e034305031 | ||
|
07219a7e82 | ||
|
4b13bb96d6 | ||
|
6f0b948b98 | ||
|
277501513a | ||
|
40b48c2b35 | ||
|
1069e42b8b | ||
|
88718f7a36 | ||
|
88ca152faa | ||
|
970bddfa6e | ||
|
a564932f4f | ||
|
de5fb6e33d | ||
|
51f08c2d3d | ||
|
79aa224ed3 | ||
|
49fb0d28cd | ||
|
438cfa26eb | ||
|
792d11ca1c | ||
|
115cfa3727 | ||
|
1369cb7f34 | ||
|
e12f3dc414 | ||
|
52880f1754 | ||
|
f6f03a67dd | ||
|
7f2247ae3b | ||
|
84bbaf4bca | ||
|
996c2c6fa0 | ||
|
0ec6de7ea4 | ||
|
e5bfb87131 | ||
|
0eeb5362b9 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -11,3 +11,4 @@
|
|||||||
/ntnu-b2xx
|
/ntnu-b2xx
|
||||||
/stamp9g20
|
/stamp9g20
|
||||||
/lctr-rpi
|
/lctr-rpi
|
||||||
|
build.bash
|
||||||
|
4
.zcache/DEBS_avail
Normal file
4
.zcache/DEBS_avail
Normal file
File diff suppressed because one or more lines are too long
4
.zcache/DEBS_installed
Normal file
4
.zcache/DEBS_installed
Normal file
File diff suppressed because one or more lines are too long
6
architectures/cortex-a72.cfg
Normal file
6
architectures/cortex-a72.cfg
Normal 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'
|
@@ -35,3 +35,4 @@ RUN apt-get install -y git
|
|||||||
RUN apt-get install -y g++-multilib
|
RUN apt-get install -y g++-multilib
|
||||||
RUN apt-get install -y cmake
|
RUN apt-get install -y cmake
|
||||||
RUN apt-get install -y file
|
RUN apt-get install -y file
|
||||||
|
RUN apt-get install -y kmod
|
||||||
|
@@ -23,9 +23,10 @@
|
|||||||
TAG := glued
|
TAG := glued
|
||||||
VERSION := 2016.05.0
|
VERSION := 2016.05.0
|
||||||
VOLUME := $(CURDIR)/..
|
VOLUME := $(CURDIR)/..
|
||||||
|
DNS := 8.8.8.8
|
||||||
|
|
||||||
all:
|
all:
|
||||||
docker build -t $(TAG):$(VERSION) .
|
docker build -t $(TAG):$(VERSION) .
|
||||||
|
|
||||||
shell:
|
shell:
|
||||||
docker run -w $(VOLUME) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)
|
docker run -w $(VOLUME) --dns=$(DNS) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
###########################################################################
|
###########################################################################
|
||||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# This program is free software; you can redistribute it and/or modify #
|
# This program is free software; you can redistribute it and/or modify #
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# This program is free software; you can redistribute it and/or modify #
|
# This program is free software; you can redistribute it and/or modify #
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
# Config: GLUED version.
|
# Config: GLUED version.
|
||||||
cfg_glued_version='2016.05'
|
cfg_glued_version='2017.11'
|
||||||
# Config: GLUED vendor.
|
# Config: GLUED vendor.
|
||||||
cfg_glued_vendor='lsts'
|
cfg_glued_vendor='lsts'
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# This program is free software; you can redistribute it and/or modify #
|
# This program is free software; you can redistribute it and/or modify #
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# This program is free software; you can redistribute it and/or modify #
|
# This program is free software; you can redistribute it and/or modify #
|
||||||
@@ -72,7 +72,7 @@ download()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# First try LSTS mirror.
|
# First try LSTS mirror.
|
||||||
lsts_url="http://lsts.pt/glued/$(basename $u)"
|
lsts_url="https://www.lsts.pt/glued/$(basename $u)"
|
||||||
download_tool "$lsts_url" "$cfg_dir_downloads/$file"
|
download_tool "$lsts_url" "$cfg_dir_downloads/$file"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
# Then try OceanScan-MST mirror.
|
# Then try OceanScan-MST mirror.
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# This program is free software; you can redistribute it and/or modify #
|
# This program is free software; you can redistribute it and/or modify #
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# This program is free software; you can redistribute it and/or modify #
|
# This program is free software; you can redistribute it and/or modify #
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# This program is free software; you can redistribute it and/or modify #
|
# This program is free software; you can redistribute it and/or modify #
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||||
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
|
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
|
||||||
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# This program is free software; you can redistribute it and/or modify #
|
# This program is free software; you can redistribute it and/or modify #
|
||||||
|
@@ -1,16 +1,16 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'2.25.1'
|
'2.35'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"http://mirrors.kernel.org/gnu/binutils/binutils-$version.tar.bz2"
|
"http://mirrors.kernel.org/gnu/binutils/binutils-$version.tar.xz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'ac493a78de4fee895961d025b7905be4'
|
'fc8d55e2f6096de8ff8171173b6f5087'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
|
43
rules/binutils/default.bash
Normal file
43
rules/binutils/default.bash
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
version=\
|
||||||
|
(
|
||||||
|
'2.35'
|
||||||
|
)
|
||||||
|
|
||||||
|
url=\
|
||||||
|
(
|
||||||
|
"http://mirrors.kernel.org/gnu/binutils/binutils-$version.tar.xz"
|
||||||
|
)
|
||||||
|
|
||||||
|
md5=\
|
||||||
|
(
|
||||||
|
'fc8d55e2f6096de8ff8171173b6f5087'
|
||||||
|
)
|
||||||
|
|
||||||
|
maintainer=\
|
||||||
|
(
|
||||||
|
'Ricardo Martins <rasm@fe.up.pt>'
|
||||||
|
)
|
||||||
|
|
||||||
|
build_dir=$pkg_var
|
||||||
|
|
||||||
|
configure()
|
||||||
|
{
|
||||||
|
"../binutils-$version/configure" \
|
||||||
|
--prefix="$cfg_dir_toolchain" \
|
||||||
|
--target="$cfg_target_canonical" \
|
||||||
|
--host="$cfg_host_canonical" \
|
||||||
|
--build="$cfg_host_canonical" \
|
||||||
|
--with-sysroot="$cfg_dir_toolchain_sysroot" \
|
||||||
|
--disable-multilib \
|
||||||
|
--disable-nls
|
||||||
|
}
|
||||||
|
|
||||||
|
build()
|
||||||
|
{
|
||||||
|
$cmd_make
|
||||||
|
}
|
||||||
|
|
||||||
|
host_install()
|
||||||
|
{
|
||||||
|
$cmd_make install-strip
|
||||||
|
}
|
37
rules/bison/default.bash
Normal file
37
rules/bison/default.bash
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
version=\
|
||||||
|
(
|
||||||
|
'2.5.1'
|
||||||
|
)
|
||||||
|
|
||||||
|
url=\
|
||||||
|
(
|
||||||
|
"http://ftp.gnu.org/gnu/bison/bison-$version.tar.gz"
|
||||||
|
)
|
||||||
|
|
||||||
|
md5=\
|
||||||
|
(
|
||||||
|
'8fedf916f1aa2c4a31441d8f8bbc603c'
|
||||||
|
)
|
||||||
|
|
||||||
|
maintainer=\
|
||||||
|
(
|
||||||
|
'Ricardo Martins <rasm@fe.up.pt>'
|
||||||
|
)
|
||||||
|
|
||||||
|
configure()
|
||||||
|
{
|
||||||
|
./configure \
|
||||||
|
--prefix="$cfg_dir_toolchain" \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static
|
||||||
|
}
|
||||||
|
|
||||||
|
build()
|
||||||
|
{
|
||||||
|
$cmd_make
|
||||||
|
}
|
||||||
|
|
||||||
|
host_install()
|
||||||
|
{
|
||||||
|
$cmd_make install
|
||||||
|
}
|
@@ -37,7 +37,8 @@ configure()
|
|||||||
{
|
{
|
||||||
cd "../boost_$vendor_version" &&
|
cd "../boost_$vendor_version" &&
|
||||||
./bootstrap.sh \
|
./bootstrap.sh \
|
||||||
--with-icu="$cfg_dir_toolchain_sysroot/usr"
|
--with-icu="$cfg_dir_toolchain_sysroot/usr" \
|
||||||
|
--with-libraries="regex,filesystem,system,thread"
|
||||||
|
|
||||||
GXX_VER=$(${cmd_target_cxx} -dumpversion)
|
GXX_VER=$(${cmd_target_cxx} -dumpversion)
|
||||||
echo "using gcc : ${GXX_VER} : ${cmd_target_cxx} : <cxxflags>\"-pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ${cfg_target_gcc_flags} \" <linkflags>\"\" ;" > user-config.jam
|
echo "using gcc : ${GXX_VER} : ${cmd_target_cxx} : <cxxflags>\"-pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ${cfg_target_gcc_flags} \" <linkflags>\"\" ;" > user-config.jam
|
||||||
|
@@ -1,16 +1,16 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'1.5'
|
'1.6'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$version.tar.gz"
|
"http://www.kernel.org/pub/linux/utils/net/bridge-utils/bridge-utils-$version.tar.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'ec7b381160b340648dede58c31bb2238'
|
'f369e90e85e4bb46baa26a7b9d66b578'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
|
@@ -35,6 +35,11 @@ build()
|
|||||||
host_install()
|
host_install()
|
||||||
{
|
{
|
||||||
$cmd_make 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()
|
target_install()
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'1.0.7'
|
'1.0.71'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'4e18a516249256e2dad4d79ae56c913d'
|
'075c9256fe20cf6ce867dc2b1c974ebe'
|
||||||
)
|
)
|
||||||
|
|
||||||
if [ -d "$cfg_dir_builds/linux/linux-"* ]; then
|
if [ -d "$cfg_dir_builds/linux/linux-"* ]; then
|
||||||
|
37
rules/exiftool/default.bash
Normal file
37
rules/exiftool/default.bash
Normal 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/
|
||||||
|
}
|
||||||
|
|
@@ -1,16 +1,16 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'4.9.3'
|
'10.2.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.xz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'6f831b4d251872736e8e9cc09746f327'
|
'e9fd9b1789155ad09bcf3ae747596b50'
|
||||||
)
|
)
|
||||||
|
|
||||||
build_dir=$pkg_var
|
build_dir=$pkg_var
|
||||||
|
@@ -49,10 +49,15 @@ host_install()
|
|||||||
|
|
||||||
target_install()
|
target_install()
|
||||||
{
|
{
|
||||||
$cmd_mkdir \
|
libdir=lib
|
||||||
"$cfg_dir_rootfs/usr/lib" &&
|
if [ -d "$cfg_dir_toolchain/$cfg_target_canonical/lib64" ]; then
|
||||||
|
libdir=lib64
|
||||||
|
fi
|
||||||
|
|
||||||
for f in "$cfg_dir_toolchain/$cfg_target_canonical/lib/"{libgcc_s,libstdc++}.so*; do
|
$cmd_mkdir \
|
||||||
|
"$cfg_dir_rootfs/usr/$libdir" &&
|
||||||
|
|
||||||
|
for f in "$cfg_dir_toolchain/$cfg_target_canonical/$libdir/"{libgcc_s,libstdc++}.so*; do
|
||||||
base="$(basename $f)"
|
base="$(basename $f)"
|
||||||
|
|
||||||
if [ $(echo "$base" | grep '\.py' 2> /dev/null) ]; then
|
if [ $(echo "$base" | grep '\.py' 2> /dev/null) ]; then
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'7.8.2'
|
'7.10.1'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -10,5 +10,5 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'a80cf252ed2e775d4e4533341bbf2459'
|
'39e654460c9cdd80200a29ac020cfe11'
|
||||||
)
|
)
|
||||||
|
25
rules/kplex/default.bash
Normal file
25
rules/kplex/default.bash
Normal 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"
|
||||||
|
}
|
||||||
|
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'0.2.5'
|
'1.2.6'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'8cd41a5ef5a9b50d0fb6abb98af15368'
|
'b25f9cc18bfad50f7c446c77f4ae00bb'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
|
@@ -1,16 +1,16 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'3.14.63'
|
'5.8.7'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz"
|
"https://www.kernel.org/pub/linux/kernel/v5.x/linux-$version.tar.xz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'6cf8a6b23849f47f511e0e46cfdb6392'
|
'5353de56bf4621a35afc4384c7e51f30'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
|
@@ -1,16 +1,16 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'3.14.63'
|
'5.4'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz"
|
"https://www.kernel.org/pub/linux/kernel/v5.x/linux-$version.tar.xz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'6cf8a6b23849f47f511e0e46cfdb6392'
|
'ce9b2d974d27408a61c53a30d3f98fb9'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
@@ -128,14 +128,12 @@ build()
|
|||||||
$cmd_make \
|
$cmd_make \
|
||||||
CROSS_COMPILE=$cfg_target_canonical- \
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
ARCH=$cfg_target_linux \
|
ARCH=$cfg_target_linux \
|
||||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
|
||||||
modules || return 1
|
modules || return 1
|
||||||
|
|
||||||
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
|
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
|
||||||
$cmd_make \
|
$cmd_make \
|
||||||
CROSS_COMPILE=$cfg_target_canonical- \
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
ARCH=$cfg_target_linux \
|
ARCH=$cfg_target_linux \
|
||||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
|
||||||
uImage || return 1
|
uImage || return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -144,7 +142,6 @@ build()
|
|||||||
$cmd_make \
|
$cmd_make \
|
||||||
CROSS_COMPILE=$cfg_target_canonical- \
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
ARCH=$cfg_target_linux \
|
ARCH=$cfg_target_linux \
|
||||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
|
||||||
zImage || return 1
|
zImage || return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -153,7 +150,6 @@ build()
|
|||||||
$cmd_make \
|
$cmd_make \
|
||||||
CROSS_COMPILE=$cfg_target_canonical- \
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
ARCH=$cfg_target_linux \
|
ARCH=$cfg_target_linux \
|
||||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
|
||||||
dtbs || return 1
|
dtbs || return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -198,7 +194,6 @@ target_install()
|
|||||||
ARCH="$cfg_target_linux" \
|
ARCH="$cfg_target_linux" \
|
||||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||||
KBUILD_VERBOSE=1 \
|
KBUILD_VERBOSE=1 \
|
||||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
|
||||||
modules_install
|
modules_install
|
||||||
|
|
||||||
$cmd_make \
|
$cmd_make \
|
||||||
@@ -206,6 +201,5 @@ target_install()
|
|||||||
ARCH="$cfg_target_linux" \
|
ARCH="$cfg_target_linux" \
|
||||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||||
KBUILD_VERBOSE=1 \
|
KBUILD_VERBOSE=1 \
|
||||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
|
||||||
firmware_install
|
firmware_install
|
||||||
}
|
}
|
||||||
|
@@ -2,19 +2,19 @@
|
|||||||
|
|
||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'4.4_2017-01-27'
|
'5.4'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"http://lsts.pt/glued/rpi-linux-$version.zip"
|
"http://archive.ubuntu.com/ubuntu/pool/universe/l/linux-raspi2/linux-raspi2_$version.0.orig.tar.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'f31d48a9d2c93509b35e750be489b44c'
|
'0707e4b2cbaf1428055d6615be04559e'
|
||||||
)
|
)
|
||||||
|
|
||||||
build_dir="rpi-linux-rpi-linux-$version"
|
build_dir="linux-$version"
|
||||||
|
|
||||||
find_patches
|
find_patches
|
||||||
|
@@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'3.14.64-rt67'
|
'4.4.66-rt79'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$(linux_mmp_version).tar.xz"
|
"https://www.kernel.org/pub/linux/kernel/v4.x/linux-$(linux_mmp_version).tar.xz"
|
||||||
"https://www.kernel.org/pub/linux/kernel/projects/rt/$(linux_mm_version)/patch-$version.patch.gz"
|
"https://www.kernel.org/pub/linux/kernel/projects/rt/$(linux_mm_version)/patch-$version.patch.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
206
rules/linux/v3_14.bash
Normal file
206
rules/linux/v3_14.bash
Normal file
@@ -0,0 +1,206 @@
|
|||||||
|
version=\
|
||||||
|
(
|
||||||
|
'3.14.63'
|
||||||
|
)
|
||||||
|
|
||||||
|
url=\
|
||||||
|
(
|
||||||
|
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz"
|
||||||
|
)
|
||||||
|
|
||||||
|
md5=\
|
||||||
|
(
|
||||||
|
'6cf8a6b23849f47f511e0e46cfdb6392'
|
||||||
|
)
|
||||||
|
|
||||||
|
maintainer=\
|
||||||
|
(
|
||||||
|
'Ricardo Martins <rasm@fe.up.pt>'
|
||||||
|
)
|
||||||
|
|
||||||
|
requires=\
|
||||||
|
(
|
||||||
|
'bc/host'
|
||||||
|
'kmod/host'
|
||||||
|
'lz4/host'
|
||||||
|
)
|
||||||
|
|
||||||
|
# This variable is updated by find_patches().
|
||||||
|
patches=()
|
||||||
|
|
||||||
|
# Major/Minor version.
|
||||||
|
linux_mm_version()
|
||||||
|
{
|
||||||
|
echo "$version" | cut -f1-2 -d.
|
||||||
|
}
|
||||||
|
|
||||||
|
# Major/Minor/Patch version.
|
||||||
|
linux_mmp_version()
|
||||||
|
{
|
||||||
|
echo "$version" | cut -f1 -d-
|
||||||
|
}
|
||||||
|
|
||||||
|
find_patches()
|
||||||
|
{
|
||||||
|
patches=(\
|
||||||
|
$(ls -1 \
|
||||||
|
"$pkg_dir/patches/$version/"*.patch \
|
||||||
|
"$pkg_dir/patches/$(linux_mmp_version)/"*.patch \
|
||||||
|
"$pkg_dir/patches/$(linux_mm_version)/"*.patch \
|
||||||
|
"$cfg_dir_system/patches/linux/$version/"*.patch \
|
||||||
|
"$cfg_dir_system/patches/linux/$(linux_mmp_version)/"*.patch \
|
||||||
|
"$cfg_dir_system/patches/linux/$(linux_mm_version)/"*.patch \
|
||||||
|
2> /dev/null | awk '!a[$0]++')
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
find_patches
|
||||||
|
|
||||||
|
# Get configuration file.
|
||||||
|
linux_cfg_file()
|
||||||
|
{
|
||||||
|
for f in "$version" "$(linux_mmp_version)" "$(linux_mm_version)"; do
|
||||||
|
f="$cfg_dir_system/cfg/linux-$f.cfg"
|
||||||
|
if [ -f "$f" ]; then
|
||||||
|
echo "$f"
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Candidate kernel configuration file '$f' doesn't exist." 1>&2
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "ERROR: failed to find a valid kernel configuration file." 1>&2
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
post_unpack()
|
||||||
|
{
|
||||||
|
cp -r ../linux-3.14.63/* ../linux_3.3-3.14.63
|
||||||
|
n=0; while [ -n "${patches[$n]}" ]; do
|
||||||
|
patch="${patches[$n]}"
|
||||||
|
echo "* Applying $patch..."
|
||||||
|
(ucat "$patch" | patch -p1) || return 1
|
||||||
|
let n++
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ -d "$cfg_dir_toolchain/firmware" ]; then
|
||||||
|
tar -C "$cfg_dir_toolchain/firmware" -c -v -f - . | tar -C firmware -x -v -f -
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
refresh()
|
||||||
|
{
|
||||||
|
for rule in configure build target_install; do
|
||||||
|
if [ "$(linux_cfg_file)" -nt "$cfg_dir_builds/linux/$pkg_var/.$rule" ]; then
|
||||||
|
rm "$cfg_dir_builds/linux/$pkg_var/.$rule"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
configure()
|
||||||
|
{
|
||||||
|
$cmd_make \
|
||||||
|
ARCH=${cfg_target_linux} \
|
||||||
|
mrproper || return 1
|
||||||
|
|
||||||
|
cfg="$(linux_cfg_file)"
|
||||||
|
[ -n "$cfg" ] || return 1
|
||||||
|
$cmd_cp "$cfg" .config || return 1
|
||||||
|
|
||||||
|
if [ -f "$cfg_dir_system/files/initramfs_init.sh" ]; then
|
||||||
|
$cmd_mkdir initramfs &&
|
||||||
|
$cmd_cp "$pkg_dir/files/initramfs.conf" . &&
|
||||||
|
$cmd_cp "$cfg_dir_system/files/initramfs_init.sh" initramfs/init.sh &&
|
||||||
|
$cmd_cp "$cfg_dir_rootfs/bin/busybox" initramfs/busybox
|
||||||
|
fi
|
||||||
|
|
||||||
|
yes '' | $cmd_make \
|
||||||
|
CROSS_COMPILE=${cfg_target_canonical}- \
|
||||||
|
ARCH=${cfg_target_linux} \
|
||||||
|
oldconfig
|
||||||
|
}
|
||||||
|
|
||||||
|
build()
|
||||||
|
{
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
|
ARCH=$cfg_target_linux || return 1
|
||||||
|
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
|
ARCH=$cfg_target_linux \
|
||||||
|
modules || return 1
|
||||||
|
|
||||||
|
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
|
ARCH=$cfg_target_linux \
|
||||||
|
uImage || return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Compressed image.
|
||||||
|
if [ "$(basename $cfg_target_linux_kernel)" = 'zImage' ]; then
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
|
ARCH=$cfg_target_linux \
|
||||||
|
zImage || return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Device tree blob.
|
||||||
|
if [ -n "$cfg_target_linux_dtb" ]; then
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
|
ARCH=$cfg_target_linux \
|
||||||
|
dtbs || return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -n "${cfg_target_linux_size}" ]; then
|
||||||
|
dd if="$cfg_target_linux_kernel" of="${cfg_target_linux_kernel}.padded" \
|
||||||
|
ibs="${cfg_target_linux_size}" conv=sync &&
|
||||||
|
mv "${cfg_target_linux_kernel}.padded" "${cfg_target_linux_kernel}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
target_install()
|
||||||
|
{
|
||||||
|
if [ -n "$(file "$cfg_target_linux_kernel" | grep ELF)" ]; then
|
||||||
|
strip="$(echo $cfg_dir_toolchain/bin/*-strip)"
|
||||||
|
$strip -s -R .comment "$cfg_target_linux_kernel"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Kernel image.
|
||||||
|
if [ -n "$cfg_target_linux_kernel" ]; then
|
||||||
|
cp -v "$cfg_target_linux_kernel" "$cfg_dir_rootfs/boot/kernel"
|
||||||
|
else
|
||||||
|
echo "ERROR: failed to find kernel image at '$cfg_target_linux_kernel'"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Device tree blobs.
|
||||||
|
dts="arch/$cfg_target_linux/boot/dts"
|
||||||
|
if [ -d "$dts" ]; then
|
||||||
|
$cmd_mkdir "$cfg_dir_rootfs/boot" &&
|
||||||
|
cp -v "$dts/"*.dtb "$cfg_dir_rootfs/boot"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Device tree overlays.
|
||||||
|
overlays_dir="arch/$cfg_target_linux/boot/dts/overlays"
|
||||||
|
if [ -d "$overlays_dir" ]; then
|
||||||
|
$cmd_mkdir "$cfg_dir_rootfs/boot/overlays" || return 1
|
||||||
|
$cmd_cp "$overlays_dir"/*.dtbo "$cfg_dir_rootfs/boot/overlays" || return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE="$cfg_target_canonical-" \
|
||||||
|
ARCH="$cfg_target_linux" \
|
||||||
|
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||||
|
KBUILD_VERBOSE=1 \
|
||||||
|
modules_install
|
||||||
|
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE="$cfg_target_canonical-" \
|
||||||
|
ARCH="$cfg_target_linux" \
|
||||||
|
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||||
|
KBUILD_VERBOSE=1 \
|
||||||
|
firmware_install
|
||||||
|
}
|
@@ -10,7 +10,13 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
"beb0f3b8be474868b074dca66ced5b48"
|
"d71e2f282372a5cb1021d9e457a3d53f"
|
||||||
|
)
|
||||||
|
|
||||||
|
requires=\
|
||||||
|
(
|
||||||
|
'bison/host'
|
||||||
|
'flex/host'
|
||||||
)
|
)
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
@@ -20,7 +26,10 @@ configure()
|
|||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
$cmd_make
|
$cmd_make \
|
||||||
|
BISON="$cfg_dir_toolchain/bin/bison" \
|
||||||
|
FLEX="$cfg_dir_toolchain/bin/flex"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
target_install()
|
target_install()
|
||||||
|
@@ -63,6 +63,11 @@ host_install()
|
|||||||
{
|
{
|
||||||
cd ${pkg_build_dir}/../build &&
|
cd ${pkg_build_dir}/../build &&
|
||||||
$cmd_make install
|
$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()
|
target_install()
|
||||||
|
@@ -30,6 +30,7 @@ configure()
|
|||||||
--target="$cfg_target_canonical" \
|
--target="$cfg_target_canonical" \
|
||||||
--host="$cfg_target_canonical" \
|
--host="$cfg_target_canonical" \
|
||||||
--build="$cfg_host_canonical" \
|
--build="$cfg_host_canonical" \
|
||||||
|
--with-privsep-path=$cfg_dir_rootfs/var/empty \
|
||||||
--disable-strip
|
--disable-strip
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'1.0.2e'
|
'1.1.1f'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'5262bfa25b60ed9de9f28d5d52d77fc5'
|
'3f486f2f4435ef14b81814dbbc7b48bb'
|
||||||
)
|
)
|
||||||
|
|
||||||
requires=\
|
requires=\
|
||||||
@@ -23,6 +23,7 @@ configure()
|
|||||||
./Configure linux-generic32 --cross-compile-prefix="$cfg_target_canonical-" \
|
./Configure linux-generic32 --cross-compile-prefix="$cfg_target_canonical-" \
|
||||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||||
--openssldir="$cfg_dir_toolchain_sysroot/usr" \
|
--openssldir="$cfg_dir_toolchain_sysroot/usr" \
|
||||||
|
--libdir=lib \
|
||||||
shared
|
shared
|
||||||
}
|
}
|
||||||
|
|
||||||
|
46
rules/perf/default.bash
Normal file
46
rules/perf/default.bash
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
version=\
|
||||||
|
(
|
||||||
|
"3.19"
|
||||||
|
)
|
||||||
|
|
||||||
|
url=\
|
||||||
|
(
|
||||||
|
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz"
|
||||||
|
)
|
||||||
|
|
||||||
|
requires=\
|
||||||
|
(
|
||||||
|
'flex/host'
|
||||||
|
'bison/host'
|
||||||
|
'zlib/default'
|
||||||
|
)
|
||||||
|
|
||||||
|
# v3.19
|
||||||
|
md5=\
|
||||||
|
(
|
||||||
|
'd3fc8316d4d4d04b65cbc2d70799e763'
|
||||||
|
)
|
||||||
|
|
||||||
|
#3.14.63
|
||||||
|
# md5=('6cf8a6b23849f47f511e0e46cfdb6392')
|
||||||
|
|
||||||
|
build()
|
||||||
|
{
|
||||||
|
|
||||||
|
cd ../linux-$version/
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE="$cfg_target_canonical-" \
|
||||||
|
ARCH="$cfg_target_linux" \
|
||||||
|
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||||
|
KBUILD_VERBOSE=1 \
|
||||||
|
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||||
|
NO_LIBELF=1 \
|
||||||
|
LDFLAGS=-static \
|
||||||
|
-C "./tools/perf/"
|
||||||
|
}
|
||||||
|
|
||||||
|
target_install()
|
||||||
|
{
|
||||||
|
$cmd_cp ../linux-$version/tools/perf/perf \
|
||||||
|
$cfg_dir_rootfs/usr/bin/
|
||||||
|
}
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'0.2.2'
|
'1.2.5'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'8acf839bfef2364a05fbd6be5f8edf9a'
|
'ed46f09b9c0fa2d49015f6431bc5ea7b'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
|
@@ -1,11 +1,15 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'2017-02-02'
|
'1.20200212',
|
||||||
|
'2019.07',
|
||||||
|
'3.98ubuntu12'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"http://lsts.pt/glued/rpi-boot-firmware-$version.zip"
|
"http://archive.ubuntu.com/ubuntu/pool/multiverse/l/linux-firmware-raspi2/linux-firmware-raspi2_$version.orig.tar.gz",
|
||||||
|
"http://archive.ubuntu.com/ubuntu/pool/main/u/u-boot/u-boot_$version+dfsg.orig.tar.xz",
|
||||||
|
"http://archive.ubuntu.com/ubuntu/pool/main/f/flash-kernel/flash-kernel_$version.tar.xz"
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
@@ -16,7 +20,9 @@ maintainer=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'eb42664fce4d73f167064e697dfacb76'
|
'5b35887b1026fafe8174f473679d175a',
|
||||||
|
'5b35887b1026fafe8174f473679d175a',
|
||||||
|
'5b35887b1026fafe8174f473679d175a'
|
||||||
)
|
)
|
||||||
|
|
||||||
target_install()
|
target_install()
|
||||||
|
34
rules/zerotier/default.bash
Normal file
34
rules/zerotier/default.bash
Normal 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"
|
||||||
|
}
|
||||||
|
|
9401
systems/lauv-aux-rpi/cfg/config-5.4.0-1015-raspi
Normal file
9401
systems/lauv-aux-rpi/cfg/config-5.4.0-1015-raspi
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
6
systems/lauv-aux-rpi/lauv-blue.cfg
Normal file
6
systems/lauv-aux-rpi/lauv-blue.cfg
Normal 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=''
|
3
systems/lauv-aux-rpi/lauv-nemo-1-aux.cfg
Normal file
3
systems/lauv-aux-rpi/lauv-nemo-1-aux.cfg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
cfg_hostname='lauv-nemo-1-aux'
|
||||||
|
cfg_eth_ext_ip='10.0.10.63'
|
||||||
|
cfg_packages="$cfg_packages boost"
|
@@ -6,5 +6,5 @@ cfg_ptpd_interface='eth0'
|
|||||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||||
cfg_services1=''
|
cfg_services1=''
|
||||||
cfg_services2='trex'
|
cfg_services2='trex'
|
||||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'
|
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'
|
||||||
|
|
||||||
|
@@ -6,5 +6,5 @@ cfg_ptpd_interface='eth0'
|
|||||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||||
cfg_services1=''
|
cfg_services1=''
|
||||||
cfg_services2='trex'
|
cfg_services2='trex'
|
||||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'
|
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'
|
||||||
|
|
||||||
|
10
systems/lauv-aux-rpi/lauv-xplore-3-aux.cfg
Normal file
10
systems/lauv-aux-rpi/lauv-xplore-3-aux.cfg
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
cfg_hostname='lauv-xplore-3-aux'
|
||||||
|
cfg_eth_ext_ip='10.0.10.143'
|
||||||
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||||
|
cfg_services1=''
|
||||||
|
cfg_services2='trex'
|
||||||
|
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'
|
||||||
|
|
10
systems/lauv-aux-rpi/lauv-xplore-4-aux.cfg
Normal file
10
systems/lauv-aux-rpi/lauv-xplore-4-aux.cfg
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
cfg_hostname='lauv-xplore-4-aux'
|
||||||
|
cfg_eth_ext_ip='10.0.10.153'
|
||||||
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||||
|
cfg_services1=''
|
||||||
|
cfg_services2='trex'
|
||||||
|
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'
|
||||||
|
|
10
systems/lauv-aux-rpi/lauv-xplore-5-aux.cfg
Normal file
10
systems/lauv-aux-rpi/lauv-xplore-5-aux.cfg
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
cfg_hostname='lauv-xplore-5-aux'
|
||||||
|
cfg_eth_ext_ip='10.0.10.163'
|
||||||
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||||
|
cfg_services1=''
|
||||||
|
cfg_services2='trex'
|
||||||
|
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'
|
||||||
|
|
@@ -3,4 +3,3 @@ cfg_eth_ext_ip='10.0.10.53'
|
|||||||
cfg_eth_ext_mk='255.255.0.0'
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
cfg_eth_ext_gw='10.0.0.1'
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
cfg_ptpd_interface='eth0'
|
cfg_ptpd_interface='eth0'
|
||||||
cfg_lauv_storage='internal'
|
|
||||||
|
2
systems/lctr-a6xx/buv-petinga-1.cfg
Normal file
2
systems/lctr-a6xx/buv-petinga-1.cfg
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
cfg_hostname='buv-petinga-1'
|
||||||
|
cfg_eth_ext_ip='10.0.10.170'
|
2406
systems/lctr-a6xx/cfg/linux-4.4.66.cfg
Normal file
2406
systems/lctr-a6xx/cfg/linux-4.4.66.cfg
Normal file
File diff suppressed because it is too large
Load Diff
2
systems/lctr-a6xx/geode-testbed.cfg
Normal file
2
systems/lctr-a6xx/geode-testbed.cfg
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
cfg_hostname='geode-testbed'
|
||||||
|
cfg_eth_ext_ip='10.0.200.64'
|
2
systems/lctr-a6xx/lauv-nemo-1.cfg
Normal file
2
systems/lctr-a6xx/lauv-nemo-1.cfg
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
cfg_hostname='lauv-nemo-1'
|
||||||
|
cfg_eth_ext_ip='10.0.10.60'
|
2
systems/lctr-a6xx/lauv-xplore-3.cfg
Normal file
2
systems/lctr-a6xx/lauv-xplore-3.cfg
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
cfg_hostname='lauv-xplore-3'
|
||||||
|
cfg_eth_ext_ip='10.0.10.140'
|
2
systems/lctr-a6xx/lauv-xplore-4.cfg
Normal file
2
systems/lctr-a6xx/lauv-xplore-4.cfg
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
cfg_hostname='lauv-xplore-4'
|
||||||
|
cfg_eth_ext_ip='10.0.10.150'
|
2
systems/lctr-a6xx/lauv-xplore-5.cfg
Normal file
2
systems/lctr-a6xx/lauv-xplore-5.cfg
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
cfg_hostname='lauv-xplore-5'
|
||||||
|
cfg_eth_ext_ip='10.0.10.160'
|
85
systems/lctr-a6xx/patches/linux/4.4.66/00-aim104-com8.patch
Normal file
85
systems/lctr-a6xx/patches/linux/4.4.66/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
|
||||||
|
+++ b/drivers/tty/serial/8250/8250_aim104_com8.c
|
||||||
|
@@ -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
|
||||||
|
+++ b/drivers/tty/serial/8250/Kconfig
|
||||||
|
@@ -225,6 +225,15 @@ config SERIAL_8250_EXAR_ST16C554
|
||||||
|
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
|
||||||
|
+++ b/drivers/tty/serial/8250/Makefile
|
||||||
|
@@ -17,6 +17,7 @@ obj-$(CONFIG_SERIAL_8250_FOURPORT) += 8250_fourport.o
|
||||||
|
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
|
@@ -0,0 +1,14 @@
|
|||||||
|
diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c
|
||||||
|
index 52d82d2..613c7e9 100644
|
||||||
|
--- a/drivers/tty/serial/8250/8250_port.c
|
||||||
|
+++ b/drivers/tty/serial/8250/8250_port.c
|
||||||
|
@@ -132,8 +132,7 @@ static const struct serial8250_config uart_config[] = {
|
||||||
|
.name = "ST16654",
|
||||||
|
.fifo_size = 64,
|
||||||
|
.tx_loadsz = 32,
|
||||||
|
- .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 |
|
||||||
|
- UART_FCR_T_TRIG_10,
|
||||||
|
+ .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_00,
|
||||||
|
.rxtrig_bytes = {8, 16, 56, 60},
|
||||||
|
.flags = UART_CAP_FIFO | UART_CAP_EFR | UART_CAP_SLEEP,
|
||||||
|
},
|
9401
systems/lctr-a72xx/cfg/config-5.4.0-1015-raspi
Normal file
9401
systems/lctr-a72xx/cfg/config-5.4.0-1015-raspi
Normal file
File diff suppressed because it is too large
Load Diff
BIN
systems/lctr-a72xx/cfg/firmware/bootcode.bin
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/bootcode.bin
Normal file
Binary file not shown.
1
systems/lctr-a72xx/cfg/firmware/cmdline.txt
Normal file
1
systems/lctr-a72xx/cfg/firmware/cmdline.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
|
51
systems/lctr-a72xx/cfg/firmware/config.txt
Normal file
51
systems/lctr-a72xx/cfg/firmware/config.txt
Normal 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
|
||||||
|
|
BIN
systems/lctr-a72xx/cfg/firmware/fixup.dat
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/fixup.dat
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/fixup4.dat
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/fixup4.dat
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/fixup4cd.dat
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/fixup4cd.dat
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/fixup4db.dat
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/fixup4db.dat
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/fixup4x.dat
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/fixup4x.dat
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/fixup_cd.dat
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/fixup_cd.dat
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/fixup_db.dat
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/fixup_db.dat
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/fixup_x.dat
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/fixup_x.dat
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/start.elf
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/start.elf
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/start4.elf
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/start4.elf
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/start4cd.elf
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/start4cd.elf
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/start4db.elf
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/start4db.elf
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/start4x.elf
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/start4x.elf
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/start_cd.elf
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/start_cd.elf
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/start_db.elf
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/start_db.elf
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/firmware/start_x.elf
Normal file
BIN
systems/lctr-a72xx/cfg/firmware/start_x.elf
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/cfg/initrd.img-5.4.0-1015-raspi
Normal file
BIN
systems/lctr-a72xx/cfg/initrd.img-5.4.0-1015-raspi
Normal file
Binary file not shown.
9401
systems/lctr-a72xx/cfg/linux-5.4.0.cfg
Normal file
9401
systems/lctr-a72xx/cfg/linux-5.4.0.cfg
Normal file
File diff suppressed because it is too large
Load Diff
9401
systems/lctr-a72xx/cfg/linux-5.4.cfg
Normal file
9401
systems/lctr-a72xx/cfg/linux-5.4.cfg
Normal file
File diff suppressed because it is too large
Load Diff
19
systems/lctr-a72xx/config
Normal file
19
systems/lctr-a72xx/config
Normal 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
|
||||||
|
)
|
||||||
|
|
26
systems/lctr-a72xx/fs/boot/README
Normal file
26
systems/lctr-a72xx/fs/boot/README
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
An overview of the files on the /boot/firmware partition (the 1st partition
|
||||||
|
on the SD card) used by the Ubuntu boot process (roughly in order) is as
|
||||||
|
follows:
|
||||||
|
|
||||||
|
* bootcode.bin - this is the second stage bootloader loaded by all pis with
|
||||||
|
the exception of the pi4 (where this is replaced by flash
|
||||||
|
memory)
|
||||||
|
* config.txt - the first configuration file read by the boot process
|
||||||
|
* syscfg.txt - the file in which system modified configuration will be
|
||||||
|
placed, included by config.txt
|
||||||
|
* usercfg.txt - the file in which user modified configuration should be
|
||||||
|
placed, included by config.txt
|
||||||
|
* start*.elf - the third stage bootloader, which handles device-tree
|
||||||
|
modification and which loads...
|
||||||
|
* uboot*.bin - various u-boot binaries for different pi platforms; these
|
||||||
|
are launched as the "kernel" by config.txt
|
||||||
|
* boot.scr - the boot script executed by uboot*.bin which in turn
|
||||||
|
loads...
|
||||||
|
* vmlinuz - the Linux kernel, executed by boot.scr
|
||||||
|
* initrd.img - the initramfs, executed by boot.scr
|
||||||
|
* meta-data - meta-data for cloud-init; usually just contains the
|
||||||
|
instance id
|
||||||
|
* network-config - network configuration for cloud-init; edit this to set up
|
||||||
|
wifi access points and other networking settings
|
||||||
|
* user-data - user-data for cloud-init; edit this to configure initial
|
||||||
|
users, SSH keys, packages, etc.
|
BIN
systems/lctr-a72xx/fs/boot/bcm2710-rpi-2-b.dtb
Normal file
BIN
systems/lctr-a72xx/fs/boot/bcm2710-rpi-2-b.dtb
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/fs/boot/bcm2710-rpi-3-b-plus.dtb
Normal file
BIN
systems/lctr-a72xx/fs/boot/bcm2710-rpi-3-b-plus.dtb
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/fs/boot/bcm2710-rpi-3-b.dtb
Normal file
BIN
systems/lctr-a72xx/fs/boot/bcm2710-rpi-3-b.dtb
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/fs/boot/bcm2710-rpi-cm3.dtb
Normal file
BIN
systems/lctr-a72xx/fs/boot/bcm2710-rpi-cm3.dtb
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/fs/boot/bcm2711-rpi-4-b.dtb
Normal file
BIN
systems/lctr-a72xx/fs/boot/bcm2711-rpi-4-b.dtb
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/fs/boot/bcm2837-rpi-3-a-plus.dtb
Normal file
BIN
systems/lctr-a72xx/fs/boot/bcm2837-rpi-3-a-plus.dtb
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/fs/boot/bcm2837-rpi-3-b-plus.dtb
Normal file
BIN
systems/lctr-a72xx/fs/boot/bcm2837-rpi-3-b-plus.dtb
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/fs/boot/bcm2837-rpi-3-b.dtb
Normal file
BIN
systems/lctr-a72xx/fs/boot/bcm2837-rpi-3-b.dtb
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/fs/boot/bcm2837-rpi-cm3-io3.dtb
Normal file
BIN
systems/lctr-a72xx/fs/boot/bcm2837-rpi-cm3-io3.dtb
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/fs/boot/boot.scr
Normal file
BIN
systems/lctr-a72xx/fs/boot/boot.scr
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/fs/boot/bootcode.bin
Normal file
BIN
systems/lctr-a72xx/fs/boot/bootcode.bin
Normal file
Binary file not shown.
1
systems/lctr-a72xx/fs/boot/cmdline.txt
Normal file
1
systems/lctr-a72xx/fs/boot/cmdline.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
net.ifnames=0 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc
|
35
systems/lctr-a72xx/fs/boot/config.txt
Normal file
35
systems/lctr-a72xx/fs/boot/config.txt
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
# Please DO NOT modify this file; if you need to modify the boot config, the
|
||||||
|
# "usercfg.txt" file is the place to include user changes. Please refer to
|
||||||
|
# the README file for a description of the various configuration files on
|
||||||
|
# the boot partition.
|
||||||
|
|
||||||
|
# The unusual ordering below is deliberate; older firmwares (in particular the
|
||||||
|
# version initially shipped with bionic) don't understand the conditional
|
||||||
|
# [sections] below and simply ignore them. The Pi4 doesn't boot at all with
|
||||||
|
# firmwares this old so it's safe to place at the top. Of the Pi2 and Pi3, the
|
||||||
|
# Pi3 uboot happens to work happily on the Pi2, so it needs to go at the bottom
|
||||||
|
# to support old firmwares.
|
||||||
|
|
||||||
|
[pi4]
|
||||||
|
kernel=uboot_rpi_4.bin
|
||||||
|
max_framebuffers=2
|
||||||
|
|
||||||
|
[pi2]
|
||||||
|
kernel=uboot_rpi_2.bin
|
||||||
|
|
||||||
|
[pi3]
|
||||||
|
kernel=uboot_rpi_3.bin
|
||||||
|
|
||||||
|
[all]
|
||||||
|
arm_64bit=1
|
||||||
|
device_tree_address=0x03000000
|
||||||
|
|
||||||
|
# The following settings are "defaults" expected to be overridden by the
|
||||||
|
# included configuration. The only reason they are included is, again, to
|
||||||
|
# support old firmwares which don't understand the "include" command.
|
||||||
|
|
||||||
|
enable_uart=1
|
||||||
|
cmdline=cmdline.txt
|
||||||
|
|
||||||
|
include syscfg.txt
|
||||||
|
include usercfg.txt
|
BIN
systems/lctr-a72xx/fs/boot/fixup.dat
Normal file
BIN
systems/lctr-a72xx/fs/boot/fixup.dat
Normal file
Binary file not shown.
BIN
systems/lctr-a72xx/fs/boot/fixup4.dat
Normal file
BIN
systems/lctr-a72xx/fs/boot/fixup4.dat
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user