Commit Graph

85 Commits

Author SHA1 Message Date
93014c68b8 Disable PLIC test for now
Let's focus on the rest of the boot process.
2024-08-30 11:35:32 +02:00
ebcef525ba Update bitstream to try to fix delegation (again) 2024-08-29 13:44:11 +02:00
2371ac2fda Switch to rbootrom 2024-08-23 16:06:21 +02:00
44de310116 Switch to ox_u55c_f6b4a076 bitstream 2024-08-23 16:06:21 +02:00
Rodrigo Arias Mallo
b7287bd4df Port supervisor PLIC test to OpenSBI 2024-08-21 09:25:07 +02:00
Rodrigo Arias Mallo
60631ec37f Enable SEIE in MIE directly from machine mode 2024-08-21 08:00:31 +02:00
Rodrigo Arias Mallo
05eed3af94 Disable MEIE bit in MIE register 2024-08-21 07:56:17 +02:00
Rodrigo Arias Mallo
1419473a08 Dump machine registers in OpenSBI 2024-08-21 07:14:23 +02:00
Rodrigo Arias Mallo
19dbb857c8 Enable MEIP in OpenSBI 2024-08-03 14:55:35 +02:00
Rodrigo Arias Mallo
98f794e52d Enable timer command in U-Boot 2024-08-02 15:27:20 +02:00
Rodrigo Arias Mallo
33fb07481a Add exception enable U-Boot command 2024-08-02 13:49:12 +02:00
Rodrigo Arias Mallo
055f03980c Add exception sregs command to U-Boot 2024-08-02 13:18:18 +02:00
Rodrigo Arias Mallo
995b1e3848 Delegate external interrupts to U-Boot 2024-08-02 12:15:47 +02:00
Rodrigo Arias Mallo
038d2e7156 Try opensbi without supervisor ext delegation 2024-08-01 20:22:57 +02:00
eee26f2b4d More experiments with OpenSBI 1.5 with debug 2024-07-15 11:02:27 +02:00
9fac87a00e Move FDT to 0xc0000000 2024-07-12 18:59:48 +02:00
8725d04533 Switch OpenSBI to generic 2024-07-12 18:53:16 +02:00
fc7bfddd64 Switch to openpiton configuration 2024-07-12 18:47:48 +02:00
80c93613d2 Try FDT address 0x80013000 2024-07-12 18:40:39 +02:00
d3779d0f95 Revert serial address and move FDT 2024-07-12 18:28:43 +02:00
9a7b230b5b Rollback to OpenSBI 1.4 2024-07-12 18:07:25 +02:00
983dc939ab Move the FDT to 0x80100000 2024-07-12 14:43:09 +02:00
722f185525 Add timer debug patch for OpenSBI 2024-07-12 13:25:03 +02:00
83df8edd28 Switch to fpga/openpiton in OpenSBI 2024-07-12 12:44:21 +02:00
dc8a8c2ce9 Build OpenSBI with the generic platform 2024-07-12 12:20:03 +02:00
8c2b28cf21 Enable systemd debug log and all-in-order 2024-07-12 10:50:28 +02:00
c23d33a51c Update to OpenSBI 1.5 2024-07-12 09:34:45 +02:00
9f6f8bcddc Don't use DTB in U-Boot, read it from OpenSBI 2024-07-11 16:05:05 +02:00
1a15ddc0e7 Restore support for huge pages 2024-07-11 15:37:41 +02:00
b7dba89d63 Reduce RAM to 768 MiB to avoid a memory problem 2024-07-10 18:04:11 +02:00
28efecdbc7 Enable U-Boot mtest command 2024-07-10 17:32:58 +02:00
31f8557799 Open interactive shell on start 2024-07-10 14:20:39 +02:00
b7d02f867a Disable support for huge pages 2024-07-10 14:19:49 +02:00
4c2e21033b Try tracing handle_page_fault 2024-07-10 13:02:43 +02:00
9ee8fb06dc Try again the fill test but with all-in-order 2024-07-10 12:21:24 +02:00
93936cbe14 Trace function graph after a page fault 2024-07-10 11:34:40 +02:00
91080535f8 Add fill mode in memtool 2024-07-10 11:05:20 +02:00
813e7cae2f Increase memtool max block size to 512 K 2024-07-09 20:58:55 +02:00
9ed8f812c8 Make our own init script
The problem with the Stage 1 script is that is spawning another tee
process to forward the output to the console, but this is not required.
So let's only keep the memtool running by creating our own init script.
2024-07-09 20:54:55 +02:00
c6726cce28 Reduce blocksize in memtool to 64K
Let's see if we can hang a bit later on.
2024-07-09 17:58:12 +02:00
4707a8b143 Simplify boot parameters and document options 2024-07-09 17:27:07 +02:00
b8f1ca672f Run the memtool as first program 2024-07-09 17:25:48 +02:00
d488c0b3b7 Always run memtool at the start 2024-07-09 17:06:50 +02:00
f617efdcac Add memtool program to test the memory 2024-07-09 15:16:05 +02:00
82630f3eef Enable CONFIG_BUG again
It doesn't seem to make any difference, and it would be good in case it
catches a bug.
2024-07-09 12:35:53 +02:00
5b34b3b97b Add csrtool to view and change CSR registers 2024-07-08 19:19:05 +02:00
bef5a6eac5 Disable CONFIG_BUG
It may be causing a loop on WARN_ON_ONCE() and page fults trying to
write to the console.
2024-07-08 18:27:29 +02:00
5f90528b51 Add bootrom support 2024-07-08 18:11:11 +02:00
66ec07a0cb Switch to two uarts bitstream 2024-07-08 13:48:20 +02:00
1f0ac64631 Add bitstream to Nix 2024-07-08 13:46:37 +02:00