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://groups.google.com/g/jailhouse-dev/c/IZEFz-e2lh4 >> >> Angelo also post a Linux-less RFC mail: >> https://groups.google.com/g/jailhouse-dev/c/gctNUieKd8Q/m/ekSKqBa2BQAJ >> >> 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. Ralf > > Jan > >> >> [1] https://webchat.freenode.net/#jailhouse >> >> 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%2FAM5PR0402MB275606FED0 >>> 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/a7c570ee-7860-f1ea-60bd-3fb17c6d1751%40oth-regensburg.de.
