Age | Commit message (Collapse) | Author |
|
Include elf2hex in Standalone Projects
|
|
Disable maintainer mode in elf2hex
|
|
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
Removes the INCLUDE_METAL_SOURCES option. If we want to be able to
support multiple build configurations for standalone projects, the Metal
library must be rebuilt to take into account those options.
An alternative is to put back the prebuilt library option and just
remove the configuration option from standalone projects without the
Metal library sources.
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
- Puts shared flags in scripts/standalone and adds "build configurations"
for debug and release which customize the build flags for specific
purposes.
- Documents CONFIGURATION in Sphinx docs and makefile help
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
Print ELF size after build
|
|
|
|
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
Split out board init, toolchain setup, and program build into
scripts/standalone.mk which can be included in the top-level Makefile to
allow in-SDK builds or be exported and used on its own.
Create a `standalone` Make target which copies and example, the built
Freedom Metal library, and the standalone Makefile into an external
project.
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|
|
|
|
This runs all our examples (ie, "hello") on all our targets (ie, e31 and
s51). It's very simple, but it should at least ensure we can avoid
screwing anything up for now.
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
|
|
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
|
|
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
|
|
This just calls elf2hex on the compiled elf files, producing a hex file
that can be fed into RTL simulation.
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
|
|
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
|