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-reporepo: using cache for: oe-reponot 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 foundNo match for argument: kernel-module-xen-blkbackError: 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
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)
Hi YH
Thanks.
yes after setting the above bootargs i`m able to run yocto through nfs and tftp.
but now i`m tried to run xen with yocto.
i build the yocto with r-car m3 bsp and output dtb file for me is r8a77961-ulcb-m3ulcb.dtb .
first question
is this correct ?? as per link for salvator -xs borad dtb file has xen in name.
i also build xen as per step and build successfully but when i tried to run it hangs after starting kernel.
below are logs...
=> printenvbaudrate=115200bootargs==rw root=/dev/nfs nfsroot=192.168.0.173:/nfs/m3ulcb,tcp,v3 ip=192.168.0.117bootargs_emmc=rw root=/dev/mmcblk0p1 rootfstype=ext4 rootwait consoleblank=0 log_buf_len=1Mbootargs_sd0=rw root=/dev/mmcblk1p1 rootfstype=ext4 rootwait consoleblank=0 log_buf_len=1Mbootargs_tftp_yocto==rw root=/dev/nfs nfsroot=192.168.0.173:/nfs/m3ulcb,tcp,v3 ip=192.168.0.117bootcmd_emmc=setenv bootargs ${bootargs_emmc};ext4load mmc 1:1 0x48080000 /boot/Image; ext4load mmc 1:1 0x48000000 /boot/${dtb}; run booti_cmdbootcmd_sd0=setenv bootargs ${bootargs_sd0};ext4load mmc 0:1 0x48080000 /boot/Image;ext4load mmc 0:1 0x48000000 /boot/${dtb};run booti_cmdbootcmd_tftp=run tftp_xen_load; run tftp_dtb_load; run tftp_kernel_load; run tftp_xenpolicy_load; bootm 0x48080000 - 0x48000000bootcmd_tftp_yocto=setenv bootargs ${bootargs_tftp_yocto}; tftp 0x48080000 /Image; tftp 0x48000000 /r8a77960-ulcb-kf-m3ulcb.dtb; run booti_cmdbootdelay=5booti_cmd=booti 0x48080000 - 0x48000000bootm_cmd=bootm 0x48080000 - 0x48000000dnsip=192.168.0.1dtb=r8a77960-ulcb-kf-m3ulcb.dtbethact=ethernet@e6800000ethaddr=2E:09:0A:06:D2:94fdt_high=0xfffffffffffffffffdtcontroladdr=bbeeffb0fileaddr=8c000000filesize=28c2gatewayip=192.168.0.1initrd_high=0xffffffffffffffffipaddr=192.168.0.117loadaddr=0x58000000netmask=255.255.255.0platform=r8a7796serverip=192.168.0.173stderr=serial@e6e88000stdin=serial@e6e88000stdout=serial@e6e88000tftp_dtb_load=tftp 0x48000000 r8a77961-ulcb-m3ulcb.dtbtftp_kernel_load=tftp 0x8a000000 Imagetftp_xen_load=tftp 0x48080000 xen-uImagetftp_xenpolicy_load=tftp 0x8c000000 xenpolicyusb_pgood_delay=2000ver=U-Boot 2020.10 (Jun 29 2021 - 12:42:46 +0000)
Environment size: 1687/131068 bytes=> setenv bootargs rw root=/dev/nfs nfsroot=192.168.0.173:/nfs/m3ulcb,tcp,v3 ip=192.168.0.117=> saveenvSaving Environment to MMC... Writing to MMC(1)... OK=> tftp 0x48000000 r8a77961-ulcb-m3ulcb.dtbUsing ethernet@e6800000 deviceTFTP from server 192.168.0.173; our IP address is 192.168.0.117Filename 'r8a77961-ulcb-m3ulcb.dtb'.Load address: 0x48000000Loading: ##### 2 MiB/sdoneBytes transferred = 68371 (10b13 hex)=> tftp 0x8a000000 ImageUsing ethernet@e6800000 deviceTFTP from server 192.168.0.173; our IP address is 192.168.0.117Filename 'Image'.Load address: 0x8a000000Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################################# 4 MiB/sdoneBytes transferred = 33102336 (1f91a00 hex)=> tftp 0x48080000 xen-uImageUsing ethernet@e6800000 deviceTFTP from server 192.168.0.173; our IP address is 192.168.0.117Filename 'xen-uImage'.Load address: 0x48080000Loading: ################################################################# ######### 3.5 MiB/sdoneBytes transferred = 1081416 (108048 hex)=> tftp 0x8c000000 xenpolicyUsing ethernet@e6800000 deviceTFTP from server 192.168.0.173; our IP address is 192.168.0.117Filename 'xenpolicy'.Load address: 0x8c000000Loading: # 565.4 KiB/sdoneBytes transferred = 10434 (28c2 hex)=> bootm 0x48080000 - 0x48000000## Booting kernel from Legacy Image at 48080000 ... Image Name: XEN Image Type: AArch64 Linux Kernel Image (uncompressed) Data Size: 1081352 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 Using Device Tree in place at 0000000048000000, end 0000000048013b12Overlap found: 0x480000000..0x4ffffffff / 0x480000000..0x4ffffffffOverlap found: 0x600000000..0x6ffffffff / 0x600000000..0x6ffffffff
Starting kernel ...
Hi, kallz
I think it needs to create new devicetree r8a77961-ulcb-kf-xen.dtb for booting Xen.
According to salvator's dts file, it has very simple structure.So, replacing "salvator" with "ulcb" may be enough.https://github.com/xen-troops/meta-renesas/blob/v5.1.0_xen/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/r8a77951-salvator-xs-xen.dts
Currently, there is only devicetree for salvator-xs with r8a7795 SoC in xen-troops/meta-renesas.So, Supporting r8a7796 SoC may be required some modification.
Do you have any updates?
Hi, This question has been opened but there is no reply for a long time. We have a tentative answer already, so I will close this question.If you have any updates or want to ask another question, please post new question.