I am trying to create a gentoo image for the beaglev-ahead and I am having some issues
I get these errors when trying to compile u-boot
I tried with both cross compiling and compiling in chroot
For cross compile I first tried with my riscv64 cross compiler
Since it gave me those errors I tried with the one used with the ubuntu build
That one went a bit farther but not much, it also hhd zicsr errors.
I then tried the compiling in my riscv64 chroot
tools/bmp_logo --gen-info ./tools/logos/thead.bmp > include/bmp_logo.h
tools/bmp_logo --gen-bmp ./tools/logos/thead.bmp > include/bmp_logo_data.h
CC arch/riscv/cpu/cpu.o
arch/riscv/cpu/cpu.c: Messages de l’assembleur:
arch/riscv/cpu/cpu.c:92: Erreur: unrecognized opcode csrw 0x306,7', extension
zicsr’ required
arch/riscv/cpu/cpu.c:96: Erreur: unrecognized opcode csrw 0x180,0', extension
zicsr’ required
arch/riscv/cpu/cpu.c:83: Erreur: unrecognized opcode csrs mstatus,a5', extension
zicsr’ required
arch/riscv/cpu/cpu.c:84: Erreur: unrecognized opcode csrw 0x003,0', extension
zicsr’ required
make[1]: *** [scripts/Makefile.build:283: arch/riscv/cpu/cpu.o] Error 1
make: *** [Makefile:1723: arch/riscv/cpu] Error 2