add cpmmon firmware aic94xx upd7202 wd719x

This commit is contained in:
joborun linux 2023-09-05 14:56:00 +03:00
parent abfdbfaf72
commit 28eb4cbe58
17 changed files with 296 additions and 0 deletions

View file

@ -0,0 +1,56 @@
ADAPTEC, INC. DOWNLOADABLE SOFTWARE LICENSE
Directions to Obtain Your File: Please read the downloadable software license and answer the required question below.
Eligible users will then have access to the requested file. Adaptec reserves the right to record all activities.
THE ADAPTEC SOFTWARE ("SOFTWARE") IS LICENSED TO YOU FOR USE IN ACCORDANCE WITH THIS ADAPTEC SOFTWARE LICENSE. IF YOU ARE NOT WILLING TO ABIDE BY THESE TERMS AND CONDITIONS, DO
NOT USE THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE GIVING YOUR ASSENT TO THE TERMS OF THIS LICENSE.
1. LICENSE. Adaptec grants to you a non-exclusive, non-transferable, worldwide license to copy the Software in object code form only, combine it with your software and
distribute it, directly to customers, or through your distribution network. You shall have no right to grant any license or sublicense to any third party, to use the Software
for any purpose, except a sublicense to use and distribute the copy produced and distributed by you. You shall have no right to modify all or any part of the Software. You shall
not disassemble, decompile or otherwise reverse engineer the Software nor permit any third party to do so. All rights not expressly granted herein are reserved by Adaptec.
2. PROPRIETARY OWNERSHIP RIGHTS. Adaptec shall retain all ownership, right, title and interest in and to all current and hereafter existing revisions of or modifications to the
Software, including all copies made hereunder and all intellectual property rights related thereto. All copies of the Software made by you shall contain Adaptec's copyright
notice and you shall not remove any copyright notices contained in the Software.
3. WARRANTY EXCLUSION. THE SOFTWARE IS PROVIDED "AS IS". ADAPTEC MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THE SOFTWARE. ADAPTEC EXPRESSLY DISCLAIMS ANY OTHER WARRANTIES,
EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WHETHER ARISING IN LAW, CUSTOM, CONDUCT OR OTHERWISE.
4. LIMITATION OF LIABILITY. IN NO EVENT SHALL EITHER PARTY BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF USE, CONSEQUENTIAL, SPECIAL OR INCIDENTAL DAMAGES ARISING UNDER THIS
AGREEMENT, EVEN IF THE OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO EVENT WILL ANY DAMAGES ATTRIBUTABLE TO ADAPTEC EXCEED THE AMOUNT OF PAYMENTS MADE
TO ADAPTEC UNDER THIS AGREEMENT.
5. TERMINATION OF THIS AGREEMENT. Adaptec may terminate this Agreement if you violate its terms. Upon termination, you will immediately destroy the Software or return all copies
of the Software to Adaptec.
6. APPLICABLE LAW. This Agreement shall be governed by the laws of the State of California, USA, excluding its principles of conflict of laws and the United Nations Convention
on Contracts for the Sale of Goods.
7. AMENDMENT, SEVERABILITY, WAIVER. No supplement or amendment of this Agreement shall be binding, unless executed in writing by both parties and specifically referencing the
supplementing or amendment of this Agreement. Any provision of this Agreement found to be illegal or unenforceable shall be deemed severed, and the balance of this Agreement
shall remain in full force and effect. Neither party's right to require performance of the other party's obligations hereunder shall be affected by any previous waiver,
forbearance or course of dealing, unless or only to the extent of any waiver given in writing. Failure or delay by either party to exercise any of its rights, powers or remedies
hereunder shall not constitute a waiver of those rights, powers or remedies.
8. EXPORT COMPLIANCE. Each party agrees that the Software is subject to the U.S. Export Administration Act and Export Administration Regulations, as well as applicable import
and export regulations of the countries in which each party transacts business. Each party shall comply with such laws and regulations, as well as all other laws and regulations
applicable to the Software. Each party agrees that it will not export, re-export, transfer or divert any of the Software to any country for which United States' laws or
regulations require an export license or other governmental approval, without first obtaining such license or approval, nor will each party export, re-export, transfer or divert
any of the Software to any restricted place or party in accordance with U.S. export regulations.
9. GOVERNMENT RESTRICTED RIGHTS. The Software is provided with RESTRICTED RIGHTS. Use, duplication or disclosure by the Government is subject to restrictions as set forth in
FAR52.227-14 and DFAR252.227-7013 et. seq. or their successors. Us of the Software by the Government constitutes acknowledgment of Adaptec's proprietary right therein. Adaptec,
Inc., 691 South Milpitas Boulevard, Milpitas, California 95035
* Bureau of Industry and Security's Lists to Check
If you have any questions concerning this License, contact:
Adaptec, Inc.
Legal Department
691 South Milpitas Boulevard
Milpitas, California 95035.
t.(408) 957-1718
f.(408) 957-7137

38
aic94xx-firmware/PKGBUILD Normal file
View file

@ -0,0 +1,38 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
_fwname=aic94xx
pkgname=${_fwname}-firmware
pkgver=30
pkgrel=011
pkgdesc="Adaptec SAS 44300, 48300, 58300 Sequencer Firmware for AIC94xx driver"
url="https://storage.microsemi.com/en-us/speed/scsi/linux/${_fwname}-seq-${pkgver}-1_tar_gz.php"
source=("${_fwname}-seq-${pkgver}-1.tar.gz::https://download.adaptec.com/scsi/linux/${_fwname}-seq-${pkgver}-1.tar.gz"
"LICENSE.${_fwname}")
build() {
bsdtar xvf "${_fwname}_seq-${pkgver}-1.noarch.rpm"
chmod 644 "${srcdir}/lib/firmware/${_fwname}-seq.fw"
}
package() {
install -Dm644 "${srcdir}/lib/firmware/${_fwname}-seq.fw" "${pkgdir}/usr/lib/firmware/${_fwname}-seq.fw"
install -Dm644 "${srcdir}/LICENSE.${_fwname}" "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.${_fwname}"
install -Dm644 "${srcdir}/README-94xx.pdf" "${pkgdir}/usr/share/doc/${pkgname}/README-94xx.pdf"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('custom')
sha256sums=(0608a919b95e65e8fe3c0cbc15f7e559716bda39a6efca863417a65f75e15478 # aic94xx-seq-30-1.tar.gz
6e0dd2831a66437e87659ed31384f11bdc7720bc539d2efa063fbb7f4ac0e46c) # LICENSE.aic94xx
## b3bff82ffb65d870a51192c22da57f3fbfdfc7b19ee963574204a4844424a1ba aic94xx-firmware-30-011-x86_64.pkg.tar.lz

View file

@ -0,0 +1,25 @@
# Maintainer: nycex <bernhard / ithnet.com>
_fwname=aic94xx
pkgname=${_fwname}-firmware
pkgver=30
pkgrel=10
pkgdesc="Adaptec SAS 44300, 48300, 58300 Sequencer Firmware for AIC94xx driver"
url="https://storage.microsemi.com/en-us/speed/scsi/linux/${_fwname}-seq-${pkgver}-1_tar_gz.php"
license=('custom')
arch=('any')
source=("${_fwname}-seq-${pkgver}-1.tar.gz::https://download.adaptec.com/scsi/linux/${_fwname}-seq-${pkgver}-1.tar.gz"
"LICENSE.${_fwname}")
sha256sums=('0608a919b95e65e8fe3c0cbc15f7e559716bda39a6efca863417a65f75e15478'
'6e0dd2831a66437e87659ed31384f11bdc7720bc539d2efa063fbb7f4ac0e46c')
build() {
bsdtar xvf "${_fwname}_seq-${pkgver}-1.noarch.rpm"
chmod 644 "${srcdir}/lib/firmware/${_fwname}-seq.fw"
}
package() {
install -Dm644 "${srcdir}/lib/firmware/${_fwname}-seq.fw" "${pkgdir}/usr/lib/firmware/${_fwname}-seq.fw"
install -Dm644 "${srcdir}/LICENSE.${_fwname}" "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.${_fwname}"
install -Dm644 "${srcdir}/README-94xx.pdf" "${pkgdir}/usr/share/doc/${pkgname}/README-94xx.pdf"
}

1
aic94xx-firmware/clean Normal file
View file

@ -0,0 +1 @@
rm -rf {src,pkg,aic94xx*.tar.gz}

2
aic94xx-firmware/deps Normal file
View file

@ -0,0 +1,2 @@

6
aic94xx-firmware/time Normal file
View file

@ -0,0 +1,6 @@
real 0m1.798s
user 0m1.583s
sys 0m0.341s

39
upd72020x-fw/PKGBUILD Normal file
View file

@ -0,0 +1,39 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=upd72020x-fw
pkgver=1.0.0
pkgrel=02
epoch=1
pkgdesc="Renesas uPD720201 / uPD720202 USB 3.0 chipsets firmware"
url="https://github.com/denisandroid/uPD72020x-Firmware"
source=("uPD72020x-Firmware-$pkgver.tar.gz::https://codeload.github.com/denisandroid/uPD72020x-Firmware/tar.gz/refs/tags/$pkgver"
"remove.hook")
package() {
install -Dm644 "uPD72020x-Firmware-$pkgver/UPDATE.mem" "$pkgdir/usr/lib/firmware/renesas_usb_fw.mem"
install -Dm644 "uPD72020x-Firmware-$pkgver/License.rtf" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rtf"
# firmware install & remove hooks
install -Dm644 /dev/null "$pkgdir/usr/lib/initcpio/hooks/$pkgname"
install -Dm644 remove.hook "$pkgdir/usr/share/libalpm/hooks/$pkgname.hook"
}
mv upd72020x-fw-$epoch:$pkgver-$pkgrel-x86_64.pkg.tar.lz \
upd72020x-fw-$epoch_$pkgver-$pkgrel-x86_64.pkg.tar.lz
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('custom')
sha256sums=(6e84b9f2e447ac2df0a0481cdce5a9a9cf4aaec1f188606a4edae170fd87a277 # uPD72020x-Firmware-1.0.0.tar.gz
8d6c6dd02ea101d37bf957bfa8acd168285787915485ee7fef391cb858cee4b8) # remove.hook
## 0bb9ef1cee4ab3ef90696770404cbe9f1a73fb9aef8f7d21cde854b267f4f4e6 upd72020x-fw-1_1.0.0-02-x86_64.pkg.tar.lz

27
upd72020x-fw/PKGBUILD-aur Normal file
View file

@ -0,0 +1,27 @@
# Maintainer: Jack Chen <redchenjs@live.com>
pkgname=upd72020x-fw
pkgver=1.0.0
pkgrel=2
epoch=1
pkgdesc="Renesas uPD720201 / uPD720202 USB 3.0 chipsets firmware"
arch=('any')
url="https://github.com/denisandroid/uPD72020x-Firmware"
license=('custom')
source=(
"uPD72020x-Firmware-$pkgver.tar.gz::https://codeload.github.com/denisandroid/uPD72020x-Firmware/tar.gz/refs/tags/$pkgver"
"remove.hook"
)
sha512sums=(
'9d7e61c99a0f46d0ae96505317e763a468d3e8006f7398d10899ab78532b1ace608662b8a1b410a5577b268dc1f9275d1ebe3d03d209b85b2c4307ceb48dd261'
'47aa4c4c3a0014df79b7a7998edfbc7b436ae6e966432f3787d9f1655c986591c73165de6fad52ebb5cefd4f8101b9b094d117f0508cd1f8f0d2c7396bbd3f91'
)
package() {
install -Dm644 "uPD72020x-Firmware-$pkgver/UPDATE.mem" "$pkgdir/usr/lib/firmware/renesas_usb_fw.mem"
install -Dm644 "uPD72020x-Firmware-$pkgver/License.rtf" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rtf"
# firmware install & remove hooks
install -Dm644 /dev/null "$pkgdir/usr/lib/initcpio/hooks/$pkgname"
install -Dm644 remove.hook "$pkgdir/usr/share/libalpm/hooks/$pkgname.hook"
}

1
upd72020x-fw/clean Normal file
View file

@ -0,0 +1 @@
rm -rf {src,pkg,uPD7*.tar.gz*}

3
upd72020x-fw/deps Normal file
View file

@ -0,0 +1,3 @@

10
upd72020x-fw/remove.hook Normal file
View file

@ -0,0 +1,10 @@
[Trigger]
Type = Package
Operation = Remove
Target = upd72020x-fw
[Action]
Description = Updating linux initcpios...
Depends = mkinitcpio
When = PreTransaction
Exec = /bin/sh -c "rm -f /usr/lib/firmware/renesas_usb_fw.mem && mkinitcpio -P"

6
upd72020x-fw/time Normal file
View file

@ -0,0 +1,6 @@
real 0m1.530s
user 0m1.341s
sys 0m0.320s

41
wd719x-firmware/PKGBUILD Normal file
View file

@ -0,0 +1,41 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=wd719x-firmware
pkgver=1
pkgrel=08
pkgdesc="Driver for Western Digital WD7193, WD7197 and WD7296 SCSI cards"
url="https://github.com/mijailr/wd719x-firmware"
makedepends=('lhasa')
conflicts=()
replaces=()
backup=()
source=('https://github.com/mijailr/wd719x-firmware/raw/master/pciscsi.exe')
noextract=('pciscsi.exe')
build() {
lha l --convert-filename-case pciscsi.exe 2> /dev/null && local lha_opts="--convert-filename-case"
lha xi $lha_opts pciscsi.exe pci-scsi.exe
lha xi $lha_opts pci-scsi.exe nt/wd7296a.sys
dd if=wd7296a.sys of=wd719x-risc.bin bs=1 skip=5760 count=14336
dd if=wd7296a.sys of=wd719x-wcs.bin bs=1 skip=20096 count=514
}
package() {
install -Dm644 $srcdir/wd719x-risc.bin $pkgdir/usr/lib/firmware/wd719x-risc.bin
install -Dm644 $srcdir/wd719x-wcs.bin $pkgdir/usr/lib/firmware/wd719x-wcs.bin
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('unknown')
sha256sums=(d310338eaaeae6db3673021c0ec2ec23b9cfb9f9b9d1eb8854d2d60b3a6490f9) # pciscsi.exe
## 9b9ee08fa0ff072d85b23b9fdc8c85d9bf0a7192c765e3dba24a7e10ccc23302 wd719x-firmware-1-08-x86_64.pkg.tar.lz

View file

@ -0,0 +1,30 @@
# Maintainer: Mijail Rondon Viloria (mijailr)
# Special thanks: Fademind, pedrogabriel
pkgname=wd719x-firmware
pkgver=1
pkgrel=7
pkgdesc="Driver for Western Digital WD7193, WD7197 and WD7296 SCSI cards"
url="https://github.com/mijailr/wd719x-firmware"
license=('unknown')
makedepends=('lha')
arch=('any')
conflicts=()
replaces=()
backup=()
source=('https://github.com/mijailr/wd719x-firmware/raw/master/pciscsi.exe')
sha256sums=('d310338eaaeae6db3673021c0ec2ec23b9cfb9f9b9d1eb8854d2d60b3a6490f9')
noextract=('pciscsi.exe')
build() {
lha l --convert-filename-case pciscsi.exe 2> /dev/null && local lha_opts="--convert-filename-case"
lha xi $lha_opts pciscsi.exe pci-scsi.exe
lha xi $lha_opts pci-scsi.exe nt/wd7296a.sys
dd if=wd7296a.sys of=wd719x-risc.bin bs=1 skip=5760 count=14336
dd if=wd7296a.sys of=wd719x-wcs.bin bs=1 skip=20096 count=514
}
package() {
install -Dm644 $srcdir/wd719x-risc.bin $pkgdir/usr/lib/firmware/wd719x-risc.bin
install -Dm644 $srcdir/wd719x-wcs.bin $pkgdir/usr/lib/firmware/wd719x-wcs.bin
}

1
wd719x-firmware/clean Normal file
View file

@ -0,0 +1 @@
rm -rf {src,pkg,pciscsi.exe}

4
wd719x-firmware/deps Normal file
View file

@ -0,0 +1,4 @@
lhasa

6
wd719x-firmware/time Normal file
View file

@ -0,0 +1,6 @@
real 0m1.991s
user 0m1.678s
sys 0m0.460s