daniel-dlds opened a new issue, #20113:
URL: https://github.com/apache/nuttx/issues/20113
### Description
I am trying to load a build of nuttx using qemu-system-riscv64
I have built nuttx for star64 target
then I do :
/usr/bin/qemu-system-riscv64 -nographic --machine sifive_u -m 2 -kernel /m
nt/c/devtools/nuttxspace/nuttx/nuttx
qemu-system-riscv64: Some ROM regions are overlapping
These ROM regions might have been loaded by direct user request or by
default.
They could be BIOS/firmware images, a guest kernel, initrd or some other
file loaded into guest memory.
Check whether you intended to load all this guest code, and whether it has
been built to load to the correct addresses.
The following two regions overlap (in the memory address space):
/usr/share/qemu/opensbi-riscv64-generic-fw_dynamic.bin (addresses
0x0000000080000000 - 0x0000000080042c40)
fdt (addresses 0x0000000080000000 - 0x000000008000130b)
image is clashing with SBI in Qemu
tried loading it while relocating the nuttx image with but could not load
/usr/bin/qemu-system-riscv64 -nographic --machine sifive_u -m 2 -device
guest-loader,kernel=/mnt/c/devtools/nuttxspace/nuttx/nuttx,addr=0x0000000080042c41
qemu-system-riscv64: -device
guest-loader,kernel=/mnt/c/devtools/nuttxspace/nuttx/nuttx,addr=0x0000000080042c41:
Cannot load specified image /mnt/c/devtools/nuttxspace/nuttx/nuttx
I could run qemu with the raw image, and it just stayed there running on the
terminal with :
/usr/bin/qemu-system-riscv64 -nographic --machine sifive_u -m 2 -bios
/mnt/c/devtools/nuttxspace/nuttx/nuttx
had to kill the qemu process
with this last command don't know if it was really executing anything. I
suspect I have to run this with the Qemu SBI in order to acess the serial port
on the nuttx side and get a prompt
I am new to all this. I need some pointers
and also qemu
### Verification
- [x] I have verified before submitting the report.
--
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-unsubscr...@nuttx.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org