fix(deck): Add workaround for 64GB eMMC firmware issue

This commit is contained in:
Kyle Gospodnetich 2023-08-15 12:07:49 -07:00
parent ed8e5e6e6e
commit e0e4c7e22e

View File

@ -52,6 +52,11 @@ if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then
if [[ ! $KARGS =~ "initcall_blacklist" ]]; then
NEEDED_KARGS="$NEEDED_KARGS --append=initcall_blacklist=simpledrm_platform_driver_init"
fi
if [[ ! $KARGS =~ "default_ps_max_latency_us" ]] && grep -q '64GB' <<< $(lsblk -o MODEL); then
echo "64GB eMMC detected, adding workaround for firmware issue"
NEEDED_KARGS="$NEEDED_KARGS --append=nvme_core.default_ps_max_latency_us=5500"
fi
fi
if [[ $IMAGE_NAME =~ "nvidia" ]]; then