radxa / u-boot

U-Boot tree for pending commits
43 stars 88 forks source link

migrate to python3 #20

Open flatmax opened 1 year ago

flatmax commented 1 year ago

buildroot no longer supports python2 building - this requires the host machine to install python2 to make.sh.

Can you please migrate to python3 support ?

That would simplify issues reported against buildroot.rockchip

RadxaYuntian commented 1 year ago

Please tell us which branches are affected by this. For RK3399 we are now using mainline U-Boot in our systems. Rockchip also provides buildroot support so I can also check if their latest version has migrated to py3.

flatmax commented 1 year ago

I am working with the rock 3a and the cm3 boards

ericwoud commented 1 year ago

I just do:

sed -i '1c#!/usr/bin/env python3' arch/arm/mach-rockchip/decode_bl31.py

It changes the first line to:

!/usr/bin/env python3

Before building... That's all it needs (for rock5b),