I would like to point that the guide is outdated since the “git://codeaurora.org/quic/kernel/skales” repository has migrated to “git://git.codelinaro.org/” since 31/03/2023
Another outdated thing is that the openembedded release version is “morty” which does not seem accessible in the snapshots version as well, which version should I use ?
I have also been running into issues since I don’t know which branch I am supposed to use for dtbTools and mkbootimg.
The error I am running into is when trying to use “mkbootimg”
Here is the error :
./skales/mkbootimg", line 111, in
if int(magic.encode(‘hex’),16) == of_dt_header:
AttributeError: ‘bytes’ object has no attribute ‘encode’
I am using branch :
Could someone please provide me the right branch to use or tell me what I did wrong ?
Some additional info on my project for context :
I have built a custom boot image and device tree for the dragonboard410c, everything is working fine with the fastboot method.
But I need more storage since the onboard storage is not sufficient for the libraries and modules that I have added, hence why I am looking to create a bootable image from a SD card, if there is another guide or documentation to do so, I would be glad to read it, I have been working on this for a week already and don’t have much time left to deliver the final product.