Skip to content
  • Philippe Mathieu-Daudé's avatar
    f375ad6a
    BootLinuxConsoleTest: Test nanoMIPS kernels on the I7200 CPU · f375ad6a
    Philippe Mathieu-Daudé authored
    
    
    Similar to the x86_64/pc test, it boots a Linux kernel on a Malta
    machine and verify the serial is working.
    
    Use the documentation added in commit f7d257cb to test
    nanoMIPS kernels and the I7200 CPU.
    
    This test can be run using:
    
      $ avocado --show=console run -t arch:mipsel tests/acceptance/boot_linux_console.py
      console: [    0.000000] Linux version 4.15.18-00432-gb2eb9a8b (emubuild@mipscs563) (gcc version 6.3.0 (Codescape GNU Tools 2018.04-02 for nanoMIPS Linux)) #1 SMP Wed Jun 27 11:10:08 PDT 2018
      console: [    0.000000] GCRs appear to have been moved (expected them at 0x1fbf8000)!
      console: [    0.000000] GCRs appear to have been moved (expected them at 0x1fbf8000)!
      console: [    0.000000] CPU0 revision is: 00010000 (MIPS GENERIC QEMU)
      console: [    0.000000] MIPS: machine is mti,malta
      console: [    0.000000] Determined physical RAM map:
      console: [    0.000000]  memory: 08000000 @ 00000000 (usable)
      console: [    0.000000] earlycon: ns16550a0 at I/O port 0x3f8 (options '38400n8')
      console: [    0.000000] bootconsole [ns16550a0] enabled
      console: [    0.000000] User-defined physical RAM map:
      console: [    0.000000]  memory: 10000000 @ 00000000 (usable)
      console: [    0.000000] Initrd not found or empty - disabling initrd
      console: [    0.000000] MIPS CPS SMP unable to proceed without a CM
      console: [    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
      console: [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
      console: [    0.000000] This processor doesn't support highmem. -262144k highmem ignored
      console: [    0.000000] Zone ranges:
      console: [    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
      console: [    0.000000]   HighMem  empty
      console: [    0.000000] Movable zone start for each node
      console: [    0.000000] Early memory node ranges
      console: [    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
      console: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
      console: [    0.000000] random: get_random_bytes called from start_kernel+0x60/0x2f0 with crng_init=0
      console: [    0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s36620 r8192 d20724 u65536
      console: [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
      console: [    0.000000] Kernel command line: printk.time=0 mem=256m@@0x0 console=ttyS0 earlycon
    
    Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
    Message-Id: <20190520231910.12184-3-f4bug@amsat.org>
    Acked-by: default avatarAleksandar Markovic <amarkovic@wavecomp.com>
    Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
    f375ad6a
    BootLinuxConsoleTest: Test nanoMIPS kernels on the I7200 CPU
    Philippe Mathieu-Daudé authored
    
    
    Similar to the x86_64/pc test, it boots a Linux kernel on a Malta
    machine and verify the serial is working.
    
    Use the documentation added in commit f7d257cb to test
    nanoMIPS kernels and the I7200 CPU.
    
    This test can be run using:
    
      $ avocado --show=console run -t arch:mipsel tests/acceptance/boot_linux_console.py
      console: [    0.000000] Linux version 4.15.18-00432-gb2eb9a8b (emubuild@mipscs563) (gcc version 6.3.0 (Codescape GNU Tools 2018.04-02 for nanoMIPS Linux)) #1 SMP Wed Jun 27 11:10:08 PDT 2018
      console: [    0.000000] GCRs appear to have been moved (expected them at 0x1fbf8000)!
      console: [    0.000000] GCRs appear to have been moved (expected them at 0x1fbf8000)!
      console: [    0.000000] CPU0 revision is: 00010000 (MIPS GENERIC QEMU)
      console: [    0.000000] MIPS: machine is mti,malta
      console: [    0.000000] Determined physical RAM map:
      console: [    0.000000]  memory: 08000000 @ 00000000 (usable)
      console: [    0.000000] earlycon: ns16550a0 at I/O port 0x3f8 (options '38400n8')
      console: [    0.000000] bootconsole [ns16550a0] enabled
      console: [    0.000000] User-defined physical RAM map:
      console: [    0.000000]  memory: 10000000 @ 00000000 (usable)
      console: [    0.000000] Initrd not found or empty - disabling initrd
      console: [    0.000000] MIPS CPS SMP unable to proceed without a CM
      console: [    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
      console: [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
      console: [    0.000000] This processor doesn't support highmem. -262144k highmem ignored
      console: [    0.000000] Zone ranges:
      console: [    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
      console: [    0.000000]   HighMem  empty
      console: [    0.000000] Movable zone start for each node
      console: [    0.000000] Early memory node ranges
      console: [    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
      console: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
      console: [    0.000000] random: get_random_bytes called from start_kernel+0x60/0x2f0 with crng_init=0
      console: [    0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s36620 r8192 d20724 u65536
      console: [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
      console: [    0.000000] Kernel command line: printk.time=0 mem=256m@@0x0 console=ttyS0 earlycon
    
    Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
    Message-Id: <20190520231910.12184-3-f4bug@amsat.org>
    Acked-by: default avatarAleksandar Markovic <amarkovic@wavecomp.com>
    Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
Loading