Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

cache.c

Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Heiko Schocher's avatar
    95c6f6d3
    ARM V7 (OMAP): add data cache support, test on Beagle board · 95c6f6d3
    Heiko Schocher authored
    
    Add data cache support for ARM V7 systems. Used cache flush
    functions from linux:arch/arm/mm/cache-v7.S developed from
    Catalin Marinas.
    
    Enable "cache" command on Beagle board and test performance.
    
        Test 1: Loading 127 MB of data from NAND flash into RAM:
    
        Instr. Cache	off	on	on
          Data Cache	off	off	on
        --------------------------------------------------
        Beagle (Cortex A8)	116s	106s	30.3s	= x 3.8
    
        Test 2: uncompressing a gzipped image from RAM to RAM
                (size compressed: 6.5 MiB, uncompressed: 35 MiB):
    
        Instr. Cache	off	on	on
          Data Cache	off	off	on
        --------------------------------------------------
        Beagle (Cortex A8)	1.84s	1.64s	0.12s	= x 15.3
    
    Portions of this work were supported by funding from
    the CE Linux Forum.
    
    Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
    Reviewed-by: default avatarBen <Gardiner&lt;bengardiner@nanometrics.ca>
    95c6f6d3
    History
    ARM V7 (OMAP): add data cache support, test on Beagle board
    Heiko Schocher authored
    
    Add data cache support for ARM V7 systems. Used cache flush
    functions from linux:arch/arm/mm/cache-v7.S developed from
    Catalin Marinas.
    
    Enable "cache" command on Beagle board and test performance.
    
        Test 1: Loading 127 MB of data from NAND flash into RAM:
    
        Instr. Cache	off	on	on
          Data Cache	off	off	on
        --------------------------------------------------
        Beagle (Cortex A8)	116s	106s	30.3s	= x 3.8
    
        Test 2: uncompressing a gzipped image from RAM to RAM
                (size compressed: 6.5 MiB, uncompressed: 35 MiB):
    
        Instr. Cache	off	on	on
          Data Cache	off	off	on
        --------------------------------------------------
        Beagle (Cortex A8)	1.84s	1.64s	0.12s	= x 15.3
    
    Portions of this work were supported by funding from
    the CE Linux Forum.
    
    Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
    Reviewed-by: default avatarBen <Gardiner&lt;bengardiner@nanometrics.ca>