Help regarding Building x86_64 BSP

Karel Gardas karel at functional.vision
Tue Mar 7 18:39:41 UTC 2023


On 3/7/23 19:24, Karel Gardas wrote:
> On 3/7/23 15:05, Siddharth Khattar wrote:
>> Hello all,
>> So I was aiming to make a project to improve the amd64 BSP for RTEMS 
>> (modify it according to ACPI standards along with other stuff) but 
>> first I would need to build it. Unfortunately there was no way to 
>> build it natively within RTEMS source. So, I needed to install QEMU 
>> and had to build the UEFI firmware,OVMF by Tianocore in order to build 
>> it. 
> 
> Indeed, they still list Ubutnu 16.04 LTS as a build OS. Hmm, I would go 
> with VM for this. You need to build it just once...

Investigating more, it looks like qemu build those too, so there is no 
need to deal with TianoCore alone anymore. My 7.2.0 install contains:

$ find qemu-7.2.0/share/qemu/ -name 'edk2*'
qemu-7.2.0/share/qemu/edk2-arm-code.fd
qemu-7.2.0/share/qemu/edk2-x86_64-code.fd
qemu-7.2.0/share/qemu/edk2-arm-vars.fd
qemu-7.2.0/share/qemu/edk2-i386-secure-code.fd
qemu-7.2.0/share/qemu/edk2-x86_64-secure-code.fd
qemu-7.2.0/share/qemu/edk2-aarch64-code.fd
qemu-7.2.0/share/qemu/edk2-i386-code.fd
qemu-7.2.0/share/qemu/edk2-i386-vars.fd
qemu-7.2.0/share/qemu/edk2-licenses.txt

Ditto for Qemu build by RSB. Will send you tarball of scripts I'm using 
for building and running rtems.exe on those...

Karel


More information about the devel mailing list