summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-14Add a SMP examplePalmer Dabbelt
This just prints "hello world" on two cores. It contains an example of how to initialize a multi-core system using IPIs, and a simple spin lock.
2017-06-14Ignore some generated binariesPalmer Dabbelt
2017-06-14Call puts instead of printf when printing constantsPalmer Dabbelt
printf doesn't fit in the scratchpad, but since there's really no reason to call it on constant strings it can be replaced with puts. With this change, the "hello" example fits in the scratchpad.
2017-06-14Add linker scripts that target the scratchpadPalmer Dabbelt
Everything still defaults to the flash, but users can optionally select the scratchpad. Note that you have to be pretty careful about your scratchpad programs, most of them won't fit. For example, printf is too big to fit in the scratchpad.
2017-06-14New Freedom Studio Examples (#66)Megan Wachs
* examples ported to ilg build plugin * project cleanup * CoreplexIP-E31 ilg projects * E51FPGA ilg projects * Tested Debug * debug launch files * E31 Debug Launch Files * removed typo project * E51 launch files. Forgotten E31 File * Missing coreplexip files * examples ported to ilg build plugin * project cleanup * CoreplexIP-E31 ilg projects * E51FPGA ilg projects * Tested Debug * debug launch files * E31 Debug Launch Files * removed typo project * E51 launch files. Forgotten E31 File * Missing coreplexip files * starting fresh * HiFive1 demo_gpio and libwrap * hifive1 hello * debug launchers for hello and demo_gpio * hifive1 led_fade * led_fade: Since E300 Arty Dev Kit doesn't have a PRCI, the led_fade demo doesn't really work on it. * update include paths to ease generating stand-alone zips * Adding E51 Examples * E51 demo launch files * E31 Demos * E31 demo launch files
2017-06-13Merge pull request #65 from sifive/led_fade_debugPalmer Dabbelt
Allow led_fade debug
2017-06-13led_fade: make sure the HFROSC is running before you try to use it.mwachs5
2017-06-13Merge pull request #62 from edwardcwang/masterPalmer Dabbelt
Dead script
2017-06-10Allow users to override the GDB portPalmer Dabbelt
2017-06-10Just lump all the RAM sections togetherPalmer Dabbelt
Since our loader doesn't support multiple sections anyway, there's really no reason to have all these sections floating around. They're causing trouble due to misalignment so it's easiest to just group them together so we can properly enforce alignment.
2017-06-10Pass the BSP_BASE and BOARD variables to "make software_clean"Palmer Dabbelt
Without these, "software_clean" doesn't know where to remove init.o, which means init.o isn't being rebuilt when moving between programs. Since we turn on and off init features, this causes programs to break.
2017-06-10We no longer define __riscv64, we define __riscv_xlen=64Palmer Dabbelt
2017-06-09Use the correct global pointer symbolPalmer Dabbelt
2017-06-09Support the performance counters example on 32-bitPalmer Dabbelt
2017-06-09Mark more boards as unsupportedPalmer Dabbelt
2017-06-09Don't use .section\nALIGN, reorder sdata and srodataPalmer Dabbelt
I'm hoping this will make everything more likely to align. We can't use the other mechanism because our loader is lazy and assumes all the sections are contiguous.
2017-06-09Don't call _{init,fini} in start.S, we call libc_{init,fini}_arryPalmer Dabbelt
2017-06-09Update submodule to the 20170608 tagged releasesPalmer Dabbelt
2017-06-09Print the exit codes as unsigned numbersPalmer Dabbelt
Without this I get a message that looks like Program has exited with code 0x/0000008 which doesn't make any sense. This prints Progam has exited with code:0x80000008
2017-06-08Specify alignment on the .sdata and .srodata sectionsPalmer Dabbelt
Without these alignment directives the sections are only required to be aligned on word-sized boundries, but we sometimes require double-word alignment. This allows the linker to sanely emit these sections.
2017-06-08Add a simple regression scriptPalmer Dabbelt
2017-06-01Dead scriptEdward Wang
2017-05-26Merge pull request #61 from sifive/rtosPalmer Dabbelt
Bump openocd, for many RTOS fixes
2017-05-25Bump openocd, for many RTOS fixesPalmer Dabbelt
The RTOS now passes as many tests as the single-core code path does. With any luck, this will eliminate the various oddities that we've been seeing for the last month or two.
2017-05-17Merge pull request #59 from sifive/use_precompiledMegan Wachs
Update Makefile and README with how to use precompiled binaries.
2017-05-17rename 'PREFIX' to 'PATH' for more intuitive namingmwachs5
2017-05-17Re-arrange some Makefile instructionsMegan Wachs
2017-05-17Update Makefile and README with how to use precompiled binaries.mwachs5
2017-05-17Merge pull request #58 from sifive/bump_openocd_segfaultPalmer Dabbelt
Bump OpenOCD to version which avoids segfaulting on HiFive1
2017-05-17Bump OpenOCD to version which avoids segfaulting on HiFive1mwachs5
2017-05-09Bump openocd, to a multicore debug fixPalmer Dabbelt
2017-05-09Merge pull request #57 from sifive/freedom-studiodbarbi1
Freedom studio
2017-05-08revert backDrew Barbier
2017-05-08fixed definesDrew Barbier
2017-05-08Added debug launch filesDrew Barbier
2017-05-08more launch filesDrew Barbier
2017-05-07changed write_hex to new defDrew Barbier
2017-05-07added global interrupt programDrew Barbier
2017-05-07Merge remote-tracking branch 'origin/master' into freedom-studioDrew Barbier
2017-05-05Merge pull request #56 from sifive/e51_fixesMegan Wachs
E51 fixes for MCAUSE
2017-05-05coreplex-e51: Correct width of MCAUSEmwachs5
2017-05-05write_hex: allow for different size error codesMegan Wachs
2017-05-05coreplexip-e51-arty: MCAUSE is XLEN-bits wide.Megan Wachs
2017-05-05added demo_gpioDrew Barbier
2017-05-05added coreplexip_welcomeDrew Barbier
2017-05-05E51 libwrap and local interrupt exampleDrew Barbier
2017-05-05Merge remote-tracking branch 'origin/master' into freedom-studioDrew Barbier
2017-05-05Merge pull request #55 from sifive/local_interrupts_typoMegan Wachs
local_interrupts: fix typo in the instructions
2017-05-05local_interrupts: fix typo in the instructionsMegan Wachs
2017-05-05local interrupt exampleDrew Barbier