From: Florent Kermarrec Date: Fri, 27 Mar 2015 15:43:22 +0000 (+0100) Subject: software/bios/sdram: for now desactivate random on address test since it seems to... X-Git-Tag: 24jan2021_ls180~2428^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6245dd7b6fb978f433a8d531ee923a96b2cdd22a;p=litex.git software/bios/sdram: for now desactivate random on address test since it seems to trigger a L2 cache or LASMIcon bug on at least de0nano/minispartan6 Memtest sometimes reports 1 or 2 errors with de0nano/minispartan6 on this new test when used with LASMICON. Minicon seems fine. We will have to investigate on this issue. --- diff --git a/software/bios/sdram.c b/software/bios/sdram.c index 939c42a7..31552036 100644 --- a/software/bios/sdram.c +++ b/software/bios/sdram.c @@ -425,8 +425,8 @@ int sdrlevel(void) #define TEST_DATA_SIZE (2*1024*1024) #define TEST_RANDOM_DATA 1 -#define TEST_ADDR_SIZE 32*1024 -#define TEST_RANDOM_ADDR 1 +#define TEST_ADDR_SIZE (32*1024) +#define TEST_RANDOM_ADDR 0 #define ONEZERO 0xAAAAAAAA #define ZEROONE 0x55555555