riscv64 qemu fdt
Posted: Mon Feb 27, 2023 9:58 pm
I'm attempting to read the fdt in a riscv64 vm (qemu). I read on the wiki that qemu will pass the address of the fdt to kernel in the a1 register. So far, I've found that the address is always 0x000000007f000000. The problem that I am running into is that the magic number and the entire fdt is just 0xff bytes. I was wondering if anyone would have any advice. Thanks.