1. Compile Source
1.1 Unzip source
1tar xvf RV1126B_Linux_IPC*.tar.bz2
2cd RV1126B_Linux_IPC_SDK
1.2 Configuration
1./build.sh lunch
After running ./build.sh lunch, the system will list available defconfig files.
When the BoardConfig list is displayed, select
4. BoardConfig_IPC/BoardConfig-EMMC-RK801-Boardcon-SBC1126B_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_BatteryIPC/BoardConfig-EMMC-NONE-RV1126B_EVB2_V12-BAT_IPC.mk
boot medium(启动介质): EMMC
power solution(电源方案): NONE
hardware version(硬件版本): RV1126B_EVB2_V12
application(应用场景): BAT_IPC
----------------------------------------------------------------
----------------------------------------------------------------
1. BoardConfig_CVR/BoardConfig-EMMC-RK801-RV1126B_EVB1_V10-CVR.mk
boot medium(启动介质): EMMC
power solution(电源方案): RK801
hardware version(硬件版本): RV1126B_EVB1_V10
application(应用场景): CVR
----------------------------------------------------------------
----------------------------------------------------------------
2. BoardConfig_DV/BoardConfig-EMMC-RK801-RV1126B_EVB1_V12-DV_64bit.mk
boot medium(启动介质): EMMC
power solution(电源方案): RK801
hardware version(硬件版本): RV1126B_EVB1_V12
application(应用场景): DV_64bit
----------------------------------------------------------------
----------------------------------------------------------------
3. BoardConfig_IPC/BoardConfig-EMMC-NONE-Boardcon-KIT1126B_FASTBOOT.mk
boot medium(启动介质): EMMC
power solution(电源方案): NONE
hardware version(硬件版本): Boardcon
application(应用场景): KIT1126B_FASTBOOT
----------------------------------------------------------------
----------------------------------------------------------------
4. BoardConfig_IPC/BoardConfig-EMMC-RK801-Boardcon-SBC1126B_FASTBOOT.mk
boot medium(启动介质): EMMC
power solution(电源方案): RK801
hardware version(硬件版本): Boardcon
application(应用场景): SBC1126B_FASTBOOT
----------------------------------------------------------------
Which would you like? [0]: 4
[build.sh:info] switching to board:
1.3 Build 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.3.1 Build All Components
To build all components with one command, execute:
1./build.sh
After the command is completed, the image files will be generated in the output/image/ directory.
1.3.2 Build Components Step by Step
❶ Compile U-Boot
1./build.sh uboot
❷ Compile Kernel
1./build.sh kernel
❸ Compile Sysdrv
1./build.sh sysdrv
❹ Compile Root Filesystem
1./build.sh rootfs
❺ Compile Media
1./build.sh media
❻ Compile App
1./build.sh app
❼ Generate Firmware Images
1./build.sh firmware
After the command is completed, the image files will be generated in the output/image/ directory.
1.3.2 Package Firmware Images
1./build.sh updateimg
After the command is completed, update.img will be generated in the output/image/ directory.