77e1ae21e67f odhcp6c: set server address from Information-request reply e24ac1cf8c27 dhcpv6: use a per-interface IAID for IA_NA requests 053e6c4b3863 github: improve CI b65ff293a969 dhcpv6: Check status code for IA_ADDR operations 3c7e425169e1 dhcpv6: Add error checking to handle renew failure for IA_PD operations 8de25373a860 dhcpv6: dhcpv6_parse_ia refactor to switch case ca3cd525f447 odhcp6c: fix deamon raw buffer inc d7afeea2b965 dhcpv6c: fix illegal DHCPV6_OPT_FQDN 70f7467db301 script: don't ignore RA with zero router lifetime 6ca1552cb3fe odhcp6c: sync and accumulate RA & DHCPv6 events as fast as possible 29b58cfb4711 odhcp6c: update cmake file ee6d4a82bbeb github: add CI build
0d0fac30075f dhcpv4: bump problem scenario up to warn bf6137092346 config: properly set log level from uci 7956f4271b4e dhcpv6: RFC4833 timezones 7000557cd8f6 dhcpv6-ia: respect prefix assigned to interface (>= /64) e1e60601ffeb odhcpd: improve odhcpd_urandom() c2eb4b59f107 config: fix erroneous clamp message if clamp value == max 54b9e729b00d dhcpv4: bail earlier on release/decline 417f4b11d352 dhcpv4: don't hardcode options array length d63fa3c3612c dhcpv4: shrink struct dhcpv4_message 9653b43617e3 dhcpv4: use iovec for forcereconf messages, fix hash bf41f4edfbe3 dhcpv4: fix padding of iovec message in dhcpv4_handle_msg() be68f423c528 dhcpv4: some minor cleanups post-iovec e24a371ef714 dhcpv4: use iovec for forcerenew opts bd353e891ae6 dhcpv4: use iovec for router and DNS server b81cfaa7859e dhcpv4: use iovec for DNS search and MTU 578a9289440b dhcpv4: use iovec for netmask/hostname/broadcast 5bafc17b79d8 dhcpv4: use iovec for leasetime/renew/rebind b63448ffe447 dhcpv4: introduce a reply_opts array 0533eaea0a94 dhcpv4: use iovec for DNR 6329e37d595d dhcpv4: use iovec for NTP 87fee619205d dhcpv4: use iovec for message and serverid 2f97bf0b56de dhcpv4: reorder some more variables in dhcpv4_handle_msg() 18c1b02bdc20 dhcpv4: remove one more variable from dhcpv4_handle_msg() 6fd691ff29cd dhcpv4: move dest handling from dhcpv4_handle_msg() 1f803caf9a1f dhcpv4: don't copy reqopts around b1be3984ebf8 dhcpv4: more refactoring of dhcpv4_handle_msg() 85717bedf8ce dhcpv4: clarify variable names in dhcpv4_handle_msg() be864ccf9919 dhcpv4: some more cleanups to dhcpv4_handle_msg() f87464520564 dhcpv4: preparations for iovec usage f48e1c205af3 odhcdp: use a more suitable clock 7e78caac4eae dhcpv6: change dhcpv6 message type check in relay 288abd9c4046 dhcpv6: move dhcpv6 message type check for early exit d504458ef515 odhcpd: add a simple build script 4ee309a54011 github: improve CI ff3a241ccc98 odhcpd: shrink binary size by creating a logging function e2ecf7ba6d72 odhcpd: support stderr logging 5de3b0d5b509 odhcpd: add log helpers 398d03a1a236 config: cap dhcpv6_pd_min_len to max instead of only logging error 4f54738d3ae7 config: clamp dhcpv6_hostid_len instead of only logging an error 465f19c9c2e3 config: clamp ra_mtu into 1280-65535 range 434b06133997 config: cap ra_retranstime and warn instead of only logging an error e5f58a90a147 config: cap ra_hoplimit to maximum and warn instead of logging an error 208eb10307c1 config: cap ra_reachabletime to RFC maximum instead of logging error 93449f1513b4 config: drop double size lease times; they are all UINT32_MAX; 439c0ceab131 router: redefine ra_mininterval and ra_maxinterval as uint32_t 84b4dfe81363 config: clamp ra_mininterval, ra_maxinterval, ra_lifetime at load time aa4f26232e05 router: refactor calc_ra_lifetime; redefine ra_lifetime as uint32_t 6ece28ffd475 config: do MaxRtrAdvInterval init at (ra_maxinterval) init time dc03e02d973e router: Apply updated values from RFC9096 (updates RFC4861) to RA/ND cc7766c12abe router: Apply updated values from RFC8319 (updates RFC4861) to RA/ND 964da13e758c config: refactor parse_leasetime() - branch amount remains same 9646c749467b github: fix CMAKE_SYSTEM_PROCESSOR copy&paste 288206c9a2ed github: add CI build 30780debd691 odhcpd: fix a compilation error e0b2c3cf9476 odhcpd: allow assignments to be reassigned 01e5e311b0db odhcpd: support multiple per-client DUIDs aebc647a6b7b odhcpd: support assignments on the basis of IAID cc3ec9c20c61 odhcpd: support IAIDs for static DHCPv6 leases e42c62725942 odhcpd: break up complex matching logic e1123906a4bc odhcpd: document the ubus interface c69200195263 dhcpv4: generate dbus events on lease expiry dd7a2d474d0d dhcpv4: fix ubus events 22481d848e0d odhcpd: remove mac_len argument to ubus_bcast_dhcp_event() d31d64efd56c odhcpd: fix ubus support flag in help msg 9bc1b4e26e10 odhcpd: reduce use of WITH_UBUS defines in code d402cdae4316 ndp: fix macOS IPv6 compatibility by using link-local source addresses
This commit changes the Meraki MR33 and MR74 device trees to use nvmem for ART calibration.
The WiFi BDF was moved from insect-common.dtsi to the respective device files in preparation for additional insect-family devices being added.
Signed-off-by: Hal Martin <hal.martin@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20474 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 9089b71)
airoha: an7583: add additional comments on EVB board
On the Airoha AN7583 EVB there are 2 Aeonsemi AS21xxx PHY but only the one connected to Serdes Ethernet is usable as the other connected to Serdes PON is not actually HW connected (as the serdes is connected to the BOSA port)
Add comments and disable the relevant PHY.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (commit: ea850b5)
airoha: an7583: drop bootloader artifacts entry and add default pkg
Fix the current image Makefile for Airoha AN7583 by dropping the artifacts entry for bootloader and add default PKG for the PHY mounted on the RFB boards.
The artifacts for the bootloader will be readded later once ATF-A support will be pushed mainline.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (commit: a7964f0)
airoha: backport additional upstream patch for NPU support for AN7583
Backport additional patch required for NPU support of Airoha AN7583. These are specific for the NPU module with some minor fixes and to adds upport for loading the specific Airoha AN7583 NPU firmware.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (commit: 8b4adfb)
Drop redundant patch for host build as this has been fixed in 1.44.1 but for some reason it wasn't notice with the patch directly refreshed (with the fix right up)
Fixes: 198172c04882 ("package/utils/e2fsprogs: update to 1.44.1") Link: https://github.com/openwrt/openwrt/pull/20499 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (commit: c700f8f)
e2fsprogs: add pending patch that improve reproducibility
Add pending patch that disable libmagic support as this cause reproducibility issue due to timing of presence of libmagic library at times e2fsprogs gets compiled.
The new patch adds control on libmagic inclusion and we add the --without-libmagic to the configure args by default.
Reported-by: Paul Spooren <mail@aparcar.org> Link: https://github.com/openwrt/openwrt/pull/20499 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (commit: cdf8910)
image: fix race between mkits.sh and mkimage in .itb squashfs generation
With further investigation it was found a race in generating .itb images that include a RootFS caused by the mkits.sh and the mkimage.
Due to the fact that mkits.sh generates a .pagesync image of the passed rootfs, it can happen that, concurrently, mkimage can be called at the same time mkits.sh is creating another .pagesync for the same rootfs.
This cause mkimage to use an half made rootfs.pagesync creating a corrupted image.
To address this, also protect the mkimage with the same lock used for mkits.sh preventing any kind of concurrent usage/generation of the rootfs.pagesync blob
As mkits.sh only generates the relevant DTS for mkimage and is specific for the building image, we can move it outside the locked section as it doesn't do any operation that can be used concurrently by others.
This won't have any real impact but clean the code making it clear what needs to be protected and what can be executed concurrently.
Link: https://github.com/openwrt/openwrt/pull/20492 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (commit: 5a42ed1)
realtek: phy: rtl931x: remove SerDes code from PHY driver
Since ddf94f7489 and 4a5de35dba, a SerDes is configured by the PCS driver. All code from PHY and DSA related to this has been imported and adjusted into the PCS driver. Thus, remove the unused code from the PHY driver now.
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20494 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: c6f84b4)
ipq40xx: remove trailing whitespaces in base-files
This removes the obsolete trailing whitespaces from all base-files cases to be in line with other targets.
Signed-off-by: Christoph Krapp <achterin@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20518 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 324c502)
This changes the use of spaces to tabs in all base-files to be in line with other targets.
Signed-off-by: Christoph Krapp <achterin@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20518 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: f53bbd5)
Signed-off-by: Christoph Krapp <achterin@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20518 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 26d2485)
Signed-off-by: Christoph Krapp <achterin@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20518 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 5983bc3)
odhcp6c: change dhcpv6.sh config option "ifaceid" to "ip6ifaceid"
With this change, the interface identifier can be configured via LuCI.
Signed-off-by: Peter Meiser <peter.meiser@gmx.com> Link: https://github.com/openwrt/openwrt/pull/19318 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 87fa17a)
airoha: an7581: add Aeonsemi AS21xxx PHY to RFB eMMC board
Airoha AN7581 eMMC RFB board mount 2 Aeonsemi AS21xxx PHY. One is usually connected to GDM4 and the other is optionally connected to GDM2. Add the relevant nodes to support the one connected to GDM4.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (commit: 26da4bf)
These paths have changed in recent kernels, so we need to adapte.
The CONFIG_GOOGLE_VPD kernel module (provided by kmod-google-firmware) is present on OnHub, and provides alternative means to locate this information, in /sys/firmware/vpd/ro/wifi_base64_calibration{0,1,2}. Use that instead.
Signed-off-by: Brian Norris <computersforpeace@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20477 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 24d2ac6)
merged upstream with commit: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.6.y&id=bc718d0bd87e372f7786c0239e340f3577ac94fa
merged upstream with commit: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.114&id=499089376206f3f7f09d6852b3ec92f2674d24bb
Fix the GPIO assignment of RX-LOS and TX-DISABLE for all SFP ports. Both were actually swapped when adding support for the device. Apparently, this didn't cause any issues.
Fixes: 62d50fb196 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20532 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 8026644)
The following patches were removed: * 010-486180-Valgrind-MIPS-VexGuestArchState-has-no-member.patch [1] * 020-mips-skip-using-shared-syscall-numbers-for-mips32.patch [2] * 021-mips-skip-using-shared-syscall-numbers-for-mips64.patch [3]
Fixes the following error by backporting upstream update: ``` scripts/dtc/pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_next_node’: scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 5581 | resultobj = SWIG_Python_AppendOutput(resultobj, val); | ^~~~~~~~~~~~~~~~~~~~~~~~ ```
This is the same fix as applied in 4e68103c4eb9 ("uboot-rockchip: fix build with swig 4.3.0")
A patch similar to the removed one was applied upstream: https://github.com/jvoisin/fortify-headers/commit/b40f6d87482f20e968b27470baca042e50cd6792
The root file system is getting a bit bigger. Without this commit: 5250380 bin/targets/armsr/armv8/openwrt-armsr-armv8-generic-rootfs.tar.gz 4919997 bin/targets/malta/be/openwrt-malta-be-default-rootfs.tar.gz With this commit: 5263407 bin/targets/armsr/armv8/openwrt-armsr-armv8-generic-rootfs.tar.gz 4930011 bin/targets/malta/be/openwrt-malta-be-default-rootfs.tar.gz
On the RTL930x series the serdes #3 is backed by serdes #10 when pages 0, 1, 2 or 3 are accessed [1]. This changeset modifies the sds mapping function from a single implementation for the 3 families to one implementation per chip family. In particular it implements the mapping required for the rtl930x one.
Adds the serdes patch sequence [1] and configuration [2] for the PHY_INTERFACE_MODE_10G_QXGMII mode (aka USXGMII_QX in Realtek sources). It is required by devices with light bootloaders (ie not u-boot) that does not initialize the hardware before booting the kernel.
realtek: add 10G_QXGMII serdes mode support for RTL930x
In Realtek implementation USXGMII is divided in submodes: - USXGMII_SX: 10G single link, equivalent of PHY_INTERFACE_MODE_USXGMII - USXGMII_DX: 10G two links (2*5G ?), - USXGMII_QX: 10G four links, presumably 4*2.5G, used with the RTL8224, equivalent of PHY_INTERFACE_MODE_10G_QXGMII.
This CL adds the 10_GQXGMII modes to the RTL930x implementation. In particular the "mode set" function is extended to support both simple mode set, and force mode set depending on the mode according to dal_longan_sds_mode_set [1].