3.Compile Source

3.1 Unzip source and configure

tar xvf EM3568_BUILDROOT_20230705.tar.bz2
cd EM3568_BUILDROOT_20230705
./build.sh lunch

Print out as follow. Select 3. rockchip_rk3568_evb1_lp4x_v10_defconfig

 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

./build.sh uboot      //compile uboot
./build.sh kernel     //compile kernel
./build.sh recovery   //compile recovery
./build.sh rootfs     //compile buildroot
./build.sh firmware   //generate and check firmware
./build.sh updateimg  //build update image

update.img and Images are generated in directory rockdev/