You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/08/10 18:00:33 UTC

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #10125: qemu: add devicetree support for arm64

xiaoxiang781216 commented on code in PR #10125:
URL: https://github.com/apache/nuttx/pull/10125#discussion_r1290496095


##########
arch/arm64/src/qemu/qemu_boot.c:
##########
@@ -167,6 +171,10 @@ void arm64_chip_boot(void)
 
   arm64_mmu_init(true);
 
+#ifdef CONFIG_DEVICE_TREE
+  fdt_register((FAR const char *)0x40000000);

Review Comment:
   but from https://www.qemu.org/docs/master/system/arm/virt.html?highlight=device%20tree%20blob, only -kernel with non-ELF file could get the fdt location from r2 or x0.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org