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

u-boot: add HOME env for make invocations to avoid binman/Python problems with older u-boot versions #6845

Conversation

rpardini
Copy link
Member

u-boot: add HOME env for make invocations to avoid binman/Python problems with older u-boot versions

  • tinkerboard: rewrite u-boot patches, no changes
  • xt-q8l-v10: rewrite u-boot patches, no changes
  • u-boot: add HOME env for make invocations to avoid binman/Python problems with older u-boot versions
    • this avoids trouble building certain older versions with binman
      • as it tries to os.path.join(os.getenv('HOME'), 'bin') and gets a None and dies
    • naming names: tinkerboard & xt-q8l-v10 (BOARDFAMILY=rockchip), which actually use binman & 22.04 combo

rpardini added 3 commits June 30, 2024 19:38
…lems with older u-boot versions

- this avoids trouble building certain older versions with binman
  - as it tries to `os.path.join(os.getenv('HOME'), 'bin')` and gets a `None` and dies
- naming names: `tinkerboard` & `xt-q8l-v10` (BOARDFAMILY=rockchip), which _actually use_ binman & 22.04 combo
@github-actions github-actions bot added size/large PR with 250 lines or more Hardware Hardware related like kernel, U-Boot, ... Framework Framework components Patches Patches related to kernel, U-Boot, ... labels Jun 30, 2024
@rpardini
Copy link
Member Author

@paolosabatino the rewrites were done as part of investigation into the completely innocent rockchip rk3328 failure.

The trouble being fixed here is unrelated to rk3328, except for the fact it's the only family simultaneously on 22.04 and using binman.

@rpardini rpardini marked this pull request as ready for review June 30, 2024 17:46
@rpardini rpardini requested review from a team and igorpecovnik as code owners June 30, 2024 17:46
rpardini referenced this pull request Jun 30, 2024
- Also group all u-boot make environment variables together for easier maintainability
- Fixes u-boot requiring `pyelftools`
- Fixes commit 04f619d
@rpardini
Copy link
Member Author

Trouble was detected by Igor here and was actually introduced by the env -i ... call, and not the Python library setting.

Copy link
Member

@igorpecovnik igorpecovnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both builds.

@igorpecovnik igorpecovnik added Ready to merge Reviewed, tested and ready for merge 08 Milestone: Third quarter release labels Jun 30, 2024
@igorpecovnik igorpecovnik merged commit 21a6b2c into armbian:main Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
08 Milestone: Third quarter release Framework Framework components Hardware Hardware related like kernel, U-Boot, ... Patches Patches related to kernel, U-Boot, ... Ready to merge Reviewed, tested and ready for merge size/large PR with 250 lines or more
Development

Successfully merging this pull request may close these issues.

2 participants