antmicro / rowhammer-tester

https://antmicro.github.io/rowhammer-tester/
Apache License 2.0
55 stars 16 forks source link

scripts/spd_eeprom: remove timeout for ddrctrl_init_done #164

Closed michalsieron closed 1 year ago

michalsieron commented 1 year ago

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.