aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-08-26Merge commit '3d921d3c76db3af7b9ae0b5df0f0790f26222246' into rocc-enablerocc-enableColin Schmidt59-1078/+2276
2017-12-12Bump encoding.hAndrew Waterman3-23/+26
2017-11-03Merge pull request #69 from riscv/endingsPalmer Dabbelt2-1/+6
Fix line endings in the logo
2017-11-03Fix line endings in the logoPalmer Dabbelt2-1/+6
2017-11-03Merge pull request #68 from riscv/no-platformPalmer Dabbelt23-193/+114
Remove the platform interface
2017-11-03Allow users to pick a logoPalmer Dabbelt7-25/+51
2017-11-03Remove the platform interfacePalmer Dabbelt19-192/+87
We now automatically detect everything that the platform interface used to be used for, so it's now obsolete!
2017-11-02Merge pull request #67 from riscv/dts2Palmer Dabbelt11-28/+64
Detect harts that can't boot Linux instead of hard-coding them
2017-11-02Check if we have extensions before using themPalmer Dabbelt1-5/+12
2017-11-02Initialize the UART firstPalmer Dabbelt1-3/+3
Without this I can't get printf to show me debug info during early boot.
2017-11-02Detect harts that can't boot Linux instead of hard-coding themPalmer Dabbelt11-20/+49
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.
2017-11-01Fix(?) fcvt.s.w emulation for rs1 = -2^31 (#66)Andrew Waterman1-1/+1
2017-10-23Make 4-byte aligned instruction-emulation loads atomicAndrew Waterman1-3/+12
Per the Unix-class platform spec
2017-10-19Order __page_alloc before writing vmrsAndrew Waterman1-2/+6
2017-08-29Stub out sys_prlimit64Andrew Waterman2-0/+2
2017-08-14finisher: support terminating sifive devices simulation (#61)Wesley W. Terpstra6-4/+84
2017-08-10Merge pull request #60 from riscv/hart1Palmer Dabbelt1-8/+6
The DTB argument to boot_other_hart shouldn't be used in BBL
2017-08-09The DTB argument to boot_other_hart shouldn't be used in BBLPalmer Dabbelt1-8/+6
I screwed up refactoring bbl.
2017-08-05Merge pull request #59 from riscv/print-device-treePalmer Dabbelt8-7/+174
Add the '--enable-print-device-tree' argument
2017-08-03Add the '--enable-print-device-tree' argumentPalmer Dabbelt8-7/+174
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.
2017-08-03Merge pull request #58 from riscv/platformPalmer Dabbelt18-41/+218
Add a platform interface
2017-08-03Allow platform__get_logo to return NULLPalmer Dabbelt1-1/+3
2017-08-02Add the '--with-platform' argument and the sifive-vc707-devkit platformPalmer Dabbelt4-1/+62
Since we don't have a coherent platform specification right now, we've ended up with slightly different platforms between spike and our FPGA dev kit. For now I've added an autoconf option that allows users to select the relevant platform.
2017-08-02Move DISABLED_HART_MASK to the platformPalmer Dabbelt7-10/+22
Some platforms can't boot Linux on all the harts. This commit allows platforms to define the set of harts that should be prevented from booting past BBL. This is essentially just a new mechanism for defining the DISABLED_HART_MASK.
2017-08-02Allow the platform to disable HTIFPalmer Dabbelt3-4/+18
2017-08-02Move the logo behind the platform interfacePalmer Dabbelt3-26/+37
SiFive has a different logo, so let platforms override said logo.
2017-08-02Add a platform interfacePalmer Dabbelt10-1/+77
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-08-02Ignore some generated filesPalmer Dabbelt1-1/+2
2017-07-17Fix emulation of misaligned RVC loads/storesAndrew Waterman1-2/+5
We were accidentally advancing the PC by 4, not 2.
2017-05-04FMV.X.S/FMV.S.X -> FMV.X.W/FMV.W.XAndrew Waterman2-11/+8
2017-04-29README.md: Explicitly list the requirement of a separate build directory.Andrew Waterman1-0/+2
h/t Karsten Merker
2017-04-18Use uint64_t, not uintptr_t, to represent FDT addresses/sizesAndrew Waterman3-21/+24
This fixes RV32 pk.
2017-04-18Fix RV32 compilation errorAndrew Waterman1-1/+2
2017-04-18Increase PK stack size to 3% of memory, up to 8 MiBAndrew Waterman1-1/+1
2017-04-11Always write sbadaddr on trap redirectionAndrew Waterman3-6/+6
2017-04-11Load instructions as unsigned values, not signedAndrew Waterman1-4/+4
This matches the behavior of mbabaddr/mtval.
2017-04-06mtrap: allow override of DISABLED_HART_MASK from CFLAGSWesley W. Terpstra1-0/+2
2017-04-05Remove num_harts; use hart_mask exclusivelyAndrew Waterman4-6/+5
2017-04-05Rename HART_MASK to DISABLED_HART_MASK to clarify polarityAndrew Waterman5-6/+6
2017-04-05fdt: update the status length when masking cpusWesley W. Terpstra1-1/+4
2017-04-05bbl: prevent named cores from bootingWesley W. Terpstra5-3/+19
2017-04-05fdt: redact clint, plic, and debug hardwareWesley W. Terpstra3-2/+166
2017-04-05fdt: support redactionWesley W. Terpstra2-9/+13
2017-04-04Remove SBI console printm to speed up PK simulationAndrew Waterman1-1/+0
2017-03-31clint: move hart wakeup till after all FDT parsingWesley W. Terpstra3-6/+20
The clint was wiping out information discovered by the plic. Initialize hart stacks as they are discovered. Then fill in clint+plic info Then wake the harts.
2017-03-30New PMP encodingAndrew Waterman2-6/+7
2017-03-30fdt: look for the phandle of a cpu's nested interrupt controllerWesley W. Terpstra1-15/+34
2017-03-29Attempt to read instruction from mbadaddrAndrew Waterman1-5/+9
2017-03-28plic: discovered via fdtWesley W. Terpstra3-0/+103
2017-03-27uart: find it using fdtWesley W. Terpstra1-3/+41