# Boot is interrupted when serial cable not connected

**URL:** <https://community.solid-run.com/t/boot-is-interrupted-when-serial-cable-not-connected/302>\
**Category:** NXP LX2160\
**Created:** [May 3, 2022, 12:45pm UTC](https://community.solid-run.com/t/boot-is-interrupted-when-serial-cable-not-connected/302 "2022-05-03T12:45:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert\_sv](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@robert\_sv](https://community.solid-run.com/u/robert_sv)\
**Post date:** [May 3, 2022, 12:45pm UTC](https://community.solid-run.com/t/boot-is-interrupted-when-serial-cable-not-connected/302/1 "2022-05-03T12:45:43Z")

</div>

If we power on the ClearFog and do not have the console USB cable plugged in, the ClearFog will never finish booting. Waiting a few minutes and then plugging in the console USB cable and connecting from another PC, the =\> prompt (as described here [https://solidrun.atlassian.net/wiki/spaces/developer/pages/197494345/LX2160A+Software#Booting-the-micro-SD-and-flashing-to-either-eMMC%2C-NVME-M.2-or-SATA-drive](https://solidrun.atlassian.net/wiki/spaces/developer/pages/197494345/LX2160A+Software#Booting-the-micro-SD-and-flashing-to-either-eMMC%2C-NVME-M.2-or-SATA-drive)) is displayed. It is almost as if the “Hit any key to stop autoboot” detected a key press, even though nothing was plugged into the ClearFog.

On the other hand, if the ClearFog is powered on when the console USB cable is plugged in, the ClearFog will boot as normal. It is possible to interrupt the boot if desired, and if left alone it will autoboot.

How can we autoboot the ClearFog even if a cable is not plugged in? It is almost as if when the cable is not plugged in, electrical noise causes phantom key presses to interrupt the ClearFog’s boot.

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [May 4, 2022, 6:29am UTC](https://community.solid-run.com/t/boot-is-interrupted-when-serial-cable-not-connected/302/2 "2022-05-04T06:29:13Z")

</div>

This is not an issue I have heard about before. Perhaps your SOM is not fully seated and you are getting noise on the UART lines to the SOC? You can try re-seating the SOM to see if it is a mechanical issue. If you just want to overcome the issue in software, then you can configure u-boot to require a specific keypress to break the boot sequence rather than any key. This should also work around the issue you are seeing.

---

<div class="post-metadata">

**Author:** ![robert\_sv](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@robert\_sv](https://community.solid-run.com/u/robert_sv)\
**Post date:** [May 4, 2022, 6:42am UTC](https://community.solid-run.com/t/boot-is-interrupted-when-serial-cable-not-connected/302/3 "2022-05-04T06:42:23Z")

</div>

A software fix will do for now. How can I configure u-boot?

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [May 4, 2022, 6:45am UTC](https://community.solid-run.com/t/boot-is-interrupted-when-serial-cable-not-connected/302/4 "2022-05-04T06:45:41Z")

</div>

> <https://github.com/u-boot/u-boot/blob/master/doc/README.autoboot>

You can use the config option `AUTOBOOT_KEYED`

---

<div class="post-metadata">

**Author:** ![robert\_sv](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@robert\_sv](https://community.solid-run.com/u/robert_sv)\
**Post date:** [May 4, 2022, 7:07am UTC](https://community.solid-run.com/t/boot-is-interrupted-when-serial-cable-not-connected/302/5 "2022-05-04T07:07:03Z")

</div>

Thanks, is there a guide to build and flash a modified version u-boot to a ClearFog CX LX2 (or similar board)?

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [May 4, 2022, 7:09am UTC](https://community.solid-run.com/t/boot-is-interrupted-when-serial-cable-not-connected/302/6 "2022-05-04T07:09:50Z")

</div>

You can use our lx2160a\_build repository. [GitHub - SolidRun/lx2160a\_build: Scripts to build basic images for LX2160A COM express type 7 modules](https://github.com/SolidRun/lx2160a_build) You will need to add your custom config as a new patch under the patches/uboot-$(sdk versions) you are using.

---

<div class="post-metadata">

**Author:** ![robert\_sv](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@robert\_sv](https://community.solid-run.com/u/robert_sv)\
**Post date:** [May 4, 2022, 7:18am UTC](https://community.solid-run.com/t/boot-is-interrupted-when-serial-cable-not-connected/302/7 "2022-05-04T07:18:07Z")

</div>

Thanks for your help. I’ll give it a go once I have some time. As a workaround I’ve plugged a cable from the ClearFog’s console port into a spare USB port on the ClearFog, but won’t be able to depend on it forever.

---

<div class="post-metadata">

**Author:** ![austin](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@austin](https://community.solid-run.com/u/austin)\
**Post date:** [May 22, 2023, 4:03am UTC](https://community.solid-run.com/t/boot-is-interrupted-when-serial-cable-not-connected/302/8 "2023-05-22T04:03:26Z")

</div>

I too am seeing this issue on a recently purchased Honeycomb LX2. I’m having to leave a cable plugged into the console port to get boot past uboot.
