I am currently looking to setup AARCH64 platform simulation verification of coreboot on Gem5 simulation environment. Do we have any document/wikipage to understand the compilation and configuration process?
Dear Vivek,
Am 16.07.20 um 00:46 schrieb Vivek Gupta via coreboot:
I am currently looking to setup AARCH64 platform simulation verification of coreboot on Gem5 simulation environment. Do we have any document/wikipage to understand the compilation and configuration process?
The tutorial [1] should get you started. Basically, coreboot uses Kconfig, but there is also the tool abuild [2], you might want to look at.
Kind regards,
Paul
[1]: https://doc.coreboot.org/tutorial/index.html [2]: https://doc.coreboot.org/util.html
Thanks Paul for the details. Actually I am not able to find Gem5 simulation environment as listed option in kconfig. Do I need to select some other variant of it like QEMU? I am putting below CONFIG defs
CONFIG_ANY_TOOLCHAIN=y CONFIG_COLLECT_TIMESTAMPS=y CONFIG_MAINBOARD_VENDOR="GEM5" CONFIG_BOARD_EMULATION_QEMU_AARCH64=y CONFIG_COREBOOT_ROMSIZE_KB_256=y CONFIG_PAYLOAD_ELF=y CONFIG_PAYLOAD_FILE="payloads/coreinfo/build/coreinfo.elf"
Best regards Vivek Gupta
On Wed, Jul 15, 2020 at 11:26 PM Paul Menzel pmenzel@molgen.mpg.de wrote:
Dear Vivek,
Am 16.07.20 um 00:46 schrieb Vivek Gupta via coreboot:
I am currently looking to setup AARCH64 platform simulation verification of coreboot on Gem5 simulation environment. Do we have any document/wikipage to understand the compilation and configuration process?
The tutorial [1] should get you started. Basically, coreboot uses Kconfig, but there is also the tool abuild [2], you might want to look at.
Kind regards,
Paul
Dear Vivek,
(Please follow the mailing list etiquette and use interleaved style, when replying.)
Am 21.07.20 um 04:09 schrieb Vivek Gupta:
Actually I am not able to find Gem5 simulation environment as listed option in kconfig.
It’s the first time I am hearing of the “Gem5 simulation environment“.
Do I need to select some other variant of it like QEMU? I am putting below CONFIG defs
CONFIG_ANY_TOOLCHAIN=y CONFIG_COLLECT_TIMESTAMPS=y CONFIG_MAINBOARD_VENDOR="GEM5" CONFIG_BOARD_EMULATION_QEMU_AARCH64=y CONFIG_COREBOOT_ROMSIZE_KB_256=y CONFIG_PAYLOAD_ELF=y CONFIG_PAYLOAD_FILE="payloads/coreinfo/build/coreinfo.elf"
Sorry, no idea. If Gem5 uses QEMU as a basis, then it could work.
Please give more details what it is, and how to use the Gem5 environment.
Kind regards,
Paul