Replies: 7 comments
-
Hi @akifejaz! We appreciate you submitting your first issue for our open-source project. 🌟 Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙 |
Beta Was this translation helpful? Give feedback.
-
The riscv in boards/riscv should be replaced with a valid vendor name, you can refer to dts/bindings/vendor-prefixes.txt |
Beta Was this translation helpful? Give feedback.
-
In addition, if you don't need to submit the board to zephyr, but just want to use it in your own application, you can refer to the file doc/develop/application/index.rst to add a custom board to your application. |
Beta Was this translation helpful? Give feedback.
-
Thanks for quick response, my main intension is to use Zephyr rtos on my custom riscv based proc. which also has simulator support (mini version of qemu emulator), thus I'm trying to add new board .. I'm I on the right track? |
Beta Was this translation helpful? Give feedback.
-
I resolved this, and build is ready now with my custom dts, but the build size of binary is too much my simulator doesnt support that much binary size, how can I disable everything and try enabling pheri/kernels or other things manually ? I read there is some EDIT: (Actually my custom board it didn't detected as I explained in issue, so, I tried to change the qemu_riscv64 by just changing its dts file with mine, it builds fine now but there is lot in binary, I cant run it on my simulator) |
Beta Was this translation helpful? Give feedback.
-
@akifejaz The first thing would be to disable peripheral that you don't need in DTS by putting "disabled" in their status. Next, you can go to auto_conf file in .build/zephyr/include and see Kconfig options that are enabled by default but are optional for your use case and mark them as disabled in your application's prj.conf. You can try reducing stack sizes as well to the minimum needed. |
Beta Was this translation helpful? Give feedback.
-
I think i'm confused here, I've added vendor name in list and adding board in there but it still not able to find out my board. Where content in files are. t_aejaz@ip $ for file in boards/xcelerium/vp/*; do [ -f "$file" ] && echo "File: $(basename "$file")" && cat "$file" && echo; done File: CMakeLists.txt
File: Kconfig.defconfig
File: Kconfig.vp
File: board.cmake
File: board.yml
File: vp.dts
File: vp.yml
Can you please help me little in it? @hongquan-prog @JarmouniA |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
I've followed steps board_porting to add new board as vp but while build it says
Error finding board: vp
Please also mention any information which could help others to understand
the problem you're facing:
To Reproduce
Steps to reproduce the behavior:
add new board at boards/riscv/vp with below directory structure.

Files content:
CmakeLists.txt
Kconfig
Kconfig.defconfig
Kconfig.vp
board.cmake
board.yml
board: name: vp full_name: VP ISA Simulator for RISCV64 vendor: xcelerium socs: - name: riscv-privileged variants: - name: smp
vp.dts
#device tree of my custom riscv proc
vp.yml
vp_defconfig
cd zephyrproject/zephyr; west build -p always -b vp samples/hello_world --build-dir vp_build/
Expected behavior
Build test as per my custom board configurations.
Logs and console output
After following the above steps i'm getting.
Environment (please complete the following information):
would really appreciate your help, Thanks!
Beta Was this translation helpful? Give feedback.
All reactions