readme.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Introduction
  2. ============
  3. This is the support for the ARM Foundation v8 machine emulated by the
  4. ARM software simulator of the AArch64 architecture.
  5. Building
  6. ========
  7. $ make arm_foundationv8_defconfig
  8. $ make
  9. Generated files under output/images:
  10. * linux-system.axf: An image comprising the boot-wrapper-aarch64 minimal
  11. firmware and bootloader, a Devicetree and the Linux kernel.
  12. * rootfs.ext2: The OS root filesystem.
  13. Running on the simulator
  14. ========================
  15. Download the AArch64 software simulator from one of the following sources,
  16. corresponding to your host computer:
  17. - https://developer.arm.com/-/cdn-downloads/permalink/FVPs-Architecture/FM-11.29/Foundation_Platform_11.29_27_Linux64.tgz
  18. - https://developer.arm.com/-/cdn-downloads/permalink/FVPs-Architecture/FM-11.29/Foundation_Platform_11.29_27_Linux64_armv8l.tgz
  19. The model will be located under one of the corresponding folders:
  20. - Foundation_Platformpkg/models/Linux64_GCC-9.3
  21. - Foundation_Platformpkg/models/Linux64_armv8l_GCC-9.3
  22. Finally, boot your system with:
  23. Foundation_Platform \
  24. --arm-v8.0 \
  25. --image output/images/linux-system.axf \
  26. --block-device output/images/rootfs.ext2 \
  27. --network=nat \
  28. --cores 4
  29. You can get network access from within the simulated environment
  30. by requesting an IP address using DHCP (run the command 'udhcpc').