riscv64 qemu fdt
riscv64 qemu fdt
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.
Re: riscv64 qemu fdt
I found the problem. I was running qemu with not enough ram.