Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4397

Troubleshooting • Re: SD card actual clock no longer 100000000 Hz after RPi OS updates

$
0
0
check dmesg for any potential errors

https://github.com/raspberrypi/linux/bl ... st.c#L1853

Code:

/* Drop the overclock after any data corruption, or after any * error while overclocked. Ignore errors for status commands, * as they are likely when a card is ejected. */if (host->overclock) {if ((mrq->cmd && mrq->cmd->error &&     (mrq->cmd->opcode != MMC_SEND_STATUS)) ||    (mrq->data && mrq->data->error) ||    (mrq->stop && mrq->stop->error) ||    (mrq->sbc && mrq->sbc->error)) {host->overclock_50--;pr_warn("%s: reducing overclock due to errors\n",mmc_hostname(host->mmc));host->reset_clock = 1;mrq->cmd->error = -ETIMEDOUT;mrq->cmd->retries = 1;}}
any time the driver gets a checksum error, it will reduce the overclock by 1mhz

Statistics: Posted by cleverca22 — Wed May 08, 2024 11:32 am



Viewing all articles
Browse latest Browse all 4397

Trending Articles