Configuring USB
Because the USB flash drive uses SCSI commands, we first add SCSI support. In the Device Drivers menu, select SCSI device support, press Enter to enter the menu that appears, press the spacebar to select the option – SCSI device support, then enter and select SCSI disk support, return to the Device Drivers menu, select USB support, press Enter to enter the USB support menu, find and select "<*> USB Mass Storage support", in addition, most of the current USB flash drives and other mobile storage devices use FAT/FAT32 format, so we also need to add support for the FAT32 file system, select the following menu items in the kernel configuration main menu:
File systems —>
DOS/FAT/NT Filesystems —>
Enter the FAT32 file system configuration submenu and select: MSDOS fs support
In addition, in order to support Chinese and English encodings, select "-- Native language support —>" under the "File systems" menu and enter. Here, we need to select the following encodings to support:
<> Codepage 437 (United States, Canada)
<> NLS ISO 8859-1 (Latin 1; Western European Languages)
<> NLS UTF-8
Exit to save the above configuration.
Execute make zImage in the kernel source code root directory to burn the generated new kernel into the development board. Do not insert the USB flash drive yet (this is done to see the printed information when it is inserted). After the system starts, enter the command line console. At this time, you can see the USB flash drive information:
Manually mount the USB drive
1. Create the /mnt/udisk directory
#mkdir /mnt/udisk
2. Mount the USB drive to the /mnt/udisk directory
#mount /etc/sda4 /mnt/udisk
View the contents of the USB drive:
#cd /mnt/udisk
#ls
Previous article:Driver Development HelloWorld (for mini2440)
Next article:Mini2440 starts the file system from NFS
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Let’s talk about the “Three Musketeers” of radar in autonomous driving
- Why software-defined vehicles transform cars from tools into living spaces
- How Lucid is overtaking Tesla with smaller motors
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Three steps to govern hybrid multicloud environments
- Three steps to govern hybrid multicloud environments
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Driver transplantation of pedometer bracelet based on F103 and X-NUCLEO-IKS01A3
- Using LM339 to generate triangle wave
- [2022 Digi-Key Innovation Design Competition] Project Sharing Post 2: Porting Emwin5.28 on the stm32f7 official development board
- Using BTool and CC2640R2 LaunchPad as Downloader
- EEWORLD University-How to use TI GaN in high-efficiency power factor correction (PFC)?
- [Sipeed LicheeRV 86 Panel Review] 11. Implementing TCP Client with lvgl and fork()
- 【LAUNCHXL-CC1350-4】- 2: This is somewhat similar to what I imagined before and somewhat different
- 【ART-Pi Review】Part 3: Onboard Storage - SDRAM
- Please help me check if 28335 is down
- Code compression technologies for several mainstream embedded architectures