On Fri, Oct 30, 2026 at 12:01 PM Gianluca Cannata <[email protected]> wrote:
> I am trying to boot the kernel but I don't know if I have followed the
> correct indications in aarch64/BOOTING.
>
> I have compiled the kernel and produced an ELF binary and I have
> extracted the DTS file with QEMU and modified a little bit but I don't
> know if it is correct

If you're booting it in QEMU, you don't need to extract the device
tree (other than to inspect it should you want to); it's QEMU itself
that provides the DTB to gnumach. We use the same format/protocol as
Linux on AArch64, and QEMU basically thinks it's booting Linux, and
provides the DTB in the expected way.

aarch64/BOOTING has a couple of examples of qemu-system-aarch64
command lines, try using those.

Sergey

Reply via email to