# UBoot auto configure: exit code '137'

**URL:** <https://hub.mender.io/t/uboot-auto-configure-exit-code-137/3624>\
**Category:** General Discussions\
**Created:** [May 10, 2021, 3:36pm UTC](https://hub.mender.io/t/uboot-auto-configure-exit-code-137/3624 "2021-05-10T15:36:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![buffo](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/buffo/32/909_2.png) [@buffo](https://hub.mender.io/u/buffo)\
**Post date:** [May 10, 2021, 3:36pm UTC](https://hub.mender.io/t/uboot-auto-configure-exit-code-137/3624/1 "2021-05-10T15:36:31Z")

</div>

Hi there,  
I ported my forked U-Boot to new hardware and get the following error message when building via Yocto:

> do\_mender\_uboot\_auto\_configure failed with exit code ‘137’

Unfortunately, the message is not very helpful, any hints towards this?

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [May 10, 2021, 4:10pm UTC](https://hub.mender.io/t/uboot-auto-configure-exit-code-137/3624/2 "2021-05-10T16:10:08Z")

</div>

Hi @buffo

Can you share more of the output? There should also be a log.do\_\* file mentioned in the output. If you can provide that it will be helpful.

Drew

---

<div class="post-metadata">

**Author:** ![buffo](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/buffo/32/909_2.png) [@buffo](https://hub.mender.io/u/buffo)\
**Post date:** [May 11, 2021, 1:17pm UTC](https://hub.mender.io/t/uboot-auto-configure-exit-code-137/3624/3 "2021-05-11T13:17:30Z")

</div>

I was not aware that the error code **137** is commonly used for a memory error as the build process simply crashed without further information. After that, Yocto did not output any log file that I could have provided, nevertheless it was a configuration issue regarding my debug output in combination with the CONFIG\_DEBUG\_LL flag. After a rework I was able to build again, however, I am not sure what exactly was the root cause. 🥴

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [May 11, 2021, 2:47pm UTC](https://hub.mender.io/t/uboot-auto-configure-exit-code-137/3624/4 "2021-05-11T14:47:05Z")

</div>

OK. Glad to hear you got past it. Please let us know if you have further issues.  
Drew
