acassis commented on code in PR #18820: URL: https://github.com/apache/nuttx/pull/18820#discussion_r3161169831
########## Documentation/platforms/x86/qemu/boards/qemu-i486/index.rst: ########## @@ -4,3 +4,46 @@ qemu-i486 Port of NuttX to QEMU in i486 mode. This port will also run on real i486 hardware (Google the Bifferboard). + +QEMU +==== + +QEMU is a generic and open source machine emulator and virtualizer. + +QEMU Installation +----------------- + +You can install QEMU for x86 on Linux Ubuntu this way:: + + $ sudo apt install qemu-system-x86 + +Executing QEMU +-------------- + +Running QEMU with the generated ``nuttx.elf`` file:: + + $ qemu-system-i386 -cpu 486 -m 2 -kernel nuttx.elf -nographic Review Comment: @acassis the output is from my computer test. The only issue I noticed was this warning that need to be fixed: ``` LD: nuttx.elf ld: warning: i486_utils.o: missing .note.GNU-stack section implies executable stack ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker ``` <img width="1897" height="318" alt="image" src="https://github.com/user-attachments/assets/37052504-d8f9-424e-9384-6e2a3ea0c864" /> And everything works fine on nsh: <img width="1920" height="633" alt="image" src="https://github.com/user-attachments/assets/86f15399-50d1-430c-b507-189a5a07f7a1" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
