I decided to open a new topic for those who are interested in build their projects using Linux system Yocto. Details about the system of Yocto can be found on the website.
The order of their use. Download. Unzip. To record to external media. Download and add to the root of the first partition script s905_autoscript. Rename the first section of the appropriate file of the dtb to the “dtb.img”. Pay attention, while the composition of the images are not included files to activate the multi-boot, so to run an image, you must have activated the multi-upload (done previously with other images) or use an additional file “boot.ini” for model Khadas_VIM on the SD card.
Added support for USB to S912.
Added dtb models q201 with LAN 1Gb (vega s96).
Added sound support for all S905X and S912.
Please check the download for this image from a USB stick on the VIM2.
Pay attention to run the image from SD card to S912 need to use the script from a directory on the website S912_for_SD. To run from USB stick you can use any script from the Yocto directory (they work the same). While there is a problem with the launch images by using generic labels in the script s905_autoscript. So you have to use two scripts for mmcblk0 and mmcblk1 is (on different models and platforms of SD card are defined in different ways). I checked in running system, mounting drives by label works. Perhaps the reason for the lack of busybox or init file processing labels for discs when I mount the root partition. I don’t know where in Yocto you can fix this.
Hi,
Could you please kindly update your “150balbes/meta-meson” to reflect the latest “superna9999/meta-meson”?
I’d like to have the latest meta-meson updated specifically for Khadas-VIM2.
Thanks.
Why don’t you just use the latest version of git @narmstrong ?
As far as I know, its version has everything you need to build a version for VIM2 (s912).
To go around that I have flashed the yocto .wic image that I built (tmp/deploy/images/khadas-vim3l/amlogic-image-sato-khadas-vim3l.wic) to an SD card, inserted it in my VIM3L board and it does not boot. It boots the Android image from the eMMC instead.
I suspect the problem is with the BOOTFS partition on the SD card:
ls BOOTFS/
aml_autoscript aml_autoscript.zip meson-sm1-khadas-vim3l.dtb s905_autoscript uImage