Compare commits
55 commits
v2018.2.2.
...
main
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ae5b4804f5 |
||
![]() |
457461ad05 |
||
![]() |
fcccd3a105 |
||
a1e1ac30fc | |||
1c94a2061e | |||
![]() |
b3c3b41e30 |
||
![]() |
db81f77fd0 |
||
![]() |
9c77f19549 |
||
![]() |
6251517fe4 | ||
![]() |
87e65917f8 |
||
![]() |
1a956e5375 |
||
![]() |
6436e5cec6 |
||
![]() |
e0206d0372 |
||
![]() |
cd2d266749 |
||
![]() |
df829eb3d0 |
||
![]() |
932dfba35e | ||
![]() |
639d076417 |
||
![]() |
7ad2cd6af6 |
||
![]() |
4dd3a72978 |
||
![]() |
9647ec4693 |
||
![]() |
cffd0a8553 |
||
![]() |
28795fdd67 |
||
![]() |
9ddf2f6720 |
||
![]() |
78606aea3a |
||
![]() |
8e01a9a42a |
||
f996941c77 | |||
![]() |
5e24ad535b |
||
![]() |
3eae036e64 |
||
![]() |
0d3140f325 | ||
![]() |
ccad2d2a2b |
||
![]() |
48083c51de |
||
![]() |
c23854de97 | ||
![]() |
049172bb03 | ||
![]() |
dcc3abbea9 |
||
![]() |
553ba5c01e |
||
![]() |
cd90115c74 |
||
![]() |
e5934ce04f |
||
![]() |
88a1d79c85 |
||
![]() |
a60bb91b77 |
||
![]() |
678c61ae10 |
||
![]() |
2affcbeb3e |
||
![]() |
9ec6df8a05 |
||
![]() |
91adc78646 |
||
![]() |
74088a18a9 |
||
![]() |
50b79c0dc4 |
||
![]() |
cfebeb94b5 |
||
![]() |
fbb4b5dc78 |
||
![]() |
44e04d3d9c |
||
![]() |
f4b45ff5f7 |
||
![]() |
e763875644 |
||
![]() |
9eadb86c82 |
||
![]() |
bc82d9d6b7 |
||
![]() |
23952fdaf5 | ||
![]() |
256e9dfe98 | ||
![]() |
12e8b053f5 |
11 changed files with 111 additions and 82 deletions
17
README.md
17
README.md
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
In the next two commands replace GLUON_VERSION and SITE_VERSION with the actual version numbers.
|
In the next two commands replace GLUON_VERSION and SITE_VERSION with the actual version numbers.
|
||||||
$ git clone -b GLUON_VERSION https://github.com/freifunk-gluon/gluon.git
|
$ git clone -b GLUON_VERSION https://github.com/freifunk-gluon/gluon.git
|
||||||
$ git clone -b SITE_VERSION https://github.com/freifunkhamburg/site-ffhh.git
|
$ git clone -b SITE_VERSION https://codeberg.org/freifunkhamburg/site-ffhh.git
|
||||||
$ cd site-ffhh
|
$ cd site-ffhh
|
||||||
|
|
||||||
To build the firmware into the subdirectory firmware:
|
To build the firmware into the subdirectory firmware:
|
||||||
|
@ -15,6 +15,21 @@ Please see [the official Gluon repository](https://github.com/freifunk-gluon/glu
|
||||||
|
|
||||||
#### Gluon versions used for specific Hamburg Freifunk Firmware builds
|
#### Gluon versions used for specific Hamburg Freifunk Firmware builds
|
||||||
|
|
||||||
|
- v2023.2.5.0: site-ffhh: v2023.2.5.0, gluon: v2023.2.5
|
||||||
|
- v2023.2.4.0: site-ffhh: v2023.2.4.0, gluon: v2023.2.4
|
||||||
|
- v2023.2.2.1: site-ffhh: v2023.2.2.0, gluon: v2023.2.2 (add mediatek-filogic Routers)
|
||||||
|
- v2023.2.2.0: site-ffhh: v2023.2.2.0, gluon: v2023.2.2
|
||||||
|
- v2023.1.2.0: site-ffhh: v2023.1.2.0, gluon: v2023.1.2
|
||||||
|
- v2022.1.4.0: site-ffhh: v2022.1.4.0, gluon: v2022.1.4
|
||||||
|
- v2022.1.3.0: site-ffhh: v2022.1.3.0, gluon: v2022.1.3 (nur experimental verteilt)
|
||||||
|
- v2021.1.2.0: site-ffhh: v2021.1.2.0, gluon: v2021.1.2
|
||||||
|
- v2021.1.1.0: site-ffhh: v2021.1.1.0, gluon: v2021.1.1
|
||||||
|
- v2020.2.3.0: site-ffhh: v2020.2.3.0, gluon: v2020.2.3
|
||||||
|
- v2020.2.2.0: site-ffhh: v2020.2.2.0, gluon: v2020.2.2
|
||||||
|
- v2020.1.4.0: site-ffhh: v2020.1.4.0, gluon: v2020.1.4
|
||||||
|
- v2020.1.3.0: site-ffhh: v2020.1.3.0, gluon: v2020.1.3
|
||||||
|
- v2019.1.2.0: site-ffhh: v2019.1.2.0, gluon: v2019.1.2
|
||||||
|
- v2018.2.3.0: site-ffhh: v2018.2.3.0, gluon: v2018.2.3
|
||||||
- v2018.2.1.0: site-ffhh: v2018.2.1.0, gluon: v2018.2.1
|
- v2018.2.1.0: site-ffhh: v2018.2.1.0, gluon: v2018.2.1
|
||||||
- v2018.1.4.2: site-ffhh: v2018.1.4.2, gluon: v2018.1.4
|
- v2018.1.4.2: site-ffhh: v2018.1.4.2, gluon: v2018.1.4
|
||||||
- v2018.1.4.1: site-ffhh: v2018.1.4.1, gluon: v2018.1.4
|
- v2018.1.4.1: site-ffhh: v2018.1.4.1, gluon: v2018.1.4
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
GLUON_RELEASE="v2018.2.2.0"
|
GLUON_RELEASE="v2023.2.5.0"
|
||||||
GLUON_BRANCH="stable"
|
targets="ath79-generic ath79-nand ath79-mikrotik bcm27xx-bcm2708 bcm27xx-bcm2709 ipq40xx-generic ipq40xx-mikrotik ipq806x-generic lantiq-xrx200 lantiq-xway mediatek-filogic mediatek-mt7622 mpc85xx-p1010 mpc85xx-p1020 ramips-mt7620 ramips-mt7621 ramips-mt76x8 rockchip-armv8 sunxi-cortexa7 x86-generic x86-geode x86-legacy x86-64"
|
||||||
targets="ar71xx-generic ar71xx-nand ar71xx-tiny brcm2708-bcm2708 brcm2708-bcm2709 mpc85xx-generic ramips-mt7620 ramips-mt7621 ramips-mt76x8 ramips-rt305x sunxi-cortexa7 x86-64 x86-generic x86-geode"
|
|
||||||
broken_images=(
|
broken_images=(
|
||||||
'*dir*615*d*'
|
'*dir*615*d*'
|
||||||
)
|
)
|
||||||
|
|
21
build.sh
21
build.sh
|
@ -11,6 +11,7 @@ function usage () {
|
||||||
echo " -a Automatically detect and build all targets." >&2
|
echo " -a Automatically detect and build all targets." >&2
|
||||||
echo " -o OUT_PATH Path to the firmware output directory. Default: ${gluon_out}" >&2
|
echo " -o OUT_PATH Path to the firmware output directory. Default: ${gluon_out}" >&2
|
||||||
echo " -s SIGNATURE Sign firmware with signature" >&2
|
echo " -s SIGNATURE Sign firmware with signature" >&2
|
||||||
|
echo " -stable Set GLUON_AUTOUPDATER_BRANCH=stable" >&2
|
||||||
echo " -b BROKEN=1" >&2
|
echo " -b BROKEN=1" >&2
|
||||||
echo " -v verbose" >&2
|
echo " -v verbose" >&2
|
||||||
echo " -j JOBS Run build with -jJOBS. Default: ${proc}" >&2
|
echo " -j JOBS Run build with -jJOBS. Default: ${proc}" >&2
|
||||||
|
@ -40,6 +41,9 @@ while [ $# -gt 0 ]; do
|
||||||
signature="$2"
|
signature="$2"
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
-stable)
|
||||||
|
export GLUON_AUTOUPDATER_BRANCH=stable
|
||||||
|
;;
|
||||||
-b)
|
-b)
|
||||||
export BROKEN=1
|
export BROKEN=1
|
||||||
;;
|
;;
|
||||||
|
@ -66,7 +70,7 @@ fi
|
||||||
|
|
||||||
gluon_path=$(realpath "$gluon_path")
|
gluon_path=$(realpath "$gluon_path")
|
||||||
gluon_out=$(realpath "$gluon_out")
|
gluon_out=$(realpath "$gluon_out")
|
||||||
site_path=$(realpath "$(dirname "$BASH_SOURCE")")
|
site_path=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
|
||||||
|
|
||||||
announce GLUON: "$gluon_path" >&2
|
announce GLUON: "$gluon_path" >&2
|
||||||
announce FFHH SITE PATH: "$site_path" >&2
|
announce FFHH SITE PATH: "$site_path" >&2
|
||||||
|
@ -74,16 +78,19 @@ announce FFHH SITE PATH: "$site_path" >&2
|
||||||
pushd "$site_path"
|
pushd "$site_path"
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
. ./build.conf
|
. ./build.conf
|
||||||
[ "${GLUON_BRANCH}" = "experimental" ] && GLUON_RELEASE="${GLUON_RELEASE}~exp$(date +%Y%m%d)"
|
GLUON_AUTOUPDATER_BRANCH="${GLUON_AUTOUPDATER_BRANCH:-experimental}"
|
||||||
|
[ "${GLUON_AUTOUPDATER_BRANCH}" = "experimental" ] && GLUON_RELEASE="${GLUON_RELEASE}~exp${BUILD_DATE:-$(date +%Y%m%d)}"
|
||||||
export GLUON_RELEASE
|
export GLUON_RELEASE
|
||||||
export GLUON_BRANCH
|
export GLUON_AUTOUPDATER_BRANCH
|
||||||
export GLUON_SITEDIR="${site_path}"
|
export GLUON_SITEDIR="${site_path}"
|
||||||
export GLUON_OUTPUTDIR="${gluon_out}/${GLUON_RELEASE}/${GLUON_BRANCH}"
|
export GLUON_OUTPUTDIR="${gluon_out}/${GLUON_RELEASE}/${GLUON_AUTOUPDATER_BRANCH}"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
announce GLUON Variables:
|
||||||
|
env | egrep '^GLUON' | sort
|
||||||
|
|
||||||
pushd "${gluon_path}"
|
pushd "${gluon_path}"
|
||||||
announce Starting make update...
|
announce Starting make update...
|
||||||
rm -rf "${GLUON_OUTPUTDIR}"
|
|
||||||
mkdir -p "${GLUON_OUTPUTDIR}"
|
mkdir -p "${GLUON_OUTPUTDIR}"
|
||||||
make update
|
make update
|
||||||
# Try to install patches. I wasn't able to figure out how patches in gluon/site/patches work.
|
# Try to install patches. I wasn't able to figure out how patches in gluon/site/patches work.
|
||||||
|
@ -106,7 +113,7 @@ announce "The following targets will be generated: $targets" >&2
|
||||||
|
|
||||||
for t in $targets; do
|
for t in $targets; do
|
||||||
announce "Starting build for $t..." >&2
|
announce "Starting build for $t..." >&2
|
||||||
make "-j$(nproc)" "GLUON_TARGET=$t" "$verbose"
|
make "-j$(nproc)" "GLUON_TARGET=$t" $verbose
|
||||||
done
|
done
|
||||||
# Remove known-broken images
|
# Remove known-broken images
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
|
@ -120,7 +127,7 @@ done
|
||||||
announce Building manifest...
|
announce Building manifest...
|
||||||
make manifest
|
make manifest
|
||||||
if [ -n "${signature}" ]; then
|
if [ -n "${signature}" ]; then
|
||||||
if [ "$GLUON_BRANCH" == "experimental" ]; then
|
if [ "$GLUON_AUTOUPDATER_BRANCH" == "experimental" ]; then
|
||||||
announce Signing...
|
announce Signing...
|
||||||
"${gluon_path}/contrib/sign.sh" "${signature}" "${GLUON_OUTPUTDIR}/images/sysupgrade/experimental.manifest"
|
"${gluon_path}/contrib/sign.sh" "${signature}" "${GLUON_OUTPUTDIR}/images/sysupgrade/experimental.manifest"
|
||||||
else
|
else
|
||||||
|
|
|
@ -33,6 +33,9 @@
|
||||||
|
|
||||||
mesh = {
|
mesh = {
|
||||||
vxlan = false,
|
vxlan = false,
|
||||||
|
batman_adv = {
|
||||||
|
routing_algo = "BATMAN_IV",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
mesh_vpn = {
|
mesh_vpn = {
|
||||||
|
|
|
@ -33,6 +33,9 @@
|
||||||
|
|
||||||
mesh = {
|
mesh = {
|
||||||
vxlan = false,
|
vxlan = false,
|
||||||
|
batman_adv = {
|
||||||
|
routing_algo = "BATMAN_IV",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
mesh_vpn = {
|
mesh_vpn = {
|
||||||
|
|
|
@ -33,6 +33,9 @@
|
||||||
|
|
||||||
mesh = {
|
mesh = {
|
||||||
vxlan = false,
|
vxlan = false,
|
||||||
|
batman_adv = {
|
||||||
|
routing_algo = "BATMAN_IV",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
mesh_vpn = {
|
mesh_vpn = {
|
||||||
|
|
|
@ -33,6 +33,9 @@
|
||||||
|
|
||||||
mesh = {
|
mesh = {
|
||||||
vxlan = false,
|
vxlan = false,
|
||||||
|
batman_adv = {
|
||||||
|
routing_algo = "BATMAN_IV",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
mesh_vpn = {
|
mesh_vpn = {
|
||||||
|
|
37
image-customization.lua
Normal file
37
image-customization.lua
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
features({
|
||||||
|
'autoupdater',
|
||||||
|
'config-mode-domain-select',
|
||||||
|
'ebtables-filter-multicast',
|
||||||
|
'ebtables-filter-ra-dhcp',
|
||||||
|
'mesh-batman-adv-15',
|
||||||
|
'mesh-vpn-fastd',
|
||||||
|
'web-private-wifi',
|
||||||
|
'radv-filterd',
|
||||||
|
'respondd',
|
||||||
|
'status-page',
|
||||||
|
'web-advanced',
|
||||||
|
'web-wizard',
|
||||||
|
})
|
||||||
|
|
||||||
|
if not device_class('tiny') then
|
||||||
|
features({
|
||||||
|
'wireless-encryption-wpa3',
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
packages({
|
||||||
|
'-gluon-config-mode-geo-location',
|
||||||
|
'-gluon-config-mode-contact-info',
|
||||||
|
'gluon-ebtables-source-filter',
|
||||||
|
'gluon-upgrade-static-interface-ffhh',
|
||||||
|
'gluon-web-mesh-vpn-fastd',
|
||||||
|
'iwinfo',
|
||||||
|
})
|
||||||
|
|
||||||
|
if target('x86') then
|
||||||
|
packages({
|
||||||
|
'nano',
|
||||||
|
'htop',
|
||||||
|
'ethtool',
|
||||||
|
})
|
||||||
|
end
|
5
modules
5
modules
|
@ -1,5 +1,4 @@
|
||||||
GLUON_SITE_FEEDS='ffhh_packages'
|
GLUON_SITE_FEEDS='ffhh_packages'
|
||||||
|
|
||||||
PACKAGES_FFHH_PACKAGES_REPO=git://github.com/freifunkhamburg/ffhh-packages.git
|
PACKAGES_FFHH_PACKAGES_REPO=https://codeberg.org/freifunkhamburg/ffhh-packages.git
|
||||||
PACKAGES_FFHH_PACKAGES_COMMIT=ef9fcc1222f74c3c045b1450537a4b8b80efb56c
|
PACKAGES_FFHH_PACKAGES_COMMIT=eb99353a88b399583f46288485d05ca8d53cd1ac
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
default_domain = 'ffhh_nowe',
|
default_domain = 'ffhh_nowe',
|
||||||
|
|
||||||
opkg = {
|
opkg = {
|
||||||
lede = 'http://lede.opkg.services.ffhh/snapshots/packages/%A',
|
|
||||||
extra = {
|
extra = {
|
||||||
modules = 'http://updates.hamburg.freifunk.net/multi/archive/%GR/packages/gluon-%GS-%GR/%S',
|
modules = 'http://updates.hamburg.freifunk.net/multi/archive/%GR/packages/gluon-%GS-%GR/%S',
|
||||||
},
|
},
|
||||||
|
@ -25,9 +24,6 @@
|
||||||
wifi24 = {
|
wifi24 = {
|
||||||
channel = 1,
|
channel = 1,
|
||||||
|
|
||||||
supported_rates = {6000, 9000, 12000, 18000, 24000, 36000, 48000, 54000},
|
|
||||||
basic_rate = {6000, 9000, 18000, 36000, 54000},
|
|
||||||
|
|
||||||
mesh = {
|
mesh = {
|
||||||
mcast_rate = 12000,
|
mcast_rate = 12000,
|
||||||
},
|
},
|
||||||
|
@ -35,6 +31,7 @@
|
||||||
|
|
||||||
wifi5 = {
|
wifi5 = {
|
||||||
channel = 44,
|
channel = 44,
|
||||||
|
outdoor_chanlist = "100-140",
|
||||||
mesh = {
|
mesh = {
|
||||||
mcast_rate = 12000,
|
mcast_rate = 12000,
|
||||||
},
|
},
|
||||||
|
@ -42,9 +39,9 @@
|
||||||
|
|
||||||
mesh_vpn = {
|
mesh_vpn = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
mtu = 1312,
|
|
||||||
fastd = {
|
fastd = {
|
||||||
configurable = true,
|
configurable = true,
|
||||||
|
mtu = 1312,
|
||||||
methods = {'salsa2012+umac'},
|
methods = {'salsa2012+umac'},
|
||||||
groups = {
|
groups = {
|
||||||
backbone = {
|
backbone = {
|
||||||
|
|
41
site.mk
41
site.mk
|
@ -1,44 +1,7 @@
|
||||||
GLUON_MULTIDOMAIN := 1
|
GLUON_MULTIDOMAIN := 1
|
||||||
|
GLUON_DEPRECATED := upgrade
|
||||||
|
|
||||||
GLUON_SITE_PACKAGES := -gluon-config-mode-geo-location \
|
GLUON_AUTOUPDATER_ENABLED ?= 1
|
||||||
-gluon-config-mode-contact-info \
|
|
||||||
gluon-ebtables-source-filter \
|
|
||||||
gluon-web-mesh-vpn-fastd \
|
|
||||||
haveged \
|
|
||||||
iptables \
|
|
||||||
iwinfo
|
|
||||||
|
|
||||||
GLUON_FEATURES := \
|
|
||||||
autoupdater \
|
|
||||||
config-mode-domain-select \
|
|
||||||
ebtables-filter-multicast \
|
|
||||||
ebtables-filter-ra-dhcp \
|
|
||||||
ebtables-limit-arp \
|
|
||||||
mesh-batman-adv-15 \
|
|
||||||
mesh-vpn-fastd \
|
|
||||||
radvd \
|
|
||||||
respondd \
|
|
||||||
status-page \
|
|
||||||
web-advanced \
|
|
||||||
web-wizard
|
|
||||||
|
|
||||||
# EXTRA_SOFTWARE_TOOLS_01
|
|
||||||
EXTRA_SOFTWARE_TOOLS_01 := \
|
|
||||||
nano \
|
|
||||||
htop \
|
|
||||||
ethtool
|
|
||||||
|
|
||||||
# x86
|
|
||||||
ifeq ($(GLUON_TARGET),x86-generic)
|
|
||||||
GLUON_SITE_PACKAGES += \
|
|
||||||
$(EXTRA_SOFTWARE_TOOLS_01)
|
|
||||||
endif
|
|
||||||
|
|
||||||
# x86-64
|
|
||||||
ifeq ($(GLUON_TARGET),x86-64)
|
|
||||||
GLUON_SITE_PACKAGES += \
|
|
||||||
$(EXTRA_SOFTWARE_TOOLS_01)
|
|
||||||
endif
|
|
||||||
|
|
||||||
GLUON_PRIORITY ?= 7
|
GLUON_PRIORITY ?= 7
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue