1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-22 08:06:17 +04:00

Remove k210, until we are able to test on it again again

This commit is contained in:
Jiajie Chen 2020-06-26 22:30:01 +08:00
parent 1f9d7cd323
commit 2dca1399be
3 changed files with 2 additions and 14 deletions

View File

@ -22,7 +22,6 @@ authors = [
default = []
board_qemu = []
board_u540 = ["link_user"]
board_k210 = ["link_user"]
board_rocket_chip = ["link_user"]
# (for aarch64 RaspberryPi3)
nographic = []

View File

@ -21,7 +21,6 @@
# BOARD = qemu Run on QEMU
# | pc [ x86_64 only] Run on real pc
# | u540 [riscv64 only] Run on HiFive U540, use Sv39
# | k210 [riscv64 only] Run on K210, use Sv39
# | rocket_chip [riscv64 only] Run on Rocket Chip, use Sv39
# | raspi3 [aarch64 only] Run on Raspberry Pi 3 Model B/B+
# NET = on | off [ x86_64 only] Enable NIC
@ -299,9 +298,7 @@ endif
kernel: $(DTB)
@echo Building $(ARCH) kernel
ifeq ($(ARCH), $(filter $(ARCH), riscv32 riscv64))
ifeq ($(BOARD), k210)
@cp src/arch/riscv/board/k210/linker.ld src/arch/riscv/boot/linker64.ld
else ifeq ($(BOARD), rocket_chip)
ifeq ($(BOARD), rocket_chip)
@cp src/arch/riscv/board/rocket_chip/linker.ld src/arch/riscv/boot/linker64.ld
else
@cp src/arch/riscv/board/u540/linker.ld src/arch/riscv/boot/linker64.ld
@ -350,14 +347,6 @@ install: $(kernel_img)
@../tools/u540/mkimg.sh $(build_path)/bin $(build_path)/u540.img
endif
ifeq ($(BOARD), k210)
.PHONY:
install: $(kernel_img)
@$(objcopy) -S -O binary ../tools/opensbi/k210.elf $(build_path)/k210.img
@dd if=$< of=$(build_path)/k210.img bs=0x10000 seek=1
@python3 ../tools/k210/kflash.py -b 600000 $(build_path)/k210.img
endif
.PHONY:
addr2line:
@python3.7 ../tools/addr2line.py $(prefix)addr2line $(ARCH) $(MODE)

2
user

@ -1 +1 @@
Subproject commit 93dc937e96b6bdc1358b6e80ef53b91a21a6b8cb
Subproject commit 84daa580e5dde1f8e16510ec1dcbdc298d13d725