- Linux Device Driver Development Cookbook
- Rodolfo Giometti
- 198字
- 2021-06-24 13:54:11
Getting ready
During my career, I worked with tons of different platforms and having one virtual machine for all of them is very complex and really system consuming (especially if we decide to run several of them at the same time!). That's why it can be interesting to have a lightweight system that can execute foreign code on your PC. Of course, this method cannot be used to test a device driver (we need real hardware for that), but we can use it to run a native compiler and/or native userspace code really quickly just in case our embedded platform is not working. Let's see what I'm talking about.
In the Setting up the target machine recipe, regarding the Debian OS installation, we used the chroot command to set up the root's password. This command worked thanks to QEMU; in fact, in the debian-stretch-arm64 directory, we have an ARM64 root filesystem, which can be executed on an x86_64 platform by using QEMU only. It's then clear that, in this manner, we should be able to execute whatever command we'd like and, of course, we will be able to execute the Bash shell as in the next recipe.
- Google系統架構解密:構建安全可靠的系統
- 嵌入式Linux驅動程序和系統開發實例精講
- Linux集群和自動化運維
- Windows Server 2019 Administration Fundamentals
- AWS Development Essentials
- Linux設備驅動開發
- Social Data Visualization with HTML5 and JavaScript
- iOS 8開發指南
- OpenVZ Essentials
- Java EE 7 Developer Handbook
- Agile IT Security Implementation Methodology
- Less Web Development Essentials
- Mastering Sass
- Docker容器技術與運維
- Gradle Effective Implementations Guide(Second Edition)