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.
-- west build: making build dir /home/t_aejaz/Zephyr/zephyrproject/zephyr/vp_build pristine
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /home/t_aejaz/Zephyr/zephyrproject/zephyr/samples/hello_world
-- CMake version: 3.30.2
-- Found Python3: /home/t_aejaz/Zephyr/zephyrproject/.venv/bin/python3 (found suitable version "3.10.12", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /home/t_aejaz/.cache/zephyr
-- Zephyr version: 4.0.0-rc1 (/home/t_aejaz/Zephyr/zephyrproject/zephyr)
-- Found west (found suitable version "1.3.0", minimum required is "0.14.0")
CMake Error at /home/t_aejaz/Zephyr/zephyrproject/zephyr/cmake/modules/boards.cmake:196 (message):
Error finding board: vp
Error message: ERROR: SoC 'riscv-privileged' is not found, please ensure
that the SoC exists and that soc-root containing 'riscv-privileged' has
been correctly defined.
Call Stack (most recent call first):
/home/t_aejaz/Zephyr/zephyrproject/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
/home/t_aejaz/Zephyr/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/t_aejaz/Zephyr/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:5 (find_package)
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/home/t_aejaz/Zephyr/zephyrproject/.venv/bin/python3 -B/home/t_aejaz/Zephyr/zephyrproject/zephyr/vp_build -GNinja -DBOARD=vp -S/home/t_aejaz/Zephyr/zephyrproject/zephyr/samples/hello_world
Environment (please complete the following information):
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:
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!