| 数据搜索系统,热门电子元器件搜索 |
|
UM1535 数据表(PDF) 23 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1535 数据表(HTML) 23 Page - STMicroelectronics |
|
23 / 39 page ![]() UM1535 Working at application level (userland) Doc ID 023036 Rev 2 23/39 4 Working at application level (userland) 4.1 Workflow models When working at application level (the so-called "userland") developers are only concerned with programs and libraries stored in a root file system. Bootloaders and the kernel are assumed to be stable and stored in Flash memory. There are many approaches (workflows) to modify/extend the root file system for specific application scenarios; the main ones are described in the following subsections. 4.1.1 Remote mounting of the root file system (NFS) If the board can be connected to the development PC through a Ethernet LAN, the most practical solution is to leave the root file system stored on the PC and remotely mount it on the target embedded Linux OS through the NFS protocol. The advantages of this approach are: ● The root file system has no global size constraints. Developers can keep hundreds or thousands of packages (programs and libraries) in a directory of their PC disk. All file access from the Linux OS running on the board is performed over the network in a transparent way. Files are not copied to Flash memory, but loaded to DDR RAM strictly on demand. ● A program or library can be simply built (compiled and linked) with the output file on the PC disk; the new version is then available for execution on the board without any need for manual transfer or board reboot. The drawbacks are: ● File access by NFS over LAN can be slower than direct Flash memory access ● There is no early assessment of which files are actually used and of the overall required size for future migration to Flash memory To remotely mount the root file system, configure and start the NFS server on Linux PC. Assuming the NFS server functionality is already provided by your host, the only configuration is an entry for your target root directory to your /etc/exports file, for example: For ARMV7 opt/STM/STLinux-2.4/devkit/armv7/target 192.168.0.0/24 (rw,no_root_squash,sync) For ARMV5 /opt/STM/STLinux-2.4/devkit/armv5/target 192.168.0.0/24 (rw,no_root_squash,sync) This line exports the /opt/STM/STLinux-2.4/devkit/armvx/target directory with read and write permission to all hosts on the 192.168.0.0 subnet. To check NFS availability and start the services, use the following commands (from user root account): # rpm -q nfs-utils After modifying the /etc/exports file, make sure the NFS system is notified about the change, for example by running the command: |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |