AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Qemu for windows8/8/2023 ![]() ![]() When running an image with multi-platform support, docker automatically May contain variants for different architectures, and sometimes for different And then use the commands.Docker images can support multiple platforms, which means that a single image Use help to view all commands of the BSP.If you choose a package, you need to use the command pkgs -update to download the package.After the configuration is completed, save the configuration first, and then exit the configuration interface: You can configure more functions in the configuration interface. Open the Env tool in the BSP directory and enter the menuconfig command: echo: Writes the specified content to the target file.ls: Display file and directory information.Entering ls command, you can see that the Directory directory has been added, the file system has been loaded, and then you can experience the file system with other commands provided by RT-Thread: So exit the virtual machine, and then restart the virtual machine and project by entering qemu.bat on the Env command line interface. The file system will not be loaded immediately after the first formatting of the SD card, and the file system will be loaded correctly only after the second boot. It is written in ANSI C, uses abstract hardware I/O layer and provides continuous maintenance, so it has good portability.įor more information on FatFS, click on the link: FatFs is a Microsoft fat-compatible file system developed for small embedded devices. Next, we can format the SD card using the mkfs sd0 command, which will format the SD card into a FatFS file system. You can see the virtual SD card "sd0" device as shown in the following picture. Type list_device to view all devices registered in the system. As shown in the figure below, commands are on the left and command descriptions are on the right.įor example, by entering the list_thread command, you can see the currently running threads, thread status and stack size by entering the list_timer, you can see the status of the timers. Type help or press Tab to view all supported commands. RT-Thread supports Finsh, and users can use command operations in command line mode. The Env command interface displays the initialization information and version number information printed during the start-up of RT-Thread system, and the QEMU virtual machine is also running. The first run of the project will create a blank sd.bin file under the BSP folder, which is a virtual SD card with a size of 64M. This file is located in the BSP folder, mainly including the execution instructions of QEMU. Use the qemu.bat Command to Run the Project ¶Īfter compiling, type qemu.bat to start the virtual machine and BSP project. If the compilation is correct, the rtthread.elf file will be generated in the BSP directory, which is a target file required for QEMU to run. ![]() Switch to the QEMU BSP directory and enter the scons command to compile the project. Open the Env folder and double-click the env.exe file to open the Env console: Use the scons Command to Compile the Project ¶ The underlying driver provided by RT-Threadĭebugging script files on Windows platformĬompile and Run ¶ Step 1. The main files and directories of qemu-vexpress-a9 BSP are described as follows: Files/Directories The contents of the folder are shown in the following figure. This BSP implements LCD, keyboard, mouse, SD card, Ethernet card, serial port and other related drivers. The board-level support package (BSP) provided by RT-Thread simulates ARM vexpress A9 development board is located in the qemu-vexpress-a9 folder under the BSP directory of RT-Thread source code. Scons - target = iar scons - target = mdk4 scons - target = mdk5 Introduction of QEMU BSP Catalogue ¶ ![]()
0 Comments
Read More
Leave a Reply. |