Rock64 u-boot for eMMC Build Error - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85) +--- Forum: General Discussion on ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=86) +--- Thread: Rock64 u-boot for eMMC Build Error (/showthread.php?tid=17366) |
Rock64 u-boot for eMMC Build Error - mexicanflyer - 09-18-2022 I have a Rock64 4GB board which I would like to turn into a FreedomBox server. Since the Rock64 boards are no longer sold with SPI flash, I am trying to build U-Boot to flash onto the eMMC module. I am following the instructions for building here: https://u-boot.readthedocs.io/en/latest/board/rockchip/rockchip.html However, when I get to here: Code: make CROSS_COMPILE=aarch64-linux-gnu- I get this error: Code: ModuleNotFoundError: No module named 'distutils.core' Some investigation tells me pylibfdt is not yet compatible with python3, and it will be a while before the developers will be able to solve the problem, as it causes many other issues. I installed python2, but I get this error: Code: scripts/dtc/pylibfdt/libfdt_wrap.c:154:11: fatal error: Python.h: No such file or directory What am I able to do in order to work around this issue? For clarity, will the u-boot and FreedomBox installations exist on the same eMMC module in the end, or must I install one to an SD card and the other on the eMMC module? Thank you for reading the post. I would appreciate any advice you have to offer. |