-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
*** failed to create busybear.bin #13
Comments
Did you figure out what the problem was? |
Yes, finally found the problem was about the configurations: At step 1, I used --with-abi=lp64 to build the riscv-gnu-toolchain. At step 5, since I used lp64 at step 1, I should firstly modify the configuration file at problem solved, and everything is good. |
Ok. Thank you for your response! I will write an update later. |
It works now. I changed --with-abi=lp32 to --with-abi=ilp32 in the busybear.conf file. Now, I fail with sudo qemu-system-riscv32 -nographic -machine virt \ ... |
Here is what I did and it works: Riscv-gnu-toolchain: busybear.config file: Start qemu with: sudo qemu-system-riscv64 -nographic -machine virt -kernel riscv-pk/build/bbl -append "root=/dev/vda ro console=ttyS0" -drive file=busybear-linux/busybear.bin,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 |
I am building busybear-linux following the instructions on :
https://buildmedia.readthedocs.org/media/pdf/risc-v-getting-started-guide/latest/risc-v-getting-started-guide.pdf
from 1-5 step by step.
My platform is ubuntu 19.04
I have started from installing the riscv-gnu-toolchain,
I always failed like the follows. Can anyone help? thank you.
./scripts/build.sh
100+0 records in
100+0 records out
104857600 bytes (105 MB, 100 MiB) copied, 0.0558494 s, 1.9 GB/s
mke2fs 1.44.6 (5-Mar-2019)
Discarding device blocks: done
Creating filesystem with 102400 1k blocks and 25688 inodes
Filesystem UUID: d9ec9fa2-b0d0-40db-a42e-b13aa7d5e13b
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729
Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
*** failed to create busybear.bin
The text was updated successfully, but these errors were encountered: