Commit Graph

15 Commits

Author SHA1 Message Date
Sean Khan
1f7a6b7879 nss-crypto: Sync with upstream and remove obsolete patches
2024-09-16 - 60e27b9 - Linux 6.6 compilation fixes

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-07-10 20:16:43 -04:00
Sean Khan
17c99d8b48 nss-crypto: fix unnecessary build when not selected
Recent changes in nss-clients enabled unconditional evaluation
of the `qca-nss-drv-dtlsmgr` and `qca-nss-drv-tlsmgr` packages,
which always pulled in their dependencies, including `qca-nss-cfi`
and `qca-nss-crypto`, even if these packages were not selected.

This caused build failures due to missing symbols when the
required NSS crypto components were not enabled.

This commit updates the Makefiles for `qca-nss-crypto` and `qca-nss-cfi`
to ensure that their build and install steps are only executed
if the corresponding package is selected.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-04-29 21:02:17 -04:00
Sean Khan
19f0fefbeb nss-crypto: fix target dependency logic
"@" symbol implies "CONFIG_SOME_SYMBOL" whereas without implies
"CONFIG_PACKAGE_some-package". The later is what we want here since
nss-eip-firmware is a package.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-04-29 03:00:49 -04:00
Sean Khan
43eaccf698 nss-crypto: only select nss-eip-firmware for IPQ807x/60xx
IPQ50xx does not have EIP hardware

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-04-28 00:18:55 -04:00
shi JiaY
ab4635c11a
add ipq5018 support (#41)
* qca-nss-drv: add ipq5018 support

* qca-nss-clients: add ipq5018 support

* qca-nss-crypto: add ipq5018 support

* qca-nss-cfi: add ipq5018 support

* qca-nss-macsec: add ipq5018 support
2025-01-14 11:34:11 -05:00
Sean Khan
a7c763b2ce nss-crypto: add dependancy on nss-eip-firmware
Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-09-21 16:47:33 -04:00
Sean Khan
1ae543092a treewide: Refactor for APK based builds
Update to comply with APK's `pkgver` format.

Rather than stick with the same convention as upstream `qca-ssdk` and
`qca-nss-dp` which uses:

```
$(PKG_NAME)-$(PKG_SOURCE_DATE)~$(PKG_SOURCE_VERSION)
```

i.e. `qca-ssdk-2024.06.13~c451136b.tar.zst`

Add in the QSDK version as part of the release since we
have options to build for both 11.4 and 12.5. This makes it easier to
debug build related issues, by knowing exactly which QSDK version is
being built against.

Example:
```
qca-nss-drv-11.4.0.5.2021.06.24~dc14ca2.tar.zst
qca-nss-drv-12.5.2024.04.06~53a0dc1.tar.zst
qca-nss-clients-11.4.0.5.2021.08.17~153998d.tar.zst
qca-nss-clients-12.5.2024.03.05~9a53b18.tar.zst
```

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-06-24 20:33:28 -04:00
Sean Khan
b00980f17b treewide: Bump to consolidated release QSDK-12.5
Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-06-23 16:39:16 -04:00
Sean Khan
f9ca66a002 qca-nss: mark nss-cfi and nss-crypto as broken
Because of the way these modules will hook into the kernel certain
applications that use devcrypto will try to offload to it. This just
kernel panics and user confusion.

These modules are broken on IPQ807x and there has been no work upstream
to fix it in over 3 years. Luckily these modules aren't required to get
offloading for over 95% of use cases (mostly just affects
IPSec/OpenVPN).

Rather than removing, I'm disabling these modules from showing up
in default build options when "@BROKEN" isn't explicitly enabled.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-06-02 19:42:51 -04:00
Sean Khan
9308d452f6 nss-packages: Bump to QSDK 12.5 for kernel 6.6
note: qca-nss-crypto, and qca-nss-cfi are non-code change releases, but
align with naming scheme upstream anyways.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-05-05 02:49:54 -04:00
Qosmio
2075ebd759 nss-packages: update hashes for 'zst'
Signed-off-by: Qosmio <datapronix@protonmail.com>
2024-04-09 00:25:58 -04:00
Qosmio
2692698a8a nss-packages: add QSDK release in naming scheme
Easier to understand which QSDK you're developing with vs. date and git
hash
2024-03-15 23:22:46 -04:00
JiaY-shi
5bf042dbe4 qca-nss-crypto: fix ipq60xx support 2024-02-28 15:14:10 +08:00
Qosmio
9a35375fef nss-crypto: Require symbol NSS_DRV_CRYPTO_ENABLE 2024-02-19 02:24:12 -05:00
Qosmio
8d54d726c2 Move non-upstream NSS packages back into repo
To keep fork as closely synced with upstream, move NSS packages back
into repository. Not sure why they were moved out from my original fork.
* nss-firmware
* qca-nss-crypto
* qca-nss-cfi

Removed the following:
* mhz (already available in packages repo)
* qrtr (unecessary, and has been broken for years)

Also moved packages out of `qca` and back into root directory.
2024-02-19 01:35:04 -05:00