forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 1
added: CX102S board supported on branch 23.05 #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sudolee
wants to merge
17
commits into
asterfusion:openwrt-23.05
Choose a base branch
from
sudolee:cx102s
base: openwrt-23.05
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
Changelog: openwrt/rtl8125@9.014.01...9.015.00 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit a8dea56)
Changelog: openwrt/rtl8126@10.014.01...10.015.00 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit 3d3328b)
When a feed is referenced with a specific commit (i.e. <git_url>^<sha1>), a full clone was performed and a branch was created from the sha1 and named with the sha1. Other git clones operations are shallowed. As Git does not support clone at a specific commit, let's first perform a shallow clone to latest commit, then fetch the relevant commit and finally checkout it (no more 'pseudo' branch). It saves bandwith and significantly speeds up the feed update process. Signed-off-by: Cedric CHEDALEUX <cedric.chedaleux@orange.com> Link: openwrt#18003 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 32d0a57) Link: openwrt#18168 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
When a feed has submodules, all its submodules are fully cloned whereas the feed itself is shallowed. Let's be consistent and perform shallow clones as well for the submodules. Signed-off-by: Cedric CHEDALEUX <cedric.chedaleux@orange.com> Link: openwrt#18003 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 9ec32cf) Link: openwrt#18168 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Quoting the kconfig description for CONFIG_PCPU_DEV_REFCNT: network device refcount are using per cpu variables if this option is set. This can be forced to N to detect underflows (with a performance drop). This was introduced from kernel 5.13 and was wrongly set as disabled. Some target actually enables it but this should be always enabled unless refcount needs to be debugged (unlikely for production images) Enable in generic and drop the entry in every other target. Link: openwrt#18174 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit ea6f3e4) [ adapt for kernel 5.15 ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
where csv = comma separated value(s) Make the function more generic. Can use it for not only 'config'. Now it can be used to parse interfaces for additional lldpd settings, e.g. custom-tlv. Tested on: 22.03.6 Signed-off-by: Paul Donald <newtwen+github@gmail.com> Link: openwrt#14872 (cherry picked from commit a015f59) Link: openwrt#18344 Signed-off-by: Robert Marko <robimarko@gmail.com>
Do not verify the format of TLV. Leave that to lldpd. These lldpd config entries: config custom-tlv list ports 'eth0' option tlv 'replace oui 33,44,55 subtype 254 oui-info 55,55,55,55,55' config custom-tlv option tlv 'oui 33,44,44 subtype 232' list ports 'br-lan' list ports 'eth0' config custom-tlv # oui-info truncated option tlv 'add oui 33,44,33 subtype 66 oui-info 5555555555' config custom-tlv option tlv 'add oui 33,44,31 subtype 44' config custom-tlv # invalid oui option tlv 'add oui 3322 subtype 79' config custom-tlv # invalid oui option tlv 'oui 3312 subtype 74' Produce the following lldpd.conf content: configure ports eth0 lldp custom-tlv replace oui 33,44,55 subtype 254 oui-info 55,55,55,55,55 configure ports br-lan,eth0 lldp custom-tlv oui 33,44,44 subtype 232 configure lldp custom-tlv add oui 33,44,33 subtype 66 oui-info 5555555555 configure lldp custom-tlv add oui 33,44,31 subtype 44 configure lldp custom-tlv add oui 3322 subtype 79 configure lldp custom-tlv oui 3312 subtype 74 And lldpd (v1.0.13 on v22) logs the following: Sat Mar 16 19:11:39 2024 daemon.info lldpd[10916]: custom TLV op replace oui 33:44:55 subtype fe Sat Mar 16 19:11:39 2024 daemon.info lldpd[10916]: custom TLV op add oui 33:44:44 subtype e8 Sat Mar 16 19:11:39 2024 daemon.info lldpd[10916]: custom TLV op add oui 33:44:33 subtype 42 Sat Mar 16 19:11:39 2024 daemon.info lldpd[10916]: custom TLV op add oui 33:44:33 subtype 42 Sat Mar 16 19:11:39 2024 daemon.info lldpd[10916]: custom TLV op add oui 33:44:31 subtype 2c Sat Mar 16 19:11:39 2024 daemon.info lldpd[10916]: custom TLV op add oui 33:44:31 subtype 2c Sat Mar 16 19:11:39 2024 daemon.warn lldpcli[10915]: invalid OUI value '3322' Sat Mar 16 19:11:39 2024 daemon.info lldpcli[10915]: an error occurred while executing last command Sat Mar 16 19:11:39 2024 daemon.warn lldpcli[10915]: invalid OUI value '3312' Sat Mar 16 19:11:39 2024 daemon.info lldpcli[10915]: an error occurred while executing last command Sat Mar 16 19:11:39 2024 daemon.info lldpcli[10915]: lldpd should resume operations ( The last two TLV are invalid: their oui must be three hex bytes, comma separated. Only the first hex byte of oui-info 5555555555 is used ) Depends on openwrt#14867 and its release version bump Tested on: 22.03.6 Signed-off-by: Paul Donald <newtwen+github@gmail.com> Link: openwrt#14872 (cherry picked from commit 8d1fe32) Link: openwrt#18344 Signed-off-by: Robert Marko <robimarko@gmail.com>
Fix compilation error for old stable version caused by genlmsg_multicast_allns backport fix pushed middle version. Version 5.15 version 0-169, 6.1 version 0-115, 6.6 version 0-58 have the old genlmsg_multicast_allns version with flags variable. Compiling backport project with these version result in a compilation error. To handle this, introduce a backport function for the affected kernel version. Link: openwrt#18373 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 4039388)
Release Notes: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.6 Changelog (taken from the release notes): - Regressions - parser: Fix detection of duplicate attributes in XML namespace - xmlreader: Fix xmlTextReaderConstEncoding - html: Fix htmlCreatePushParserCtxt with encoding - xmllint: Return error code if XPath returns empty nodeset Compile-tested: x86_x64, Q35 VM, OpenWRT SNAPSHOT r26135-a8bfdf2ed4d9 Run-tested: x86_x64, Q35 VM, OpenWRT SNAPSHOT r26135-a8bfdf2ed4d9 Signed-off-by: Pascal Ernster <git@hardfalcon.net> Link: openwrt#18280 Signed-off-by: Robert Marko <robimarko@gmail.com>
Release Notes: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.7 https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.8 https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.9 This fixes: CVE-2024-34459: Fix buffer overread with xmllint --htmlout CVE-2024-40896: Fix XXE protection in downstream code Link: openwrt#16593 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Link: openwrt#18280 Signed-off-by: Robert Marko <robimarko@gmail.com>
Release Notes: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.0 https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.1 https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.2 https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.3 https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.4 Small size reduction: 415095 bin/packages/mips_24kc-old/base/libxml2_2.12.6-r1_mips_24kc.ipk 87175 bin/packages/mips_24kc-old/base/libxml2-dev_2.12.6-r1_mips_24kc.ipk 20190 bin/packages/mips_24kc-old/base/libxml2-utils_2.12.6-r1_mips_24kc.ipk 398070 bin/packages/mips_24kc-new/base/libxml2_2.13.4-r1_mips_24kc.ipk 86760 bin/packages/mips_24kc-new/base/libxml2-dev_2.13.4-r1_mips_24kc.ipk 19479 bin/packages/mips_24kc-new/base/libxml2-utils_2.13.4-r1_mips_24kc.ipk Link: openwrt#16593 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Link: openwrt#18280 Signed-off-by: Robert Marko <robimarko@gmail.com>
Release Notes: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.5 https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.6 Fixes: CVE-2025-24928 CVE-2024-56171 Link: openwrt#18194 Signed-off-by: Nick Hainke <vincent@systemli.org> Link: openwrt#18280 Signed-off-by: Robert Marko <robimarko@gmail.com>
…not install any software
Get official fingerprint here:
-> https://downloads.openwrt.org/releases/23.05.5/targets/mvebu/cortexa72/kmods/
-> 5.15.167-1-929d60da47a7932cac2a52ce60a4eee0
-> fingerprint is: 929d60da47a7932cac2a52ce60a4eee0
2. Added: system install script for factroy installtion for cx102s
Usage: cp cx102s_config.buildinfo .config && make defconfig
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.
It is recommended to create a new branch of cx102s. This merge of 5 commits supports CX102S:
Solved the problem of being unable to install software packages from the official due to different kernel fingerprints, and is actually fully compatible with official software;
Added a one-click installation script for cx102s;
Added the config file corresponding to cx102s;
Optimized some network-related parameters in the kernel and enabled the L3 dev feature.