Building Yocto image

I am using Radxa Zero for my project, and I trying build system image with Yocto Project by manual

As a result of the assembly, I do not get the finished image file. But just u-boot.bin, dtbs and rootfs.

Can anybody help me with creating full image or give some documentation how to do it? Some manuals of structure of finished image?

if you have board working you could use dd command to dump the image into the file
e.g.:
dd if=/dev/mmc1blk0 of=/path/to/some/folder/yokto.img bs=1M status=progress
just remember that /path/to/some/folder needs to be some external storage for example usb device bigger then current storage that all the part have been installed

I have working Ubuntu img, but it has different structure and boot files.
How it can help me if i trying build my own image with yocto?

Hi. meta-meson layer supports Radxa Zero now.

See https://github.com/superna9999/meta-meson/tree/kirkstone

You can try the following steps to build one Radxa Zero image.

  $ mkdir ~/amlogic-bsp
  $ cd ~/amlogic-bsp
  $ git clone  git://git.yoctoproject.org/poky -b kirkstone poky
  $ git clone https://github.com/superna9999/meta-meson.git meta-meson -b kirkstone
  $ TEMPLATECONF=../meta-meson/conf
  $ source poky/oe-init-build-env
  $ cp ../poky/meta-poky/conf/local.conf.sample conf/local.conf
  $ export MACHINE=radxa-zero
  $ bitbake -k amlogic-image-sato

And you will get the system image, build/tmp/deploy/images/radxa-zero/amlogic-image-sato-radxa-zero.wic.

Thank you.

I’m trying this metod at this time.

I managed to create the image. It looks not bad)) but still do not get how to
add network/bluetooth drivers and other staff.

Do we need to add any device tree to enable devices??

Hi. Have there been any new developments on this? I have tried implementing the method seen in meta-radxa readme file on github and I tried using the meta-meson layer but neither one gives me a bootable image for my radxa zero 3w. Any insights would be appreciated.

Also if there is any way to create a .img file that would be useful. Thanks

Hi

This is the current development status of Radxa boards.

Please check this guide to create 3W Yocto image.