Yocto confguration

Is there any document describing how to configure Yocto for the Rock960? I tried firefly-rk3399, but I didn’t get it to work…


some quick instructions

git clone -b sumo https://git.yoctoproject.org/git/poky
cd poky
git clone https://github.com/rockchip-linux/meta-rockchip.git
cd meta-rockchip

create and edit conf/machine/rock960-rk3399.conf

include conf/machine/include/rk3399.inc
KERNEL_DEVICETREE = "rockchip/rock960-model-ab-linux.dtb"
UBOOT_MACHINE = "evb-rk3399_defconfig"

edit recipes-kernel/linux/linux-rockchip_4.4.bb, change to rock960 kernel

 --- a/recipes-kernel/linux/linux-rockchip_4.4.bb
+++ b/recipes-kernel/linux/linux-rockchip_4.4.bb
@@ -6,10 +6,10 @@ require recipes-kernel/linux/linux-yocto.inc
 DEPENDS += "openssl-native"

 SRC_URI = " \
-       git://github.com/rockchip-linux/kernel.git;branch=release-4.4; \
+       git://github.com/96rocks/kernel.git;branch=rock960-4.4-dev; \

-SRCREV = "15dbb651be03ed7f9905f2e7c54b61d55011f54a"
+SRCREV = "1bbc6c266324425d3709924be253976a19da83b7"


source  oe-init-build-env

by default, you are in the build directory, edit conf/bblayers.conf, add meta-rockchip path at the end of the file

/path/to/poky/meta-rockchip \

edit conf/local.conf, change machine variable

MACHINE ??= "rock960-rk3399"

Now finally

bitbake core-image-minimal

Thanks Romain Perier for the initial porting of Yocto on Rockchip platform.

How can i add qt5 included image by using bitbake command? There is “meta-rockchip-extra” , do i need to use it?