mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
amd_microcode: new recipe
This commit is contained in:
34
sys-firmware/amd-microcode/amd_microcode-20191218.recipe
Normal file
34
sys-firmware/amd-microcode/amd_microcode-20191218.recipe
Normal file
@@ -0,0 +1,34 @@
|
||||
SUMMARY="AMD Processor Microcode Update"
|
||||
DESCRIPTION="CPU microcode is a mechanism to correct certain errata in \
|
||||
existing systems. This package contains updates for processors\
|
||||
that support OS loading of microcode updates."
|
||||
HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary"
|
||||
COPYRIGHT="2010-2018 Advanced Micro Devices, Inc."
|
||||
LICENSE="AMD CPU Microcode"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amd-ucode/microcode_amd.bin?id=c4586ffaac0ca0d7045e06140b6426f2e79e96e6#noarchive"
|
||||
CHECKSUM_SHA256="8a9d9e8b788e31e61cddc03cb1eeab5db99e0f667128943ff0780e6437d2e43e"
|
||||
SOURCE_FILENAME="microcode_amd.bin"
|
||||
SOURCE_URI_2="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amd-ucode/microcode_amd_fam15h.bin?id=c4586ffaac0ca0d7045e06140b6426f2e79e96e6#noarchive"
|
||||
CHECKSUM_SHA256_2="9d4a668410e72a4bdb86dc23e4261eca04daa83456ada02504115223f356981a"
|
||||
SOURCE_FILENAME_2="microcode_amd_fam15h.bin"
|
||||
SOURCE_URI_3="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amd-ucode/microcode_amd_fam16h.bin?id=c4586ffaac0ca0d7045e06140b6426f2e79e96e6#noarchive"
|
||||
CHECKSUM_SHA256_3="e02ad653b39c975d6c52674b50f23727bb6706bab7b4e5b391a4ce229e7ff121"
|
||||
SOURCE_FILENAME_3="microcode_amd_fam16h.bin"
|
||||
SOURCE_URI_4="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amd-ucode/microcode_amd_fam17h.bin?id=c4586ffaac0ca0d7045e06140b6426f2e79e96e6#noarchive"
|
||||
CHECKSUM_SHA256_4="5288d1ac032abe61441c5626091458803f925304ee45ca18de38a4edd66cddd2"
|
||||
SOURCE_FILENAME_4="microcode_amd_fam17h.bin"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
DISABLE_SOURCE_PACKAGE="yes"
|
||||
|
||||
PROVIDES="
|
||||
amd_microcode = $portVersion
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $dataDir/firmware/amd-ucode
|
||||
cp $sourceDir/* $sourceDir2/* $sourceDir3/* $sourceDir4/* \
|
||||
$dataDir/firmware/amd-ucode/
|
||||
}
|
||||
64
sys-firmware/amd-microcode/licenses/AMD CPU Microcode
Normal file
64
sys-firmware/amd-microcode/licenses/AMD CPU Microcode
Normal file
@@ -0,0 +1,64 @@
|
||||
Copyright (C) 2010-2018 Advanced Micro Devices, Inc., All rights reserved.
|
||||
|
||||
Permission is hereby granted by Advanced Micro Devices, Inc. ("AMD"),
|
||||
free of any license fees, to any person obtaining a copy of this
|
||||
microcode in binary form (the "Software") ("You"), to install,
|
||||
reproduce, copy and distribute copies of the Software and to permit
|
||||
persons to whom the Software is provided to do the same, subject to
|
||||
the following terms and conditions. Your use of any portion of the
|
||||
Software shall constitute Your acceptance of the following terms and
|
||||
conditions. If You do not agree to the following terms and conditions,
|
||||
do not use, retain or redistribute any portion of the Software.
|
||||
|
||||
If You redistribute this Software, You must reproduce the above
|
||||
copyright notice and this license with the Software.
|
||||
Without specific, prior, written permission from AMD, You may not
|
||||
reference AMD or AMD products in the promotion of any product derived
|
||||
from or incorporating this Software in any manner that implies that
|
||||
AMD endorses or has certified such product derived from or
|
||||
incorporating this Software.
|
||||
|
||||
You may not reverse engineer, decompile, or disassemble this Software
|
||||
or any portion thereof.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED
|
||||
WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
|
||||
MERCHANTABILITY, NONINFRINGEMENT, TITLE, FITNESS FOR ANY PARTICULAR
|
||||
PURPOSE, OR WARRANTIES ARISING FROM CONDUCT, COURSE OF DEALING, OR
|
||||
USAGE OF TRADE. IN NO EVENT SHALL AMD OR ITS LICENSORS BE LIABLE FOR
|
||||
ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR
|
||||
LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF DATA OR
|
||||
INFORMATION) ARISING OUT OF AMD'S NEGLIGENCE, GROSS NEGLIGENCE, THE
|
||||
USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF AMD HAS BEEN ADVISED
|
||||
OF THE POSSIBILITY OF SUCH DAMAGES. BECAUSE SOME JURISDICTIONS
|
||||
PROHIBIT THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR
|
||||
INCIDENTAL DAMAGES OR THE EXCLUSION OF IMPLIED WARRANTIES, THE ABOVE
|
||||
LIMITATION MAY NOT APPLY TO YOU.
|
||||
|
||||
Without limiting the foregoing, the Software may implement third party
|
||||
technologies for which You must obtain licenses from parties other
|
||||
than AMD. You agree that AMD has not obtained or conveyed to You, and
|
||||
that You shall be responsible for obtaining the rights to use and/or
|
||||
distribute the applicable underlying intellectual property rights
|
||||
related to the third party technologies. These third party
|
||||
technologies are not licensed hereunder.
|
||||
|
||||
If You use the Software (in whole or in part), You shall adhere to all
|
||||
applicable U.S., European, and other export laws, including but not
|
||||
limited to the U.S. Export Administration Regulations ("EAR"), (15
|
||||
C.F.R. Sections 730 through 774), and E.U. Council Regulation (EC) No
|
||||
1334/2000 of 22 June 2000. Further, pursuant to Section 740.6 of the
|
||||
EAR, You hereby certify that, except pursuant to a license granted by
|
||||
the United States Department of Commerce Bureau of Industry and
|
||||
Security or as otherwise permitted pursuant to a License Exception
|
||||
under the U.S. Export Administration Regulations ("EAR"), You will not
|
||||
(1) export, re-export or release to a national of a country in Country
|
||||
Groups D:1, E:1 or E:2 any restricted technology, software, or source
|
||||
code You receive hereunder, or (2) export to Country Groups D:1, E:1
|
||||
or E:2 the direct product of such technology or software, if such
|
||||
foreign produced direct product is subject to national security
|
||||
controls as identified on the Commerce Control List (currently found
|
||||
in Supplement 1 to Part 774 of EAR). For the most current Country
|
||||
Group listings, or for additional information about the EAR or Your
|
||||
obligations under those regulations, please refer to the U.S. Bureau
|
||||
of Industry and Security?s website at ttp://www.bis.doc.gov/.
|
||||
Reference in New Issue
Block a user