From 23c9c3405d5d42900c64204216d1312a39f1efd7 Mon Sep 17 00:00:00 2001 From: Ing Date: Sat, 18 May 2024 12:36:39 +0800 Subject: [PATCH] Rewrite shield mmc --- files/initrd/opt/rr/boot.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/initrd/opt/rr/boot.sh b/files/initrd/opt/rr/boot.sh index 2e80f751..1576500d 100755 --- a/files/initrd/opt/rr/boot.sh +++ b/files/initrd/opt/rr/boot.sh @@ -154,10 +154,10 @@ CMDLINE['log_buf_len']="32M" CMDLINE["HddHotplug"]="1" CMDLINE["vender_format_version"]="2" -if [ -n "$(ls /dev/mmcblk* 2>/dev/null)" ] && [ ! "${BUS}" = "mmc" ] && [ ! "${EMMCBOOT}" = "true" ]; then - [ ! "${CMDLINE['modprobe.blacklist']}" = "" ] && CMDLINE['modprobe.blacklist']+="," - CMDLINE['modprobe.blacklist']+="sdhci,sdhci_pci,sdhci_acpi" -fi +# if [ -n "$(ls /dev/mmcblk* 2>/dev/null)" ] && [ ! "${BUS}" = "mmc" ] && [ ! "${EMMCBOOT}" = "true" ]; then +# [ ! "${CMDLINE['modprobe.blacklist']}" = "" ] && CMDLINE['modprobe.blacklist']+="," +# CMDLINE['modprobe.blacklist']+="sdhci,sdhci_pci,sdhci_acpi" +# fi if [ "${DT}" = "true" ] && ! echo "epyc7002 purley broadwellnkv2" | grep -wq "${PLATFORM}"; then [ ! "${CMDLINE['modprobe.blacklist']}" = "" ] && CMDLINE['modprobe.blacklist']+="," CMDLINE['modprobe.blacklist']+="mpt3sas"