[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Android on XEN ARM question
Hi Stefano, > -----Original Message----- > From: Stefano Stabellini [mailto:sstabellini@xxxxxxxxxx] > Sent: 2018年5月30日 6:49 > To: Peng Fan <peng.fan@xxxxxxx> > Cc: Julien Grall <julien.grall@xxxxxxx>; sstabellini@xxxxxxxxxx; > andrii_anisov@xxxxxxxx; xen-devel@xxxxxxxxxxxxxxxxxxxx; > anthony.perard@xxxxxxxxxx > Subject: Re: [Xen-devel] Android on XEN ARM question > > On Tue, 29 May 2018, Peng Fan wrote: > > Hi, > > > > I am bringing up android on XEN on ARM, but android needs some features in > bootloader, such as A/B slot, dm verify and etc. With directly booting android > kernel, I could successfully boot up android directly passthrough emmc > controller to android OS. I am thinking to develop U-Boot on XEN to use the > bootloader feature, but this surely could not handle case that use a > file/partition > for android. > > > > Do you have any advices? > > We already support running Tianocore (UEFI) as guest firmware today. I think > that having U-Boot running on Xen on ARM as guest firmware would be > fantastic! > > Let's say that the DomU disk is backed by a file, for example you could > have: > > disk=['/dev/loop0,raw,xvda,w,backendtype=phy'] > > in your VM config file. U-Boot needs to be able to access the guest disk > image to > be able to retrieve the Xen and kernel binaries. For that to work, U-Boot > needs > to have a PV disk frontend driver. U-Boot also needs shutdown cleanly the PV > frontend connection before booting Xen. This is certainly possible, and > Anthony > Perard (CC'ed) did similar work for Tianocore a little while back: > > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmarc.i > nfo%2F%3Fl%3Dxen-devel%26m%3D141408836816060%26w%3D2&data=02% > 7C01%7Cpeng.fan%40nxp.com%7C04ed488e3a2540c688a208d5c5b64e62%7C > 686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636632309145813276&s > data=PuugDtCHaP525759f2U2V6ItGxFiUTWhWuDru9u%2F5jI%3D&reserved=0 > > With a proper PV disk frontend driver in U-Boot, the bootloader should be able > to perform all operations as if it was connected to a regular emmc controller. Thanks for the information. I'll first give a try on passthrough emmc controller in U-Boot, then try pvdisk. Thanks, Peng. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |