riscv_programming_practice's People
Forkers
yibit adaptrum-richard babymelvin literming yaochenger sakura286 running-linux-riscv lingjiehao zillaru linuohai aarondot googol-lab songdolphin gzd668 peizhiming longstudy zhengjian526 yaccyang ownery weimingtom limanjihe kurisaw tridu33 buzhidaojiaoshenm hongwenjun zzrs123 yorange1 lzpfmh yaoyang357 yhc59go iorganizationd kpliu jasonyangshadow hugeflood specialshuai wangkkss saipaner anlanga zephyrols kagajiankui overtree floatingcloudknight user0fish catrowlee gh503 asanzjx shang-qy qqxlt 779688471 zcxggmu tonylau2010riscv_programming_practice's Issues
只有实验代码没有例题代码吗
Can not run the BenOS on QEMU in ubuntu 22.04 LTS
目前我按照書上2.2來搭建實驗環境
執行到 make run時 shell 停留在
qemu-system-riscv64 -nographic -machine virt -m 128M -bios mysbi.bin -device loader,file=benos.bin,addr=0x80200000 -kernel benos.elf
並未輸出 "Welcome RISC-V!"
My Environment
Ubuntu 22.04.2 LTS
Kernel: Linux 5.19.0-43-generic
Architecture: x86-64
example_18_3_gdb_asm Memory address 0x10010048 is invalid
Hi, this example failed to execute.
spike --rbb-port=1234 -m0x10000000:0x20000 --isa=rv64gcv test
Listening for remote bitbang connection on port 1234.
Access exception occurred while loading payload test:
Memory address 0x10010048 is invalid
My host is OS ubuntu 18.04
And my self built riscv64-unknown-elf-gcc info is :
Using built-in specs.
COLLECT_GCC=riscv64-unknown-elf-gcc
COLLECT_LTO_WRAPPER=/home/sunmin/aosp-out/rvv/bin/libexec/gcc/riscv64-unknown-elf/12.0.1/lto-wrapper
Target: riscv64-unknown-elf
Configured with: /home/sunmin/aosp-out/rvv/riscv-gnu-toolchain/build/../riscv-gcc/configure --target=riscv64-unknown-elf --prefix=/home/sunmin/aosp-out/rvv/bin --disable-shared --disable-threads --enable-languages=c,c++ --with-pkgversion=g42df3464463 --with-system-zlib --enable-tls --with-newlib --with-sysroot=/home/sunmin/aosp-out/rvv/bin/riscv64-unknown-elf --with-native-system-header-dir=/include --disable-libmudflap --disable-libssp --disable-libquadmath --disable-libgomp --disable-nls --disable-tm-clone-registry --src=../../riscv-gcc --enable-multilib --with-abi=lp64d --with-arch=rv64imafdc --with-tune=rocket --with-isa-spec=2.2 'CFLAGS_FOR_TARGET=-Os -mcmodel=medlow' 'CXXFLAGS_FOR_TARGET=-Os -mcmodel=medlow'
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 12.0.1 20220505 (prerelease) (g42df3464463)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.