Believe that a lot of friends have encountered such a problem, that is, through the card reader will be inserted into the computer SD card Computer "whether to format" prompts, and the SD card inserted into the camera, and the "
I. Burn the bootloader into the SD card1. Format SD card (not mounted): fdisk/dev/sdx-d Delete-N New partition-W save exit 6~default sdx1Two ways to format: Mkfs-t vfat/dev/sdx1Mkfs.vfat/dev/sdx12. Burn the bootloader into the SD card: NOTE-no mount./SD_FUSING.SH/DEV/SDX the
driver bus driver and client driver are provided by Microsoft, but not by Microsoft itself. It looks like it was developed by bsquare. The code of the bus layer is located in C:/wince500/public/common/oak/Drivers/sdcard/sdbusdriver. (C:/wince500 is the directory where you install wince ). The client code is located in C:/wince500/public/common/oak/Drivers/sdcard/sdclientdrivers. Microsoft has two client drivers (Bluetooth and sdmemory ). The following describes the main functions of each layer.
(1) Verify that the Linux system on the board recognizes the SD card via the #fdisk-l commandMP805M board is displayed after inserting the SD cardSD30 slot is without WPMmc1:new High speed SD card at address 5bc0MMCBLK0:MMC1:5BC0 sd02g 1.83 GiBMmcblk0:p1[/]# fdisk-lDisk/dev/
In the mobile phone use of the process began to often have friends with the mobile phone SD card can not be formatted to read the problem, for the SD card can not be formatted to produce a lot of reasons, but many cases are some small problems, the following teach you how to solve the
Platform: s5pc110
System: android2.3
Kernel: linux2.6.35
1, android2.3.4 _ kernel_2.6.35_t34h \ arch \ Arm \ mach-s5pv210 \ kconfig
Select initi_dev_hsmmc
Select s3_dev_hsmmc1 if! S5pv210_sd_ch0_8bit
Select initi_dev_hsmmc2 if! S5pv210_sd_ch1_8bit
Select initi_dev_hsmmc3 if! S5pv210_sd_ch2_8bit
After adding the preceding information to the kernel, you can see the following:
There is a scanned card.
[2, 73.852104]
A teammate's SD card, which was used on his mobile phone, was suddenly unavailable after several TXT e-books were imported into the computer. The symptoms were unrecognizable. On the PC, the card reader shows "Windows prompts formatting, but cannot complete formatting". After the attribute is displayed, the file system
format and partition is complete. The above only divides one district.(2) Burn write uboot.bin to sd cardPrepare 4g or above capacity SD card, use card reader.#cd/mnt/hgfs/share#ls#cd#sudo cp/mnt/hgfs/share/uboot.bin.///Copy the Uboot.bin in the shared folder to the home#su
Order:When talking about the embedded Linux driver development class, I found that many students are more interested in the SD card driver.Interest. I will discuss it later. In many technical forums, many people have asked this question. Therefore, I want to write this article and hope it will help you learn it.
A few days ago I wrote an article titled "operating principle of Linux driver for
after inserting the SD card, the computer prompts the format reason analysis : When the use of multiple reader access to the computer, the SD card will appear on the letter, double-click on the "whether to format" prompts, there may be a problem with the
operation of files and folders. CC936.C is a simplified Chinese character coding file.
First, configure the file system in Ffconf.h. Change #define_code_page 932 to 936 to support Simplified Chinese, the original default support for Japanese, do not know why, it is written by the Japanese. Do not study first. Compile it and find the following error:
#if!_USE_LFN | | _code_page! = 936
#error This file was not needed incurrent configuration. Remove from the project.
#endif
Where the macro definit
connectSerial cable to the PC and assume it's ready.b) Add power to the board, and then press any key to enter the Uboot command line mode on the serial console (e.g. minicom)c) partition the SD cardYou can partition the SD card by entering the following Uboot command:Fdisk-c 0 320 806 518After repartitioning, you can reformat the FAT partitionFatformat
you.The second is the use of File recovery software. Baidu Search, there are many such software, in order to avoid the data of two damage, we must not use professional recovery software. At present, the best software in the country, such as the top data recovery software, calf file recovery software, are a good choice. The two software, in addition to its own extremely powerful, simple operation, but also equipped with Remote Assistance services, can effectively guide users to operate, to avoid
:# make Arch=arm Cross_compile=arm-linux-gnueabi HF -Uimage here to note is that the marked place cannot be less than the compilation error When this is finish ' s you'll have uimage ready and you can build the kernel modules:# Make Arch=arm cross_compile=arm-linux-gnueabi-install_mod_path=out modules# Make Arch=arm cross_compile=arm-linux-gnueabi-install_mod_path=out Modules_installFormat and setup the Sd-card
First confirm the interface of the SD card (it is said that there are 2 kinds of the first is the Sdio the second is SPI if neither of them, then can be made like a card reader device, that is, USB devices)I have this one on the SPI interface, then the SPI module on the kernelKernelmodules ---> SPISupport --->
## Copyright (c) 2010 Samsung Electronics Co., Ltd.# Http://www.samsung.com/## This program is free software; you can redistribute it and/or modify# It under the terms of the GNU General Public License version 2# Published by the Free Software Foundation.#####################################Reader_type1 = "/dev/SDB"Reader_type2 = "/dev/mmcblk0"// The-Z string is "null". The length is 0.If [-Z $1] // determines whether the input parameter is null. If it is null, the function of the sd_fusing.sh s
Because of the large amount of data that needs to be recorded, and sometimes the user is inconvenient to upload data in real time, it is required to use SD card to store data and then manually collect uploads. For this we have chosen a Universal SD card reader and writer.1 ,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.