create rootf's & SDK from 2018.02.9 buildroot (#10)

---------

Co-authored-by: tiopex <tiopxyz@gmail.com>
Co-authored-by: tiopex <67048640+tiopex@users.noreply.github.com>
This commit is contained in:
Apaczer
2023-03-11 21:06:02 +01:00
committed by GitHub
parent 534f7aea40
commit dcf31c6a1e
12528 changed files with 149032 additions and 303063 deletions
-11
View File
@@ -5,14 +5,3 @@ config BR2_PACKAGE_INTEL_MICROCODE
This package provides an Intel microcode data file that can be
used to correct processor errors. The iucode-tool package and
proper kernel support are required to upload the microcode.
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files
config BR2_PACKAGE_INTEL_MICROCODE_INSTALL_TARGET
bool "install microcode files to /lib/firmware in target"
default y
depends on BR2_PACKAGE_INTEL_MICROCODE
help
Select this option to have the microcode files installed to
/lib/firmware/intel-ucode in the target root filesystem, in
addition to the images directory.
+2 -2
View File
@@ -1,3 +1,3 @@
# Locally computed
sha256 8d14a914815f56c27b1f41be0fd699d1afcfdbc05432056427e455100798975e intel-microcode-20221108.tar.gz
sha256 03efb1491c7e899feb2665fa299363e64035e5444c1b8bc1f6ebed30de964e12 license
sha256 0b381face2df1b0a829dc4fa8fa93f47f39e11b1c9c22ebd44f8614657c1e779 microcode-20180312.tgz
sha256 6d4deb65ca688d930e188bf93f78430f134097b161e6df4a2ef00728e14965e3 license.txt
+11 -20
View File
@@ -4,32 +4,23 @@
#
################################################################################
INTEL_MICROCODE_VERSION = 20221108
INTEL_MICROCODE_SITE = $(call github,intel,Intel-Linux-Processor-Microcode-Data-Files,microcode-$(INTEL_MICROCODE_VERSION))
INTEL_MICROCODE_VERSION = 20180312
INTEL_MICROCODE_SOURCE = microcode-$(INTEL_MICROCODE_VERSION).tgz
INTEL_MICROCODE_SITE = http://downloadmirror.intel.com/27591/eng
INTEL_MICROCODE_STRIP_COMPONENTS = 0
INTEL_MICROCODE_LICENSE = PROPRIETARY
INTEL_MICROCODE_LICENSE_FILES = license
INTEL_MICROCODE_LICENSE_FILES = license.txt
INTEL_MICROCODE_REDISTRIBUTE = NO
INTEL_MICROCODE_INSTALL_IMAGES = YES
define INTEL_MICROCODE_INSTALL_IMAGES_CMDS
mkdir -p $(BINARIES_DIR)/intel-ucode
$(INSTALL) -m 0644 -t $(BINARIES_DIR)/intel-ucode \
$(@D)/intel-ucode/*
define INTEL_MICROCODE_EXTRACT_LICENSE
head -n 33 $(@D)/microcode.dat > $(@D)/license.txt
endef
ifeq ($(BR2_PACKAGE_INTEL_MICROCODE_INSTALL_TARGET),y)
INTEL_MICROCODE_POST_EXTRACT_HOOKS += INTEL_MICROCODE_EXTRACT_LICENSE
define INTEL_MICROCODE_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/lib/firmware/intel-ucode
$(INSTALL) -m 0644 -t $(TARGET_DIR)/lib/firmware/intel-ucode \
$(@D)/intel-ucode/*
endef
else
INTEL_MICROCODE_INSTALL_TARGET = NO
endif
define INTEL_MICROCODE_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_MICROCODE)
$(call KCONFIG_ENABLE_OPT,CONFIG_MICROCODE_INTEL)
$(INSTALL) -D -m 0644 $(@D)/microcode.dat \
$(TARGET_DIR)/usr/share/misc/intel-microcode.dat
endef
$(eval $(generic-package))