FAQ#
Burning and Booting#
Q5: How should I choose between *.img and *.kdimg?#
Recommendations:
USB GUI tool (K230BurningTool): prefer
*.kdimgSD card imaging: use
*.imgCommand-line burning (k230-flash): typically use
*.img
Q6: After executing reboot_to_upgrade, it does not enter burning mode?#
Solution:
Make sure the burning tool is a relatively new version
Refer to the patch instructions in the burning guide, apply the patch first, then retry
Or use a hardware method: hold the Boot button while powering on to enter burning mode
Reference: userguide/how_to_flash.md
Q7: Burning succeeded but the device does not boot normally?#
Troubleshooting order:
Check whether the image matches the board (whether the defconfig corresponds)
Check whether the boot medium is correct (EMMC/SD)
Check the serial port logs to confirm whether it is stuck in the boot stage
Re-burn once to avoid file corruption or interruption
Q8: How to quickly get started with OTA (brief)?#
You can get started with the following minimal process:
Build the
*.kdimgupgrade package on the PC (located inoutput/<defconfig>/images/).Transfer
*.kdimgto the device file system (e.g.,/data/update.kdimg).Call the OTA interface in the on-board application to perform the upgrade (sample test command):
test_ota /data/update.kdimg
After seeing the upgrade success log, restart and confirm whether the new version boots normally.
Note:
OTA depends on
*.kdimg, not*.img.For production scenarios, it is recommended to add upgrade package signature/source verification, power-loss recovery, and rollback strategies at the application layer.
For the full mechanism and interface description, see: advanced_development_guide/how_to_use_k230_ota.md
Examples and Applications#
Q9: The example program is not in /sdcard/app, does that mean packaging failed?#
Not necessarily. RT-Smart examples are located by default in:
/sdcard/app/examples/
You can check using the following command:
cd /sdcard/app/examples
find . -name "*.elf" | head
Q10: How to set an example to auto-start on boot?#
There are two configurations:
Runtime auto-start command (Startup command)
Configure in menuconfig:
RT-Smart Configuration > Startup command
This is the runtime command string (CONFIG_RTT_AUTO_EXEC_CMD). It is recommended to use an absolute path, for example:
/sdcard/app/examples/integrated_poc/smart_ipc.elf
Fast Boot file path during image packaging (variables supported)
If you need to configure the source file path for Fast Boot packaging, please go to:
Fast Boot Configuration > Fast boot file path
This option supports absolute paths, or ${SDK_*} variables exported by tools/mkenv.mk (such as ${SDK_BUILD_IMAGES_DIR}), for example:
${SDK_BUILD_IMAGES_DIR}/sdcard/app/examples/integrated_poc/smart_ipc.elf
Q11: How to check which Sensors are supported by the current firmware?#
Execute on the device side:
list_sensor
If the target sensor is not shown, you need to enable it in the Sensor-related options in menuconfig and then rebuild and flash.
Reference: hardware_compatibility/sensor_list.md
Still unresolved?#
Visit the Community to post for help
It is recommended to provide information in the following order for faster troubleshooting:
The name of the defconfig used
Complete error log (including 30 lines before and after)
Flashing method and image file name
Key snippet of serial port boot log
Also attach the commands you have already tried.
