Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| firmware [01.10.2016 06:41] – [Firmware] havelock | firmware [12.05.2023 09:41] (aktuell) – [Firmware erstellen] havelock | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Firmware ====== | ====== Firmware ====== | ||
| - | Die von der Community Pinneberg verwendete Firmware ist Gluon. | + | Die von der Community Pinneberg verwendete Firmware ist [[Gluon]]. |
| Siehe: | Siehe: | ||
| * https:// | * https:// | ||
| - | * Quelltest: https:// | + | * Quelltext: https:// |
| * Dokumentation: | * Dokumentation: | ||
| Zeile 10: | Zeile 10: | ||
| * stable - Das sollte normalerweise installiert werden | * stable - Das sollte normalerweise installiert werden | ||
| - | * beta - die nächste, kommende Version | + | * beta - die nächste, kommende Version |
| * experimental - hier werden neue Versionen und Features ausprobiert | * experimental - hier werden neue Versionen und Features ausprobiert | ||
| Zeile 17: | Zeile 17: | ||
| * 0.7.0 - erste Version die Community basierend auf Gluon 2015.1.1 | * 0.7.0 - erste Version die Community basierend auf Gluon 2015.1.1 | ||
| * 0.7.1 - Version ab 28.11.2015 bastierend auf Gluon 2015.1.2 | * 0.7.1 - Version ab 28.11.2015 bastierend auf Gluon 2015.1.2 | ||
| - | * die nächste Version wird 0.8 sein basierend auf Gluon 2016.1 | + | * 0.9 - basierend auf Gluon 2016.2.6 |
| + | * 0.9.1 - basierend auf Gluon 2016.2.7 | ||
| + | * anschließend dann Umstieg auf 802.11s | ||
| Zeile 24: | Zeile 26: | ||
| Voraussetzungen | Voraussetzungen | ||
| < | < | ||
| - | aptitude | + | apt-get |
| </ | </ | ||
| Zeile 37: | Zeile 39: | ||
| git checkout v2015.1.2 | git checkout v2015.1.2 | ||
| make update | make update | ||
| - | make -j10 GLUON_TARGET=ar71xx-generic | + | make -j10 GLUON_TARGET=ar71xx-generic |
| - | make manifest GLUON_BRANCH=stable | + | # Falls die Versin < 2017 ist, muß die Datei modules angepaßt werden: |
| + | # Das Reporitory muß von openwrt auf chaos_calmer umgestellt werden | ||
| + | |||
| + | make update | ||
| + | |||
| + | make manifest GLUON_BRANCH=[stable|beta|experimental] | ||
| </ | </ | ||
| Zeile 54: | Zeile 61: | ||
| cd gluon | cd gluon | ||
| git pull | git pull | ||
| - | make clean GLUON_TARGET=ar71xx-generic | + | make clean GLUON_TARGET=ar71xx-generic |
| make update | make update | ||
| - | make -j10 GLUON_TARGET=ar71xx-generic | + | make -j10 GLUON_TARGET=ar71xx-generic |
| </ | </ | ||
| + | Alles löschen: '' | ||
| + | ==== Fehlerbehebung ==== | ||
| + | |||
| + | Falls der Build mit einer Fehlermeldung abbricht, kann das Kommando um '' | ||
| + | ergänzt werden. Damit wird eine ausführliche Protokollierung eingeschaltet. | ||
| + | |||
| + | Fehler aufgrund Änderungen in glibc | ||
| + | |||
| + | Fehler bei m4: | ||
| + | < | ||
| + | cd ./ | ||
| + | sed -i ' | ||
| + | echo "# | ||
| + | </ | ||
| + | |||
| + | <file patch tools/ | ||
| + | Subject: Workaround change in glibc | ||
| + | |||
| + | Temporary workaround to compile with glibc 2.28, which | ||
| + | deprecated some constants | ||
| + | |||
| + | Based on the workaround made for the tools/m4 package | ||
| + | |||
| + | --- a/ | ||
| + | +++ b/ | ||
| + | @@ -18,6 +18,12 @@ | ||
| + | the same implementation of stdio extension API, except that some fields | ||
| + | have different naming conventions, | ||
| + | |||
| + | +/* Glibc 2.28 made _IO_IN_BACKUP private. | ||
| + | + | ||
| + | + | ||
| + | +#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN | ||
| + | +# define _IO_IN_BACKUP 0x100 | ||
| + | +#endif | ||
| + | |||
| + | /* BSD stdio derived implementations. | ||
| + | |||
| + | --- a/ | ||
| + | +++ b/ | ||
| + | @@ -29,7 +29,7 @@ | ||
| + | /* Most systems provide FILE as a struct and the necessary bitmask in | ||
| + | < | ||
| + | fast macros. | ||
| + | -#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ | ||
| + | +#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ | ||
| + | | ||
| + | #elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin */ | ||
| + | | ||
| + | </ | ||
| + | |||
| + | <file patch tools/ | ||
| + | Fixes the following build error with GCC 10: | ||
| + | / | ||
| + | And a compile warning. | ||
| + | |||
| + | --- a/ | ||
| + | +++ b/ | ||
| + | @@ -61,7 +61,7 @@ extern int add_file(long long, long long | ||
| + | | ||
| + | | ||
| + | |||
| + | -int swap; | ||
| + | +static int swap; | ||
| + | |||
| + | int read_block(int fd, long long start, long long *next, unsigned char *block, squashfs_super_block *sBlk) | ||
| + | { | ||
| + | --- a/ | ||
| + | +++ b/ | ||
| + | @@ -258,6 +258,7 @@ int read_sort_file(char *filename, int s | ||
| + | void sort_files_and_write(struct dir_info *dir); | ||
| + | | ||
| + | | ||
| + | +int dir_scan2(squashfs_inode *inode, struct dir_info *dir_info); | ||
| + | |||
| + | # | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | Meistens fehlt: | ||
| + | #include < | ||
| + | |||
| + | Mögliche betroffene Dateien: | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | siehe auch: https:// | ||
| ===== Firmware signieren ===== | ===== Firmware signieren ===== | ||