Help regarding Building x86_64 BSP

Karel Gardas karel at functional.vision
Wed Mar 8 06:41:46 UTC 2023


On 3/8/23 01:42, Joel Sherrill wrote:
> Did you build the x86_64 tools and qemu using the RTEMS Source Builder?

Honestly, I do not remember, this is more than year old, but since this 
is in 6-tools directory, in fact in two incarnation, I would bet this 
was done by RSB:

$ find . -name 'edk2*'
./6-tools-2021-12-09-x86_64/share/qemu/edk2-i386-secure-code.fd
./6-tools-2021-12-09-x86_64/share/qemu/edk2-licenses.txt
./6-tools-2021-12-09-x86_64/share/qemu/edk2-x86_64-code.fd
./6-tools-2021-12-09-x86_64/share/qemu/edk2-x86_64-secure-code.fd
./6-tools-2021-12-09-x86_64/share/qemu/edk2-i386-code.fd
./6-tools-2021-12-09-x86_64/share/qemu/edk2-i386-vars.fd
./6-tools-2021-12-09-x86_64/share/qemu/edk2-aarch64-code.fd
./6-tools-2021-12-09-x86_64/share/qemu/edk2-arm-vars.fd
./6-tools-2021-12-09-x86_64/share/qemu/edk2-arm-code.fd
./6-tools-pc686-2021-11-20/share/qemu/edk2-arm-code.fd
./6-tools-pc686-2021-11-20/share/qemu/edk2-i386-vars.fd
./6-tools-pc686-2021-11-20/share/qemu/edk2-aarch64-code.fd
./6-tools-pc686-2021-11-20/share/qemu/edk2-i386-code.fd
./6-tools-pc686-2021-11-20/share/qemu/edk2-arm-vars.fd
./6-tools-pc686-2021-11-20/share/qemu/edk2-i386-secure-code.fd
./6-tools-pc686-2021-11-20/share/qemu/edk2-licenses.txt
./6-tools-pc686-2021-11-20/share/qemu/edk2-x86_64-code.fd
./6-tools-pc686-2021-11-20/share/qemu/edk2-x86_64-secure-code.fd

Karel

> 
> On Tue, Mar 7, 2023, 11:39 AM Karel Gardas <karel at functional.vision> wrote:
> 
>     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
>     _______________________________________________
>     devel mailing list
>     devel at rtems.org <mailto:devel at rtems.org>
>     http://lists.rtems.org/mailman/listinfo/devel
>     <http://lists.rtems.org/mailman/listinfo/devel>
> 



More information about the devel mailing list