Compare commits

..

101 Commits

Author SHA1 Message Date
Diogo Cordeiro
2c67b5490e Add some stuff 2020-09-16 16:11:26 +01:00
Diogo Cordeiro
88dd2cf9f1 a lot of maintenance 2020-09-16 16:09:29 +01:00
Diogo Cordeiro
727baa9236 WIP 2020-09-11 01:14:20 +01:00
Diogo Cordeiro
cc98513b14 architectures: added cortex-a72 architecture. 2020-09-11 01:12:38 +01:00
Jose Pinto
8418458d6e ZeroTierOne: Added package rule. 2019-08-17 10:18:44 +01:00
Jose Pinto
78a8e0099d Kplex: added package rule. 2019-08-17 10:18:25 +01:00
Pedro Gonçalves
9824634051 Merge pull request #40 from LSTS/feature/exiftool
Feature/exiftool
2019-04-05 15:21:08 +01:00
Pedro Gonçalves
a21f7a4835 lctr-rpi: config: add exiftool and libusb to the main config. 2019-04-05 15:20:04 +01:00
Tiago Sá Marques
ca8a965f1f Merge pull request #38 from krisgry/feature/copy-curl
Copy libcurl_* to /lib/, for cross-compilation of DUNE
2019-04-04 12:21:54 +00:00
Tiago Sá Marques
623bac0c38 Merge pull request #37 from krisgry/feature/copylibopenCV
Copy libopencv_* to /lib/, for cross-compilation of DUNE
2019-04-04 12:20:03 +00:00
mariacosta
c66054cafd lctr-rpi: test-rpi-eth0: Added libusb package. 2019-02-27 18:29:23 +00:00
Pedro Gonçalves
c425981fa4 systems/lctr-a6xx: add geode-testbed config system. 2019-02-25 16:15:54 +00:00
Pedro Gonçalves
b69cfb9682 systems/lctr-rpi/test-rpi-eth0: fix service network name. 2019-02-22 18:09:40 +00:00
Pedro Gonçalves
568f2abbbf rules/exiftool: fix path for bin folder. 2019-02-22 17:11:59 +00:00
Pedro Gonçalves
0dd5539b48 systems/lctr-rpi: update test-rpi config for eth0 and wlan0. 2019-02-21 18:22:45 +00:00
Pedro Gonçalves
d1872860fa rules/exiftool: add rule for exiftool lib/api. 2019-02-21 18:21:54 +00:00
mariacosta
4cf1db0317 GLUED: Updated Copyright. 2019-02-11 10:50:52 +00:00
Paulo Dias
00255e4608 gitignore: added helper script to ignore. 2019-02-08 20:12:08 +00:00
Paulo Dias
72a786508e rules: boost: added needed libraries that must be built separately are: regex,filesystem,system,thread. 2019-02-08 20:11:29 +00:00
Paulo Dias
8bda2a4551 systems: Added boost to lauv-nemo-aux. 2019-02-08 20:09:34 +00:00
Kristoffer Gryte
4e0d51b548 rules/curl: symlink libcurl to /lib/ for cross-compilation of DUNE 2019-02-06 14:40:03 +01:00
Kristoffer Gryte
20a8911a04 rules/opencv: symlink libopencv_* to /lib/, for cross-compilation of DUNE 2019-02-06 14:29:43 +01:00
zepinto
7542b861c3 Docker Makefile: added DNS option. 2019-01-15 18:26:25 +00:00
Paulo Dias
580816dde8 mkpackage: use www.lsts.pt instead of lsts.pt. 2019-01-08 20:44:04 +00:00
João Teixeira
4c8324abc3 lctr-9axx: added manta-sabuvis system 2018-10-24 14:33:44 +01:00
João Teixeira
4316b4c9f7 systems/lctr-rpi: Added titan configuration file. 2018-08-30 11:25:42 +01:00
João Teixeira
9015c36df9 systems: Added systems buv-petinga-1 2018-04-20 19:37:04 +01:00
mariacosta
3e002e3ec5 systems/lctr-rpi: Added x8-06-aux configuration file. 2018-04-20 11:10:10 +01:00
Tiago Marques
b15293ee66 lctr-9axx: added manta-rugged-2 system. 2018-04-20 09:38:18 +01:00
Tiago Marques
e2da8b7586 systems: Added systems lauv-nemo-1 and lauv-nemo-1-aux. 2018-02-16 15:46:05 +00:00
Tiago Marques
0cf9ba8b9c systems/lauv-aux-rpi: removed Europa from packages. 2018-01-09 09:30:44 +00:00
Tiago Marques
5967c0b13f mkpackage: use HTTPS for lsts repository 2017-12-04 11:35:38 +00:00
Tiago Marques
459c14e7f4 mkconfig: updated glued version 2017-11-27 16:27:42 +00:00
Pedro Gonçalves
d2a0d5208c systems/lauv-aux-rpi: add system config file for lauv-xplore-5-aux. 2017-10-24 17:00:28 +01:00
Pedro Gonçalves
644b98c753 systems/lauv-aux-rpi: add system config file for lauv-xplore-4-aux. 2017-10-24 16:59:54 +01:00
Pedro Gonçalves
fcad38b6d7 systems/lauv-aux-rpi: add system config file for lauv-xplore-3-aux. 2017-10-24 16:58:50 +01:00
Pedro Gonçalves
853e7ea553 systems/lctr-a6xx: add system config file for lauv-xplore-5. 2017-10-11 14:08:33 +01:00
Pedro Gonçalves
b0633cd82c systems/lctr-a6xx: add system config file for lauv-xplore-4. 2017-10-11 14:08:23 +01:00
Pedro Gonçalves
7e8e9cbad0 systems/lctr-a6xx: add system config file for lauv-xplore-3. 2017-10-11 14:08:13 +01:00
Tiago Marques
19855db2da Merge branch 'bug/kmod-modules-dep'
Authored By: Ricardo Martins
2017-09-28 19:57:10 +01:00
Ricardo Martins
a8a131e19c linux: use system kmod. 2017-09-28 17:58:58 +01:00
Ricardo Martins
bbbd691fb3 docker: install kmod. 2017-09-28 17:58:14 +01:00
Tiago Marques
200dfc2205 Merge branch 'feature/linux-update'
Authored By: Pedro Gonçalves
Reviewed By: Tiago Marques
2017-09-25 18:29:42 +01:00
Tiago Marques
1a95420340 systems/lctr-b2xx/patches/linux/00-lctr-b2xx-dts: Updated patch 2017-09-25 16:07:42 +01:00
Tiago Marques
aec36f560b rules/lpg/default: Fixed dependencies. 2017-09-25 10:41:27 +01:00
Tiago Marques
13b3b18b5d systems/lctr-b2xx/patches/linux: Upgraded to v4.4.66 2017-09-22 15:45:21 +01:00
Tiago Marques
87e70a6615 Merge branch 'feature/memtest' 2017-09-13 10:32:41 +01:00
Tiago Marques
5919324f1b systems/lctr-a6xx/cfg/linux-4.4.66: Disabled pps's debug messages. 2017-09-01 12:11:27 +01:00
Tiago Marques
020e2c7fe9 rules/gcc/cross: Fixed bug for 64 bit systems, causing libraries to be searched in the wrong directory. 2017-08-29 19:19:46 +01:00
Tiago Marques
b4674e5cb6 rules/linux-headers/cross: Fixed url. 2017-08-29 16:54:42 +01:00
Tiago Marques
1c2f480dbd Revert "docker: update file to use gcc 5.4."
GCC v5.4 is not needed to compile the new kernel.
This reverts commit 8faf53ef3e.
2017-08-29 16:39:29 +01:00
Tiago Sá Marques
63ce5fa404 Merge pull request #33 from krisklau/pr/update_gdb
gdb: Upgraded version to 7.10.1 to allow remote debugging on bbb.
2017-08-16 13:35:38 +01:00
Tiago Sá Marques
8097d2679b Merge pull request #34 from krisklau/pr/openssh_privsep
openssh: Compile with privsep-path set to /var/empty/
2017-08-16 13:29:25 +01:00
Tiago Marques
d352a68acc Merge branch 'krisklau-pr/ntnu-update-s17' 2017-08-16 12:56:36 +01:00
Tiago Marques
81052b54a6 Revert "System: noptilus-aux: Added lpg."
This reverts commit 84bbaf4bca.
2017-08-16 12:56:25 +01:00
Tiago Marques
b28a6d787e rules/perf/default: Fixed dependencies. 2017-08-16 12:56:25 +01:00
Tiago Marques
347ef94fd4 Revert "systems/lctr-a6xx/config: build perf for lctr-a6xx systems."
This reverts commit e5bfb87131.
2017-08-16 12:56:25 +01:00
Tiago Marques
eacd69fe0f rules/perf/default: Fixed code style. 2017-08-16 12:56:25 +01:00
tsmarques
d1adbb7b9c rules/perf: Fixed target_install(). Copy perf to rootfs instead of toolchain. 2017-08-16 12:56:25 +01:00
tsmarques
c8e3e6fc59 rules/perf: removed temporary file. 2017-08-16 12:56:25 +01:00
tsmarques
a911af2fa0 systems/lctr-a6xx/config: build perf for lctr-a6xx systems. 2017-08-16 12:56:25 +01:00
tsmarques
fb7aa49ab0 rules/perf: added rules for perf package. 2017-08-16 12:56:25 +01:00
Tiago Marques
ee477076c8 Revert "System: noptilus-aux: Added lpg."
This reverts commit 84bbaf4bca.
2017-08-16 12:52:53 +01:00
Pedro Gonçalves
8faf53ef3e docker: update file to use gcc 5.4. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves
aa786393e6 lctr-a9xx: rename rule profile to v3_14. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves
592571c75a lctr-a9xx: change linux rule to linux/default_3.3 to maintain compatibility with older processors. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves
d87b79cecd lctr-a9xx/patches/linux_4.4.66: add patch for omap3. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves
8f5aa75fae lctr-a9xx: add cfg linux file for version 4.4.66. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves
2601d6a4a4 linux/default_3.3: add rule to maintain compatibility with older processors. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves
770821bbcd systems/lctr-b2xx/cfg: update kernel config file to 4.4.66. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves
6bcbaced95 bridge-utils: update version to 1.6. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves
6607a06504 bridge-utils/patches: update to version 1.6. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves
a4f6e5c9d8 escc: update version to 1.0.71. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves
e034305031 linux-headers: update to version 4.4.66 2017-08-16 11:50:30 +01:00
Pedro Gonçalves
07219a7e82 linux: update linux kernel to 4.4.66 2017-08-16 11:50:30 +01:00
Pedro Gonçalves
4b13bb96d6 lctr-a6xx/cfg: add patches for linux 4.4.66 2017-08-16 11:50:30 +01:00
Tiago Marques
6f0b948b98 Merge branch 'feature/perf' 2017-08-04 14:09:40 +01:00
Kristian Klausen
277501513a openssh: Compile with privsep-path set to /var/empty/ 2017-08-04 10:11:02 +02:00
Kristian Klausen
40b48c2b35 gdb: Upgraded version to 7.10.1 to allow remote debugging on bbb. 2017-08-04 10:01:41 +02:00
Kristian Klausen
1069e42b8b ntnu-b2xx: cfg/linux-3.14.63: Added kernel driver for CONFIG_RFKILL=y
+CONFIG_CFG80211=y
+CONFIG_NL80211=y
2017-08-04 09:54:17 +02:00
Kristian Klausen
88718f7a36 ntnu-b2xx: cfg/linux-3.14.63: Added kernel driver for RT2800USB (wifi usb) 2017-08-04 09:54:17 +02:00
Kristian Klausen
88ca152faa ntnu-b2xx: Added ntnu-bixler-001. 2017-08-04 09:54:17 +02:00
Kristian Klausen
970bddfa6e ntnu-b2xx: ntnu-cruisermini-001-pseudo: Added pseudo-vehicle. 2017-08-04 09:54:17 +02:00
Kristian Klausen
a564932f4f ntnu-b2xx: Added vehicles ntnu-cruisermini-00x. 2017-08-04 09:54:17 +02:00
Kristian Klausen
de5fb6e33d ntnu-b2xx: ntnu-hexa-002: Updated config to include the same packages as hexa-003, hexa-004 2017-08-04 09:54:17 +02:00
Kristian Klausen
51f08c2d3d ntnu-b2xx: ntnu-nest-04: Fixed typo in hostname. 2017-08-04 09:54:17 +02:00
Kristian Klausen
79aa224ed3 ntnu-b2xx: ntnu-hexa-003,4: Removed service force_10mbit. 2017-08-04 09:54:17 +02:00
Kristian Klausen
49fb0d28cd ntnu-b2ss: ntnu-octo-001: New system. 2017-08-04 09:54:17 +02:00
Kristian Klausen
438cfa26eb ntnu-b2xx: fs/etc/rc.d/rtklib_rtkrcv: Added functionality to create the folder /opt/lsts/rtklib/ if it does not exist. 2017-08-04 09:54:17 +02:00
Kristian Klausen
792d11ca1c ntnu-b2xx: Added ssh tools to hexa-004, x8-002, x8-008. 2017-08-04 09:54:17 +02:00
Kristian Klausen
115cfa3727 ntnu-b2xx: Added system ntnu-nest-04. 2017-08-04 09:54:17 +02:00
Tiago Marques
1369cb7f34 rules/perf/default: Fixed dependencies. 2017-08-03 23:32:34 +00:00
Tiago Marques
e12f3dc414 Revert "systems/lctr-a6xx/config: build perf for lctr-a6xx systems."
This reverts commit e5bfb87131.
2017-08-03 21:22:08 +00:00
Tiago Marques
52880f1754 rules/perf/default: Fixed code style. 2017-08-03 21:21:39 +00:00
José Braga
f6f03a67dd lauv-aux-rpi: fixed lauv-xtreme-2-aux configuration file. 2017-07-31 11:19:51 +01:00
José Braga
7f2247ae3b lctr-b2xx: added lauv-xtreme-2-aux file with nfs storage server. 2017-07-31 11:13:33 +01:00
Jose Pinto
84bbaf4bca System: noptilus-aux: Added lpg. 2017-07-05 16:37:32 +01:00
tsmarques
996c2c6fa0 rules/perf: Fixed target_install(). Copy perf to rootfs instead of toolchain. 2016-12-20 18:05:02 +00:00
tsmarques
0ec6de7ea4 rules/perf: removed temporary file. 2016-10-18 15:15:33 +02:00
tsmarques
e5bfb87131 systems/lctr-a6xx/config: build perf for lctr-a6xx systems. 2016-10-17 23:44:05 +02:00
tsmarques
0eeb5362b9 rules/perf: added rules for perf package. 2016-10-17 23:43:58 +02:00
1468 changed files with 75544 additions and 5784 deletions

