Repository navigation
jenkins: build with discoverd successful builds - #9
Closed
jsommerville-untangle wants to merge 1145 commits into
Closed
jsommerville-untangle wants to merge 1145 commits into
jsommerville-untangle wants to merge 1145 commits into
Conversation
86818eaa976b blob: make blob_parse_untrusted more permissive cf2e8eb485ab tests: add fuzzer seed file for crash in blob_len c2fc622b771f blobmsg: fix length in blobmsg_check_array 639c29d19717 blobmsg: simplify and fix name length checks in blobmsg_check_name 66195aee5042 blobmsg: fix missing length checks Signed-off-by: Felix Fietkau <[email protected]> (cherry picked from commit b371182)
078bb57 uci: reset uci_ptr flags when merging options during section add 3df62bc session: deny access if password login is disabled efe51f4 iwinfo: add current hw and ht mode to info call Signed-off-by: Jo-Philipp Wich <[email protected]>
This reverts commit adf5d75. Reverting this commit because it relies on a changed libiwinfo API. Signed-off-by: Jo-Philipp Wich <[email protected]>
67c8a3f uci: reset uci_ptr flags when merging options during section add 970ce1a session: deny access if password login is disabled Signed-off-by: Jo-Philipp Wich <[email protected]>
Import proposed upstream fix [2] for the critical locking synchronization bug recently found in musl [1]. This affects all programs that are temporarily multithreaded, but then return to single-threaded operation. [1] https://www.openwall.com/lists/musl/2020/05/22/3 [2] https://www.openwall.com/lists/musl/2020/05/22/10 Signed-off-by: Matthias Schiffer <[email protected]> (cherry picked from commit 10c2110)
Add a local hack to prevent the Broadcom WPA authenticator process from inheriting the lock descriptor 1000 used to prevent concurrent executions of the init script. Without this fix, repeated invocations of /etc/init.d/network, e.g. for obtaining the enabled state, would hang forever. Signed-off-by: Jo-Philipp Wich <[email protected]> (cherry picked from commit a03d6d2)
Also ensure that the error message is actually printed to stderr and that the rule generation is aborted if an interface cannot be resolved. Ref: openwrt/luci#3975 Signed-off-by: Jo-Philipp Wich <[email protected]> (cherry picked from commit 559b338)
The -O option for the tplink-v1-header was missing for the TP-Link TL-WR902AC v1, while safeloader and MTDPARTS where set up with a single firmware partition. This led to bootloops after using sysupgrade. Fixes: FS#3118 Signed-off-by: Adrian Schmutzler <[email protected]> (cherry picked from commit a7b07f8)
The TP-Link TL-MR3020 has a three-state mode slider which was previously integrated as a button (EV_KEY). This led to spurious activations of failsafe mode. Set the type for the button to switch (EV_SW), to avoid unintended activations of failsafe mode. Related: commit 27f3f49 ("gpio-button-hotplug: unify polled and interrupt code") Signed-off-by: David Bauer <[email protected]> (cherry picked from commit b017a01)
Make the driver work with recent upstream changes. Fixes: FS#2632 Ref: openwrt#2815 Signed-off-by: John Crispin <[email protected]> (cherry picked from commit 6786dc2)
During porting support for this router to ath79 target it was discovered that GPIO mapping was incorrect (GPIO11 active high). Correct mapping for both V1 and V2 is GPIO12 active low. Default configuration from GPL source for V2 explicitly states this, and this was confirmed experimentally on ath79 by looking on /sys/kernel/debug/gpio. Correctness of this was also validated for V1 by cross-flashing vendor firmware for V1 on V2 hardware, in which reset button also worked. Fix it. Signed-off-by: Lech Perczak <[email protected]> [slightly adjust commit title] Signed-off-by: Adrian Schmutzler <[email protected]> (cherry picked from commit f841e70)
Since the wireless LED was used for boot and set up with a DT trigger, the WiFi indication hasn't worked on ath79 at all. In addition, a look into the manual revealed that the OEM configuration is as follows: LED 1 (green): power LED 2 (green): configurable LED 3 (red): wireless So, let's just keep the WiFi trigger and convert the rest to its "intended" use. Signed-off-by: Adrian Schmutzler <[email protected]> (cherry picked from commit 705fe43)
Remove extraneous code that disabled boot partition detection. Fixes: b3770ea ("mtd: base-files: Unify dual-firmware devices (Linksys)") Signed-off-by: Samantha Collard <[email protected]> (cherry picked from commit 0f910a8)
Ubiquiti WA devices with newer hw version 2011K require UBNT_VERSION to be at least 8.5.3, otherwise the image is rejected: New ver: WA.ar934x.v8.5.0-42.OpenWrt-r10947-65030d81f3 Versions: New(525568) 8.5.0, Required(525571) 8.5.3 Invalid version 'WA.ar934x.v8.5.0-42.OpenWrt-r10947-65030d81f3' For consistency, also increase version number for XC devices. Tested-by: Pedro <[email protected]> Signed-off-by: Roger Pueyo Centelles <[email protected]> (cherry picked from commit 95caa34)
Specification: - SoC: Qualcomm Atheros QCA9533 (560 MHz, MIPS 24Kc) - RAM: 32 MiB - Storage: 4 MiB of Flash on board - Wireless: Built into QCA9533 (Honey Bee), PHY modes b/g/n - Ethernet: 1x100M (port0) Installation through OEM Web Interface: - Connect to TL-WR802N by Ethernet or Wi-Fi - Go to web interface: [V1] http://192.168.0.1 [V2] http://192.168.0.254 Default user is "admin" & password is "admin". On V2, there is no DHCP server running by default, so remember to set IP manually. - Go to "System Tools -> Firmware Upgrade" - Browse for firmware: [V1] "*.factory.bin" [V2] "*.factory-us.bin" or "*.factory-eu.bin" for eu model Web interface may complain if filename is too long. In such case, rename .bin to something shorter. - Click upgrade Installation through tftp: Note: T_OUT, T_IN and GND on the board must be connected to USB TTL Serial Configuration 115200 8n1 - Boot the TL-WR802N - When "Autobooting in 1 seconds" appears type "tpl" followed by enter - Connect to the board Ethernet port (IPADDR: 192.168.1.1, ServerIP: 192.168.1.10) - tftpboot 0x80000000 <Firmware Image Name> - Record the result of "printenv bootcmd" - Enter "erase <Result of 'printenv bootcmd'> +0x3c0000" (e.g erase 0x9f020000 +0x3c0000) - Enter "cp.b 0x80000000 <Result of 'printenv bootcmd'> 0x3c0000" (e.g cp.b 0x80000000 0x9f020000 0x3c0000) - Enter "bootm <Result of 'printenv bootcmd'>" (e.g bootm 0x9f020000) Notes: When porting from ar71xx target to ath79, I found out that on V2, reset button is on GPIO12 and active low, instead of GPIO11 and active high. By cross-flashing V1 firmware to V2, I confirmed the same is true for V1. Also according to manual of V1, this one also has green LED instead of blue - both of those issues were fixed accordingly. The MAC address assignment has been checked with OEM firmware. Installation manual based on ar71xx support by Thomas Roberts Signed-off-by: Lech Perczak <[email protected]> [slightly adjust commit message, add MAC address comment] Signed-off-by: Adrian Schmutzler <[email protected]> (cherry picked from commit 7e51313)
CONFIG_VLAN_8021Q was explicitely disabled in oxnas kernel config. Don't do that, so VLANs can be used on the target. Fixes: dcc3457 ("oxnas: bring in new oxnas target") Signed-off-by: Daniel Golle <[email protected]> (cherry picked from commit fd0cc72)
This patch updates the ca-certificates and ca-bundle package.
This version changed the files directory again, to work/, so
PKG_BUILD_DIR was brought back.
A list of changes from Debian's change-log entry for 20200601 [0]:
* mozilla/{certdata.txt,nssckbi.h}:
Update Mozilla certificate authority bundle to version 2.40.
Closes: #956411, #955038
* mozilla/blacklist.txt
Add distrusted Symantec CA list to blacklist for explicit removal.
Closes: #911289
Blacklist expired root certificate, "AddTrust External Root"
Closes: #961907
The following certificate authorities were added (+):
+ "Certigna Root CA"
+ "emSign ECC Root CA - C3"
+ "emSign ECC Root CA - G3"
+ "emSign Root CA - C1"
+ "emSign Root CA - G1"
+ "Entrust Root Certification Authority - G4"
+ "GTS Root R1"
+ "GTS Root R2"
+ "GTS Root R3"
+ "GTS Root R4"
+ "Hongkong Post Root CA 3"
+ "UCA Extended Validation Root"
+ "UCA Global G2 Root"
The following certificate authorities were removed (-):
- "AddTrust External Root"
- "Certinomis - Root CA"
- "Certplus Class 2 Primary CA"
- "Deutsche Telekom Root CA 2"
- "GeoTrust Global CA"
- "GeoTrust Primary Certification Authority"
- "GeoTrust Primary Certification Authority - G2"
- "GeoTrust Primary Certification Authority - G3"
- "GeoTrust Universal CA"
- "thawte Primary Root CA"
- "thawte Primary Root CA - G2"
- "thawte Primary Root CA - G3"
- "VeriSign Class 3 Public Primary Certification Authority - G4"
- "VeriSign Class 3 Public Primary Certification Authority - G5"
- "VeriSign Universal Root Certification Authority"
[0] <https://metadata.ftp-master.debian.org/changelogs//main/c/ca-certificates/ca-certificates_20200601_changelog>
Signed-off-by: Christian Lamparter <[email protected]>
(cherry picked from commit f611b01)
This patch adds ar71xx's GPIO setup for the 2.4GHz and 5GHz antennae demultiplexer: | 158 /* 2.4 GHz uses the first fixed antenna group (1, 0, 1, 0) */ | 159 ap9x_pci_setup_wmac_gpio(0, (0xf << 6), (0xa << 6)); | 160 | 161 /* 5 GHz uses the second fixed antenna group (0, 1, 1, 0) */ | 162 ap9x_pci_setup_wmac_gpio(1, (0xf << 6), (0x6 << 6)); This should restore the range and throughput of the 2.4GHz radio on all the derived wndr3700 variants and versions with the AR7161 SoC. A special case is the 5GHz radio. The original wndr3700(v1) will benefit from this change. However the wndr3700v2 and later revisions were unaffected by the missing bits, as there is no demultiplexer present in the later designs. This patch uses gpio-hogs within the device-tree for all wndr3700/wndr3800/wndrmac variants. Notes: Based on the PCB pictures, the WNDR3700(v1) really had eight independent antennae. Four antennae for each radio and all of those were printed on the circut board. The WNDR3700v2 and later have just six antennae. Four of those are printed on the circuit board and serve the 2.4GHz radio. Whereas the remaining two are special 5GHz Rayspan Patch Antennae which are directly connected to the 5GHz radio. Hannu Nyman dug pretty deep and unearthed a treasure of information regarding the history of how these values came to be in the OpenWrt archives: <https://dev.archive.openwrt.org/ticket/6533.html>. Mark Mentovai came across the fixed antenna group when he was looking into the driver: fixed_antenna_group 1, (0, 1, 0, 1) fixed_antenna_group 2, (0, 1, 1, 0) fixed_antenna_group 3, (1, 0, 0, 1) fixed_antenna_group 4, (1, 0, 1, 0) Fixes: FS#3088 Reported-by: Luca Bensi Reported-by: Maciej Mazur Reported-by: Hannu Nyman <[email protected]> Debugged-by: Hannu Nyman <[email protected]> Signed-off-by: Christian Lamparter <[email protected]> (cherry picked from commit 6130754)
It was noticed that the the whole MAC can hang when transferring data from one ar40xx port (WAN ports) to the CPU and from the CPU back to another ar40xx port (LAN ports). The CPU was doing only NATing in that process. Usually, the problem first starts with a simple data corruption: $ wget https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.4.0-amd64-netinst.iso -O /dev/null ... Connecting to saimei.ftp.acc.umu.se (saimei.ftp.acc.umu.se)|2001:6b0:19::138|:443... connected. ... Read error at byte 48807936/352321536 (Decryption has failed.). Retrying. But after a short while, the whole MAC will stop to react. No traffic can be transported anymore from the CPU port from/to the AR40xx PHY/switch and the MAC has to be resetted. The whole problem can be avoided by disabling IPv6 TSO for this ethernet MAC driver. Signed-off-by: Sven Eckelmann <[email protected]> Acked-by: John Crispin <[email protected]> (backported from commit 6785695, with updated commit message) Signed-off-by: Christian Lamparter <[email protected]>
The Pirelli A226M-FWB has a wrong linux partition offset, caused by a copy-paste error. As of result of this, OpenWrt is currently broken in this unit. Fix it. While at it, also use generic node names and fix the addresses there as well. Fixes: a27d59b ("brcm63xx: switch to new partition layout specification") Signed-off-by: Daniel González Cabanelas <[email protected]> [also fix/update node names, extend commit message] Signed-off-by: Adrian Schmutzler <[email protected]> (cherry picked from commit d64d5ed)
fef6d3d uclient: Add string error function af585db uclient-fetch: support specifying advertised TLS ciphers c660986 uclient-fetch: add option to read POST data from file Signed-off-by: Daniel Golle <[email protected]> (cherry-squashed from commits 05145ff 9801722 dd16696 8e98613)
This reverts commit 0c910d8. We cannot use uclient Git HEAD as-is on 19.07 due to an older version of the ustream-ssl API. Signed-off-by: Jo-Philipp Wich <[email protected]>
51e16eb uclient-fetch: add option to read POST data from file 99aebe3 uclient: Add string error function Fixes: 0c910d8 ("uclient: Update to version 2020-06-17") Signed-off-by: Jo-Philipp Wich <[email protected]>
This ports support for these devices from ar71xx. Specification: - System-On-Chip: Qualcomm Atheros QCA9533 - CPU/Speed: v3: 560 MHz, v4: 650 MHz - Flash: 4096 KiB - RAM: 32 MiB - Ethernet: 1 port @ 100M - Wireless: SoC-integrated: QCA9533 2.4GHz 802.11bgn In contrast to the implementation in ar71xx (reset and WiFi button), the device actually features reset and WPS buttons. Flashing instructions: Upload the ...-factory.bin file via OEM web interface. TFTP Recovery: 1. Set PC to fixed IP address 192.168.0.66 2. Download *-factory.bin image and rename it to wa801ndv3_tp_recovery.bin 3. Start a tftp server with the image file in its root directory 4. Turn off the router 5. Press and hold Reset button 6. Turn on router with the reset button pressed and wait ~15 seconds 7. Release the reset button and after a short time the firmware should be transferred from the tftp server 8. Wait ~30 second to complete recovery. TFTP recovery has only been tested with v3, and the Wiki states that the procedure won't work for v4, which cannot be verified or falsified at the moment. Tested by Tim Ward (see forum): https://forum.openwrt.org/t/ath79-support-for-tp-link-tl-wa901nd-v3-v4-v5/61246/13 Signed-off-by: Adrian Schmutzler <[email protected]> (cherry picked from commit 9a477b8)
In ath79, for several SoCs the console bootargs are defined to the very same value in every device's DTS. Consolidate these definitions in the SoC dtsi files and drop further redundant definitions elsewhere. The only device without any bootargs set has been OpenMesh OM5P-AC V2. This will now inherit the setting from qca955x.dtsi While this is a cosmetic change, backporting it to 19.07 will be a major help for anyone doing backports of device support. Without it, every backporter would have to remember to manually add the chosen node to the device's DTS. Signed-off-by: Adrian Schmutzler <[email protected]> (cherry picked from commit 635f111)
urandom-seed has a separate Makefile, we can safely remove the definition here. Fixes: 27bfde9 ("base-files: move urandom seed bits into separate package") Signed-off-by: Sungbo Eo <[email protected]> (cherry picked from commit 46a6586)
The original text was copy/pasted from some other package. Adjust the package title and description to match the description on the publishers page. Signed-off-by: Catalin Patulea <[email protected]> [slightly adjust content and commit message] Signed-off-by: Adrian Schmutzler <[email protected]> (cherry picked from commit 492a659)
The mwlwifi driver sets the default country code for EU (fi- rmware region code 0x30) certified devices to FR (France), not DE (Germany). Whilst this is a trivial fix, novice users may not know how mwlwifi negatively reacts to a non-matching country code and may leave the setting alone. Especially si- nce it is under the advanced settings section in LuCI. Relevant mwlwifi driver code: kaloz/mwlwifi@0a55031 The mwlwifi driver readme states "Please don't change country code and let mwlwifi set it for you." However, OpenWrt's current behaviour does not adhere to this with its default, 'just flashed from factory' setting for EU devices. Signed-off-by: Jose Olivera <[email protected]> [rebase, extend commit message] Signed-off-by: Adrian Schmutzler <[email protected]> (cherry picked from commit d0e8b83)
Increase the SPI frequency for ELECOM WRC-1900GST and WRC-2533GST to 40 MHz by updating the common DTSI file. Signed-off-by: INAGAKI Hiroshi <[email protected]> [WRC-1900GST] Acked-by: NOGUCHI Hiroshi <[email protected]> [split patch, adjust commit title/message] Signed-off-by: Adrian Schmutzler <[email protected]> (cherry picked from commit b5ae70d)
Fix the switch LAN labels for the DGND3700v1/DGND3800B router, the order is reversed. Signed-off-by: Daniel González Cabanelas <[email protected]> [cut out of bigger patch, adjust commit title/message accordingly] Signed-off-by: Adrian Schmutzler <[email protected]> (cherry picked from commit 583b3e4)
Its way more trouble to update this to a newer version of qemu than it is to backport the two additional features we need.
This functionality allows for multiple NAT chains at a single hook point. For example, two chains at ip/nat/prerouting, two chains at ip6/nat/postrouting, etc. In order to only use unchanged upstream commits without any conflicts I had to pull in a pretty long list of commits. My advice is that we jump to the 4.19 kernel as soon as it is available so we can pull in this functionality by default. This many backported patches makes me kind of nervous. MFW-89
Instead of configuring the embedded Ethernet switch using swconfig and /etc/config/network, switch to the upstream kernel's dsa driver. In this framework, switched ports simply show up as unique Ethernet interfaces (ie. lan1, lan2, wan, etc) that can be configured like any other interface. Switch operation on the linksys devices now mirrors that of the Turris Omnia.
These upstream patches sync the local header copies with those of the current kernel
Signed-off-by: Brett Mastbergen <[email protected]>
The bpftool patches are from v4.16 of the linux kernel. Bpftool was introduced in v4.15 but the version needed for debugging xlated and jitted programs is in v4.16. These patches add bpftool as well as the libbpf and disasm files needed.
The following patches are modified in order for bpftool to build and be used. We didn't patch kernel/bpf/syscall.c and kernel/bpf/verifier.c for instance as they are not required for bpftool (self-contained in the tools directory) to be used. The patches and the subsequent modifications are as follows: 504-v4.16-bpf-move-instruction-printing-into-a-separate-file.patch: - Do not patch kernel/bpf/verifier.c 530-v4.16-bpf-use-char-in-prog-and-map-name.patch: - Do not patch include/linux/bpf.h - Do not patch include/uapi/linux/bpf.h 532-v4.16-bpf-cgroup-implement-ebpf-based-device-controller.patch: - Do not patch kernel/bpf/cgroup.c - Do not patch kernel/bpf/syscall.c - Do not patch kernel/bpf/verifier.c 536-v4.16-bpf-introduce-new-bpf-cpu-map-type.patch: - Do not patch kernel/bpf/syscall.c 549-v4.16-bpf-introduce-bpf-functions-calls-function-boundaries.patch: - Do not patch include/linux/bpf_verifier.h - Do not patch kernel/bpf/verifier.c 553-v4.16-bpf-allow-for-correlation-of-maps-and-helpers-in-dum.patch: - Do not patch include/linux/filter.h - Do not patch kernel/bpf/syscall.c - Do not patch kernel/bpf/verifier.c 556-v4.16-bpf-offload-report-device-information-for-off.patch: - Do not patch include/linux/bpf.h - Do not patch include/uapi/linux/bpf.h - Do not patch kernel/bpf/offload.c - Do not patch kernel/bpf/syscall.c - Whitespace correction in order for patch to succeed in bpf_prog_info 570-v4.16-bpf-offload-report-device-information-about-offloade.patch: - Do not patch include/linux/bpf.h - Do not patch include/uapi/linux/bpf.h - Do not patch kernel/bpf/offload.c - Do not patch kernel/bpf/syscall.c - Whitespace correction in order for patch to succeed in bpf_prog_info 576-v4.16-libbpf-add-error-reporting-in-XDP.patch: - Do not patch samples/bpf/Makefile
These are three custom patches that have no parent in the linux kernel patchsets. 592: Add in musl and libpthread is openwrt is being used 595: Add in $(srctree)/tools/arch/$(ARCH)/include to libbpf Makefile 596: Logic to determine the architecture being used and set variables approriately so builds succeed. These patches will allow espressobin and x86_64 to both succeed compilation.
- complete refactoring - always pull Docker build image - dynamic stage generation - retrieval of mfw_build.git at build time - smarter decision on which feeds branch to use: since the whole point is to build from any openwrt commit-ish, we can't expect that object to always exist in all mfw/feeds repositories - dedicated artifactsDir - choice-based parameters where applicable - force V=s in the 1st build (the assumption here is that the timeouts seen on Jenkins are caused by the build not outputting anything during the (hellishly long) nodejs build)
Comment: MFW-1439
… to build regardless of their naming
mfw-1073 add reportd to jenkinsfile upstream projects
mfw-1645 add restd to upstream projects
… quiet period
Since building openwrt from scratch takes so long, we reuse the build
workspaces on each Jenkins worker, by dedicating one workspace for each
[branch, arch] tuple:
buildDir = "${env.HOME}/build-mfw-${env.BRANCH_NAME}-${myDevice}"
While this allows us to concurrently build different branches, it
results in serious problems if we try to build the same [branch, arch]
and those build tasks end up on the same worker, because different build
processes will then try to write to the same buildspace.
As the number of upstream projects triggering mfw builds has recently
increased, we've started to see build failures caused by that issue.
To avoid that, we choose to disable concurrent builds on each branch,
and we also introduce a quiet period of one minute to pull as many
related changes as possible in each build.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.