Skip to content

reimplement memtest command

Alexander Aring barebox 1 version Applied

Status from this message: I applied up to 4/9 to master for now.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9meminfo: fix missing includecommon/meminfo.c+1 -00 replies
2/9memory: fix size address calculationcommon/memory.c+2 -20 replies
3/9meminfo: fix display of allocated addressescommon/meminfo.c+3 -30 replies
4/9arm-mmu: remove semicolon in arm mmu.carch/arm/cpu/mmu.c+1 -10 replies
5/9mmu: make remap_range global accessablearch/arm/cpu/mmu.c arch/arm/include/asm/mmu.h arch/blackfin/include/asm/mmu.h +7 more+163 -30 replies
6/9memory: add function address_in_sdram_regionscommon/memory.c include/memory.h+19 -00 replies
7/9barebox-data: add barebox-data sectionsarch/arm/lib/barebox.lds.S arch/blackfin/boards/ipe337/barebox.lds.S arch/mips/lib/barebox.lds.S +6 more+33 -102 replies
8/9memtest: remove memtest commandcommands/Kconfig commands/Makefile commands/memtest.c+0 -3610 replies
9/9memtest: add rewritten memtest commandcommands/Kconfig commands/Makefile commands/memtest.c+706 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] reimplement memtest command

This patch series reimplement the memtest command.

Now it's support enable/disable caching on arm architecture and skip barebox regions.

In part of this patch series are the following changes:
- Fix missing include in meminfo.
- Fix some memory adresses issues.
- Make remap_range globally accessable.
- Add function to get cache/uncache pte flags.
- Add new section data which is between text and bss.
- Add function to check if address is in iomem regions of ram.

Alexander Aring (9):
meminfo: fix missing include
memory: fix size address calculation
meminfo: fix display of allocated addresses
arm-mmu: remove semicolon in arm mmu.c
mmu: make remap_range global accessable
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                       |   6 +-
 arch/blackfin/boards/ipe337/barebox.lds.S        |   6 +-
 arch/blackfin/include/asm/mmu.h                  |  19 +
 arch/mips/include/asm/mmu.h                      |  19 +
 arch/mips/lib/barebox.lds.S                      |   5 +-
 arch/nios2/cpu/barebox.lds.S                     |   5 +-
 arch/nios2/include/asm/mmu.h                     |  19 +
 arch/openrisc/include/asm/mmu.h                  |  19 +
 arch/ppc/boards/freescale-p2020rdb/barebox.lds.S |   6 +-
 arch/ppc/boards/pcm030/barebox.lds.S             |   5 +-
 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                       |   5 +-
 commands/Kconfig                                 |  16 +-
 commands/Makefile                                |   2 +-
 commands/memtest.c                               | 895 ++++++++++++++++-------
 common/meminfo.c                                 |   7 +-
 common/memory.c                                  |  21 +-
 include/asm-generic/sections.h                   |   1 +
 include/common.h                                 |   2 +
 include/memory.h                                 |   6 +
 24 files changed, 850 insertions(+), 302 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
Signature · 7 lines
1.8.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox