Skip to content
  • Jiaxun Yang's avatar
    45702729
    tests/acceptance: Test boot_linux_console for fuloong2e · 45702729
    Jiaxun Yang authored
    
    
    The kernel comes from debian archive so it's trusted.
    
    Invoking the test can be done as follows:
    
      $ avocado --show=app,console run -t machine:fuloong2e tests/acceptance/
       (1/1) tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_mips64el_fuloong2e:
      console: [    0.000000] Initializing cgroup subsys cpuset
      console: [    0.000000] Initializing cgroup subsys cpu
      console: [    0.000000] Initializing cgroup subsys cpuacct
      console: [    0.000000] Linux version 3.16.0-6-loongson-2e (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 Debian 3.16.56-1+deb8u1 (2018-05-08)
      console: [    0.000000] memsize=256, highmemsize=0
      console: [    0.000000] CpuClock = 533080000
      console: [    0.000000] bootconsole [early0] enabled
      console: [    0.000000] CPU0 revision is: 00006302 (ICT Loongson-2)
      console: [    0.000000] FPU revision is: 00000501
      console: [    0.000000] Checking for the multiply/shift bug... no.
      console: [    0.000000] Checking for the daddiu bug... no.
      console: [    0.000000] Determined physical RAM map:
      console: [    0.000000]  memory: 0000000010000000 @ 0000000000000000 (usable)
      console: [    0.000000]  memory: 0000000004000000 @ 0000000010000000 (reserved)
      console: [    0.000000]  memory: 0000000003ffffff @ 000000001c000001 (reserved)
      console: [    0.000000] Initrd not found or empty - disabling initrd
      console: [    0.000000] Zone ranges:
      console: [    0.000000]   DMA      [mem 0x00000000-0x00ffffff]
      console: [    0.000000]   Normal   [mem 0x01000000-0x0fffffff]
      console: [    0.000000] Movable zone start for each node
      console: [    0.000000] Early memory node ranges
      console: [    0.000000]   node   0: [mem 0x00000000-0x0fffffff]
      console: [    0.000000] Reserving 0MB of memory at 0MB for crashkernel
      console: [    0.000000] Primary instruction cache 64kB, VIPT, direct mapped, linesize 32 bytes.
      console: [    0.000000] Primary data cache 64kB, 4-way, VIPT, no aliases, linesize 32 bytes
      console: [    0.000000] Unified secondary cache 512kB 4-way, linesize 32 bytes.
      console: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16327
      console: [    0.000000] Kernel command line: printk.time=0 console=ttyS0
      PASS (2.27 s)
    
    Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
    Reviewed-by: default avatarWainer dos Santos Moschetta <wainersm@redhat.com>
    Reviewed-by: default avatarWillian Rampazzo <willianr@redhat.com>
    Reviewed-by: default avatarHuacai Chen <chenhuacai@kernel.org>
    Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
    Tested-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
    Message-Id: <20201224031750.52146-9-jiaxun.yang@flygoat.com>
    [PMD: Added command line example]
    Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
    45702729
    tests/acceptance: Test boot_linux_console for fuloong2e
    Jiaxun Yang authored
    
    
    The kernel comes from debian archive so it's trusted.
    
    Invoking the test can be done as follows:
    
      $ avocado --show=app,console run -t machine:fuloong2e tests/acceptance/
       (1/1) tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_mips64el_fuloong2e:
      console: [    0.000000] Initializing cgroup subsys cpuset
      console: [    0.000000] Initializing cgroup subsys cpu
      console: [    0.000000] Initializing cgroup subsys cpuacct
      console: [    0.000000] Linux version 3.16.0-6-loongson-2e (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 Debian 3.16.56-1+deb8u1 (2018-05-08)
      console: [    0.000000] memsize=256, highmemsize=0
      console: [    0.000000] CpuClock = 533080000
      console: [    0.000000] bootconsole [early0] enabled
      console: [    0.000000] CPU0 revision is: 00006302 (ICT Loongson-2)
      console: [    0.000000] FPU revision is: 00000501
      console: [    0.000000] Checking for the multiply/shift bug... no.
      console: [    0.000000] Checking for the daddiu bug... no.
      console: [    0.000000] Determined physical RAM map:
      console: [    0.000000]  memory: 0000000010000000 @ 0000000000000000 (usable)
      console: [    0.000000]  memory: 0000000004000000 @ 0000000010000000 (reserved)
      console: [    0.000000]  memory: 0000000003ffffff @ 000000001c000001 (reserved)
      console: [    0.000000] Initrd not found or empty - disabling initrd
      console: [    0.000000] Zone ranges:
      console: [    0.000000]   DMA      [mem 0x00000000-0x00ffffff]
      console: [    0.000000]   Normal   [mem 0x01000000-0x0fffffff]
      console: [    0.000000] Movable zone start for each node
      console: [    0.000000] Early memory node ranges
      console: [    0.000000]   node   0: [mem 0x00000000-0x0fffffff]
      console: [    0.000000] Reserving 0MB of memory at 0MB for crashkernel
      console: [    0.000000] Primary instruction cache 64kB, VIPT, direct mapped, linesize 32 bytes.
      console: [    0.000000] Primary data cache 64kB, 4-way, VIPT, no aliases, linesize 32 bytes
      console: [    0.000000] Unified secondary cache 512kB 4-way, linesize 32 bytes.
      console: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16327
      console: [    0.000000] Kernel command line: printk.time=0 console=ttyS0
      PASS (2.27 s)
    
    Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
    Reviewed-by: default avatarWainer dos Santos Moschetta <wainersm@redhat.com>
    Reviewed-by: default avatarWillian Rampazzo <willianr@redhat.com>
    Reviewed-by: default avatarHuacai Chen <chenhuacai@kernel.org>
    Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
    Tested-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
    Message-Id: <20201224031750.52146-9-jiaxun.yang@flygoat.com>
    [PMD: Added command line example]
    Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Loading