1
.gitignore vendored
View File

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

4
.zcache/DEBS_avail Normal file

File diff suppressed because one or more lines are too long

4
.zcache/DEBS_installed Normal file

File diff suppressed because one or more lines are too long

View File

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

View File

@@ -35,3 +35,4 @@ 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

View File

@@ -23,9 +23,10 @@
TAG := glued
VERSION := 2016.05.0
VOLUME := $(CURDIR)/..
DNS := 8.8.8.8
all:
docker build -t $(TAG):$(VERSION) .
shell:
docker run -w $(VOLUME) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)
docker run -w $(VOLUME) --dns=$(DNS) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)

View File

@@ -1,6 +1,6 @@
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@@ -23,7 +23,7 @@
###########################################################################
# Config: GLUED version.
cfg_glued_version='2016.05'
cfg_glued_version='2017.11'
# Config: GLUED vendor.
cfg_glued_vendor='lsts'

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@@ -72,7 +72,7 @@ download()
fi
# First try LSTS mirror.
lsts_url="http://lsts.pt/glued/$(basename $u)"
lsts_url="https://www.lsts.pt/glued/$(basename $u)"
download_tool "$lsts_url" "$cfg_dir_downloads/$file"
if [ $? -ne 0 ]; then
# Then try OceanScan-MST mirror.

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2017 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@@ -1,16 +1,16 @@
version=\
(
'2.25.1'
'2.35'
)
url=\
(
"http://mirrors.kernel.org/gnu/binutils/binutils-$version.tar.bz2"
"http://mirrors.kernel.org/gnu/binutils/binutils-$version.tar.xz"
)
md5=\
(
'ac493a78de4fee895961d025b7905be4'
'fc8d55e2f6096de8ff8171173b6f5087'
)
maintainer=\

