Build and flash firmware
Updated
Build the R1 firmware, point it at your server, and flash it onto the device.
Follow these steps to set up the R1 device firmware with the example project.
Download and configure the device firmware
-
Clone the
bk_aidkproject from GitHub:git clone --recurse-submodules https://github.com/bekencorp/bk_aidk.git -b ai_release/v2.0.1 cd bk_aidk git checkout ai_release/v2.0.1.8 git submodule update --recursive -
Replace the
projectsdirectory with the example demo directory. Replace<bk_aidk_path>with your actual path:rm -rf <bk_aidk_path>/projects/ cp -r ./projects <bk_aidk_path>/projectsInfo
To avoid conflicts, delete the original
projectsdirectory before copying. -
Update the server URL in
projects/common_components/network_transfer/agora_rtc/agora_config.hto point to your deployed server:#define CONFIG_AGENT_SERVER_URL "http://192.168.1.100:5001"Replace
http://192.168.1.100:5001with your server address.
Build the firmware
Build the sample project firmware from the bk_aidk directory:
cd <bk_aidk_path>
make bk7258 PROJECT=beken_genieReplace <bk_aidk_path> with your actual bk_aidk directory path.
Flash the firmware
After the firmware builds successfully, flash it to your R1 device. For detailed instructions, see the BK official documentation.
