Skip to content

unable to install the riscv pk #349

@shmohanp

Description

@shmohanp

Hi,

I have downloaded the RISCV PK, performed the steps as mentioned in the README. I have the RISCV variable to the path
/tool/pandora64/.package/freedomstudio-4.18.0.2021-11-3/SiFive/riscv64-unknown-elf-toolsuite-13.0.0-2021.11.4

https://github.com/riscv-software-src/riscv-pk
git clone https://github.com/riscv-software-src/riscv-pk.git (downloaded)

  1. mkdir build
  2. cd build
  3. ../configure --prefix=$RISCV --host=riscv64-unknown-elf
  4. make
    getting the below error after step4, how to fix it?

config.status: creating util.mk
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
atletx8-reg041:/proj/clientphyv_n3_fw_dv_0/users/shmohanp/spike_testbench_from_yuan/riscv-pk/riscv-pk/build[ 697 ] --> make
riscv64-unknown-elf-gcc -MMD -MP -Wall -Werror -D__NO_INLINE__ -mcmodel=medany -O2 -std=gnu99 -Wno-unused -Wno-attributes -fno-delete-null-pointer-checks -fno-PIE -DBBL_LOGO_FILE="bbl_logo_file" -DMEM_START=0x80000000 -fno-stack-protector -U_FORTIFY_SOURCE -DBBL_PAYLOAD="bbl_payload" -I. -I../pk -I../bbl -I../softfloat -I../dummy_payload -I../machine -I../util -c ../machine/minit.c
../machine/minit.c: Assembler messages:
../machine/minit.c:250: Error: unknown CSR `menvcfg'
make: *** [Makefile:336: minit.o] Error 1

Regards,
Shishir

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions