How to virtual sd card on android device
A technology of Android system and system files, which is applied in the field of virtual SD card, can solve the problems of destroying the integrity and security of the Android system, the use of virtual SD cards is not completely the same, and the difficulty of source code modification, etc., to achieve flexible and controllable capacity , simple implementation, less code modification
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0221] The operating environment of the computer in this embodiment is Ubuntu10.04.2; the operating system of the set-top box of the target device is Android2.3.4, the kernel is LinuxKernel2.6.32.59, the set-top box TridentPNX8473 adopts the ARM-CortexA9 processor architecture, the size of NandFlash is 1GB×8, and the size of NorFlash is 32Mb , DDR size is 128MB×2.
[0222] The purpose of this embodiment is to compile the Loop device of the target device into a kernel module, and mount a virtual SD card with a size of 4G for it.
[0223] Step 1: Configure and compile the Linux kernel and Loop device driver
[0224] After completing the configuration of the cross-compilation toolchain, execute the following command in the Linux kernel . / linux-2.6.32.59 / directory to open the kernel configuration menu and configure the Linux kernel. Use the command line as follows:
[0225] makemenuconfig
[0226] In the menu, select "DeviceDrivers" (device driver), "Blockdevices" (...
Embodiment 2
[0266] The operating environment of the computer in this embodiment is Ubuntu10.04.2; the operating system of the set-top box of the target device is Android2.3.4, the kernel is LinuxKernel2.6.32.59, the set-top box TridentPNX8473 adopts the ARM-CortexA9 processor architecture, the size of NandFlash is 1GB×8, and the size of NorFlash is 32Mb , DDR size is 128MB×2.
[0267] The purpose of this embodiment is to compile the Loop device driver of the target device into the Linux kernel, and mount a virtual SD card with a size of 4G for it.
[0268] Step 1: Build a virtual block device for the target device on the computer:
[0269] 1. Add the code to set the maximum number of partitions for the Loop device driver
[0270] In order to enable the target device to correctly set the number of Loop devices and the maximum number of partitions when the kernel starts to load the Loop device driver, it is necessary to add corresponding code. The specific code is as follows: ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com