-
Notifications
You must be signed in to change notification settings - Fork 93
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 for simulation on Ubuntu 20.04 #113
Comments
You got this on a brand new setup? I'm a bit surprised, because in our CI we're running the commands like described in the readme (CI starts from scratch). |
Yes. The Ubuntu installation I used was fresh, at least in development area.
Looking into the code, I see 'scripts/kconfig/merge_config.sh' is supposed to take care of the configuration. It is used in place of executing I also see you use hyphen in variable names for
At the moment, I can't tell why |
I need help to understand whether this is an issue or not? If there is anything not working, then it should be fixed. But since we're running this in CI and haven't seen the problem, we cannot replicate it. So if you're facing an issue, I'd kindly ask you to provide a fix for it if possible. |
No, there is no issue. I wasn't able to replicate the problem on a second op-tee tree on that machine. So the issue I had must have been caused by not having some of the necessary tools, which I installed later as the compilation progressed further. |
Ok, in that case, then I'll close this ticket. Thanks for raising the issue, sometimes there are issues that needs a fix even though it cannot be replicated on our end (lots of bits and pieces needs to play nicely together). |
(This is not really an issue per se, more of experience sharing.)
Based on the instruction:
https://optee.readthedocs.io/en/latest/building/devices/qemu.html#qemu-v7
I was able to prepare the simulation with no major issues. I was actually impressed how smooth it went.
The packages which were needed:
The issues I faced - let me know if you think I should create separate tickets for them:
1. U-boot does not get configured
The
make run
command does not seem to select board config for u-boot. I had to do it manually; not sure what the intended config was, but I used:.. and the build worked after that.
2. All
python3
except onepython
During build, whenever python is needed,
python3
binary is used. Except that one place which for some reason callspython
.Some distros no longer have
python
symlink at all, aspython3
and the obsoletepython2
are now used everywhere.With this patch, everything builds with
python3
access only:(I can make a PR if it's suitable)
3. Assuming my architecture
If the system is i386, the
make toolchains
command will still download 64-bit prebuilds.(for this I already created a separate issue)
4. Successful build confusion
The last messages when
make all
ended with success were:As you can imagine, fatal: No names found, cannot describe anything. does not cause optimism in someone trying to look into logs to figure out whether everything is ok.
The text was updated successfully, but these errors were encountered: