I saw some previous commits where you needed to modify multiple scripts in functions that were the same across all of them.
I took the liberty of looking in the scripts in tools/eMMC and create a functions.sh file that is then "source" and provide all the functions that were the same. Once included, you can override a function by simply creating a new one with the same name.
I validate on a BBG as this is the board I have, but I tried to be careful when looking for the duplicates, hope it will work for the other boards as well.
I saw some previous commits where you needed to modify multiple scripts in functions that were the same across all of them. I took the liberty of looking in the scripts in tools/eMMC and create a functions.sh file that is then "source" and provide all the functions that were the same. Once included, you can override a function by simply creating a new one with the same name.
I validate on a BBG as this is the board I have, but I tried to be careful when looking for the duplicates, hope it will work for the other boards as well.
What do you think about this ?