![]() In file included from /home/frant/mnt/git/boot-code/include/hal/chips/pulp/pulp.h:20,įrom /home/frant/mnt/git/boot-code/include/hal/pulp.h:27, You can now build the build/bootcode executable: make The the same Makefile, replace the following line - the code does not compile as is I think: CFLAGS += -Os -g -fno-jump-tables -I$(CURDIR)/includeīy: CFLAGS += -Os -g -fno-jump-tables -I$(CURDIR)/include -DMCHAN_CMD_ILE_BIT=21 -DMCHAN_CMD_ELE_BIT=20 PULP_LD = /opt/bootlin/riscv32-ilp32d-glibc-bleeding-edge-2020.02-2/bin/riscv32-buildroot-linux-gnu-gcc When using the bootlin toolchain, this would result in the two following lines: PULP_CC = /opt/bootlin/riscv32-ilp32d-glibc-bleeding-edge-2020.02-2/bin/riscv32-buildroot-linux-gnu-gcc Tar jxvf 2 -C /opt/bootlinĮdit the Makefile, and adjust the following lines in order to reflect the location for the toolchain you are using: PULP_CC = riscv32-unknown-elf-gcc Since I do not have the toolchain you are using, I am using a toolchain I downloaded from the bootlin web site. ![]() ![]() There is a perfect example in the git repository for the pulp platform boot code that can be used for answering your question.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |