In the current script, when the mem_timeout would run out, the script would just go to the read_spd function, as if memory init was done. That is incorrect.
Instead, wait until the ddrctrl_init_done is set regardless how long it would take.
I also increased the timeout for pexpect to 30 s as 6 s might be too low.
It should help with #144. Although, as there was a lot of debug information added to the BIOS, it will take a while to download the SPD contents when the memtest fails.
In the current script, when the
mem_timeout
would run out, the script would just go to theread_spd
function, as if memory init was done. That is incorrect. Instead, wait until theddrctrl_init_done
is set regardless how long it would take. I also increased the timeout for pexpect to 30 s as 6 s might be too low.It should help with #144. Although, as there was a lot of debug information added to the BIOS, it will take a while to download the SPD contents when the memtest fails.