From: Alexander Aring <alex.aring@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH v2 0/8] add new memtest command
Date: Tue, 15 Jan 2013 14:48:42 +0100 [thread overview]
Message-ID: <1358257730-20579-1-git-send-email-alex.aring@gmail.com> (raw)
The new memtest command supports to enable or disable
caching during testing(only arm architecture) and
skipping barebox regions for avoid a barebox killing,
if you want to write on barebox allocated regions.
If you run memtest without a argument, memtest will
run on all registered memory banks.
The new memtest command has these arguments:
-s #ADDRESS [for start address]
-e #ADDRESS [for end address]
-i #ITER [for numbers of iterations]
-c [don't disable caching]
-b [do bus testing only]
v2:
- remove adding whitespaces in linkerscript file
and change position in of '_sdata'
in ppc lds files.
- remove -1 calculation in linkerscript files
which is wrong.
- split remap_range patch into three other patches:
- mmu: add getters for pte cache flags
- arm-mmu: move PAGE_ALIGN macro to common.h
- common: add PAGE_ALIGN_DOWN macro
- change stdout of memtest to make it more beautiful
Alexander Aring (8):
remap_range: make function 'remap_range' global
mmu: add getters for pte cache flags
arm-mmu: move PAGE_ALIGN macro to common.h
common: add PAGE_ALIGN_DOWN macro
memory: add function address_in_sdram_regions
barebox-data: add barebox-data sections
memtest: remove memtest command
memtest: add rewritten memtest command
arch/arm/cpu/mmu.c | 18 +-
arch/arm/include/asm/mmu.h | 17 +
arch/arm/lib/barebox.lds.S | 2 +
arch/blackfin/boards/ipe337/barebox.lds.S | 2 +
arch/blackfin/include/asm/mmu.h | 19 +
arch/mips/include/asm/mmu.h | 19 +
arch/mips/lib/barebox.lds.S | 2 +
arch/nios2/cpu/barebox.lds.S | 1 +
arch/nios2/include/asm/mmu.h | 19 +
arch/openrisc/include/asm/mmu.h | 19 +
arch/ppc/boards/freescale-p2020rdb/barebox.lds.S | 1 +
arch/ppc/boards/pcm030/barebox.lds.S | 1 +
arch/ppc/include/asm/mmu.h | 15 +
arch/sandbox/include/asm/mmu.h | 19 +
arch/x86/include/asm/mmu.h | 19 +
arch/x86/lib/barebox.lds.S | 2 +
commands/Kconfig | 16 +-
commands/Makefile | 2 +-
commands/memtest.c | 897 ++++++++++++++++-------
common/memory.c | 20 +
include/asm-generic/sections.h | 1 +
include/common.h | 2 +
include/memory.h | 6 +
23 files changed, 832 insertions(+), 287 deletions(-)
create mode 100644 arch/blackfin/include/asm/mmu.h
create mode 100644 arch/mips/include/asm/mmu.h
create mode 100644 arch/nios2/include/asm/mmu.h
create mode 100644 arch/openrisc/include/asm/mmu.h
create mode 100644 arch/sandbox/include/asm/mmu.h
create mode 100644 arch/x86/include/asm/mmu.h
--
1.8.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2013-01-15 13:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-15 13:48 Alexander Aring [this message]
2013-01-15 13:48 ` [PATCH 1/8] remap_range: make function 'remap_range' global Alexander Aring
2013-01-15 13:48 ` [PATCH 2/8] mmu: add getters for pte cache flags Alexander Aring
2013-01-15 13:48 ` [PATCH 3/8] arm-mmu: move PAGE_ALIGN macro to common.h Alexander Aring
2013-01-15 13:48 ` [PATCH 4/8] common: add PAGE_ALIGN_DOWN macro Alexander Aring
2013-01-15 13:48 ` [PATCH 5/8] memory: add function address_in_sdram_regions Alexander Aring
2013-01-15 13:48 ` [PATCH 6/8] barebox-data: add barebox-data sections Alexander Aring
2013-01-15 13:48 ` [PATCH 7/8] memtest: remove memtest command Alexander Aring
2013-01-15 13:48 ` [PATCH 8/8] memtest: add rewritten " Alexander Aring
2013-01-17 9:54 ` Sascha Hauer
2013-01-23 20:01 ` Alexander Aring
2013-01-23 20:18 ` Sascha Hauer
2013-01-23 20:25 ` Alexander Aring
2013-01-23 20:30 ` Jean-Christophe PLAGNIOL-VILLARD
2013-01-23 20:43 ` Alexander Aring
2013-01-23 20:55 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1358257730-20579-1-git-send-email-alex.aring@gmail.com \
--to=alex.aring@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox