Skip to content

Support Python 3.x in U-Boot

Yann E. MORIN buildroot 1 version New

Get series with b4
b4 am 20200515210510.GH12536@scaer

Versions newest first

  1. v1 Latest2 of 6 patches 0 repliesNew

2 of 6 patches are in this archive. The cover letter announces 6.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/6boot/uboot: support building U-Boot with Python 3.x+0 -01 reply
2/6boot/uboot: support building U-Boot with Python 3.x+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/6] Support Python 3.x in U-Boot

Thomas, All,

On 2020-05-02 23:28 +0200, Thomas Petazzoni spake thusly:

Quoted 8 lines

Hello,

Since 2020.01, U-Boot now uses python3 for its scripts, but our uboot package only supports adding a dependency on host-python, which causes a number of build failures of our defconfigs.

To fix this, this series introduces additional U-Boot options with appropriate dependencies, and fixes the problematic defconfigs.

Series applied, with a few changes:

- I applied my proposal to handle the choice of host python version, see the thread in patch 2

- I fixed the defconfig files as thus:
- for those that need pyelftools or pylibfdt, the NEEDS_PYTHON=y was superfluous in the defconfig as it is selected by ither option,
- for the others that do not have pyelftools or pylibfdt, it has become useless, because it no longer show/hides the choice anymore

Thanks!

Regards,
Yann E. MORIN.

Quoted 31 lines

Thomas

Thomas Petazzoni (6):
package/python3-pyelftools: new package boot/uboot: support building U-Boot with Python 3.x configs/olimex_a20_olinuxino_lime{,2}: use Python 3.x configs/beelink_gs1: use Python 3.x configs/roc_pc_rk3399: fix U-Boot dependencies configs/nanopi_neo4: fix U-Boot dependencies

 boot/uboot/Config.in                          | 29 +++++++++++++++++++
 boot/uboot/uboot.mk                           | 12 +++++++-
 configs/beelink_gs1_defconfig                 |  2 ++
 configs/nanopi_neo4_defconfig                 |  4 +--
 configs/olimex_a20_olinuxino_lime2_defconfig  |  2 ++
 configs/olimex_a20_olinuxino_lime_defconfig   |  2 ++
 configs/roc_pc_rk3399_defconfig               |  4 +--
 .../python-pyelftools/python-pyelftools.mk    |  1 +
 .../python3-pyelftools.hash                   |  1 +
 .../python3-pyelftools/python3-pyelftools.mk  | 17 +++++++++++
 10 files changed, 69 insertions(+), 5 deletions(-)
 create mode 120000 package/python3-pyelftools/python3-pyelftools.hash
 create mode 100644 package/python3-pyelftools/python3-pyelftools.mk
Signature · 6 lines
2.26.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'