Unable to buildroot on a single rocket core without NIC

125 views
Skip to first unread message

Ton Nguyen SInh

unread,
Aug 2, 2023, 4:46:32 AM8/2/23
to FireSim
Hi everyone,

I am following the guide in the step "firesim runworkload" (https://docs.fires.im/en/latest/Getting-Started-Guides/On-Premises-FPGA-Getting-Started/Running-Simulations/Running-Single-Node-Simulation-Xilinx-VCU118.html).

I am facing a problem related to "Linux booting."
When I executed the command "screen -r fsim0" to directly attach to the console of the simulated system,

However, the system froze, and I received the following message:
Script started, file is uartlog
Using: 0000:01:00.0, BAR ID: 0, PCI Vendor ID: 0x10ee, PCI Device ID: 0x903f
Opening /sys/bus/pci/devices/0000:01:00.0/vendor
Opening /sys/bus/pci/devices/0000:01:00.0/device
examining xdma/.
examining xdma/..
examining xdma/xdma0_h2c_0
Using xdma write queue: /dev/xdma0_h2c_0
Using xdma read queue: /dev/xdma0_c2h_0
command line for program 0. argc=29:
+permissive +macaddr0=00:12:6D:00:00:02 +blkdev0=linux-uniform0-br-base.img +niclog0=niclog0 +blkdev-log0=blkdev-log0 +trace-select=1 +trace-start=0 +trace-end=-1 +trace-output-format=0 +dwarf-file-name=linux-uniform0-br-base-bin-dwarf +autocounter-readrate=0 +autocounter-filename-base=AUTOCOUNTERFILE +drj_dtb=linux-uniform0-br-base-bin.dtb +drj_bin=linux-uniform0-br-base-bin +drj_rom=linux-uniform0-br-base-bin.rom +print-start=0 +print-end=-1 +linklatency0=6405 +netbw0=200 +shmemportname0=default +domain=0x0000 +bus=0x01 +device=0x00 +function=0x0 +bar=0x0 +pci-vendor=0x10ee +pci-device=0x903f +permissive-off linux-uniform0-br-base-bin
UART0 is here (stdin/stdout).
TraceRV 0: Tracing disabled, since +tracefile was not provided.

The boot process freezes at this point, and I'm unable to access Buildroot or run the workload and simulation.
i check my dmesg.log got a ERROR.
[T4 Thg 8 2 14:05:13 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=470390 end=470391) time 6197 us, min 1073, max 1079, scanline start 834, end 39 [T4 Thg 8 2 14:05:14 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=470423 end=470424) time 5546 us, min 1073, max 1079, scanline start 931, end 145 [T4 Thg 8 2 14:05:14 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=470450 end=470451) time 4330 us, min 1073, max 1079, scanline start 982, end 112 [T4 Thg 8 2 14:05:15 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=470496 end=470497) time 3497 us, min 1073, max 1079, scanline start 843, end 1080 [T4 Thg 8 2 14:05:16 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=470534 end=470535) time 4839 us, min 1073, max 1079, scanline start 761, end 1088 [T4 Thg 8 2 14:05:16 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=470579 end=470580) time 6396 us, min 1073, max 1079, scanline start 966, end 237 [T4 Thg 8 2 14:05:17 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=470609 end=470610) time 4743 us, min 1073, max 1079, scanline start 880, end 40 [T4 Thg 8 2 14:05:22 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=470908 end=470909) time 3432 us, min 1073, max 1079, scanline start 873, end 1087 [T4 Thg 8 2 14:05:22 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=470910 end=470911) time 4326 us, min 1073, max 1079, scanline start 962, end 108 [T4 Thg 8 2 14:05:22 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=470928 end=470929) time 2507 us, min 1073, max 1079, scanline start 922, end 1074 [T4 Thg 8 2 14:05:23 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=470951 end=470952) time 1996 us, min 1073, max 1079, scanline start 947, end 1082 [T4 Thg 8 2 14:05:23 2023] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A
I have no idea how to resolve it now. Could you kindly recommend a solution?

Thank you.

Connor Sullivan

unread,
Aug 21, 2023, 12:40:44 PM8/21/23
to FireSim
Hi Ton,

I've run into the same issue. Have you managed to find a solution?

Best,
Connor

Connor Sullivan

unread,
Aug 23, 2023, 11:57:31 AM8/23/23
to FireSim
I did end up getting buildroot working. For reference, I have my VCU118 connected via PCIe riser cable and I had to do some fiddling to get the connection to be stable. I also had to re-setup the xvsec and xdma drivers. After that, buildroot worked as it should.

Best,
Connor

jin yuan

unread,
Oct 5, 2023, 4:13:56 AM10/5/23
to FireSim
Hi Connor,

Did you ever try to run the code under the directory firesim/platforms/xilinx_vcu118/garnet_firesim/cl_firesim. It seems there are some files missed.

Best,
Jin
Reply all
Reply to author
Forward
0 new messages