Skip to content
  • Andrew Jones's avatar
    arm: initial drop · 5e61cba0
    Andrew Jones authored
    
    
    This is the initial drop of the arm test framework and a first test
    that just checks that setup completed (a selftest). kvm isn't needed
    to run this test unless testing with smp > 1.
    
    Try it out with
      yum install gcc-arm-linux-gnu
      export QEMU=[qemu with mach-virt and chr-testdev]
      ./configure --cross-prefix=arm-linux-gnu- --arch=arm
      make
      ./run_tests.sh
    
    Signed-off-by: Andrew Jones's avatarAndrew Jones <drjones@redhat.com>
    Reviewed-by: default avatarChristoffer Dall <christoffer.dall@linaro.org>
    ---
    v7:
      - remove memregions (reworked them as phys_alloc in lib/alloc)
      - selftest: non-functional change: s/argv[i]/var/
      - lib/argv:setup_args don't dereference NULL
    v6:
      - fixed setup.c comment [Christoffer Dall]
      - changed arm/run to use chr-testdev instead of virtio-testdev
      - add align parameter to memregion_new, setup alloc_ops
    v5:
      - memregions: check freemem_start is in bounds and document
      - selftest: rename testnam => testname and properly init it
      - io.c: use writeb instead of writel in puts() and use ioremap
      - arm/run script update for new qemu ('-device ?' now requires -machine)
      - couple other minor changes to setup.c and io.c [Christoffer Dall]
    v4:
      - moved fdt to just after stacktop (it was in the middle of free memory)
      - switched from using heap to memregions
      - get nr_cpus and added smp=<num> test
      - added barrier.h
      - use new report()/report_summary()
      - config/config-arm.mak cleanup
    5e61cba0
Loading