Commit Graph

35 Commits

Author SHA1 Message Date
42cd8a46de Ignore CR in picocom
Hopefully this fixes the problem in the live log output of the GitLab CI
where the lines are not displayed.
2024-09-06 09:58:57 +02:00
93edc72700 Don't load the rootfs for now 2024-09-05 17:25:11 +02:00
1aa899c8f0 Print md5 checksum in fpgactl 2024-09-03 14:59:29 +02:00
10fb6d0a0a Disable awk verification
It seems to be causing problems with the CI output log.
2024-08-30 19:06:54 +02:00
ec70f54609 Prepare CI pipeline to boot NixOS
Increase the timeout to 30 minutes and load the rootfs
2024-08-30 18:37:15 +02:00
1ede19807e Increase boot timeout to 5 minutes 2024-08-30 13:46:33 +02:00
b7d4a10a14 Don't load an external bootrom
Unfortunalely the bootrom is included in the bitstream now.
2024-08-29 14:41:09 +02:00
2204a8ea56 Change load address delta to 0x6000_0000 2024-08-29 14:39:27 +02:00
5072f40a2f Leave automatic allocation in fpgalogin1 2024-08-28 16:23:17 +02:00
2e2ba5b996 Use test result to pass the tests 2024-08-27 14:37:15 +02:00
8b491f519b Add trampoline scripts to CI 2024-08-26 17:58:03 +02:00
dc8a8c2ce9 Build OpenSBI with the generic platform 2024-07-12 12:20:03 +02:00
5f90528b51 Add bootrom support 2024-07-08 18:11:11 +02:00
1f0ac64631 Add bitstream to Nix 2024-07-08 13:46:37 +02:00
1b4ab09c16 Select the second FPGA by default 2024-07-08 09:55:13 +02:00
4461686e80 Add dev shell without rootfs
Makes iteration quicker.
2024-07-03 18:52:51 +02:00
046f017b70 Move the pmem closer to the RAM memory
Continues stuck in switch_root.
2024-07-01 15:02:20 +02:00
869bd302a8 Find opensbi in any directory name 2024-07-01 11:47:33 +02:00
a7cc8e2611 Fix fpgactl wrong variable names 2024-07-01 11:47:16 +02:00
33b227f576 Hangs in swtich_root in stage1 2024-07-01 10:14:39 +02:00
975a1c0e87 Update fpga tools for MEEP 2024-07-01 09:57:05 +02:00
7b9eb7366e Remove unused PMEM regions
Boots until the init, then fails with:

[   42.561840] Freeing unused kernel image (initmem) memory: 2448K
[   42.572360] Run /init as init process
[   42.577400]   with arguments:
[   42.581780]     /init
[   42.584520]   with environment:
[   42.589320]     HOME=/
[   42.592140]     TERM=linux
[   42.637580] init[1]: unhandled signal 4 code 0x1 at 0x0000003f966980d8 in ld-linux-riscv64-lp64d.so.1[3f96683000+23000]
[   42.650580] CPU: 0 PID: 1 Comm: init Not tainted 6.1.62 #1-NixOS
[   42.657720] Hardware name: Barcelona Supercomputing Center - Lagarto Ox (NixOS) (DT)
[   42.666760] epc : 0000003f966980d8 ra : 0000000000000000 sp : 0000003fe5c95db0
[   42.675040]  gp : ffffffff8197ea48 tp : 0000000000000000 t0 : 0000000000000000
[   42.683320]  t1 : 0000000000000000 t2 : 0000000000000000 s0 : 0000000000000000
[   42.691600]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[   42.699880]  a2 : 0000000000000000 a3 : 0000000000000000 a4 : 0000000000000000
[   42.708160]  a5 : 0000000000000000 a6 : 0000000000000000 a7 : 0000000000000000
[   42.716420]  s2 : 0000000000000000 s3 : 0000000000000000 s4 : 0000000000000000
[   42.724700]  s5 : 0000000000000000 s6 : 0000000000000000 s7 : 0000000000000000
[   42.733380]  s8 : 0000000000000000 s9 : 0000000000000000 s10: 0000000000000000
[   42.741660]  s11: 0000000000000000 t3 : 0000000000000000 t4 : 0000000000000000
[   42.749920]  t5 : 0000000000000000 t6 : 0000000000000000
[   42.756440] status: 0000000200004020 badaddr: 0000000000010513 cause: 0000000000000002
[   42.767620] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
[   42.775720] CPU: 0 PID: 1 Comm: init Not tainted 6.1.62 #1-NixOS
[   42.782320] Hardware name: Barcelona Supercomputing Center - Lagarto Ox (NixOS) (DT)
[   42.790460] Call Trace:
[   42.793380] [<ffffffff800070c4>] dump_backtrace+0x38/0x48
[   42.799520] [<ffffffff809f063c>] show_stack+0x50/0x68
[   42.805280] [<ffffffff809fd1f8>] dump_stack_lvl+0x60/0x84
[   42.811400] [<ffffffff809fd23c>] dump_stack+0x20/0x30
[   42.817140] [<ffffffff809f0918>] panic+0x160/0x390
[   42.822620] [<ffffffff80020184>] do_exit+0xa70/0xa78
[   42.828260] [<ffffffff800203a4>] do_group_exit+0x44/0xb0
[   42.834240] [<ffffffff80031eec>] get_signal+0x9b4/0xa00
[   42.840140] [<ffffffff80005ca0>] do_work_pending+0x18c/0x610
[   42.846480] [<ffffffff80003880>] resume_userspace_slow+0x10/0x14
[   42.853420] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004 ]---
2024-06-28 15:08:24 +02:00
f554a154b7 WIP 2024-05-28 18:12:14 +02:00
0a771f0ccd Add cpio commands to notes 2024-03-07 16:55:01 +01:00
04705290c2 Add FPGA notes 2024-03-07 16:51:09 +01:00
29e40eb4e4 Disable OpenSSH in Lagarto Hun 2024-03-07 16:50:35 +01:00
bf767d623b Generate U-Boot commands 2024-03-07 16:49:48 +01:00
66e3c36f77 Add support for rootfs in fpgactl 2024-03-07 12:35:30 +01:00
a4cda932d2 Use old method to upload files to FPGA
Using a single dd command fails sometimes.
2024-03-07 12:34:54 +01:00
94eb71dd80 Add rootfs for lagarto hun 2024-03-07 12:05:10 +01:00
730e342bfe Add scripts to load FPGA system 2024-03-04 18:32:25 +01:00
Rodrigo Arias Mallo
cf94b5a46a Update fpgactl usage 2024-03-04 16:53:03 +01:00
Rodrigo Arias Mallo
bd2b8b1bc5 Update fpgactl tool 2024-03-04 16:31:07 +01:00
409d2caecc Add lagarto hun DTS file 2024-03-04 14:46:26 +01:00
12237d6a79 Add fpgactl tool 2024-03-01 18:37:05 +01:00