Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ktlpdlbr opened this issue Oct 22, 2024 · 6 comments

Comments

@ktlpdlbr
Copy link

ktlpdlbr commented Oct 22, 2024

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.

@Jerryy959
Copy link

I have the same issue

@Jerryy959
Copy link

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.

截屏2024-10-27 19 16 22

I guess you have already running this command, but the correspond repo: https://github.com/firesim/firemarshal-public-br-images/tree/main seems that there is no prototype dir.

@Jerryy959
Copy link

and if i delete the file <marshal-config.yaml>, everything works fine.

@panjin12345
Copy link

I have the same problem, here is my log report:
br-base-build-2024-11-10--11-27-20-SC1LFS8KCDQ28IRT.log

@Jerryy959
Copy link

@abejgonzalez @NathanTP

@Jerryy959
Copy link

Does anyone care about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants