riscv64 qemu fdt

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
cheydon
Posts: 2
Joined: Sat Feb 11, 2023 9:07 pm

riscv64 qemu fdt

Post by cheydon »

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.
cheydon
Posts: 2
Joined: Sat Feb 11, 2023 9:07 pm

Re: riscv64 qemu fdt

Post by cheydon »

I found the problem. I was running qemu with not enough ram.
Post Reply