RSB3720A2 Yocto hangs

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.)

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.

1 Like

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

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

1 Like