> Subject: Re: [PATCH 00/10] ARM64: boot jailhouse before root cell linux > > On 1/19/21 10:48 AM, Jan Kiszka wrote: > > On 19.01.21 09:48, Peng Fan wrote: > >> All, > >> > >>> Subject: RE: [PATCH 00/10] ARM64: boot jailhouse before root cell > >>> Linux > >> > >> > >> I wanna restart this topic and hope we could move forward to land > >> this feature in Jailhouse mainline. > >> > >> The initial thread: > >> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgro > >> > ups.google.com%2Fg%2Fjailhouse-dev%2Fc%2FIZEFz-e2lh4&data=04%7 > C01 > >> %7Cpeng.fan%40nxp.com%7Ce99f4eb319194a5c16b708d8bc6a0d65%7C > 686ea1d3bc > >> > 2b4c6fa92cd99c5c301635%7C0%7C0%7C637466510971068028%7CUnknow > n%7CTWFpb > >> > GZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI > 6Mn > >> > 0%3D%7C1000&sdata=ckwld2q5WaXdTjFZgKupN0brisxgyNdu1hiMplrdnj > k%3D& > >> amp;reserved=0 > >> > >> Angelo also post a Linux-less RFC mail: > >> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgro > >> > ups.google.com%2Fg%2Fjailhouse-dev%2Fc%2FgctNUieKd8Q%2Fm%2FekSKq > Ba2BQ > >> > AJ&data=04%7C01%7Cpeng.fan%40nxp.com%7Ce99f4eb319194a5c16b > 708d8bc > >> > 6a0d65%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637466510 > 97106802 > >> > 8%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi > LCJBTiI > >> > 6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JDEBgtW8bOeqjI5m1bK2 > q5DdGCbi > >> pkgK2EX3gfQiOkA%3D&reserved=0 > >> > >> I propose a IRC[1] discuss in Germany UTC + 1 (10:00am); China UTC + > >> 8(17:00pm) in Jan/22. If you need the other timeslot, please raise, > >> then I try to find one that make all happy. > > > > I'm already blocked (up to 11:30 local time) on the 22nd. If we are > > looking for a morning slot in European time: 25th before 11am or 26th > > before 1pm. > > 22nd won't work for me, 25th or 26th would both be fine.
Then let's choose 25th, UTC + 1(9:00 am); UTC + 8 (16:00pm). 1 hour should be enough for the discussion. Thanks, Peng. > > Ralf > > > > > Jan > > > >> > >> [1] > >> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fweb > >> > chat.freenode.net%2F%23jailhouse&data=04%7C01%7Cpeng.fan%40nx > p.co > >> > m%7Ce99f4eb319194a5c16b708d8bc6a0d65%7C686ea1d3bc2b4c6fa92cd99 > c5c3016 > >> > 35%7C0%7C0%7C637466510971068028%7CUnknown%7CTWFpbGZsb3d8ey > JWIjoiMC4wL > >> > jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&am > p;sdat > >> > a=yVeutdslxmRixs2jiUvPqkW3l7Xf9OSF7q0P%2B%2Bo1xDc%3D&reserv > ed=0 > >> > >> Thanks, > >> Peng. > >> > >>> > >>>> Subject: Re: [PATCH 00/10] ARM64: boot jailhouse before root cell > >>>> linux > >>>> > >>>> On 07.08.20 05:06, [email protected] wrote: > >>>>> From: Peng Fan <[email protected]> > >>>>> > >>>>> This patchset is to support boot jailhouse before Linux. > >>>>> The previous RFC patchset: > >>>>> https://gr > >>>>> ou > >>>>> > >>>> > >>> > ps.google.com%2Fg%2Fjailhouse-dev%2Fc%2FIZEFz-e2lh4%2Fm%2FBBmGI_s > >>>> pIQAJ > >>>>> > >>>> > >>> > &data=02%7C01%7Cpeng.fan%40nxp.com%7Cfd19d34344a04a8e00690 > >>>> 8d83dca6 > >>>>> > >>>> > >>> > d2b%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637327286910 > >>>> 022610&am > >>>>> > >>>> > >>> > p;sdata=LWalmGgc5itX1A9VYPlJHE8zRst1XiL2lSilgI2z%2F4U%3D&reserv > >>>> ed= > >>>>> 0 > >>>>> > >>>>> Patch 1~6 is to create an new folder libbaremetal to hold files > >>>>> that could shared between inmates and new bootloader. > >>>>> > >>>>> Patch 9 is the central part to boot jailhouse with a baremetal > >>>>> bootloader, which only support ARM64 + GIC_V3 now. It will use > >>>>> psci to power up secondary cores, do GIC_V3 dist initialization, > >>>>> Then kick inmate cell. > >>>>> > >>>>> Images/cells loading is done by U-Boot bootm command to boot a fit > >>> image. > >>>>> > >>>>> Patch 10 is to support using jailhouse userspace tool even boot > >>>>> jailhouse before linux, just do as "insmod jailhouse.ko > >>>>> early_loader=1", then it will bypass fw loading and etc, but setup > >>>> information for linux usage. > >>>>> > >>>> > >>>> I'm missing the big picture description here: > >>>> - how is the memory structure that the boot loader needs to set up? > >>> > >>> Nothing special, just put the cells/inmates to the fit file, as 8mm.its. > >>> > >>>> - how is the handover between loader and root linux? > >>> > >>> Nothing special, the boot args are reserved when U-Boot kick the > >>> loader, the loader will pass the args to Linux after jailhouse > >>> initialization > done. > >>> > >>>> - how are things configured? > >>>> > >>>> From a first glance at the code, it seems a lot of things are still > >>>> hard-coded, likely imx8-specific. That may mean we need to work on > >>>> the user story further. > >>> > >>> I use bootloader/include/config.h to define some addresses. Since I > >>> using Fit image, do you think it is good to parse fit image to get out the > info? > >>> This will need porting code from U-Boot or write from scratch. > >>> > >>>> > >>>> Also, a qemu-arm64 target would be good. > >>> > >>> Per my understanding, qemu-arm64 to run jailhouse not have U-Boot. > >>> I need to let U-Boot boot Linux, then could add the feature. > >>> > >>> Regards, > >>> Peng. > >>> > >>>> > >>>> Jan > >>>> > >>>> -- > >>>> Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate > >>>> Competence Center Embedded Linux > >>> > >>> -- > >>> You received this message because you are subscribed to the Google > >>> Groups "Jailhouse" group. > >>> To unsubscribe from this group and stop receiving emails from it, > >>> send an email to [email protected]. > >>> To view this discussion on the web visit https://groups > >>> .google.com%2Fd%2Fmsgid%2Fjailhouse-dev%2FAM5PR0402MB275606F > ED0 > >>> > 1836E49F644C2E88450%2540AM5PR0402MB2756.eurprd04.prod.outlook.co > >>> > m&data=02%7C01%7Cpeng.fan%40nxp.com%7Caa5cbde61bf944b03f45 > >>> > 08d83dcbd646%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637 > >>> > 327292966107007&sdata=C7kgZJYMLzHTCwhP6cCjub7x0K0raYBc%2F3I > >>> bwqI%2BRZw%3D&reserved=0. > > > > -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/DB6PR0402MB276015BA5191EA1010D6D8DA88A10%40DB6PR0402MB2760.eurprd04.prod.outlook.com.
