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

"ipbb ipbus gendecoders" command does not work #207

Open
dddlcc opened this issue Sep 13, 2024 · 4 comments
Open

"ipbb ipbus gendecoders" command does not work #207

dddlcc opened this issue Sep 13, 2024 · 4 comments

Comments

@dddlcc
Copy link

dddlcc commented Sep 13, 2024

I use ipbb to build the emp-firmware. command "ipbb ipbus gendecoders" shows there is no ipbus. My ipbb version is ipbb, version 0.5.2. How could I solve it? thx a lot

@tswilliams
Copy link
Collaborator

Is uHAL installed on that machine? If it's not please follow the installation instructions at https://ipbus.web.cern.ch/doc/user/html/software/install/yum.html (Note: For FW builds you only need uHAL, not the ControlHub)

Once uHAL is installed, then you need to add /opt/cactus/lib to the LD_LIBRARY_PATH environment variable, and add /opt/cactus/bin/uhal/tools to PATH (also mentioned at https://serenity.web.cern.ch/serenity/emp-fwk/firmware/instructions.html#build-tool )

@dddlcc
Copy link
Author

dddlcc commented Sep 13, 2024

Thx a lot for your reply. But I have installed the uhal several months ago. As the pictures show, the uahl is in /opt/cactus/bin/uhal/. And use ipbb -h ro check command. There is no "ipbus" command. Is there something I am wrong?
1
2
3

@tswilliams tswilliams transferred this issue from ipbus/ipbus-software Sep 13, 2024
@tswilliams
Copy link
Collaborator

In this case, I think you must have a very old version of ipbb. Can you try exiting the ipbb environment (or opening a new terminal without sourcing ipbb), and then downloading a fresh copy of IPBB following the instructions at https://serenity.web.cern.ch/serenity/emp-fwk/firmware/instructions.html#prerequisites

@dddlcc
Copy link
Author

dddlcc commented Sep 13, 2024

okkkkk. It solved. Thank you very much for your patience. But I meet another problem: when I run the command "ipbb ipbus gendecoders", it gives error" ERROR: exception caught! stat: path should be string, bytes, os.PathLike or integer, not NoneType". But I am fully doing the operation in the instructinos. Do you know how to solve it?
4
5

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

2 participants