- Apr 06, 2018
-
-
Alex Solomatnikov authored
-
Alex Solomatnikov authored
-
- Apr 05, 2018
-
-
Alex Solomatnikov authored
-
- Mar 22, 2018
-
-
aurel32 authored
Debian toolchain defaults to PIE, and I guess that will also be the case of most distributions. This cause bbl to be non-functional. This patch fixes that by adding -fno-PIE in the default CFLAGS.
-
- Mar 21, 2018
-
-
Wesley W. Terpstra authored
Reboot does not work reliably without this.
-
- Mar 17, 2018
-
-
Rishi Khan authored
* Changed install_subdir to $host_alias with substituted 64->32 instead of hardcoded riscv[32|64]-unknown-elf * Updated readme to reflect changes in install_subdir.
-
- Mar 16, 2018
-
-
Andrew Waterman authored
Closes #87
-
Andrew Waterman authored
Closes #88
-
- Mar 06, 2018
-
-
Wesley W. Terpstra authored
Otherwise, linux complains the moment an interrupt arrives and wakes up one of the not-looping cores.
-
- Feb 01, 2018
-
-
Andrew Waterman authored
This makes it more compatible with recent glibc.
-
- Jan 23, 2018
-
-
Palmer Dabbelt authored
mtrap: loop forever, really
-
Wesley W. Terpstra authored
gcc sometimes takes liberties with optimizing away our important halt function!
-
Palmer Dabbelt authored
Boot on the first hart
-
Palmer Dabbelt authored
This code is broken, and it's left over from before we could read the DTB to find harts to boot on.
-
- Jan 09, 2018
-
-
Zong Li authored
-
- Dec 17, 2017
-
-
Palmer Dabbelt authored
Add __riscv_flush_icache
-
- Dec 14, 2017
-
-
Palmer Dabbelt authored
For BBL's purposes a local i-cache flush should be sufficient.
-
Palmer Dabbelt authored
Add a 16550 UART driver to back the SBI console
-
- Dec 13, 2017
-
-
Palmer Dabbelt authored
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.
-
- Dec 12, 2017
-
-
Andrew Waterman authored
-
- Nov 04, 2017
-
-
Palmer Dabbelt authored
Fix line endings in the logo
-
Palmer Dabbelt authored
-
Palmer Dabbelt authored
Remove the platform interface
-
Palmer Dabbelt authored
-
Palmer Dabbelt authored
We now automatically detect everything that the platform interface used to be used for, so it's now obsolete!
-
- Nov 03, 2017
-
-
Palmer Dabbelt authored
Detect harts that can't boot Linux instead of hard-coding them
-
Palmer Dabbelt authored
-
Palmer Dabbelt authored
Without this I can't get printf to show me debug info during early boot.
-
Palmer Dabbelt authored
This checks to see if a hart can't boot Linux by looking for a compatible "mmu-type" field. If the hart can't boot Linux, then bbl masks it off.
-
- Nov 01, 2017
-
-
Andrew Waterman authored
-
- Oct 24, 2017
-
-
Andrew Waterman authored
Per the Unix-class platform spec
-
- Oct 20, 2017
-
-
Andrew Waterman authored
-
- Aug 30, 2017
-
-
Andrew Waterman authored
-
- Aug 15, 2017
-
-
Wesley W. Terpstra authored
-
- Aug 11, 2017
-
-
Palmer Dabbelt authored
The DTB argument to boot_other_hart shouldn't be used in BBL
-
- Aug 10, 2017
-
-
Palmer Dabbelt authored
I screwed up refactoring bbl.
-
- Aug 06, 2017
-
-
Palmer Dabbelt authored
Add the '--enable-print-device-tree' argument
-
- Aug 04, 2017
-
-
Palmer Dabbelt authored
I'm trying to debug some device tree problems while booting Linux and figured it would be really nice to have access to the device tree while trying to debug these problems. I think this might be useful for lots of people, so I went ahead and cleaned up the code enough that it should actaully work in most cases.
-
- Aug 03, 2017
-
-
Palmer Dabbelt authored
Add a platform interface
-
Palmer Dabbelt authored
-