Compare commits

...

32 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
1425 changed files with 68805 additions and 5540 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

@@ -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 #

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

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

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

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,11 +1,11 @@
version=\
(
'4.4.66'
'5.8.7'
)
url=\
(
"https://www.kernel.org/pub/linux/kernel/v4.x/linux-$version.tar.xz"
"https://www.kernel.org/pub/linux/kernel/v5.x/linux-$version.tar.xz"
)
md5=\

View File

@@ -1,16 +1,16 @@
version=\
(
'4.4.66'
'5.4'
)
url=\
(
"https://www.kernel.org/pub/linux/kernel/v4.x/linux-$version.tar.xz"
"https://www.kernel.org/pub/linux/kernel/v5.x/linux-$version.tar.xz"
)
md5=\
(
'5353de56bf4621a35afc4384c7e51f30'
'ce9b2d974d27408a61c53a30d3f98fb9'
)
maintainer=\

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

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

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

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

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.

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,7 @@
# This is the meta-data configuration file for cloud-init. Typically this just
# contains the instance_id. Please refer to the cloud-init documentation for
# more information:
#
# https://cloudinit.readthedocs.io/
instance_id: cloud-image

View File

@@ -0,0 +1,30 @@
# This file contains a netplan-compatible configuration which cloud-init
# will apply on first-boot. Please refer to the cloud-init documentation and
# the netplan reference for full details:
#
# https://cloudinit.readthedocs.io/
# https://netplan.io/reference
#
# Some additional examples are commented out below
version: 2
ethernets:
eth0:
dhcp4: true
optional: true
#wifis:
# wlan0:
# dhcp4: true
# optional: true
# access-points:
# myhomewifi:
# password: "S3kr1t"
# myworkwifi:
# password: "correct battery horse staple"
# workssid:
# auth:
# key-management: eap
# method: peap
# identity: "me@example.com"
# password: "passw0rd"
# ca-certificate: /etc/my_ca.pem

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.

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