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

Build failure #110

Open
MrVan opened this issue Jan 1, 2024 · 12 comments · May be fixed by #127
Open

Build failure #110

MrVan opened this issue Jan 1, 2024 · 12 comments · May be fixed by #127

Comments

@MrVan
Copy link

MrVan commented Jan 1, 2024

HI

This repo contains proprietary code?
My command: moulin prod-devel-rcar-virtio.yaml --MACHINE salvator-xs-m3-2x4g --ENABLE_DOMU yes --ENABLE_MM yes

[4/10] git clone
FAILED: yocto/proprietary /home/Freenix/work/sw-stash/xen/xentroops/meta-xt-prod-devel-rcar/.stamps/yocto--yocto-proprietary--ssh---git@gitpct.epam.com-epmd--aepr-img--proprietary--clone
GIT_SSH_COMMAND='ssh -o BatchMode=yes' GIT_TERMINAL_PROMPT=0 git clone -q ssh://[email protected]/epmd-aepr/img-proprietary yocto/proprietary && touch yocto/proprietary '/home/Freenix/work/sw-stash/xen/xentroops/meta-xt-prod-devel-rcar/.stamps/yocto--yocto-proprietary--ssh---git@gitpct.epam.com-epmd--aepr-img--proprietary--clone'
kex_exchange_identification: read: Connection timed out

Thanks,
Peng.

@MrVan MrVan closed this as not planned Won't fix, can't repro, duplicate, stale Jan 1, 2024
@lorc lorc reopened this Jan 2, 2024
@lorc
Copy link
Collaborator

lorc commented Jan 2, 2024

Hi @MrVan,

Yes, this repo contains proprietary code. Currently our build works only with GPU acceleration enabled. Problem is that we can't share the source code for the GPU driver. Moreover, we even can't share the prebuilt binaries. You can try asking Renesas to provide you prebuilt GPU driver binaries with virtualization support if you want, but this might take some time.

Or you can wait a bit, because right now @rshym is working on build with graphics disabled. I believe he will update you with estimations.

I'll leave this PR open if you don't mind, so we can track the progress.

@rshym
Copy link
Collaborator

rshym commented Jan 5, 2024

Hi @MrVan,

We are working on the issue that you met. We already have not merged solution, that isolates proprietary graphic drivers.
Now we are working on the integration of Renesas' Gen4 into meta-xt-prod-devel, without any proprietary drivers.
After that we will integrate support for a 'console-only' solution for Gen3.
Only after that product will be available for the open-source community.
For now, the estimation is 1-1.5 months.

@MrVan
Copy link
Author

MrVan commented Jan 5, 2024 via email

@heisaTeo
Copy link

hi, is the issue somehow resolved? or any workaround?
I ran into similar issue with the command: moulin prod-devel-rcar.yaml --MACHINE h3ulcb-4x2g --ENABLE_DOMU yes --ENABLE_MM yes --GRAPHICS binaries --ENABLE_ANDROID yes

@rshym
Copy link
Collaborator

rshym commented Jan 16, 2025

@heisaTeo
This issue is not resolved yet because we are considering running the product without proprietary GFX drivers as a low-priority task. The corresponding PR, #127, is still "work in progress."

But considering that you are trying to build with the --ENABLE_ANDROID yes option, the PR mentioned can't help you. Android can't be built without proprietary graphics, and it is impossible to build the product with Android as a guest without 3D graphics.
To obtain proprietary graphics, you need to contact Renesas and get approval. Only then will you be able to build the product with Android as a guest.

@rshym rshym linked a pull request Jan 16, 2025 that will close this issue
@heisaTeo
Copy link

@rshym many thanks for the info!
for the Renesas proprietary 3D graphics driver, I need the Android version of it, right?

@rshym
Copy link
Collaborator

rshym commented Jan 16, 2025

@heisaTeo
Right. You need prebuilt graphic binaries for the Android and with the support of virtualization,
Then you should use the few steps mentioned in the https://github.com/xen-troops/meta-xt-prod-devel-rcar?tab=readme-ov-file#building-with-prebuilts-android-graphics

@arminn
Copy link
Contributor

arminn commented Jan 16, 2025

@heisaTeo we have 2 different androids managed by different yaml files. The one you are tried ( prod-devel-rcar.yaml) will definitely need separate proprietary graphics for Android. But other, prod-devel-rcar-virtio.yaml - requires proprietary graphics only in DomD , but not in Android. That package could be downloaded from renesas site.

@heisaTeo
Copy link

@rshym thanks, I will contact Renesas for getting the drivers

@arminn thanks for the hint, that is the way I am trying out now till I get answers from Renesas. In this case (prod-devel-rcar-virtio.yaml), which distribution of the driver do I need? the "Evaluation Software Package for Linux for Yocto"? is there a specific recommendation for version?

@arminn
Copy link
Contributor

arminn commented Jan 17, 2025

@heisaTeo

I suppose you are building for Starterkit or Starterkit+KFp:

Download evaluation version of proprietary graphics and multimedia drivers from Renesas:

https://www.renesas.com/us/en/application/automotive/r-car-h3-m3-h2-m2-e2-documents-software

Download two files:

R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20220121.zip

R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20220121.zip

Use GSX_KM_H3.tar.bz2 form R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20220121.zip

Use INF_r8a77951_linux_gsx_binaries_gles.tar.bz2 from R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20220121.zip

Rename it to r8a77951_linux_gsx_binaries_gles.tar.bz2.

Place these two files like described in: https://github.com/xen-troops/meta-xt-prod-devel-rcar?tab=readme-ov-file#building-with-prebuilt-graphics-for-domddomu

@heisaTeo
Copy link

@arminn thanks a lot for the details
I am building for Starter kit Premier

@arminn
Copy link
Contributor

arminn commented Jan 20, 2025

@heisaTeo you might need to update docker image(please rebuild it from the master or v0.2.1 tag) , since we found one regression in case of Android build.

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

Successfully merging a pull request may close this issue.

5 participants