3.Compile Source

3.1 Unzip source and configure

1tar xvf EM3568_BUILDROOT_20230705.tar.bz2
2cd EM3568_BUILDROOT_20230705
3./build.sh lunch

Print out as follow. Select 3 (10.1 inch LVDS).

 Pick a defconfig:

 1. rockchip_defconfig
 2. rockchip_rk3568_evb1_lp4x_v10_7_lvds_defconfig
 3. rockchip_rk3568_evb1_lp4x_v10_defconfig

 Which would you like? [1]: 3

 Switching to defconfig: /home/Name/opt/EM3568/source/EM3568_BUILDROOT_20230705/device/rockchip/.chip/rockchip_rk3568_evb1_lp4x_v10_defconfig

Note

  • 7-inch LVDS: select Option 2 rockchip_rk3568_evb1_lp4x_v10_7_lvds_defconfig

  • 10.1-inch LVDS: select Option 3 rockchip_rk3568_evb1_lp4x_v10_defconfig

3.2 Compile

1./build.sh uboot      //compile uboot
2./build.sh kernel     //compile kernel
3./build.sh recovery   //compile recovery
4./build.sh rootfs     //compile buildroot
5./build.sh firmware   //generate and check firmware
6./build.sh updateimg  //build update image

update.img and Images are generated in directory rockdev/