aboutsummaryrefslogtreecommitdiff
path: root/machine/machine.mk.in
AgeCommit message (Collapse)AuthorFilesLines
2020-12-15Add support for the UART interface on the LiteX SoC (#230)gsomlo1-1/+3
Tested using the RocketChip CPU option. (see https://github.com/enjoy-digital/litex) Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
2020-10-31Disable device tree filter when load a dts from file (#219)Yan1-0/+7
* add device tree in elf, using --with-dts to add the absolute path of device tree * Disable device tree filter * Remove *.dtb dependence, when the --with-dts option is not used
2020-10-30Revert "Disable device tree filter when load a dts from file (#217)"Andrew Waterman1-5/+0
This reverts commit a161e6f3ef31004e47a5b94b85c2e84b764f8637. Resolves #218
2020-10-29Disable device tree filter when load a dts from file (#217)Yan1-0/+5
* add device tree in elf, using --with-dts to add the absolute path of device tree * Disable device tree filter
2018-07-09Properly license all nontrivial filesAndrew Waterman1-0/+2
2017-12-16Merge pull request #73 from riscv/flush_icachePalmer Dabbelt1-0/+1
Add __riscv_flush_icache
2017-12-13Add __riscv_flush_icachePalmer Dabbelt1-0/+1
For BBL's purposes a local i-cache flush should be sufficient.
2017-12-12Add a 16550 UART driver to back the SBI consolePalmer Dabbelt1-0/+2
QEMU currently provides the console via HTIF and the SBI. That's a bit messy because BBL polls for serial input, which means that typing too quickly loses characters. While QEMU has a standard 16550 device model, there's no way to have two consoles share the console in QEMU (as they'd step all over each other) so that means we can't have both the HTIF console and the 16550 console. With this patch, QEMU can be changed to use a 16650 instead of the HTIF for serial output. Linux will use the SBI for early printk support (which is fine, polling for output is stable) and then swap over as soon as it detects the UART. When Linux swaps it prints out the whole history, but there's probably a way to get around that. There's a few lines that are output to both, but it appears the Linux driver is close enough to ours that nothing catastrophic happens -- there's not much to the device, so hopefully that pans out on real hardware too. Once Linux swaps over to natively using the driver we get reliable console input. If you don't have the in-kernel driver then Linux never swaps over and keeps using the SBI console just like before.
2017-11-03Remove the platform interfacePalmer Dabbelt1-1/+0
We now automatically detect everything that the platform interface used to be used for, so it's now obsolete!
2017-08-14finisher: support terminating sifive devices simulation (#61)Wesley W. Terpstra1-0/+2
2017-08-02Add a platform interfacePalmer Dabbelt1-0/+1
SiFive's pk fork is the second one I've had to maintain, and it's a huge pain because people keep just leaving changes all over the tree. I want to introduce an interface that the platform-specific details can live behind so I don't have to keep doing these painful merges.
2017-03-27uart: add physical device driverWesley W. Terpstra1-0/+2
2017-03-22machine: add FDT parserWesley W. Terpstra1-0/+2
2017-03-21machine: remove configstringWesley W. Terpstra1-2/+0
2017-02-17WIP towards ECALL interface for SBIAndrew Waterman1-4/+0
2017-02-15Cleanly separate HTIF code; don't poll keyboard on timer interruptAndrew Waterman1-0/+1
2016-04-30Move DRAM to high addressesAndrew Waterman1-0/+1
2016-03-09Factor emulation routines into multiple filesAndrew Waterman1-0/+3
2016-03-09Refactor pk, bbl, machine into separate librariesAndrew Waterman1-0/+29
Yuck.