summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2019-05-21Update DTS fixup for riscv,pmpregions propertyNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-05-20Update metal to pick up inline supportBunnaroath Sou
2019-05-08Add missing quotes to bash conditionalNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-05-06Add stdout-path if not specified and UART existsNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-05-06Check for targets which don't support PMPNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-05-06Use gsed if it exists (MacOS compatibilityNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-05-02Update Metal and build scripts for platform headerNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-04-30Merge pull request #235 from sifive/u54-rtlNathaniel Graff
Add Multicore Support
2019-04-19Add script to update submodule URLs to use SSHNathaniel Graff
This is a helper script for Freedom E SDK developers which makes it easy to use SSH for all submodules instead of HTTPS. Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-04-12Update BSPs for Unleashed and U54(MC)Nathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-04-12Update elf2hex to pick up more Python 2 fixesNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-04-11Merge pull request #231 from sifive/newlib-nanoNathaniel Graff
Switch to newlib-nano and use CCASFLAGS
2019-04-11Merge pull request #232 from sifive/elf2hex-python2Nathaniel Graff
Allow Python >= 2.7 for elf2hex
2019-04-10Allow Python >= 2.7 for elf2hexNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-04-10Use CCASFLAGS instead of ASFLAGSNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-04-10Use newlib-nanoNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-31Add missing numintbits for clicBunnaroath Sou
2019-03-25Set ASFLAGS to workPalmer Dabbelt
This allows users to specify raw assembly files in their build scripts. Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-25Add DTS fixup scriptNathaniel Graff
The script is used as a holdover to add missing elements to design.dts until the IP deliveries catch up with the set of information we need in Freedom E SDK. Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-22Initial internal tag 0.0.1 for FS 19.03 RCBunnaroath Sou
2019-03-19Missed one search and replacecgsfv
2019-03-19Reverted to naming verilog hex files .hexcgsfv
2019-03-19Added .map + .lst + .rtl extra output filescgsfv
2019-03-18Add link target options to tools and envBunnaroath Sou
2019-03-14list-targets accepts TARGET_REQUIRE_TAGS as filterNathaniel Graff
make list-targets TARGET_REQUIRE_TAGS="tag1 tag2 tag3" will list only the BSPs with all of the requested tags. Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-14Use TARGET_TAGS in MakefileNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-14Merge pull request #205 from sifive/standalone-hexNathaniel Graff
Include elf2hex in Standalone Projects
2019-03-13Merge pull request #204 from sifive/elf2hex-maintainerNathaniel Graff
Disable maintainer mode in elf2hex
2019-03-13Enable elf2hex in standalone projectsNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-13Clean a single Metal configuration at a timeNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-13Update elf2hex to disable maintainer modeNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-12Build program into SRC_DIR/CONFIGURATION/PROGRAMNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-12Build metal libs into install/lib/CONFIGURATIONNathaniel Graff
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>
2019-03-12ELF output has .elf extensionNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-12Support Debug/Release configurationsNathaniel Graff
- 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>
2019-03-07Remove BSP checks from MakefileNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-06Add support for Segger J-LinkNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-05Build scripts can consume RISCV_CMODELNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-05Merge pull request #180 from sifive/print-sizeNathaniel Graff
Print ELF size after build
2019-02-27Optimize for size using gc-sections, function-sections, data-sections flagsBunnaroath Sou
2019-02-22Print ELF size after buildNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-02-12Move libmetal make targets to scripts/libmetal.mkNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-02-04Replace all mee with metalNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-01-31Add TARGET as a synonym for BOARDNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-01-18Add export of standalone projectNathaniel Graff
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>
2018-12-18Revert "Add a very simple regression script"Palmer Dabbelt
2018-12-17Add a very simple regression scriptPalmer Dabbelt
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>
2018-12-14Update elf2hex to pull in py-compilePalmer Dabbelt
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-12-14Update elf2hex to support older versions of autoconfPalmer Dabbelt
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-12-13Add support for generating coreip hex files via elf2hexPalmer Dabbelt
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>