Method of virtual SD (Security Digital) card on device with android system
An Android system and system file technology, 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 identical, and the difficulty of source code modification, etc., to achieve flexible and controllable capacity. , the effect of simple implementation and less code modification
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Benefits of technology
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0221] The operating environment of the computer in this embodiment is Ubuntu 10.04.2; the operating system of the set-top box of the target device is Android 2.3.4, the kernel is Linux Kernel 2.6.32.59, the set-top box Trident PNX8473 adopts the ARM-Cortex A9 processor architecture, and the size of the Nand Flash is 1GB×8 , Nor Flash size 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] make menuconfig
[0226] Select the "Device Drivers" (device driver), "Block devices" (b...
Embodiment 2
[0266] The operating environment of the computer in this embodiment is Ubuntu 10.04.2; the operating system of the set-top box of the target device is Android 2.3.4, the kernel is Linux Kernel 2.6.32.59, the set-top box Trident PNX8473 adopts the ARM-Cortex A9 processor architecture, and the size of the Nand Flash is 1GB×8 , Nor Flash size 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 follo...
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