- 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.
- PLC控制程序精編108例
- 高性能Linux服務器構建實戰:運維監控、性能調優與集群應用
- Windows Phone 8 Application Development Essentials
- 網絡操作系統教程:Windows Server 2016管理與配置
- Learning Bootstrap
- Android物聯網開發細致入門與最佳實踐
- 從實踐中學習Kali Linux無線網絡滲透測試
- Distributed Computing with Go
- 精解Windows 10
- Windows 7使用詳解(修訂版)
- Linux應用大全 基礎與管理
- Windows網絡編程(第2版)
- Windows 8玩全不求人
- 樹莓派+傳感器:創建智能交互項目的實用方法、工具及最佳實踐
- Docker for Developers