Skip to content

Building br-base.json for prototyping fails (unable to download cached image) #312

@ktlpdlbr

Description

@ktlpdlbr

Hi I am following the instructions given in chipyard documentation to build linux image for my FPGA prototype however building it I have following logs:

[buildBaseIma] [INFO ] Attempting to download cached image: https://raw.githubusercontent.com/firesim/firemarshal-public-br-images/main/images/prototype/br.b8b4/br.b8b4.img.zip
[buildBaseIma] [DEBUG] urlretrieve exception: HTTP Error 404: Not Found
[run] [DEBUG] Running: "make defconfig" in /chipyard/software/FireMarshal/boards/prototype/distros/br/buildroot
[run] [DEBUG] mkdir -p /chipyard/software/FireMarshal/boards/default/distros/br/buildroot/output/build/buildroot-config/lxdialog

And in the end, it fails with the following logs:

DEBUG: make[1]: *** [package/pkg-generic.mk:273: /chipyard/software/FireMarshal/boards/default/distros/br/buildroot/output/build/toolchain-external-custom/.stamp_configured] Error 1
DEBUG: make: *** [Makefile:82: _all] Error 2
TaskError - taskid:/chipyard/software/FireMarshal/images/prototype/br.b8b4/br.b8b4.img
PythonAction Error
Traceback (most recent call last):
File "/chipyard/.conda-env/lib/python3.10/site-packages/doit/action.py", line 461, in execute returned_value = self.py_callable(*self.args, **kwargs)
File "/chipyard/software/FireMarshal/boards/prototype/distros/br/br.py", line 271, in buildBaseImage wlutil.run(['make'], cwd=br_dir / "buildroot", env=env)
File "/chipyard/software/FireMarshal/wlutil/wlutil.py", line 527, in run raise sp.CalledProcessError(p.returncode, prettyCmd)
subprocess.CalledProcessError: Command 'make' returned non-zero exit status 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions