Open linkunfa opened 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 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
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