pk: Update to autodetect the set of enabled harts
This commit is contained in:
parent
ac75f6e497
commit
266201ede7
6
Makefile
6
Makefile
@ -90,8 +90,10 @@ $(bbl): $(pk_srcdir) $(vmlinux_stripped)
|
|||||||
mkdir -p $(pk_wrkdir)
|
mkdir -p $(pk_wrkdir)
|
||||||
cd $(pk_wrkdir) && $</configure \
|
cd $(pk_wrkdir) && $</configure \
|
||||||
--host=$(target) \
|
--host=$(target) \
|
||||||
--with-payload=$(vmlinux_stripped)
|
--with-payload=$(vmlinux_stripped) \
|
||||||
CFLAGS="-mabi=lp64d -march=rv64imafdc -DDISABLED_HART_MASK=1" $(MAKE) -C $(pk_wrkdir)
|
--enable-logo \
|
||||||
|
--with-logo=$(abspath conf/sifive_logo.txt)
|
||||||
|
CFLAGS="-mabi=lp64d -march=rv64imafdc" $(MAKE) -C $(pk_wrkdir)
|
||||||
|
|
||||||
$(bin): $(bbl)
|
$(bin): $(bbl)
|
||||||
$(target)-objcopy -S -O binary --change-addresses -0x80000000 $< $@
|
$(target)-objcopy -S -O binary --change-addresses -0x80000000 $< $@
|
||||||
|
26
conf/sifive_logo.txt
Normal file
26
conf/sifive_logo.txt
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
|
||||||
|
SIFIVE, INC.
|
||||||
|
|
||||||
|
5555555555555555555555555
|
||||||
|
5555 5555
|
||||||
|
5555 5555
|
||||||
|
5555 5555
|
||||||
|
5555 5555555555555555555555
|
||||||
|
5555 555555555555555555555555
|
||||||
|
5555 5555
|
||||||
|
5555 5555
|
||||||
|
5555 5555
|
||||||
|
5555555555555555555555555555 55555
|
||||||
|
55555 555555555 55555
|
||||||
|
55555 55555 55555
|
||||||
|
55555 5 55555
|
||||||
|
55555 55555
|
||||||
|
55555 55555
|
||||||
|
55555 55555
|
||||||
|
55555 55555
|
||||||
|
55555 55555
|
||||||
|
555555555
|
||||||
|
55555
|
||||||
|
5
|
||||||
|
|
||||||
|
SiFive RISC-V Coreplex
|
2
riscv-pk
2
riscv-pk
@ -1 +1 @@
|
|||||||
Subproject commit 66701f82f88d08d3700d8b0bc5d5306abfd0044f
|
Subproject commit e22aaec27f16d5f36f4a2947a7b6d4de8c922b38
|
Loading…
Reference in New Issue
Block a user