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
Configure in menuconfig:
RT-Smart Configuration > Rtsmart auto execute command string
This is the runtime command string (CONFIG_RTT_AUTO_EXEC_CMD). For auto-starting from a regular file system, use an absolute path on the board, 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
Fast Boot also requires CONFIG_RTT_AUTO_EXEC_CMD to be set to @preload, or set to @preload followed by application arguments; do not use the legacy entry point /bin/preload. For complete instructions, see How to Use Fast Boot and Configure RT-Smart Auto-Run.
Q11: How to check which Sensors are supported by the current firmware?#
Execute on the device side:
list_sensor
The output lists the detected drivers, modes, and lane counts by CSI, and marks SUPPORTED / NOT DETECTED in the summary. If the target sensor / 4LANE mode is not shown, you need to enable it in menuconfig → Sensor Configuration:
Select the corresponding
Enable <Sensor>When CSI0 4-lane is required, set
CSI0 LANE NUMto4LANEand enable the Sensor’sEnable 4LANE ConfigureCSI1 can be enabled at compile time, but cannot be initialized simultaneously with CSI0 4LANE at runtime; do not use both at the same time with the factory wiring
Rebuild and flash before checking
list_sensoragain
For distinguishing between 2L/4L at the same resolution at runtime, use sample_vicap_sensor -lane 2|4 or -stype. For the complete demo parameters (including -ofmt / -dump / -tile), see VICAP Sensor Demo.
Reference:
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.
