Re: Porting xen on rpi4

2022-08-29 Thread Vipul Suneja
Hi Bertrand, Thanks for your support! As suggested, I enabled BLK_DEV_LOOP in the kernel & now I can see loop devices in the "/dev" directory. I could see xen-guest-image-minimal loading but at the end it's throwing error *INIT: cannot execute "/sbin/getty-wrapper"* I found start_getty in the im

Re: Porting xen on rpi4

2022-08-25 Thread Bertrand Marquis
Hi Vipul, > On 25 Aug 2022, at 09:56, Vipul Suneja wrote: > > Hi Bertrand, > > Thanks! > > No, I couldn't see /dev/loop0. Can you please guide me to create it? First thing to try is “modprobe loop" It that does not work (ie module not found) you should check in your linux config if BLK_DEV_

Re: Porting xen on rpi4

2022-08-25 Thread Vipul Suneja
Hi Bertrand, Thanks! No, I couldn't see /dev/loop0. Can you please guide me to create it? I didn't change dom0 configurations, it's default generated by yocto. I will append this "IMAGE_FSTYPES:append = " wic.gz”" in local.conf & will update you. Regards, Vipul Kumar On Thu, Aug 25, 2022 at 1

Re: Porting xen on rpi4

2022-08-25 Thread Bertrand Marquis
Hi Vipul, > On 25 Aug 2022, at 08:31, Vipul Suneja wrote: > > Hi Stefano, > > Thanks! > > As suggested, I changed the guest1.cfg file. Below are the contents of config > file > > kernel = "/home/root/Image" > cmdline = "console=hvc0 earlyprintk=xen sync_console root=/dev/xvda" > memory = "10

Re: Porting xen on rpi4

2022-08-25 Thread Vipul Suneja
Hi Stefano, Thanks! As suggested, I changed the guest1.cfg file. Below are the contents of config file *kernel = "/home/root/Image"cmdline = "console=hvc0 earlyprintk=xen sync_console root=/dev/xvda"memory = "1024"name = "guest1"vcpus = 1serial="pty"disk = [ 'file:/home/root/xen-guest-ima

Re: Porting xen on rpi4

2022-08-24 Thread Stefano Stabellini
On Wed, 24 Aug 2022, Vipul Suneja wrote: > Hi Bertrand, > Thanks for your response! > > I builded the guest image on yocto kirkstone source which has FSTYPE ext3. > Guest image generated is > xen-guest-image-minimal-raspberrypi4-64.ext3. > Below is the content of guest.cfg file > >    kernel = "

Re: Porting xen on rpi4

2022-08-24 Thread Vipul Suneja
Hi Bertrand, Thanks for your response! I builded the guest image on yocto kirkstone source which has FSTYPE ext3. Guest image generated is xen-guest-image-minimal-raspberrypi4-64.ext3. Below is the content of guest.cfg file * kernel = "/home/root/Image" * * cmdline = "console=hvc0 earlyprint

Re: Porting xen on rpi4

2022-08-24 Thread Bertrand Marquis
Hi Vipul, > On 24 Aug 2022, at 15:16, Vipul Suneja wrote: > > Hi, > > I am porting xen hypervisor on rpi4 with yocto kirkstone sources. Followed > the basic steps to build xen-image-minimal & xen-guest-image-minimal. I could > flash sd card with xen minimal image & could see dom0 up. I copied

Porting xen on rpi4

2022-08-24 Thread Vipul Suneja
Hi, I am porting xen hypervisor on rpi4 with yocto kirkstone sources. Followed the basic steps to build xen-image-minimal & xen-guest-image-minimal. I could flash sd card with xen minimal image & could see dom0 up. I copied "Image", "xen-guest-image-minimal" .ext3 file & guest.cfg to "/home/root".