View 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
View 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
}

View File

@@ -37,7 +37,8 @@ configure()
{
cd "../boost_$vendor_version" &&
./bootstrap.sh \
--with-icu="$cfg_dir_toolchain_sysroot/usr"
--with-icu="$cfg_dir_toolchain_sysroot/usr" \
--with-libraries="regex,filesystem,system,thread"
GXX_VER=$(${cmd_target_cxx} -dumpversion)
echo "using gcc : ${GXX_VER} : ${cmd_target_cxx} : <cxxflags>\"-pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ${cfg_target_gcc_flags} \" <linkflags>\"\" ;" > user-config.jam

View File

@@ -1,16 +1,16 @@
version=\
(
'1.5'
'1.6'
)
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=\
(
'ec7b381160b340648dede58c31bb2238'
'f369e90e85e4bb46baa26a7b9d66b578'
)
maintainer=\

View File

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

View File

@@ -1,6 +1,6 @@
version=\
(
'1.0.7'
'1.0.71'
)
url=\
@@ -10,7 +10,7 @@ url=\
md5=\
(
'4e18a516249256e2dad4d79ae56c913d'
'075c9256fe20cf6ce867dc2b1c974ebe'
)
if [ -d "$cfg_dir_builds/linux/linux-"* ]; then

View File

@@ -0,0 +1,37 @@
version=\
(
"10.96"
)
url=\
(
"https://lsts.pt/glued/exiftoolBin-${version}.tar.gz"
)
md5=\
(
"71d52bf2d75f023b844dd8c9100daaff"
)
maintainer=\
(
'Pedro Gonçalves <pedro@lsts.pt>'
)
requires=\
(
'perl/default'
)
post_unpack()
{
$cmd_cp -r ../exiftoolBin-${version}/* .
}
target_install()
{
$cmd_cp -rv usr/* $cfg_dir_toolchain_sysroot/usr/
$cmd_cp -rv usr/* $cfg_dir_rootfs/usr/
$cmd_cp -rv usr/local/bin/* $cfg_dir_rootfs/usr/bin/
}

View File

@@ -1,16 +1,16 @@
version=\
(
'4.9.3'
'10.2.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.xz"
)
md5=\
(
'6f831b4d251872736e8e9cc09746f327'
'e9fd9b1789155ad09bcf3ae747596b50'
)
build_dir=$pkg_var

View File

@@ -49,10 +49,15 @@ host_install()
target_install()
{
$cmd_mkdir \
"$cfg_dir_rootfs/usr/lib" &&
libdir=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)"
if [ $(echo "$base" | grep '\.py' 2> /dev/null) ]; then

View File

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

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

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

View File

@@ -1,6 +1,6 @@
version=\
(
'0.2.5'
'1.2.6'
)
url=\
@@ -10,7 +10,7 @@ url=\
md5=\
(
'8cd41a5ef5a9b50d0fb6abb98af15368'
'b25f9cc18bfad50f7c446c77f4ae00bb'
)
maintainer=\

View File

@@ -1,16 +1,16 @@
version=\
(
'3.14.63'
'5.8.7'
)
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=\
(
'6cf8a6b23849f47f511e0e46cfdb6392'
'5353de56bf4621a35afc4384c7e51f30'
)
maintainer=\

View File

@@ -1,16 +1,16 @@
version=\
(
'3.14.63'
'5.4'
)
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=\
(
'6cf8a6b23849f47f511e0e46cfdb6392'
'ce9b2d974d27408a61c53a30d3f98fb9'
)
maintainer=\
@@ -128,14 +128,12 @@ build()
$cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
modules || return 1
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
$cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
uImage || return 1
fi
@@ -144,7 +142,6 @@ build()
$cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
zImage || return 1
fi
@@ -153,7 +150,6 @@ build()
$cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
dtbs || return 1
fi
@@ -198,7 +194,6 @@ target_install()
ARCH="$cfg_target_linux" \
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
KBUILD_VERBOSE=1 \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
modules_install
$cmd_make \
@@ -206,6 +201,5 @@ target_install()
ARCH="$cfg_target_linux" \
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
KBUILD_VERBOSE=1 \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
firmware_install
}

View File

@@ -2,19 +2,19 @@
version=\
(
'4.4_2017-01-27'
'5.4'
)
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=\
(
'f31d48a9d2c93509b35e750be489b44c'
'0707e4b2cbaf1428055d6615be04559e'
)
build_dir="rpi-linux-rpi-linux-$version"
build_dir="linux-$version"
find_patches

View File

@@ -2,12 +2,12 @@
version=\
(
'3.14.64-rt67'
'4.4.66-rt79'
)
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"
)

206
rules/linux/v3_14.bash Normal file
View 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
}

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
version=\
(
'1.0.2e'
'1.1.1f'
)
url=\
@@ -10,7 +10,7 @@ url=\
md5=\
(
'5262bfa25b60ed9de9f28d5d52d77fc5'
'3f486f2f4435ef14b81814dbbc7b48bb'
)
requires=\
@@ -23,6 +23,7 @@ configure()
./Configure linux-generic32 --cross-compile-prefix="$cfg_target_canonical-" \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--openssldir="$cfg_dir_toolchain_sysroot/usr" \
--libdir=lib \
shared
}

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

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

View File

@@ -1,6 +1,6 @@
version=\
(
'0.2.2'
'1.2.5'
)
url=\
@@ -10,7 +10,7 @@ url=\
md5=\
(
'8acf839bfef2364a05fbd6be5f8edf9a'
'ed46f09b9c0fa2d49015f6431bc5ea7b'
)
maintainer=\

View File

@@ -1,11 +1,15 @@
version=\
(
'2017-02-02'
'1.20200212',
'2019.07',
'3.98ubuntu12'
)
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=\
@@ -16,7 +20,9 @@ maintainer=\
md5=\
(
'eb42664fce4d73f167064e697dfacb76'
'5b35887b1026fafe8174f473679d175a',
'5b35887b1026fafe8174f473679d175a',
'5b35887b1026fafe8174f473679d175a'
)
target_install()

View File

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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -3,4 +3,3 @@ cfg_eth_ext_ip='10.0.10.53'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_lauv_storage='internal'

View File

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

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,2 @@
cfg_hostname='geode-testbed'
cfg_eth_ext_ip='10.0.200.64'

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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,
},

File diff suppressed because it is too large Load Diff

Binary file not shown.

View 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

View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

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

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

View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View 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

View 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

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More