remahl / meta-cubie-ds

0 stars 1 forks source link

bootpartition error (end) #2

Open kubden opened 9 years ago

kubden commented 9 years ago

Hello, I am sorry, as I have already said in my previous message about the bootpartition.tar.gz, because I am learning to use Yocto/OpenEmbedded and I would just like to build an image which should boot on sdcard. Please let me know how to debug your code, because I still do not understand the mechanisms of the recipes with bitbake. Could you explain where is the bug in this recipe truckinstall_0.1.bb? I have a book about Yocto and I want to study it. Thanks.

remahl commented 9 years ago

The truckinstall recipe is not the best place to start. So pls. refer to https://www.yoctoproject.org/ to get in touch with it.

truckinstall_01.bb: What it does:

  1. It creates the folder Setup, Data and Bootpart in /home/root folder of the image to be deployed.
  2. It copies the files from the directory /truckinstall/files to the /home/root directory. BUT that copy mechanism does not support files .tar.gz (That's why bootpartition.tar.gz failed.) The workaround: Created a git repository: git://github.com/remahl/sunxi-bin-archive.git and modified the recipe to get the data from there instead of copying the .tar.gz file.