8c2b28cf21
Enable systemd debug log and all-in-order
2024-07-12 10:50:28 +02:00
40def167f1
Update journal
2024-07-12 10:20:32 +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
5ddea498ca
Add reserved segment from 0x80000000
2024-07-11 15:47:29 +02:00
1a15ddc0e7
Restore support for huge pages
2024-07-11 15:37:41 +02:00
131713e7fc
Add more experiments with mtest
2024-07-11 15:36:52 +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
b562c9650f
Same hang with all-in-order configuration
2024-07-10 12:30:16 +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
6a63798308
The memtool fill mode also gets stuck
2024-07-10 11:13:05 +02:00
91080535f8
Add fill mode in memtool
2024-07-10 11:05:20 +02:00
6c8d6354bc
Add debug in memtool to see where it hangs
2024-07-09 22:12:55 +02:00
6b3af5b188
Reduce RAM to 1 GiB
2024-07-09 21:11:44 +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
5a88ed36b4
Managed to reproduce the crash consistently!
2024-07-09 15:38:52 +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
dd6082e805
Add results of changing the CSR
...
It seems to arrive to systemd with all-in-order, but hangs there.
2024-07-09 12:26:00 +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
4d246ad00e
Enable secondary serial console
2024-07-08 10:44:51 +02:00
4641e0d9a0
Document hang missing hvc_remove trace point
2024-07-08 10:41:50 +02:00
6721e1e22c
Revert "Try to use openpiton based OpenSBI config"
...
This reverts commit 931244a355
.
2024-07-08 10:03:48 +02:00
1b4ab09c16
Select the second FPGA by default
2024-07-08 09:55:13 +02:00
931244a355
Try to use openpiton based OpenSBI config
...
The seem to be doing PLIC initialization based on the device tree, which
may be relevant as that is where we are defining the interruptions.
2024-07-08 09:49:34 +02:00
87b4c91813
Dump stack trace on hvc_remove
2024-07-08 08:55:50 +02:00
aaca0bb2e6
Reached stage2!
2024-07-08 08:49:21 +02:00
ef7a100c3f
Disable secondary console
2024-07-08 08:49:12 +02:00
6155c7e3f8
Try to fill cache details
2024-07-08 08:48:56 +02:00
a7c460b034
Use headings to allow hrefs
2024-07-05 17:05:28 +02:00
540780e508
Remove rvb dependency for now to avoid clang
2024-07-05 16:54:14 +02:00
d52691ca33
Add journal to the repository
2024-07-05 16:53:07 +02:00
254d1bd82b
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/e4ad989506ec7d71f7302cc3067abd82730a4beb' (2023-11-19)
→ 'github:NixOS/nixpkgs/9f4128e00b0ae8ec65918efeba59db998750ead6' (2024-07-03)
2024-07-05 16:31:08 +02:00
b49471ba50
Update nixpkgs to nixos-unstable
2024-07-05 16:30:29 +02:00
b903eae7e5
Disable ftrace for now as it hangs the boot
2024-07-05 16:24:51 +02:00
7e6fdff142
Disable proactive compation
...
I see a lot of kcompactd0 entries in sched_switch log, so disable it for
now.
2024-07-05 15:57:18 +02:00