- Oct 11, 2018
-
-
Palmer Dabbelt authored
I have no idea if this works, but it does at least compile. Signed-off-by:Palmer Dabbelt <palmer@dabbelt.com>
-
- Sep 24, 2018
-
-
Andrew Waterman authored
-
- Sep 18, 2018
-
-
Michael Clark authored
A portend from git-submodule: $ git submodule update --init --recursive fatal: No url found for submodule path 'softfloat/berkeley-softfloat-3' in .gitmodules
-
Michael Clark authored
-
- Aug 15, 2018
-
-
Andrew Waterman authored
Use a proxy syscall instead of a blocking character write. Resolves #84
-
- Aug 07, 2018
-
-
wxjstz authored
-
- Aug 04, 2018
-
-
Palmer Dabbelt authored
bbl: boot payload in machine mode on --enable-boot-machine
-
- Jul 12, 2018
-
-
Hesham Almatary authored
Currently it's being used by both enter_supervisor_mode and enter_machine_mode
-
Hesham Almatary authored
-
Hesham Almatary authored
If --enable-boot-machine is passed, BBL disables VM and runs the payload in machine mode. This is useful for payloads (e.g. RTOSes or other OSes) that want to run only in machine mode while still relying on bbl/pk for system calls and emulation
-
- Jul 11, 2018
-
-
Palmer Dabbelt authored
Upgrade SoftFloat
-
Palmer Dabbelt authored
Include .bss section to the binary so dtb_output() gets full size of payload
-
Palmer Dabbelt authored
Correct the comment of timer interrupt
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
-
- Jul 10, 2018
-
-
Andrew Waterman authored
-
- Jun 21, 2018
-
-
Kito Cheng authored
Replace the --enable-32bit option by --with-arch
-
Zong Li authored
Get rid of the --enable-32bit option and switch to use --with-arch, which is more standard because it matches the GCC build. If --with-arch is not specified, it defaults to whatever the compiler's default is. The --with-abi is not necessary for this project. Unconditionally compile it with a no-float ABI.
-
Zong Li authored
Can't cast to pointer from 64 bit size integer directly on 32 bit environment.
-
- May 23, 2018
-
-
Palmer Dabbelt authored
RISC-V: Support separate firmware and kernel payload
-
- May 22, 2018
-
-
Michael Clark authored
Support for separate firmware and kernel payload is added by updating BBL to read optional preloaded kernel address attributes from device-tree using a similar mechanism to that used to pass init ramdisk addresses to linux kernel. chosen { riscv,kernel-start = <0x00000000 0x80200000>; riscv,kernel-end = <0x00000000 0x80590634>; }; These attributes are added by QEMU and read by BBL when combining -bios <firmware-image> and -kernel <kernel-image> options. e.g. $ qemu-system-riscv64 -machine virt -bios bbl -kernel vmlinux With this change, bbl can be compiled without --with-payload and the dummy payload alignment is altered to make the memory footprint of the firmware-only bbl smaller. The dummy payload message is updated to indicate the alternative load method. This load method could also be supported by a first stage boot loader that reads seperate firmware and kernel from SPI flash. The main advantage of this new mechanism is that it eases kernel development by avoiding the riscv-pk packaging step after kernel builds, makes building per repository artefacts for CI simpler, and mimics bootloaders on other platforms that can load a kernel image file directly. Ultimately BBL should use an SPI driver to load the kernel image however this mechanism supports use cases such such as QEMU's -bios, -kernel and -initrd options following examples from other platforms that pass kernel entry to firmware via device-tree. Cc: Palmer Dabbelt <palmer@sifive.com> Cc: Alistair Francis <Alistair.Francis@wdc.com> Signed-off-by:Michael Clark <mjc@sifive.com>
-
Zihao Yu authored
* If BBL emulates the FPU, the trap handler will load emulated FCSR from x0's save slot into tp. The emulated FCSR should be initialized, else the field of rounding mode will contain garbage codes. This will lead to raising SIGABRT for a user mode program which tries to print a floating point variable. In glibc, __printf_fp_l() (defined in riscv-glibc/stdio-common/printf_fp.c) will call round_away() (defined in riscv-glibc/include/rounding-mode.h). With a garbage rounding mode in emulated FCSR, round_away() may call abort().
-
- May 16, 2018
-
-
Jim Straus authored
The E51 core on the U54-MC lacks supervisor mode, thus the plic_s_ie and plic_s_thresh are NULL when running on this core. This adds checks for this case.
-
- May 09, 2018
-
-
Zong Li authored
-
- Apr 27, 2018
-
-
Zong Li authored
-
- Apr 25, 2018
-
-
Andrew Waterman authored
Otherwise, the emulation code will refuse to emulate FP instructions.
-
- Apr 11, 2018
-
-
Alex Solomatnikov authored
-
- Apr 10, 2018
-
-
Zong Li authored
The MENTRY_IPI_PENDING_OFFSET offset is based on stack pointer
-
- Mar 23, 2018
-
-
Ruslan Bukin authored
of payload, in result DTB will not overlap with bss and will not be zeroed by OS
-
- 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!
-