--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/4ccb87b3-89eb-4e2d-a432-3c28fbf6c27f%40groups.riscv.org.
shore@ubuntu32:~/riscv-qemu$ ./riscv32-softmmu/qemu-system-riscv32 -nographic -kernel /home/shore/riscv/riscv32-unknown-elf/bin/bbl -drive file=/home/shore/linux-4.6.2/root.bin,format=raw -m 512M
qemu-system-riscv32: cannot set up guest memory 'riscv_spike_board.ram': Cannot allocate memory
Actually, the memory of my machine is 4GB. I cannot believe that it is because the memory is not adequate. I mean that the 32bit OS can access 4GB memory at most, the OS of my computer is
Linux ubuntu32 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:06:37 UTC 2016 i686 i686 i686 GNU/Linux
Actually, the bbl is built according to https://github.com/riscv/riscv-pk/tree/master, except that I modify the configuration because I am running a 32bit Machine
../configure --prefix=$RISCV --host=riscv32-unknown-linux-gnu --enable-32bit --with-payload=/home/shore/linux-4.6.2/vmlinux
the drive file system is build according to the https://github.com/riscv/riscv-tools#creating-root-disk
Have you met such probloms or do you have any solution?
Maybe I should open a new thread to ask this problem?
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/4ccb87b3-89eb-4e2d-a432-3c28fbf6c27f%40groups.riscv.org.
--