It's possible I may bring SDSetup back one day if I get the itch, but no promises, and certainly not any time soon. For now, it's best you switch to a new source. Right now, your best alternative is to follow switch.hacks.guide. This guide will walk you through rolling your own...
It's possible I may bring SDSetup back one day if I get the itch, but no promises, and certainly not any time soon. For now, it's best you switch to a new source. Right now, your best alternative is to follow switch.hacks.guide. This guide will walk you through rolling your own...
I have not had the motivation to maintain these tools for quite a while now, leaving packages to fall very out-of-date. It's possible I may bring SDSetup back one day if I get the itch, but no promises, and certainly not any time soon. For now, it's best you switch to a new...
65行 err = mmc_sd_setup_card(host, card, oldcard !=NULL);发送ACMD51获取SCR寄存器值,发送ACMD13获取SD卡状态信息,解析并填充card结构,SCR寄存器是对CSD的补充. 最后69~113行 if else语句,判断是否是UHS-I,分别进行处理.先看一下esle中的代码 先调用 err =mmc_sd_switch_hs(card);,支持高速就发命...
--console_log_simpleoption can be used to switch to the previous log output. --console_log_leveloption can be used to specify the log level. The default isINFO. --console_log_fileoption can be used to output the log to a file. The default isNone(output to the console). ...
If you are hacking your Switch for the first time, this is a great moment to create a clean NAND backup file so that you can always restore to the point before ever running homebrew on the Switch. “The best backup is the one you never need, the worst backup is the one you never ...
switch (card.type()) { case SD_CARD_TYPE_SD1: Serial.println("SD1"); break; case SD_CARD_TYPE_SD2: Serial.println("SD2"); break; case SD_CARD_TYPE_SDHC: Serial.println("SDHC"); break; default: Serial.println("Unknown");
1 int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card,bool reinit) 2 { 3 ... 4 mmc_app_send_scr(card, card->raw_scr); //发送命令 ACMD51 获取 SRC 寄存器的内容,进入到 SENDING-DATA 状态 5 ... 6 if (host->ops->get_ro(host) > 0 ) // get_ro(host) 即是...
(req->flags & REQ_CMD))return 0;//如果读写的扇区数超出了块设备的容量,返回if (block + nsect > get_capacity(req->rq_disk))return 0; //根据(rq)->flags & 1标识来判断操作方式,调用具体的设备操作函数switch(rq_data_dir(req)) {case READ:for (; nsect > 0; nsect--, block++, buf...
switch (ios->power_mode) { case MMC_POWER_ON: case MMC_POWER_UP: /* Configure GPE5...GPE10 pins in SD mode */ s3c_gpio_cfgall_range(S3C2410_GPE(5), 6, S3C_GPIO_SFN(2), S3C_GPIO_PULL_NONE); if (host->pdata->set_power) ...