Subject: Re: Starting Xen guest on Raspberry-Pi4. #meta-virtualization #yocto To: meta-virtualization@lists.yoctoproject.org From: "Ashish" X-Originating-Location: Thane, Maharashtra, IN (139.5.45.149) X-Originating-Platform: Linux Chrome 83 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 21 Jul 2020 21:33:15 -0700 References: In-Reply-To: Message-ID: <4148.1595392395745845677@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="YLRFWHKS47UvqgH49MV1" --YLRFWHKS47UvqgH49MV1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Siddharth , 1) With inputs from Christopher (@ https://lists.yoctoproject.org/g/meta-v= irtualization/message/5464 ) ( https://lists.yoctoproject.org/g/meta-virtua= lization/message/5464 ) we can generate an Xen image with kernel 5.4 following=C2=A0 : poky: 18b6b2ae819cbf0ef3858944b4cd02ab74df6607 meta-openembedded: 463f9a3ef0935d772a0be0437a8c09df64ed2f07 meta-raspberrypi: 5576a22061864bc451ec4fcacb7d830bf76b7ebd meta-virtualization: d75bc448866d2b36779251efb1310d0234ece30b 2) On top of meta-virtualization , apply the patches from series Patch[00/= 10] Xen on Raspberry Pi 4 series You can extract these patches from Christopher's repo @ https://github.com= /dozylynx/meta-virtualization 3) Configure your local.conf file for rpi-4 architecture Example from mine :- 271 QEMU_TARGETS =3D"i386 x86_64 aarch64 arm" 272 DIS= TRO_FEATURES_append =3D " xen virtualization" 273 MACHINE =3D "raspberrypi4= -64" 274 DL_DIR =3D "/home/ashish/Downloads/poky-tar-files" 4) Generate an image by $ bitbake -k xen-image-minimal This should give you an working dom0 image Hope this helps ! --YLRFWHKS47UvqgH49MV1 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Siddharth ,

1) With inputs from Christopher (@ https://lists.yoctoprojec= t.org/g/meta-virtualization/message/5464 ) 
    we = can generate an Xen image with kernel 5.4 following  :
  &nb= sp;   poky: 18b6b2ae819cbf= 0ef3858944b4cd02ab74df6607
meta-openembedded: 463f9a3ef0935d772a0= be0437a8c09df64ed2f07
meta-raspberrypi: 5576a22061864bc451ec4fcac= b7d830bf76b7ebd
meta-virtualization: d75bc448866d2b36779251efb131= 0d0234ece30b

2) On top of
meta-virtualization , apply the patches from series Patch[00/10] Xe= n on Raspberry Pi 4 series
You can extract these patches from Christopher's repo @ https://github.com/do= zylynx/meta-virtualization
=

3) Configure your local= .conf file for rpi-4 architecture
Example from mine :- 271 QEMU_TARGETS =3D"i386 x86_64 aarch64 a= rm" 272 DISTRO_FEATURES_append =3D " xen virtualization" = 273 MACHINE =3D "raspberrypi4-64" 274 D= L_DIR =3D "/home/ashish/Downloads/poky-tar-files"
4) Generate = an image by 
              $ b= itbake -k xen-image-minimal 

This should give you an workin= g dom0 image 
Hope this helps ! --YLRFWHKS47UvqgH49MV1--