# RSB3720A2 Yocto hangs

**URL:** <https://forum.aim-linux.advantech.com/t/rsb3720a2-yocto-hangs/913>\
**Category:** Software\
**Tags:** imx8mplus\
**Created:** [December 6, 2024, 8:35pm UTC](https://forum.aim-linux.advantech.com/t/rsb3720a2-yocto-hangs/913 "2024-12-06T20:35:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vasco\_Santos](https://avatars.discourse-cdn.com/v4/letter/v/9de0a6/32.png) [@Vasco\_Santos](https://forum.aim-linux.advantech.com/u/Vasco_Santos)\
**Post date:** [December 6, 2024, 8:35pm UTC](https://forum.aim-linux.advantech.com/t/rsb3720a2-yocto-hangs/913/1 "2024-12-06T20:35:40Z")

</div>

Hi,

I built an imx-image-full Mickledore image based off the adv-6.1.22-2.0.0.xml manifest.  
The image builds successfully and I am able to boot it and use it properly from the SD Card.  
I connect to the board using SSH since I do not have the debug cable.

I was trying to flash the image onto the internal eMMC but the system just hangs during the process and doesn’t respond until I reboot it.  
In general, this happens whenever I try to do any heavy file operations.

I have tried using a different SD Card but the behavior is the same.

If I use the command `memtester` with 1M or 10M as parameter, it seems ok.  
If I use 1G, for example, it hangs while “trying mlock”.

Could there be an issue with the DDR RAM?  
How to diagnose and fixing this?

(I am a beginner using this platform.)

---

<div class="post-metadata">

**Author:** ![Vasco\_Santos](https://avatars.discourse-cdn.com/v4/letter/v/9de0a6/32.png) [@Vasco\_Santos](https://forum.aim-linux.advantech.com/u/Vasco_Santos)\
**Post date:** [December 11, 2024, 10:38am UTC](https://forum.aim-linux.advantech.com/t/rsb3720a2-yocto-hangs/913/2 "2024-12-11T10:38:19Z")

</div>

The variable `UBOOT_CONFIG` was set to `6G` (default) whereas the right value for my board (RSB3720A2) should be `4G`.

After adding `UBOOT_CONFIG ?= '4G'` to my `local.conf` and rebuilding the image, the issue seems to have disappeared.

---

<div class="post-metadata">

**Author:** ![Clayder\_Huang](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@Clayder\_Huang](https://forum.aim-linux.advantech.com/u/Clayder_Huang)\
**Post date:** [December 16, 2024, 3:21am UTC](https://forum.aim-linux.advantech.com/t/rsb3720a2-yocto-hangs/913/3 "2024-12-16T03:21:26Z")

</div>

Hi @Vasco_Santos  
You are right. Reference the wiki.  
[https://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto\_LBVD\_User\_Guide#Build\_Instructions](https://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVD_User_Guide#Build_Instructions)

If your board is 4G version, you need to Modify UBOOT\_CONFIG=4G.

MACHINE=imx8mprsb3720a2 UBOOT\_CONFIG=4G DISTRO=fsl-imx-xwayland source imx-setup-release.sh -b build\_x11
