1. Compile Source

❶ Unzip source

1tar xvf EM1126BP-linux6.1*.tar.gz
2cd EM1126BP-linux6.1

❷ Configuration

1./build.sh lunch
Serial terminal output and options
$ ./build.sh lunch
############### Rockchip Linux SDK ###############
Manifest: rv1126b_linux6.1_release_v1.2.0_20251220.xml
GIT commit: "4236b4b boardcon: fix IPC defconfig to use em1126bp_ipc buildroot config"
Log colors: message notice warning error fatal
Log saved at /home/chenyu/RV1126bp/RV1126B_LINUX6.1_V1.2.0/output/sessions/2026-01-21_16-41-16
Pick a defconfig:
1. rockchip_defconfig
2. boardcon_em1126bp_defconfig
3. boardcon_em1126bp_ipc_defconfig
4. boardcon_idea1126bp_defconfig
5. boardcon_idea1126bp_ipc_defconfig
6. rockchip_rv1126b_dv_64_evb1_v10_defconfig
7. rockchip_rv1126b_dv_64_evb1_v12_defconfig
8. rockchip_rv1126b_evb1_v10_defconfig
9. rockchip_rv1126b_evb4_v10_defconfig
10. rockchip_rv1126b_fastboot_defconfig
11. rockchip_rv1126b_ipc_32_evb1_v10_defconfig
12. rockchip_rv1126b_ipc_64_evb1_v10_defconfig
13. rockchip_rv1126b_robot_defconfig
14. rockchip_rv1126b_tiny_32_evb2_v10_defconfig
15. rockchip_rv1126bp_evb1_v10_defconfig
16. rockchip_rv1126bp_fastboot_defconfig
17. rockchip_rv1126bp_ipc_32_evb1_v10_defconfig
18. rockchip_rv1126bp_ipc_64_evb1_v10_defconfig
19. rockchip_rv1126bp_robot_defconfig
Which would you like? [1]:

Please input 2 or 3 for the EM1126B-P based on your application requirements.

Option 2: General-Purpose Board Configuration (boardcon_em1126bp_defconfig)
  • Framework: Based on GStreamer (Open-source, high compatibility).

  • Default Behavior: Automatically launches the Weston desktop environment.

  • Use Case: Best for general multimedia applications requiring plugin extensibility.

Option 3: IPC (IP Camera) Board Configuration (boardcon_em1126bp_ipc_defconfig)
  • Framework: Utilizes Rockit MPI (Rockchip proprietary). Provide modular hardware acceleration (VI, VO, VDEC, VENC, VPSS).

  • Default Behavior: Automatically launches the RKIPC daemon (RTSP/RTMP streaming & Web UI).

  • Use Case: Best for dedicated IP Camera products requiring optimized hardware acceleration.

Attention

Please ensure you select either option 2 or 3. These configurations are specifically tuned for the EM1126BP hardware. Selecting other options (or generic Rockchip configs) may cause kernel mismatches and prevent the system from booting properly.

❸ Compile uboot

1./build.sh uboot

❹ Compile kernel

1./build.sh kernel

❺ Compile recovery

1./build.sh recovery

❻ Compile rootfs

1./build.sh buildroot

❼ Generate and Check Firmwares

1./build.sh firmware
2./build.sh updateimg

Images and update.img are generated in rockdev/