Become a leader in the IoT community!

New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!

Step 1 of 5

CREATE YOUR PROFILE *Required

Change Email
OR
Step 2 of 5

WHAT BRINGS YOU TO DEVHEADS? *Choose 1 or more

Collaboration & Work 🤝
Learn & Grow 📚
Contribute Experience & Expertise 🔧
Step 3 of 5

WHAT'S YOUR INTEREST OR EXPERTISE? *Choose 1 or more

Hardware & Design 💡
Embedded Software 💻
Edge Networking
Step 4 of 5

Personalize your profile

Step 5 of 5

Read & agree to our COMMUNITY RULES

  1. We want this server to be a welcoming space! Treat everyone with respect. Absolutely no harassment, witch hunting, sexism, racism, or hate speech will be tolerated.
  2. If you see something against the rules or something that makes you feel unsafe, let staff know by messaging @admin in the "support-tickets" tab in the Live DevChat menu.
  3. No age-restricted, obscene or NSFW content. This includes text, images, or links featuring nudity, sex, hard violence, or other graphically disturbing content.
  4. No spam. This includes DMing fellow members.
  5. You must be over the age of 18 years old to participate in our community.
  6. Our community uses Answer Overflow to index content on the web. By posting in this channel your messages will be indexed on the worldwide web to help others find answers.
  7. You agree to our Terms of Service (https://www.devheads.io/terms-of-service/) and Privacy Policy (https://www.devheads.io/privacy-policy)
By clicking "Finish", you have read and agreed to the our Terms of Service and Privacy Policy.

How to Manage and Store OS Build Information for Renesas RZ/G2L SoC to Ensure Reproducibility?

We are getting a Renesas SOC on RZ/G2L I believe

  1. superbike_z#0000

    we would like to make an operating system for it and store it for reproducability

  2. superbike_z#0000

    How does one keep this information, so that we dont have to lug around Yocto layers everywhere we go,.

  3. ming_58391#0000

    Not sure if I totally understand…
    I have a build server. That has all the layers, configuration and resulting build images. The build server just stays in my office.
    For a bespoke system, I will create my project with both third-party layers (Poky, OpenEmbedded, Raspberry Pi, etc) and my personal software layer(s) that contains the recipes for any software I have created. All of that gets stored in a repo as it is not very big. My `.gitignore` contains by build directory as that is huge and is reproducible.

    To develop for the board, I would create the SDK to give me my development toolchain, and then update and commit my personal recipes as I go along.

    So, the layers never leave my build server.

  4. superbike_z#0000

    Ah I what artefact do you keep in that repo?

  5. superbike_z#0000

    I’m assuming its some sort of build script that knows where to fetch layers from and if need be you can build from that. I think we are wanting to know what artefact to keep

  6. superbike_z#0000

    like I guess how you can keep a docker file of an environment so you can share it.

  7. ming_58391#0000

    With a Yocto Project, the build script is `bitbake` but it needs **all** the layers being used and the configuration files (`local.conf`, `bblayers.conf` the image BB files, etc).
    The repo will contain all of the layers (I use git submodules for the third-party layers) and then I will create a templates dir that contains copies of my `local.conf` and `bblayers.conf` as `local.conf.sample` and `bblayers.conf.sample`
    There is a diagram at https://siliconbladeconsultants.com/2024/05/16/structure-of-a-yocto-project/

    So `New Project` is my repo. the `layers/third-party/XXX` are submodules and the `layers/project` I often just include in the main repo. Add a templates dir under `New Project` with the samples and include that in your repo tool.

    **Exclude** the build directory, as that is reproducible

  8. ming_58391#0000

    @superbike_z so I have found https://github.com/renesas-rz/meta-renesas which includes a layer for rzg2l

  9. superbike_z#0000

    I guess we just have a build script that pulls from that.

  10. ming_58391#0000

    I will demonstrate how I found it and would make use of it in the TechTips on Thursday 😄

  11. superbike_z#0000

    that would be highly helpful

CONTRIBUTE TO THIS THREAD

Browse other questions tagged