facebook / openbmc

OpenBMC is an open software framework to build a complete Linux image for a Board Management Controller (BMC).
631 stars 277 forks source link

yosemite4n: u-boot: Add patch to set memory test result in environment #244

Open linkunfa opened 1 month ago

linkunfa commented 1 month ago

Description

Add u-boot patch to set memory test result in environment.

Motivation

Add patch to set memory test result in environment after doing mtest in u-boot so that user can check the result in user space. This patch is needed by Wiwynn factory test.

Test Plan

Set mtest command and reboot to check the memory test result.

root@bmc:~# fw_setenv preboot 'mtest 0x80000000 0x9A500000 0 1' root@bmc:~# reboot root@bmc:~# fw_printenv memtest_result memtest_result=pass

facebook-github-bot commented 1 month ago

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 4 weeks ago

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.