[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] Starting to port xen on beagleboard-x15 (GSoC 2019 project)
- To: Iain Hunter <drhunter95@xxxxxxxxx>
- From: Denis Obrezkov <denisobrezkov@xxxxxxxxx>
- Date: Mon, 17 Jun 2019 10:53:12 +0200
- Autocrypt: addr=denisobrezkov@xxxxxxxxx; prefer-encrypt=mutual; keydata= mQMuBFrAxPQRCAD59CJNd5LF1VmojUBpdr/bJ2TaKC7SW4ln7+PWn+QyAJfFOVFlTRIDsAlP 65y7CacXFCXmLTACo4a7HEhRb5787kPm6rc30zpL+04uXCeTruYZi0ZnQVXOiab/qy3aMsk0 6n9hMY28TSbM9nynnlrbg9pGkb1EiFVNsowJjFSKXa3Rpogte9qxfXmLf2eV0MZNnrmq6Kb2 8ri5/Ffh5DG1CsN/dkv8n1kw2QqMM2RT+ZS57D+yCehtw355EXSVh2r+GsXAqMinOexcdYI4 skvvP84OovRMnlJhmRdnbjO+QFiOVeLUj7WHMT3AbClaBlUuHkbFi9HLBHAiu6uMrNtzAQD9 KoM6SXbuvlhCq2v78dGkex9EgaA7CSnBcNXuUdrjYQf+MsZgI7oDihT6TUBO0IDQL+qSrozs /hHV+HhWtc5+SYTsHXxnTkcVe12vR0uPw3fFUuncWnMRzHivKZC2ZF/w3LJL/nGzguAoPa9e VghM38EP49yO6ESthD4WvELMy2+zPkMiUqilMfxOl370RXxEBUIzFSpP6oqvNq7fvThGTQah mrFhflGSyMHXk75VkCiY+cbrMeB9xG7H3nlbQ9fYVCOPejnt8gImeazdIghQh1tjbNpjQhy8 50klCowN5H+gaSZsy4K7jlJ1UNFz/vWCvlr3W8o4tA6EoJ4tjJV2HXcrUBPYLwkruKnv8QJM vyVj5an6Sfuwt/AmFEOKo1QJnAf+Oi47RrOmec8lXS/06TMn7z6krmuRul03HXayCtREqMyY VCf87oMpPYYnFJolDrSB8kCSZRn2aixzHl4IIGa9RVuywChzUvgZJbFGPFR+Qz1BK9Ltl7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b397ao3qaXdXj3iaX6wwJ 2Oo3cSxMGdY/8grRTDGYjItpWEM2noIRzdWSybzavtLHu/LmG4rbgy2aNm/TiVp28G5KvWW/ fCLomZhN0JscRgSkYjSaxmMgEdks1h9DWTHkiH4EGBEIACYWIQTG5lj1j5VIuKBD/kz7iQsT JJ7s+QUCWsDE9AIbDAUJBaOagAAKCRD7iQsTJJ7s+UF2AQDqHEO2tekVMTWJa3SakIM5FJjk sao+JkzbKe0vDy4ecwEAukGaHvmKxMZsUOOjDWjDe4eV+aRTVjUjY7LAl3OJkiU=
- Cc: Hunyue Yau <hy-gsoc@xxxxxxxxxxxxxxx>, Julien Grall <julien.grall@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Mon, 17 Jun 2019 08:54:02 +0000
- List-id: Xen user discussion <xen-users.lists.xenproject.org>
- Openpgp: preference=signencrypt
Hi,
On 6/17/19 10:11 AM, Iain Hunter wrote:
> Hi Denis,
>
> patch 0004 was not actually applied to the u-boot build (and should
> have been removed from the patch set). The only change that was
> applied was 0001-for-xen-build-set-envboot-as-default-mmc.patch (line
> 123 in build-x15-xen.sh).
But only the fourth patch changes something related to hypervisor?
Also, I boot via tftp not via mmc. Should I use the patch?
>
> Do you have CONFIG_ARMV7_LPAE=y in your configs/am57xx_evm_defconfig
> file? and is this the defconfig you have selected?
> Iain
yes, to both questions.
>
>
> On Sun, 16 Jun 2019 at 23:29, Denis Obrezkov <denisobrezkov@xxxxxxxxx> wrote:
>>
>> Hi,
>>
>> On 6/16/19 10:53 PM, Julien Grall wrote:
>>> Hi,
>>>
>>> On 6/16/19 9:46 PM, Denis Obrezkov wrote:
>>>> On 6/16/19 10:18 PM, Julien Grall wrote:
>>>>>
>>>>>
>>>>> On 6/16/19 4:19 PM, Denis Obrezkov wrote:
>>>>>> Hello,
>>>>>> I was trying to boot xen on bb-x15, here is my starting point:
>>>>>> I built xen with:
>>>>>> make dist-xen debug=y XEN_TARGET_ARCH=arm32
>>>>>> CROSS_COMPILE=arm-linux-gnueabihf- CONFIG_EARLY_PRINTK=omap5432
>>>>>> (omap5432 and omap5729 have the same serial debug address)
>>>>>> and I got the output:
>>>>>> https://pastebin.com/FdmGz6i2
>>>>>
>>>>> From the log
>>>>>
>>>>> - CPU 00000001 booting -
>>>>> - Xen must be entered in NS Hyp mode -
>>>>> - Please update the bootloader -
>>>>> - Boot failed
>>>>>
>>>>> This means that U-boot bring-up secondary CPU in hypervisor mode
>>>>> (probably it is in secure mode or kernel mode). Which U-boot are you
>>>>> using?
>>>> I use the latest u-boot - 2019.04.
>>>
>>> lain suggested to use a patched version of U-boot (See his e-mail for
>>> the 29th of May). So one possibility is some of the patches didn't reach
>>> upstream.
>>>
>>> I would recommend to try the same U-boot version first to see if
>>> secondary CPUs are brought up in Hyp mode.
>> I will try to apply 0004 patch to the modern u-boot, I think it will
>> have the similar effect.
>> I don't quite understand how to use Kconfig. I can't find some options
>> with menuconfig, so, I am interested in how programmers find out what
>> options they need to choose?
>>>
>>> Cheers,
>>>
>>
>> --
>> Regards, Denis Obrezkov
>>
--
Regards, Denis Obrezkov
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users
|