OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 5:44 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: riscv64 qemu fdt
PostPosted: Mon Feb 27, 2023 9:58 pm 
Offline

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


Top
 Profile  
 
 Post subject: Re: riscv64 qemu fdt
PostPosted: Sat Mar 04, 2023 8:36 am 
Offline

Joined: Sat Feb 11, 2023 9:07 pm
Posts: 2
I found the problem. I was running qemu with not enough ram.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 89 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group