Rodrigo Arias rarias
  • Joined on 2024-04-26
rarias commented on issue rarias/jungle#85 2025-02-24 13:10:49 +01:00
Setup FPGA U280

Rebuild with RelWithDebInfo, here is the GDB session:

(gdb) p image_path
$4 = "/nix/store/zfbqqxsipsvjbry6xwys6fpv28djx4ss-xilinx-fw-1.3.5-3592445/opt/xilinx/firmware/u280/gen3x16-xdma/bas…
rarias opened issue rarias/jungle#87 2025-02-24 12:41:06 +01:00
Setup emergency shutdown for AC failure
rarias commented on issue rarias/jungle#85 2025-02-24 11:36:50 +01:00
Setup FPGA U280

Rebuilding XRT with debug fails:

[ 57%] Built target xrt_noop
[ 57%] Building CXX object src/runtime_src/xocl/CMakeFiles/xocl.dir/api/clReleaseCommandQueue.cpp.o
[ 57%] Building CXX…
rarias commented on issue rarias/jungle#85 2025-02-21 17:17:05 +01:00
Setup FPGA U280

Attempting to flash the shell ends up in an error:

raccoon% sudo xrt/xrt/bin/xbmgmt --verbose program --base --device 0000:83:00.0 --image result/opt/xilinx/firmware/u280/gen3x16-xdma/base/…
rarias commented on issue rarias/jungle#85 2025-02-21 16:13:20 +01:00
Setup FPGA U280

Managed to build the xsabin partition file:

raccoon% ls -lh result/lib/firmware/xilinx/283bab8f654d8674968f4da57f7fa5d7/
total 257M
-r--r--r-- 1 root root 129M Jan  1  1970 partition.mcs
…
rarias commented on issue rarias/jungle#85 2025-02-21 15:50:16 +01:00
Setup FPGA U280

Got all the pieces to build the partition.xsabin file, except the scheduler runtime ERT:

xilinx-fw> + [[ ! -L /build/deb/opt/xilinx/firmware/u280/gen3x16-xdma/base/firmware/ert-v30…
rarias commented on issue rarias/jungle#85 2025-02-21 12:19:28 +01:00
Setup FPGA U280

Xilinx has dropped support for U280 in https://github.com/Xilinx/XRT/pull/7901, which makes the xblmgmt driver refuse to probe the FPGA. Reverting the commit makes it happy, and detects the FPGA…

rarias commented on pull request rarias/nixos-riscv#2 2025-02-21 10:52:53 +01:00
Set kernel arguments from host in qemu

Could you make this run in the Gitea CI? Here is an example: 5da53c69b8

I think we only need to run the same…

rarias commented on pull request rarias/jungle#86 2025-02-21 10:33:56 +01:00
WIP: Add fpga u280

They had removed support for the U280 device. Reverting the commit makes the driver perform the initialization:

[198196.595845] xclmgmt init()
[198196.597370] xclmgmt 0000:83:00.0: …
rarias pushed to add-fpga-u280 at rarias/jungle 2025-02-21 10:31:39 +01:00
e81b7cc158 Add U280 support back in the xocl driver
0533a48a98 Add udev rules
Compare 2 commits »
rarias commented on pull request rarias/jungle#86 2025-02-20 16:59:24 +01:00
WIP: Add fpga u280

Probably I'm missing the udev rules to make a device.

raccoon% find . -name '*.rules'
./src/runtime_src/core/pcie/driver/aws/kernel/mgmt/10-awsmgmt.rules
./src/runtime_src/core/pcie/drive…
rarias commented on pull request rarias/jungle#86 2025-02-20 16:42:33 +01:00
WIP: Add fpga u280

The msd daemon fails to run, somehow the daemons still use the harcoded path:

raccoon% /nix/store/b6skv0iyl2djirf77q65sysq01qqncrn-xilinx-xrt/xrt/bin/msd
XRT build version: 2.19.0
Build…
rarias created pull request rarias/jungle#86 2025-02-20 16:38:31 +01:00
WIP: Add fpga u280
rarias created branch add-fpga-u280 in rarias/jungle 2025-02-20 16:36:40 +01:00
rarias pushed to add-fpga-u280 at rarias/jungle 2025-02-20 16:36:40 +01:00
a9c1cb26ea Load Xilinx modules at boot
4ab38212b3 Add Xilinx xocl derivation
df8b5b2d67 First successful build of Xilinx XRT
c5400955c7 Allow X11 forwarding via SSH
165a60b0d2 Enable linger for user rarias
Compare 6 commits »
rarias opened issue rarias/jungle#85 2025-02-20 15:19:53 +01:00
Setup FPGA U280
rarias opened issue rarias/jungle#84 2025-02-20 15:11:40 +01:00
Setup fox machine
rarias commented on pull request rarias/nixos-riscv#2 2025-02-19 11:41:17 +01:00
Set kernel arguments from host in qemu

For now yes

rarias commented on pull request rarias/nixos-riscv#2 2025-02-19 11:40:34 +01:00
Set kernel arguments from host in qemu

Okay, then let's leave it as-is for now, but we will have to add a different logic to handle the FPGA case in the future.

rarias commented on pull request rarias/nixos-riscv#2 2025-02-19 11:38:17 +01:00
Set kernel arguments from host in qemu

Let's keep it simple until we need more complexity.