util/riscvtools: Add script that turns coreboot.rom into an ELF

This is required because SPIKE doesn't support loading flat files yet.

Change-Id: If745d78712ca8108b5dcc21591201bc2d3f70b86
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/14964
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Jonathan Neuschäfer
2016-06-10 19:35:14 +02:00
committed by Martin Roth
parent 057ac4da0e
commit 2459f67731
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
/* See make-spike-elf.sh */
ENTRY(_start);
SECTIONS
{
. = 0x80000000;
_start = .;
.data : {
*(.data)
}
}