mirror of
https://github.com/rancher/os-kernel.git
synced 2025-09-22 18:47:23 +00:00
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/x86 4.9.21 Kernel Configuration
|
||||
# Linux/x86 4.9.28 Kernel Configuration
|
||||
#
|
||||
CONFIG_64BIT=y
|
||||
CONFIG_X86_64=y
|
||||
@@ -939,7 +939,6 @@ CONFIG_TCP_CONG_DCTCP=m
|
||||
CONFIG_TCP_CONG_CDG=m
|
||||
CONFIG_TCP_CONG_BBR=m
|
||||
CONFIG_DEFAULT_CUBIC=y
|
||||
# CONFIG_DEFAULT_BBR is not set
|
||||
# CONFIG_DEFAULT_RENO is not set
|
||||
CONFIG_DEFAULT_TCP_CONG="cubic"
|
||||
CONFIG_TCP_MD5SIG=y
|
||||
|
@@ -3,6 +3,8 @@ set -e
|
||||
|
||||
cd $(dirname $0)/..
|
||||
|
||||
./scripts/test-firmware
|
||||
|
||||
if ! ./scripts/download; then
|
||||
echo "blah"
|
||||
exit 1
|
||||
|
@@ -14,24 +14,24 @@ myri10ge_rss_ethp_z8e.dat
|
||||
ql2500_fw.bin
|
||||
ct2fw-3.2.5.1.bin
|
||||
ql2300_fw.bin
|
||||
rtl_nic/rtl8168f-2.fw
|
||||
rtl_nic/rtl8168f-1.fw
|
||||
rtl_nic/rtl8168e-3.fw
|
||||
rtl_nic/rtl8105e-1.fw
|
||||
rtl_nic/rtl8168e-2.fw
|
||||
rtl_nic/rtl8168e-3.fw
|
||||
rtl_nic/rtl8168h-2.fw
|
||||
rtl_nic/rtl8106e-2.fw
|
||||
rtl_nic/rtl8168d-1.fw
|
||||
rtl_nic/rtl8168h-1.fw
|
||||
rtl_nic/rtl8168g-2.fw
|
||||
rtl_nic/rtl8168d-2.fw
|
||||
rtl_nic/rtl8168h-2.fw
|
||||
rtl_nic/rtl8168g-3.fw
|
||||
rtl_nic/rtl8107e-2.fw
|
||||
rtl_nic/rtl8411-2.fw
|
||||
rtl_nic/rtl8107e-1.fw
|
||||
rtl_nic/rtl8106e-1.fw
|
||||
rtl_nic/rtl8411-1.fw
|
||||
rtl_nic/rtl8107e-2.fw
|
||||
rtl_nic/rtl8106e-2.fw
|
||||
rtl_nic/rtl8411-2.fw
|
||||
rtl_nic/rtl8168d-2.fw
|
||||
rtl_nic/rtl8402-1.fw
|
||||
rtl_nic/rtl8168f-1.fw
|
||||
rtl_nic/rtl8168e-1.fw
|
||||
rtl_nic/rtl8168e-3.fw
|
||||
rtl_nic/rtl8168g-3.fw
|
||||
e100/d101s_ucode.bin
|
||||
e100/d101m_ucode.bin
|
||||
@@ -51,6 +51,6 @@ tigon/tg3.bin
|
||||
acenic/tg1.bin
|
||||
acenic/tg2.bin
|
||||
myri10ge_ethp_z8e.dat
|
||||
bnx2x/bnx2x-e1-7.10.51.0.fw
|
||||
bnx2x/bnx2x-e2-7.10.51.0.fw
|
||||
bnx2x/bnx2x-e1h-7.10.51.0.fw
|
||||
bnx2x/bnx2x-e1-7.13.1.0.fw
|
||||
bnx2x/bnx2x-e2-7.13.1.0.fw
|
||||
bnx2x/bnx2x-e1h-7.13.1.0.fw
|
||||
|
36
scripts/test-firmware
Executable file
36
scripts/test-firmware
Executable file
@@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
cd $(dirname $0)/..
|
||||
|
||||
FIRMWARE=$(readlink -f scripts/firmware)
|
||||
echo "FIRMWARE test: $FIRMWARE"
|
||||
|
||||
if [ ! -e linux-firmware ]; then
|
||||
git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
|
||||
fi
|
||||
|
||||
cd linux-firmware
|
||||
|
||||
for i in $(<$FIRMWARE); do
|
||||
if [ -e $i ]; then
|
||||
glob=$(echo $i | sed 's/^\(.*\)-\([^-]*\)\.\([^.]*\)/\1-*.\3/')
|
||||
#echo Found $i, trying $glob
|
||||
latest=$(ls $glob | xargs -n1 -I{} -- git log -1 --format="%ai {}" {} | sort | tail -n1 | cut -d " " -f4)
|
||||
if [ "$latest" != "$i" ]; then
|
||||
echo "ERROR: Firmware $i in $FIRMWARE is not the latest - update to $latest"
|
||||
STOP="1"
|
||||
echo $latest >> new-firmware
|
||||
else
|
||||
echo $i >> new-firmware
|
||||
fi
|
||||
else
|
||||
echo WARNING: Firmware listed in $FIRMWARE Not found $i
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$STOP" != "" ]; then
|
||||
echo "Update the $FIRMWARE file:"
|
||||
cat new-firmware
|
||||
exit 1
|
||||
fi
|
Reference in New Issue
Block a user