How to build xen + yocto for rcar m3 + kingfisher board.

currently, i`m following this link  https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Salvator-X

but there are some issue but not able to find a solution how to resolve that. 

detail error is here : https://www.yoctoproject.org/pipermail/meta-virtualization/2016-September/002201.html

Added oe-repo repo from /home/test_user/workspace/renesas/yocto_5_1_0/m3ulcb/build/tmp/work/m3ulcb-poky-linux/xen-image-minimal/1.0-r0/oe-rootfs-repo
repo: using cache for: oe-repo
not found other for:
not found modules for:
not found deltainfo for:
not found updateinfo for:
oe-repo: using metadata from Thu 28 Oct 2021 11:05:51 AM UTC.
Last metadata expiration check: 0:00:01 ago on Thu 28 Oct 2021 11:05:51 AM UTC.
No module defaults found
No match for argument: kernel-module-xen-blkback
Error: Unable to find a match

same error also for xen-gntdev, xen-wdt

please let me know if any link that i can follow or i can solve,     let me know also if any info required

Parents
  • below is the build configuration 


    Build Configuration:
    BB_VERSION = "1.46.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "universal"
    TARGET_SYS = "aarch64-poky-linux"
    MACHINE = "m3ulcb"
    DISTRO = "poky"
    DISTRO_VERSION = "3.1.4"
    TUNE_FEATURES = "aarch64 cortexa57-cortexa53"
    TARGET_FPU = ""
    SOC_FAMILY = "rcar-gen3:r8a7796"
    meta
    meta-poky
    meta-yocto-bsp = "HEAD:424296bf9bb4bae27febf91bce0118df09ce5fa1"
    meta-rcar-gen3 = "HEAD:fd8ab2bb1b5ca98483c6f4aecf09a85c4d6bc016"
    meta-python
    meta-oe = "HEAD:f2d02cb71eaff8eb285a1997b30be52486c160ae"
    meta-java = "dunfell:6e84638d77ac921aac46649095bca5ddbde94d2a"
    meta-filesystems = "HEAD:f2d02cb71eaff8eb285a1997b30be52486c160ae"
    meta-selinux = "dunfell:46bcf059a131843e18df65056de520ab24861182"
    meta-networking = "HEAD:f2d02cb71eaff8eb285a1997b30be52486c160ae"
    meta-virtualization = "dunfell:b556bc7953b4294fb65520b9ed4663cbdeff3607

  • Hi,

    The link which you reffered is too old.

    Maybe, the following helps you for your refference link. it is a newer link.

    Xen ARM with Virtualization Extensions/Salvator-XS - Xen (xenproject.org)

  • Thanks for reply 

    i followed the step as mention in the link and running the following command to configure

    XEN_TARGET_ARCH=arm64 ./configure --host=arm-linux-gnueabihf

    but it give error 

    checking build system type... x86_64-pc-linux-gnu
    checking host system type... arm-unknown-linux-gnueabihf
    Will build the following subsystems:
    xen
    tools
    docs
    configure: creating ./config.status
    config.status: creating config/Toplevel.mk
    config.status: creating config/Paths.mk
    === configuring in tools (/home/kallz/workspace/projects/xen/xen/tools)
    configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--host=arm-linux-gnueabihf' 'host_alias=arm-linux-gnueabihf' --cache-file=/dev/null --srcdir=.
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... arm-unknown-linux-gnueabihf
    checking for arm-linux-gnueabihf-gcc... arm-linux-gnueabihf-gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... yes
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether arm-linux-gnueabihf-gcc accepts -g... yes
    checking for arm-linux-gnueabihf-gcc option to accept ISO C89... none needed
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... 64
    checking for arm-linux-gnueabihf-gcc... (cached) arm-linux-gnueabihf-gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether arm-linux-gnueabihf-gcc accepts -g... (cached) yes
    checking for arm-linux-gnueabihf-gcc option to accept ISO C89... (cached) none needed
    checking whether make sets $(MAKE)... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for flex... /usr/bin/flex
    checking for abi-dumper... no
    checking for perl... /usr/bin/perl
    checking for awk... /usr/bin/awk
    checking for arm-linux-gnueabihf-ocamlc... no
    checking for ocamlc... ocamlc
    configure: WARNING: using cross tools not prefixed with host triplet
    OCaml version is 4.08.1
    OCaml library path is /usr/lib/ocaml
    checking for arm-linux-gnueabihf-ocamlopt... no
    checking for ocamlopt... ocamlopt
    checking for arm-linux-gnueabihf-ocamlc.opt... no
    checking for ocamlc.opt... ocamlc.opt
    checking for arm-linux-gnueabihf-ocamlopt.opt... no
    checking for ocamlopt.opt... ocamlopt.opt
    checking for arm-linux-gnueabihf-ocaml... no
    checking for ocaml... ocaml
    checking for arm-linux-gnueabihf-ocamldep... no
    checking for ocamldep... ocamldep
    checking for arm-linux-gnueabihf-ocamlmktop... no
    checking for ocamlmktop... ocamlmktop
    checking for arm-linux-gnueabihf-ocamlmklib... no
    checking for ocamlmklib... ocamlmklib
    checking for arm-linux-gnueabihf-ocamldoc... no
    checking for ocamldoc... ocamldoc
    checking for arm-linux-gnueabihf-ocamlbuild... no
    checking for ocamlbuild... no
    checking for arm-linux-gnueabihf-ocamlfind... no
    checking for ocamlfind... ocamlfind
    checking for gawk... /usr/bin/awk
    checking for arm-linux-gnueabihf-go... no
    checking for go... no
    checking for arm-linux-gnueabihf-checkpolicy... no
    checking for checkpolicy... no
    checking for bash... /bin/bash
    checking for python3... python3
    checking for python3... /usr/bin/python3
    checking for python3... /usr/bin/python3
    checking for python version >= 2.6 ... yes
    checking how to run the C preprocessor... arm-linux-gnueabihf-gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking uuid/uuid.h usability... yes
    checking uuid/uuid.h presence... yes
    checking for uuid/uuid.h... yes
    checking for uuid_clear in -luuid... no
    checking uuid.h usability... no
    checking uuid.h presence... no
    checking for uuid.h... no
    configure: error: cannot find a valid uuid library
    configure: error: ./configure failed for tools

  • Hi kallz,

    I tried to run configure as following the link[1].
    And, I didn't get any errors.

    I used the command below:
    XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- ./configure
    Note: I needed to install some packages(bin86, bcc, iasl, libyajl-dev and so on).
    I think " --host=arm-linux-gnueabihf" option is not mentioned in the link[1].
    Why do you use this option?

    [1]: wiki.xenproject.org/.../Salvator-XS

  • Hi Y.H.

    thanks for the reply.

    ./configure --help         command output is below

    System types:
    --build=BUILD configure for building on BUILD [guessed]
    --host=HOST cross-compile to build programs to run on HOST [BUILD]

    from command output as per my understanding --host should be arm64 arch either it will build for another arch.

    so i run ./configure with --host option. And I tried with the below two commands

    •  XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- ./configure  --host=arm-linux-gnueabi


    •  XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- ./configure  --host=arm-linux-gnueabihf   

    As per your command, it builds for other arch and doesn`t cross-compile

           XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- ./configure

    logs:

    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    Will build the following subsystems:
    xen
    tools
    stubdom
    docs
    configure: creating ./config.status
    config.status: creating config/Toplevel.mk
    config.status: creating config/Paths.mk
    === configuring in tools (/home/harpreet/workspace/projects/xen/xen/tools)
    configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=.
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
     

    see the logs that I bold from the output.  it's built for x86_64 arch, not for arm64 and its did not cross-compiling.

    when you run this on Renesas board I`m getting bad Linux image magic!

  • Hi kallz,

    I tried to run xen on H3SK.

    Firstly, I added r8a77951-ulcb-xen.dts and build Yocto BSP.
    Then, I built xen as following code as same as the instruction of xen wiki:

    # Get xen sources
    git clone git://xenbits.xenproject.org/xen.git
    cd xen
    git checkout 73c932d0ea43ddf904db9429811788480c4cb816 -b v4.16_xen
    # Configure xen
    export CROSS_COMPILE=aarch64-linux-gnu-
    XEN_TARGET_ARCH=arm64 ./configure
    cd xen
    make menuconfig XEN_TARGET_ARCH=arm64
    # Make Xen
    cd ..
    make xen XEN_TARGET_ARCH=arm64
    mkimage -A arm64 -C none -T kernel -a 0x78080000 -e 0x78080000 -n "XEN" -d xen/xen xen-uImage
    make -C tools/flask/policy

    Finally, xen runs on my H3SK!
    I attach my log at that time.

    So, I didn't get "bad Linux image magic!".

    NOTICE:  BL2: R-Car Gen3 Initial Program Loader(CA57) Rev.3.0.1
    NOTICE:  BL2: PRR is R-Car H3 Ver.3.0
    NOTICE:  BL2: Board is Starter Kit Premier Rev.2.0
    NOTICE:  BL2: Boot device is HyperFlash(80MHz)
    NOTICE:  BL2: LCM state is CM
    NOTICE:  AVS setting succeeded. DVFS_SetVID=0x53
    NOTICE:  BL2: DDR3200(rev.0.41)
    NOTICE:  BL2: [COLD_BOOT]
    NOTICE:  BL2: DRAM Split is 4ch(DDR f)
    NOTICE:  BL2: QoS is default setting(rev.0.11)
    NOTICE:  BL2: DRAM refresh interval 1.95 usec
    NOTICE:  BL2: Periodic Write DQ Training
    NOTICE:  BL2: CH0: 400000000 - 47fffffff, 2 GiB
    NOTICE:  BL2: CH1: 500000000 - 57fffffff, 2 GiB
    NOTICE:  BL2: CH2: 600000000 - 67fffffff, 2 GiB
    NOTICE:  BL2: CH3: 700000000 - 77fffffff, 2 GiB
    NOTICE:  BL2: FDT at 0xe63257c8
    NOTICE:  BL2: v2.3():7638cfbe6-dirty
    NOTICE:  BL2: Built : 07:43:07, Oct 25 2021
    NOTICE:  BL2: Normal boot
    NOTICE:  BL2: dst=0xe6325300 src=0x8180000 len=512(0x200)
    NOTICE:  BL2: dst=0x43f00000 src=0x8180400 len=6144(0x1800)
    NOTICE:  rcar_file_len: len: 0x0003e000
    NOTICE:  BL2: dst=0x44000000 src=0x81c0000 len=253952(0x3e000)
    NOTICE:  rcar_file_len: len: 0x00200000
    NOTICE:  BL2: dst=0x44100000 src=0x8200000 len=2097152(0x200000)
    NOTICE:  rcar_file_len: len: 0x00100000
    NOTICE:  BL2: dst=0x50000000 src=0x8640000 len=1048576(0x100000)
    NOTICE:  BL2: Booting BL31
    
    
    U-Boot 2020.10 (Oct 25 2021 - 07:45:09 +0000)
    
    CPU: Renesas Electronics R8A7795 rev 3.0
    Model: Renesas H3ULCB board based on r8a77950
    DRAM:  7.9 GiB
    MMC:   sd@ee100000: 0, sd@ee140000: 1
    Loading Environment from MMC... OK
    In:    serial@e6e88000
    Out:   serial@e6e88000
    Err:   serial@e6e88000
    Net:   eth0: ethernet@e6800000
    Hit any key to stop autoboot:  2  1  0 
    ethernet@e6800000 Waiting for PHY auto negotiation to complete.......... done
    Using ethernet@e6800000 device
    TFTP from server 192.168.1.1; our IP address is 192.168.1.2
    Filename '/h3ulcb_xen/r8a77951-ulcb-xen.dtb'.
    Load address: 0x48000000
    Loading: *######
    	 5.9 MiB/s
    done
    Bytes transferred = 79860 (137f4 hex)
    Using ethernet@e6800000 device
    TFTP from server 192.168.1.1; our IP address is 192.168.1.2
    Filename '/Image'.
    Load address: 0x8a000000
    Loading: *#################################################################
    	 #################################################################
    (snip)
    	 #################################################################
    	 ##########################################################
    	 12.7 MiB/s
    done
    Bytes transferred = 33286656 (1fbea00 hex)
    Using ethernet@e6800000 device
    TFTP from server 192.168.1.1; our IP address is 192.168.1.2
    Filename '/h3ulcb_xen/xen-uImage'.
    Load address: 0x48080000
    Loading: *#################################################################
    	 #########
    	 11.1 MiB/s
    done
    Bytes transferred = 1081520 (1080b0 hex)
    Using ethernet@e6800000 device
    TFTP from server 192.168.1.1; our IP address is 192.168.1.2
    Filename '/h3ulcb_xen/xenpolicy-4.16-unstable'.
    Load address: 0x8c000000
    Loading: *#
    	 3.4 MiB/s
    done
    Bytes transferred = 10762 (2a0a hex)
    ## Booting kernel from Legacy Image at 48080000 ...
       Image Name:   XEN
       Image Type:   AArch64 Linux Kernel Image (uncompressed)
       Data Size:    1081456 Bytes = 1 MiB
       Load Address: 78080000
       Entry Point:  78080000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 48000000
       Booting using the fdt blob at 0x48000000
       Loading Kernel Image
       Loading Device Tree to 0000000053fe9000, end 0000000053fff7f3 ... OK
    Overlap found: 0x500000000..0x57fffffff / 0x500000000..0x53fffffff
    Overlap found: 0x600000000..0x67fffffff / 0x600000000..0x63fffffff
    Overlap found: 0x700000000..0x77fffffff / 0x700000000..0x73fffffff
    
    Starting kernel ...
    
     Xen 4.16-unstable
    (XEN) Xen version 4.16-unstable (yuya@) (aarch64-linux-gnu-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0) debug=y Wed Oct 27 16:46:16 JST 2021
    (XEN) Latest ChangeSet: Tue Jul 13 02:31:41 2021 +0100 git:73c932d0ea
    (XEN) build-id: a26515ca01339accb0a65386073d299828c4ef8f
    (XEN) Processor: 00000000411fd073: "ARM Limited", variant: 0x1, part 0xd07,rev 0x3
    (XEN) 64-bit Execution:
    (XEN)   Processor Features: 0000000000002222 0000000000000000
    (XEN)     Exception Levels: EL3:64+32 EL2:64+32 EL1:64+32 EL0:64+32
    (XEN)     Extensions: FloatingPoint AdvancedSIMD
    (XEN)   Debug Features: 0000000010305106 0000000000000000
    (XEN)   Auxiliary Features: 0000000000000000 0000000000000000
    (XEN)   Memory Model Features: 0000000000001124 0000000000000000
    (XEN)   ISA Features:  0000000000011120 0000000000000000
    (XEN) 32-bit Execution:
    (XEN)   Processor Features: 0000000000000131:0000000000011011
    (XEN)     Instruction Sets: AArch32 A32 Thumb Thumb-2 Jazelle
    (XEN)     Extensions: GenericTimer Security
    (XEN)   Debug Features: 0000000003010066
    (XEN)   Auxiliary Features: 0000000000000000
    (XEN)   Memory Model Features: 0000000010201105 0000000040000000
    (XEN)                          0000000001260000 0000000002102211
    (XEN)   ISA Features: 0000000002101110 0000000013112111 0000000021232042
    (XEN)                 0000000001112131 0000000000011142 0000000000011121
    (XEN) Using SMC Calling Convention v1.2
    (XEN) Using PSCI v1.1
    (XEN) SMP: Allowing 8 CPUs
    (XEN) enabled workaround for: ARM erratum 1319367
    (XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 8333 KHz
    (XEN) GICv2 initialization:
    (XEN)         gic_dist_addr=00000000f1010000
    (XEN)         gic_cpu_addr=00000000f1020000
    (XEN)         gic_hyp_addr=00000000f1040000
    (XEN)         gic_vcpu_addr=00000000f1060000
    (XEN)         gic_maintenance_irq=25
    (XEN) GICv2: Adjusting CPU interface base to 0xf102f000
    (XEN) GICv2: 512 lines, 8 cpus, secure (IID 0200043b).
    (XEN) XSM Framework v1.0.0 initialized
    (XEN) xsm: Policy len = 0x0000000000010000 start at 0x000000008c000000
    (XEN) Flask:  4 users, 3 roles, 38 types, 2 bools
    (XEN) Flask:  13 classes, 283 rules
    (XEN) Flask:  Starting in enforcing mode.
    (XEN) Using scheduler: SMP Credit Scheduler rev2 (credit2)
    (XEN) Initializing Credit2 scheduler
    (XEN)  load_precision_shift: 18
    (XEN)  load_window_shift: 30
    (XEN)  underload_balance_tolerance: 0
    (XEN)  overload_balance_tolerance: -3
    (XEN)  runqueues arrangement: socket
    (XEN)  cap enforcement granularity: 10ms
    (XEN) load tracking window length 1073741824 ns
    (XEN) Allocated console ring of 32 KiB.
    (XEN) Bringing up CPU1
    (XEN) Bringing up CPU2
    (XEN) Bringing up CPU3
    (XEN) Bringing up CPU4
    (XEN) Bringing up CPU5
    (XEN) Bringing up CPU6
    (XEN) Bringing up CPU7
    (XEN) Brought up 8 CPUs
    (XEN) ipmmu: /soc/mmu@e67b0000: IPMMU context 0 is reserved
    (XEN) ipmmu: /soc/mmu@e67b0000: Registered Root IPMMU
    (XEN) ipmmu: /soc/iommu@e7740000: Registered Cache IPMMU
    (XEN) ipmmu: /soc/iommu@febd0000: Registered Cache IPMMU
    (XEN) ipmmu: /soc/iommu@fe980000: Registered Cache IPMMU
    (XEN) I/O virtualisation enabled
    (XEN)  - Dom0 mode: Relaxed
    (XEN) P2M: 40-bit IPA with 40-bit PA and 8-bit VMID
    (XEN) P2M: 3 levels with order-1 root, VTCR 0x0000000080023558
    (XEN) Scheduling granularity: cpu, 1 CPU per sched-resource
    (XEN) Adding cpu 0 to runqueue 0
    (XEN)  First cpu on runqueue, activating
    (XEN) Adding cpu 1 to runqueue 0
    (XEN) Adding cpu 2 to runqueue 0
    (XEN) Adding cpu 3 to runqueue 0
    (XEN) Adding cpu 4 to runqueue 0
    (XEN) Adding cpu 5 to runqueue 0
    (XEN) Adding cpu 6 to runqueue 0
    (XEN) Adding cpu 7 to runqueue 0
    (XEN) alternatives: Patching with alt table 00000000002dc498 -> 00000000002dccc0
    (XEN) CPU0 will call ARM_SMCCC_ARCH_WORKAROUND_1 on exception entry
    (XEN) CPU3 will call ARM_SMCCC_ARCH_WORKAROUND_1 on exception entry
    (XEN) CPU2 will call ARM_SMCCC_ARCH_WORKAROUND_1 on exception entry
    (XEN) CPU1 will call ARM_SMCCC_ARCH_WORKAROUND_1 on exception entry
    (XEN) *** LOADING DOMAIN 0 ***
    (XEN) Loading d0 kernel from boot module @ 000000008a000000
    (XEN) Allocating 1:1 mappings totalling 2048MB for dom0:
    (XEN) BANK[0] 0x00000048000000-0x00000050000000 (128MB)
    (XEN) BANK[1] 0x00000080000000-0x00000088000000 (128MB)
    (XEN) BANK[2] 0x00000090000000-0x000000c0000000 (768MB)
    (XEN) BANK[3] 0x00000540000000-0x00000580000000 (1024MB)
    (XEN) Grant table range: 0x00000078080000-0x000000780c0000
    (XEN) ipmmu: /soc/mmc@ee100000: Added master device (IPMMU /soc/iommu@e7740000 micro-TLBs 1)
    (XEN) ipmmu: /soc/mmu@e67b0000: d0: Set IPMMU context 1 (pgd 0x765f3a000)
    (XEN) ipmmu: /soc/mmc@ee100000: Using IPMMU context 1
    (XEN) ipmmu: /soc/mmc@ee120000: Added master device (IPMMU /soc/iommu@e7740000 micro-TLBs 1)
    (XEN) ipmmu: /soc/mmc@ee120000: Reusing IPMMU context 1
    (XEN) ipmmu: /soc/mmc@ee140000: Added master device (IPMMU /soc/iommu@e7740000 micro-TLBs 1)
    (XEN) ipmmu: /soc/mmc@ee140000: Reusing IPMMU context 1
    (XEN) ipmmu: /soc/mmc@ee160000: Added master device (IPMMU /soc/iommu@e7740000 micro-TLBs 1)
    (XEN) ipmmu: /soc/mmc@ee160000: Reusing IPMMU context 1
    (XEN) Allocating PPI 16 for event channel interrupt
    (XEN) Loading zImage from 000000008a000000 to 0000000048000000-000000004a000000
    (XEN) Loading d0 DTB to 0x000000004fe00000-0x000000004fe120a2
    (XEN) Initial low memory virq threshold set at 0x4000 pages.
    (XEN) Std. Loglevel: Errors, warnings and info
    (XEN) Guest Loglevel: All
    (XEN) ***************************************************
    (XEN) WARNING: HMP COMPUTING HAS BEEN ENABLED.
    (XEN) It has implications on the security and stability of the system,
    (XEN) unless the cpu affinity of all domains is specified.
    (XEN) ***************************************************
    (XEN) WARNING: SILO mode is not enabled.
    (XEN) It has implications on the security of the system,
    (XEN) unless the communications have been forbidden between
    (XEN) untrusted domains.
    (XEN) ***************************************************
    (XEN) 3... 2... 1... 
    (XEN) *** Serial input to DOM0 (type 'CTRL-a' three times to switch input)
    (XEN) Freed 348kB init memory.
    (XEN) d0v0 Unhandled SMC/HVC: 0x84000050
    (XEN) d0v0 Unhandled SMC/HVC: 0x8600ff01
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER4
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER8
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER12
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER16
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER20
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER24
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER28
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER32
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER36
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER40
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER44
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER48
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER52
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER56
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER60
    (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER0
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd073]
    [    0.000000] Linux version 5.15.1 (yuya@yuya-ubuntu) (aarch64-linux-gnu-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 SMP PREEMPT Sun Nov 7 10:00:21 JST 2021
    [    0.000000] Machine model: Renesas H3ULCB board based on r8a77951, running XEN hypervisor
    [    0.000000] printk: debug: ignoring loglevel setting.
    [    0.000000] Xen 4.16 support found
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000057000000, size 400 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma@57000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000070000000, size 256 MiB
    [    0.000000] OF: reserved mem: initialized node linux,multimedia@70000000, compatible id shared-dma-pool
    [    0.000000] NUMA: No NUMA configuration found
    [    0.000000] NUMA: Faking a node at [mem 0x0000000048000000-0x000000057fffffff]
    [    0.000000] NUMA: NODE_DATA [mem 0x57fa4ac00-0x57fa4cfff]
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000048000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x000000057fffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000048000000-0x000000004fffffff]
    [    0.000000]   node   0: [mem 0x0000000054000000-0x0000000056ffffff]
    [    0.000000]   node   0: [mem 0x0000000057000000-0x0000000087ffffff]
    [    0.000000]   node   0: [mem 0x0000000090000000-0x00000000bfffffff]
    [    0.000000]   node   0: [mem 0x0000000540000000-0x000000057fffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000048000000-0x000000057fffffff]
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.1
    [    0.000000] percpu: Embedded 20 pages/cpu s41112 r8192 d32616 u81920
    [    0.000000] pcpu-alloc: s41112 r8192 d32616 u81920 alloc=20*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: Spectre-v2
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 693504
    [    0.000000] Policy zone: Normal
    [    0.000000] Kernel command line: root=/dev/nfs nfsroot=192.168.1.1:/nfs/h3ulcb_xen,vers=3 ip=dhcp rw rootwait console=hvc0 ignore_loglevel clk_ignore_unused
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x00000000bc000000-0x00000000c0000000] (64MB)
    [    0.000000] Memory: 1940000K/2818048K available (14848K kernel code, 3066K rwdata, 8244K rodata, 6208K init, 496K bss, 206304K reserved, 671744K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=8.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] random: get_random_bytes called from start_kernel+0x478/0x660 with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 8.33MHz (virt).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1ec02923e, max_idle_ns: 440795202125 ns
    [    0.000000] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255496ns
    [    0.000175] Console: colour dummy device 80x25
    [    0.382306] printk: console [hvc0] enabled
    [    0.386523] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.66 BogoMIPS (lpj=33333)
    [    0.396737] pid_max: default: 32768 minimum: 301
    [    0.401446] LSM: Security Framework initializing
    [    0.406126] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.413519] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.423306] xen:grant_table: Grant tables using version 1 layout
    [    0.429283] Grant table initialized
    [    0.432793] xen:events: Using FIFO-based ABI
    [    0.437127] Xen: initializing cpu0
    [    0.440654] rcu: Hierarchical SRCU implementation.
    [    0.446619] Detected Renesas R-Car Gen3 r8a7795 ES3.0
    [    0.453200] EFI services will not be available.
    [    0.457966] smp: Bringing up secondary CPUs ...
    (XEN) d0v1: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER0
    (XEN) d0v2: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER0
    (XEN) d0v3: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER0
    (XEN) d0v4: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER0
    (XEN) d0v5: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER0
    (XEN) d0v6: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER0
    (XEN) d0v7: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER0
    [    0.462854] Detected PIPT I-cache on CPU1
    [    0.469005] Xen: initializing cpu1
    [    0.469057] CPU1: Booted secondary processor 0x0000000001 [0x411fd073]
    (snip)
    [  OK  ] Started Login Service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on hvc0.
    [  OK  ] Reached target Login Prompts.[   13.025679] r
    andom: crng init done
    [   13.030521] random: 7 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
    Poky (Yocto Project Reference Distro) 3.1.4 h3ulcb hvc0
    
    h3ulcb login: root
    [   19.123264] audit: type=1006 audit(1635145248.355:2): pid=340 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
    [   19.135509] audit: type=1300 audit(1635145248.355:2): arch=c00000b7 syscall=64 success=yes exit=1 a0=7 a1=fffffa67a870 a2=1 a3=ffffba2dfa20 items=0 ppid=1 pid=340 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [   19.161677] audit: type=1327 audit(1635145248.355:2): proctitle="(systemd)"
    root@h3ulcb:~# (XEN) *** Serial input to Xen (type 'CTRL-a' three times to switch input)
    (XEN) 'h' pressed -> showing installed handlers
    (XEN)  key '%' (ascii '25') => trap to xendbg
    (XEN)  key '*' (ascii '2a') => print all diagnostics
    (XEN)  key '+' (ascii '2b') => increase log level threshold
    (XEN)  key '-' (ascii '2d') => decrease log level threshold
    (XEN)  key '0' (ascii '30') => dump Dom0 registers
    (XEN)  key 'A' (ascii '41') => toggle alternative key handling
    (XEN)  key 'G' (ascii '47') => toggle host/guest log level adjustment
    (XEN)  key 'H' (ascii '48') => dump heap info
    (XEN)  key 'R' (ascii '52') => reboot machine
    (XEN)  key 'a' (ascii '61') => dump timer queues
    (XEN)  key 'd' (ascii '64') => dump registers
    (XEN)  key 'e' (ascii '65') => dump evtchn info
    (XEN)  key 'g' (ascii '67') => print grant table usage
    (XEN)  key 'h' (ascii '68') => show this message
    (XEN)  key 'm' (ascii '6d') => memory info
    (XEN)  key 'o' (ascii '6f') => dump iommu page tables
    (XEN)  key 'q' (ascii '71') => dump domain (and guest debug) info
    (XEN)  key 'r' (ascii '72') => dump run queues
    (XEN)  key 't' (ascii '74') => display multi-cpu clock info
    (XEN)  key 'w' (ascii '77') => synchronously dump console ring buffer (dmesg)
    (XEN) 'R' pressed -> rebooting machine
    NOTICE:  BL2: R-Car Gen3 Initial Program Loader(CA57) Rev.3.0.1
    NOTICE:  BL2: PRR is R-Car H3 Ver.3.0
    NOTICE:  BL2: Board is Starter Kit Premier Rev.2.0
    NOTICE:  BL2: Boot device is HyperFlash(80MHz)
    NOTICE:  BL2: LCM state is CM
    NOTICE:  AVS setting succeeded. DVFS_SetVID=0x53
    NOTICE:  BL2: DDR3200(rev.0.41)
    NOTICE:  BL2: [COLD_BOOT]
    NOTICE:  BL2: DRAM Split is 4ch(DDR f)
    NOTICE:  BL2: QoS is default setting(rev.0.11)
    NOTICE:  BL2: DRAM refresh interval 1.95 usec
    NOTICE:  BL2: Periodic Write DQ Training
    NOTICE:  BL2: CH0: 400000000 - 47fffffff, 2 GiB
    NOTICE:  BL2: CH1: 500000000 - 57fffffff, 2 GiB
    NOTICE:  BL2: CH2: 600000000 - 67fffffff, 2 GiB
    NOTICE:  BL2: CH3: 700000000 - 77fffffff, 2 GiB
    NOTICE:  BL2: FDT at 0xe63257c8
    NOTICE:  BL2: v2.3():7638cfbe6-dirty
    NOTICE:  BL2: Built : 07:43:07, Oct 25 2021
    NOTICE:  BL2: Normal boot
    NOTICE:  BL2: dst=0xe6325300 src=0x8180000 len=512(0x200)
    NOTICE:  BL2: dst=0x43f00000 src=0x8180400 len=6144(0x1800)
    NOTICE:  rcar_file_len: len: 0x0003e000
    NOTICE:  BL2: dst=0x44000000 src=0x81c0000 len=253952(0x3e000)
    NOTICE:  rcar_file_len: len: 0x00200000
    NOTICE:  BL2: dst=0x44100000 src=0x8200000 len=2097152(0x200000)
    NOTICE:  rcar_file_len: len: 0x00100000
    NOTICE:  BL2: dst=0x50000000 src=0x8640000 len=1048576(0x100000)
    NOTICE:  BL2: Booting BL31
    
    
    U-Boot 2020.10 (Oct 25 2021 - 07:45:09 +0000)
    
    CPU: Renesas Electronics R8A7795 rev 3.0
    Model: Renesas H3ULCB board based on r8a77950
    DRAM:  7.9 GiB
    MMC:   sd@ee100000: 0, sd@ee140000: 1
    Loading Environment from MMC... OK
    In:    serial@e6e88000
    Out:   serial@e6e88000
    Err:   serial@e6e88000
    Net:   eth0: ethernet@e6800000
    Hit any key to stop autoboot:  2  0 
    => 

  • thanks for reply.

    i have an r-car m3 board. i will try again on my broad using exact same step and get logs.

Reply Children
No Data