4. Compile Source
❶ Extract Source Code
1tar xvf RV1126B_Linux_IPC_SDK_V2.tar.gz
2cd RV1126B_Linux_IPC_SDK
❷ Configuration
1./build.sh lunch
When the BoardConfig list is displayed, select option 1. BoardConfig_IDEA1126/BoardConfig-EMMC-Boardcon-IDEA1126BP-IPC_FASTBOOT.mk
You're building on Linux
Lunch menu...pick a combo:
BoardConfig-*.mk naming rules:
BoardConfig-"启动介质"-"电源方案"-"硬件版本"-"应用场景".mk
BoardConfig-"boot medium"-"power solution"-"hardware version"-"application".mk
----------------------------------------------------------------
0. BoardConfig_Boardcon/BoardConfig-EMMC-RK809-Boardcon_EM1126BP-IPC_FASTBOOT.mk
boot medium(启动介质): EMMC
power solution(电源方案): RK809
hardware version(硬件版本): Boardcon_EM1126BP
application(应用场景): IPC_FASTBOOT
----------------------------------------------------------------
----------------------------------------------------------------
1. BoardConfig_IDEA1126/BoardConfig-EMMC-Boardcon-IDEA1126BP-IPC_FASTBOOT.mk
boot medium(启动介质): EMMC
power solution(电源方案): Boardcon
hardware version(硬件版本): IDEA1126BP
application(应用场景): IPC_FASTBOOT
----------------------------------------------------------------
Which would you like? [0]::1
❸ Build the Firmware
- The firmware can be built in either of the following ways:
Build all components with one command.
Build each component step by step.
1./build.sh
After the command is completed, the image files will be generated in the output/image/ directory.
Step 1, Compile U-Boot
1./build.sh uboot
Step 2, Compile the Kernel
1./build.sh kernel
Step 3, Compile the Sysdrv
1./build.sh sysdrv
Step 4, Compile the Root Filesystem
1./build.sh rootfs
Step 5, Compile Media
1./build.sh media
Step 6, Compile App
1./build.sh app
Step 7, Generate Firmware Images
After all required components are compiled, execute the following command to generate the firmware images.
1./build.sh firmware
After the command is completed, the image files will be generated in the output/image/ directory.
❹ Package Firmware Images
1./build.sh updateimg
After the command is completed, update.img will be generated in the output/image/ directory.