Noob
Noob

Reputation: 81

How can I find my Yocto generated image? It was made using poky

I am creating an image for my x86-64 machine using yocto, but I cannot find the image generated by it. I have already explored the files (especially the build folder) but cannot find them.

Inside of /poky there are the following folders:

bitbake/  
contrib/        
meta/       
meta-selftest/  
meta-yocto-bsp/
build/    
documentation/  
meta-poky/  
meta-skeleton/  
scripts/

Inside of /build there are the following folders:

cache/  
conf/  
downloads/  
poky/  
sstate-cache/  
tmp/

Inside them are multiple files, however, I cannot find an image file that I can burn into a USB flash drive.

Upvotes: 4

Views: 4801

Answers (2)

Dharma B
Dharma B

Reputation: 31

The generated images can be found inside the build directory build/tmp/deploy/images/

Incase if you want to debug something you can look into the log files stored inside the tmp folder.

you can flash the wic image using a GUI tool like balena etcher

Upvotes: 0

Maik Nassauer
Maik Nassauer

Reputation: 81

Your results are stored in /build/tmp/deploy/images/...

You can flash the wic images like:

sudo dd if=core-image-sato-genericx86-64.wic of=/dev/<urdevice> bs=4M status=progress

Upvotes: 3

Related Questions