# RDK X5 4GB importing custom TOF SENSOR: flashing platform img works, but flashing self-compiled platform_source_code fails to boot

- Source: D-Robotics Developer Community
- Published: 2026-10-13T03:03:28.227Z
- RoboHot: https://robohot.news/en/items/s4fnnlfhwuqawwqnqstsmuu6i
- Original: https://forum.d-robotics.cc/t/topic/35785

## Summary

A developer encountered a boot issue while connecting a custom TOF SENSOR to an RDK X5 4GB board: flashing the platform img works normally, but after flashing the self-compiled platform_source_code, the board fails to boot.
