- 04 10月, 2022 10 次提交
-
-
由 John Audia 提交于
Manually rebased: hack-5.10/780-usb-net-MeigLink_modem_support.patch Removed upstreamed: patches-5.10/110-gpio-mpc8xxx-Fix-support-for-IRQ_TYPE_LEVEL_LOW-flow.patch[1] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.145&id=24196210b198e8e39296e277bb93b362aa207775Signed-off-by: NJohn Audia <therealgraysky@proton.me> (cherry picked from commit 8fe67fae)
-
由 John Audia 提交于
All patches automatically rebased. Signed-off-by: NJohn Audia <therealgraysky@proton.me> (cherry picked from commit eff4f8b2)
-
由 Matthias Schiffer 提交于
The device has only 1 WAN + 3 LAN ports. Remove "lan4" interface corresponding to the non-existing port. Signed-off-by: NMatthias Schiffer <mschiffer@universe-factory.net> (cherry picked from commit 149fc3a2)
-
由 Josef Schlehofer 提交于
If you would like to compile the newest version of U-boot together with the stable OpenWrt version, which does not have LibreSSL >= 3.5, which was updated in the master branch by commit 5451b03b ("tools/libressl: bump to v3.5.3"), then you need these two patches to fix it. They are backported from U-boot repository. This should be backported to stable OpenWrt versions. Reported-by: NMichal Vasilek <michal.vasilek@nic.cz> Signed-off-by: NJosef Schlehofer <pepe.schlehofer@gmail.com> (cherry picked from commit 185541f5)
-
由 Josef Schlehofer 提交于
This issue was reported by @paper42, who is using Void Linux with musl to compile OpenWrt and its packages and found out it is not possible to compile U-boot for Turris Omnia (neither any other). It fixes following output: ``` HOSTCC tools/kwboot tools/kwboot.c: In function 'kwboot_tty_change_baudrate': tools/kwboot.c:662:6: error: 'struct termios' has no member named 'c_ospeed' 662 | tio.c_ospeed = tio.c_ispeed = baudrate; | ^ tools/kwboot.c:662:21: error: 'struct termios' has no member named 'c_ispeed' 662 | tio.c_ospeed = tio.c_ispeed = baudrate; | ^ tools/kwboot.c:690:31: error: 'struct termios' has no member named 'c_ospeed' 690 | if (!_is_within_tolerance(tio.c_ospeed, baudrate, 3)) | ^ tools/kwboot.c:693:31: error: 'struct termios' has no member named 'c_ispeed' 693 | if (!_is_within_tolerance(tio.c_ispeed, baudrate, 3)) | ``` Tested-by: NMichal Vasilek <michal.vasilek@nic.cz> Signed-off-by: NJosef Schlehofer <pepe.schlehofer@gmail.com> (cherry picked from commit 9c747295)
-
由 Mark King 提交于
At some point after 21.02.3 and before 22.03.0, the size limits of the Linksys RE6500 were reached and prevent booting from the 22.03.0 release or builds of current SNAPSHOT. This patch allows builds of master to boot again and has been tested on my device. Fixes: #8577 Signed-off-by: NMark King <mark@vemek.co> (cherry picked from commit bf5b1a53)
-
由 Rosen Penev 提交于
For some reason, Microsoft's Plan9 driver returns IOError on missing file. Signed-off-by: NRosen Penev <rosenp@gmail.com> (cherry picked from commit 875e1777)
-
由 Christian Lamparter 提交于
Debian's changelog by Henrique de Moraes Holschuh <hmh@debian.org>: * New upstream microcode datafile 20220809 * Fixes INTEL-SA-00657, CVE-2022-21233 Stale data from APIC leaks SGX memory (AEPIC leak) * Fixes unspecified errata (functional issues) on Xeon Scalable * Updated Microcodes: sig 0x00050653, pf_mask 0x97, 2022-03-14, rev 0x100015e, size 34816 sig 0x00050654, pf_mask 0xb7, 2022-03-08, rev 0x2006e05, size 44032 sig 0x000606a6, pf_mask 0x87, 2022-04-07, rev 0xd000375, size 293888 sig 0x000706a1, pf_mask 0x01, 2022-03-23, rev 0x003c, size 75776 sig 0x000706a8, pf_mask 0x01, 2022-03-23, rev 0x0020, size 75776 sig 0x000706e5, pf_mask 0x80, 2022-03-17, rev 0x00b2, size 112640 sig 0x000806c2, pf_mask 0xc2, 2022-03-19, rev 0x0028, size 97280 sig 0x000806d1, pf_mask 0xc2, 2022-03-28, rev 0x0040, size 102400 sig 0x00090672, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064 sig 0x00090675, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064 sig 0x000906a3, pf_mask 0x80, 2022-06-15, rev 0x0421, size 216064 sig 0x000906a4, pf_mask 0x80, 2022-06-15, rev 0x0421, size 216064 sig 0x000a0671, pf_mask 0x02, 2022-03-17, rev 0x0054, size 103424 sig 0x000b06f2, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064 sig 0x000b06f5, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064 Signed-off-by: NChristian Lamparter <chunkeey@gmail.com> (cherry picked from commit bb73828b)
-
由 Hauke Mehrtens 提交于
When building with an external toolcahin with musl also include ./include/fortify by default. This is also done when we build with the internal toolchain using musl libc. Without this extra include the fortify source feature is not working when using an external musl toolchain. All binaries were compiled without fortify source when an external musl toolchain was used. All binaries release done by the OpenWrt project use the internal toolcahin where fortify source is working. Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit b21ddbfa)
-
由 Hauke Mehrtens 提交于
When we use the internal toolchain USE_SSTRIP will be selected by default for musl libc and USE_STRIP when glibc is used. Do the same when an external toolchain is used. USE_GLIBC will also be set for external toolchain builds based on the EXTERNAL_TOOLCHAIN_LIBC_USE_GLIBC setting. Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 9403810c)
-
- 03 10月, 2022 8 次提交
-
-
由 Christian Marangi 提交于
Openwrt now supports only glibc and musl. Add support for musl and rework the libc check to handle the new config flags and correctly compile package basend on that. Signed-off-by: NChristian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 7be01fe1)
-
由 Christian Marangi 提交于
Openwrt generate info.mk that contains the libc type. For probe_cc check if the file exist and parse directly it for LIBC type. Signed-off-by: NChristian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 75311977)
-
由 Christian Marangi 提交于
Currently we never call probe_cc before config generation, this cause the script to never actually detect the correct libc type. Call probe_cc before config generation to correctl set the .config file. Signed-off-by: NChristian Marangi <ansuelsmth@gmail.com> (cherry picked from commit ddeabc75)
-
由 Christian Marangi 提交于
It can be useful to overwrite an already generated config. Option are simply added at the end of the config and make defconfig will overwrite the relevant option with the new one. Signed-off-by: NChristian Marangi <ansuelsmth@gmail.com> (cherry picked from commit f4dd18ca)
-
由 Christian Marangi 提交于
The parsed prefix in print_config is wrong and this produce broken generated .config that won't work with any external toolchain. Currently the prefix from a CC of 'arm-openwrt-linux-muslgnueabi-gcc-12.1.0' produce a prefix 'arm-openwrt-linux-muslgnueabi-gcc-' This is wrong as the real prefix should be 'arm-openwrt-linux-muslgnueabi-' This is probably caused by a change in how the toolchain is now handled that now append also the gcc version. Probably in ancient days the version wasn't part of the name and the prefix generation stripped the '-gcc' instead of the gcc version. Fix this and correctly strip the gcc version and the gcc suffix to correctly call toolchain bins. Signed-off-by: NChristian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 53c29326)
-
由 Christian Marangi 提交于
Don't add wrapped bin to the TARGET_PATH as it does cause compilation error. cmake.mk will use the "command -v" and will use the wrapped bin instead of the external toolchain bin as they have the same name and command will select the first result. Signed-off-by: NChristian Marangi <ansuelsmth@gmail.com> (cherry picked from commit a90eabf6)
-
由 Vincent Wiemann 提交于
When using the OpenWrt toolchain as an external toolchain the build failed due to missing LTO support. By choosing the GCC wrappers of the tools this commit makes sure that the LTO-enabled executables are being used. Signed-off-by: NVincent Wiemann <vincent.wiemann@ironai.com> [ wrap the commit description to 72 char ] Signed-off-by: NChristian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 2555ffb4)
-
由 Rafał Miłecki 提交于
It allows dropping downstream patch renaming DT nodes. Signed-off-by: NRafał Miłecki <rafal@milecki.pl> (cherry picked from commit 77d9cce6)
-
- 02 10月, 2022 1 次提交
-
-
由 Santiago Piccinini 提交于
Watchdog and poe_passthrough gpios require the jtag disabled. Signed-off-by: NSantiago Piccinini <spiccinini@altermundi.net> (cherry picked from commit 2ad949b1)
-
- 30 9月, 2022 2 次提交
-
-
由 Chris Osgood 提交于
Fixes build warnings when using newer versions of grep. Signed-off-by: NChris Osgood <chris_github@functionalfuture.com> Tested-by: NGeorgi Valkov <gvalkov@gmail.com> (cherry picked from commit c5e167e0) [ fix conflict error ] Signed-off-by: NChristian Marangi <ansuelsmth@gmail.com>
-
由 Nick Hainke 提交于
We simply grep for "/usr". So no need for "-E" or "\/". Furthermore, in the new grep versions this creates warnings. As written in the grep-3.8 announcement: Regular expressions with stray backslashes now cause warnings, as their unspecified behavior can lead to unexpected results. For example, '\a' and 'a' are not always equivalent <https://bugs.gnu.org/39678>. Fixes warnings in the form of: grep: warning: stray \ before / Signed-off-by: NNick Hainke <vincent@systemli.org> (cherry picked from commit a29d3bc4) [ fix conflict error ] Signed-off-by: NChristian Marangi <ansuelsmth@gmail.com>
-
- 27 9月, 2022 2 次提交
-
-
由 Felix Fietkau 提交于
- fix including modules.mk when a target is being replaced - fix calling make targets from target/linux Signed-off-by: NFelix Fietkau <nbd@nbd.name> (cherry-picked from commit 3a8825ad)
-
由 Felix Fietkau 提交于
Fixes: ebc36ebb ("scripts/feeds: install targets to target/linux/feeds and support overriding") Signed-off-by: NFelix Fietkau <nbd@nbd.name> (cherry-picked from commit 00094efe)
-
- 24 9月, 2022 1 次提交
-
-
由 Josef Schlehofer 提交于
Backports Linux kernel patch [1] for kernel 5.10 where it applies cleanly. This was tested on CZ.NIC Turris 1.1 router running OpenWrt 22.03 release. Before: - In /var/log/messages: ``` [ 16.392988] lm90 0-004c: cannot request IRQ 48 [ 16.398280] lm90: probe of 0-004c failed with error -22 ``` - Sensors does not work: ``` root@turris:~# sensors No sensors found! Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are. ``` After: ``` root@turris:/# sensors sa56004-i2c-0-4c Adapter: MPC adapter (i2c@3000) temp1: +44.0°C (low = +0.0°C, high = +70.0°C) (crit = +85.0°C, hyst = +75.0°C) temp2: +73.8°C (low = +0.0°C, high = +70.0°C) ALARM (HIGH) (crit = +85.0°C, hyst = +75.0°C) ``` [1] https://lore.kernel.org/linux-gpio/20220906105431.30911-1-pali@kernel.org/Signed-off-by: NJosef Schlehofer <pepe.schlehofer@gmail.com> (cherry picked from commit 2f496c34) (c&p commit ID from openwrt's master) Signed-off-by: NChristian Lamparter <chunkeey@gmail.com>
-
- 23 9月, 2022 2 次提交
-
-
由 Wenli Looi 提交于
This change was included in the original pull request but later omitted for some reason: https://github.com/openwrt/openwrt/pull/4936Signed-off-by: NWenli Looi <wlooi@ucalgary.ca> (cherry picked from commit 4cccea02)
-
由 Stijn Tintel 提交于
Enabling KERNEL_KPROBES exposes KERNEL_BPF_KPROBE_OVERRIDE. Add a build option for it to fix build failures with KERNEL_KPROBES enabled. Signed-off-by: NStijn Tintel <stijn@linux-ipv6.be> (cherry picked from commit 500c37c5)
-
- 21 9月, 2022 5 次提交
-
-
由 Rafał Miłecki 提交于
Signed-off-by: NRafał Miłecki <rafal@milecki.pl> (cherry picked from commit 1722e23f)
-
由 Rafał Miłecki 提交于
1. Fix casting 2. Support DT-defined variables Signed-off-by: NRafał Miłecki <rafal@milecki.pl> (cherry picked from commit 5652f378)
-
由 Rafał Miłecki 提交于
Broadcom's U-Boot contains environment data blocks. They need to be found (offsets aren't predefined) to access env variables. Signed-off-by: NRafał Miłecki <rafal@milecki.pl> (cherry picked from commit 13714984)
-
由 Stijn Tintel 提交于
When the v1 and v2 variants of the U6LR were introduced, the board network config was not adapted to the new device names. Due to this, the wrong network config is applied during initial boot. The resulting config has lan, wan and a switch, while this device only has a single ethernet interface without a switch. Fix this by using a wildcard that matches all the variants. Fixes: 15a02471 ("mediatek: new target mt7622-ubnt-unifi-6-lr-v1") Fixes: 5c8d3893 ("mediatek: new target ubnt_unifi-6-lr-v1-ubootmod") Fixes: 31d86a1a ("mediatek: add Ubiquiti UniFi 6 LR v2 targets") Signed-off-by: NStijn Tintel <stijn@linux-ipv6.be> Acked-by: NDaniel Golle <daniel@makrotopia.org> (cherry picked from commit 117f41ee)
-
由 David Bauer 提交于
Signed-off-by: NDavid Bauer <mail@david-bauer.net>
-
- 19 9月, 2022 2 次提交
-
-
由 Daniel Golle 提交于
Serge Vasilugin reports: To improve mt7620 built-in wifi performance some changes: 1. Correct BW20/BW40 switching (see comments with mark (1)) 2. Correct TX_SW_CFG1 MAC reg from v3 of vendor driver see https://gitlab.com/dm38/padavan-ng/-/blob/master/trunk/proprietary/rt_wifi/rtpci/3.0.X.X/mt76x2/chips/rt6352.c#L531 3. Set bbp66 for all chains. 4. US_CYC_CNT init based on Programming guide, default value was 33 (pci), set chipset bus clock with fallback to cpu clock/3. 5. Don't overwrite default values for mt7620. 6. Correct some typos. 7. Add support for external LNA: a) RF and BBP regs never be corrected for this mode b) eLNA is driven the same way as ePA with mt7620's pin PA but vendor driver explicitly pin PA to gpio mode (for forrect calibration?) so I'm not sure that request for pa_pin in dts-file will be enough First 5 changes (really 2) improve performance for boards w/o eLNA/ePA. Changes 7 add support for eLNA Configuration w/o eLAN/ePA and with eLNA show results tx/rx (from router point of view) for each stream: 35-40/30-35 Mbps for HT20 65-70/60-65 Mbps for HT40 Yes. Max results for 2T2R client is 140-145/135-140 with peaks 160/150, It correspond to mediatek driver results. Boards with ePA untested. Reported-by: NSerge Vasilugin <vasilugin@yandex.ru> Signed-off-by: NDaniel Golle <daniel@makrotopia.org> [directly include v3 of the patchset submitted upstream] (cherry picked from commit 31a6605d) (cherry picked from commit e785ca05) (cherry picked from commit 412fcf3d)
-
由 Sungbo Eo 提交于
Add missing semicolon and refresh patches. Signed-off-by: NSungbo Eo <mans0n@gorani.run> (cherry picked from commit d826c917)
-
- 18 9月, 2022 7 次提交
-
-
由 Daniel Golle 提交于
Prepare patches for sending upstream by adding patch descriptions generated from the original OpenWrt commits adding each patch. Signed-off-by: NDaniel Golle <daniel@makrotopia.org> (cherry picked from commit d4feb660)
-
由 Daniel Golle 提交于
The RGB LED of the UniFi 6 LR v1 doesn't work when using the Openwrt- built U-Boot. This is because the vendor loader resets the ledbar controller while our U-Boot doesn't care. Add reset-gpio so the ledbar driver in Linux will always reset the ledbar controller. Signed-off-by: NDaniel Golle <daniel@makrotopia.org> (cherry picked from commit 0b5cf952)
-
由 Sven Wegener 提交于
Hardware -------- - SoC: MediaTek MT7621AT with 128 MiB RAM and 32 MiB Flash - Wi-Fi: MediaTek MT7603 (b/g/n, 2x2) and MediaTek MT7615 (ac, 4x4) - Bluetooth: CSR8811 (internal USB, install kmod-bluetooth) Installation ------------ 1. Connect to the booted device at 192.168.1.20 using username/password "ubnt". 2. Update the bootloader environment. $ fw_setenv devmode TRUE $ fw_setenv boot_openwrt "fdt addr \$(fdtcontroladdr); fdt rm /signature; bootubnt" $ fw_setenv bootcmd "run boot_openwrt" 3. Transfer the OpenWrt sysupgrade image to the device using SCP. 4. Check the mtd partition number for bs / kernel0 / kernel1 $ cat /proc/mtd 5. Set the bootselect flag to boot from kernel0 $ dd if=/dev/zero bs=1 count=1 of=/dev/mtdblock4 6. Write the OpenWrt sysupgrade image to both kernel0 as well as kernel1 $ dd if=openwrt.bin of=/dev/mtdblock6 $ dd if=openwrt.bin of=/dev/mtdblock7 7. Reboot the device. It should boot into OpenWrt. Signed-off-by: NSven Wegener <sven.wegener@stealer.net> (cherry picked from commit 820f0c07)
-
由 Daniel Golle 提交于
The patch adding support for LEDs connected to a reset controller did not apply any more, refresh it on top of current master. Fixes: 53fc987b ("generic: move ledbar driver from mediatek target") Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de> Signed-off-by: NDaniel Golle <daniel@makrotopia.org> (cherry picked from commit 76fc2779)
-
由 Sven Wegener 提交于
This moves the ledbar driver to generic, to be also used by the ramips target. Signed-off-by: NSven Wegener <sven.wegener@stealer.net> (cherry picked from commit 53fc987b)
-
由 Sven Wegener 提交于
The LEDs connected to the MCU are so-called smart LEDs and their signal is daisy-chained. Because of this, the MCU needs to be told how many LEDs are connected. It also means the LEDs could be individually controlled, if the MCU has a command for this. Signed-off-by: NSven Wegener <sven.wegener@stealer.net> (cherry picked from commit 76198e8f)
-
由 Sven Wegener 提交于
During GPIO initialization the pin state flips and triggers a reset of the ledbar MCU. It needs to be moved through an initialization sequence before working correctly. Signed-off-by: NSven Wegener <sven.wegener@stealer.net> (cherry picked from commit 013a956f)
-