Re: [PATCH 10/10] ARM: pbl: Add an option to validate DRAM

2015-06-03 Thread Sascha Hauer
On Mon, Jun 01, 2015 at 06:09:38AM -0700, Andrey Smirnov wrote: > > How about testing only a small fragment of DRAM, say 8MB, in your > > lowlevel board code and calling barebox_arm_entry() with the > > membase/memsize you previously tested? This way you can make sure that > > barebox only uses tes

Re: [PATCH 10/10] ARM: pbl: Add an option to validate DRAM

2015-06-01 Thread Andrey Smirnov
> How about testing only a small fragment of DRAM, say 8MB, in your > lowlevel board code and calling barebox_arm_entry() with the > membase/memsize you previously tested? This way you can make sure that > barebox only uses tested memory without having to test all memory before > calling barebox_ar

Re: [PATCH 10/10] ARM: pbl: Add an option to validate DRAM

2015-05-26 Thread Sascha Hauer
On Sat, May 23, 2015 at 11:48:41AM -0700, Andrey Smirnov wrote: > On Tue, May 19, 2015 at 12:06 AM, Sascha Hauer wrote: > > Hi Andrey, > > > > On Wed, May 13, 2015 at 07:54:27PM -0700, Andrey Smirnov wrote: > >> Add an option to perform DRAM region validation before using it. The > >> framework al

Re: [PATCH 10/10] ARM: pbl: Add an option to validate DRAM

2015-05-24 Thread Andrey Smirnov
>> >> Also, testing all of the memory in PBL code brings up the question of >> what is the point of 'memtest' command? If the only comprehensive way > > The memtest command enable/disable caches and running the memtest > function. The memtest function is moslty the same like it was when I > touched

Re: [PATCH 10/10] ARM: pbl: Add an option to validate DRAM

2015-05-23 Thread Alexander Aring
Hi, On Sat, May 23, 2015 at 11:48:41AM -0700, Andrey Smirnov wrote: > On Tue, May 19, 2015 at 12:06 AM, Sascha Hauer wrote: > > Hi Andrey, > > > > On Wed, May 13, 2015 at 07:54:27PM -0700, Andrey Smirnov wrote: > >> Add an option to perform DRAM region validation before using it. The > >> framewo

Re: [PATCH 10/10] ARM: pbl: Add an option to validate DRAM

2015-05-23 Thread Andrey Smirnov
On Tue, May 19, 2015 at 12:06 AM, Sascha Hauer wrote: > Hi Andrey, > > On Wed, May 13, 2015 at 07:54:27PM -0700, Andrey Smirnov wrote: >> Add an option to perform DRAM region validation before using it. The >> framework allows individual boards to set up a memory validaion hook >> that would be ca

Re: [PATCH 10/10] ARM: pbl: Add an option to validate DRAM

2015-05-19 Thread Sascha Hauer
Hi Andrey, On Wed, May 13, 2015 at 07:54:27PM -0700, Andrey Smirnov wrote: > Add an option to perform DRAM region validation before using it. The > framework allows individual boards to set up a memory validaion hook > that would be called prior to Barebox using that region of memory. > > Signed-

[PATCH 10/10] ARM: pbl: Add an option to validate DRAM

2015-05-13 Thread Andrey Smirnov
Add an option to perform DRAM region validation before using it. The framework allows individual boards to set up a memory validaion hook that would be called prior to Barebox using that region of memory. Signed-off-by: Andrey Smirnov --- arch/arm/cpu/start.c | 14 +--- arc