[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Query regarding booting XEN on Banana Pi-M1 board.


  • To: siddhartha v <siddhuvgowda.18695@xxxxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Thu, 21 May 2020 14:07:26 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2OYA00QqVYw7gstEpRLEysz869qLbIEguWgVD6YOsZ4=; b=Xg/lbzFlMlot+K9IbOwGhfICE9dlh8atTHJ5SvwMCK7SjI3sQw/GOCudZ/bhBOaBmrKoXea7AIcGy9Tu/S7pTKV92gGSyZDM5pmYuYX4GDKndodfFRcbLoGySPV6+HcZjbZ1oAx+lCFi2g7HewkkGiAdyCr7ti9Ke8KxwO8sDkoY7/6wJ8lofaqvgiJjB8fTtEHeUbActiwgdSBpAONgU6gDMTWkJj9meoUfejEM4kzZ5crXWkSrnOTNzXlXfvdjjR+dUe9tBflkzMigChB/7tqEScC7EmgQJoUiiVoBmtela0MVWxfDmTambPIZ219IOHNA/QJG43P1PeK+x9QbUw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d1VxTeJVudgKMkk3aBIP/sXRV0YRHlz/HAorVvE8RDMVsDQX0JZY6avk4jiwaZfi4aOv8nkfJ6TAeZ+yqXj6fk7sQ1nx/F66mzUAWCH9ERhvjKoOKEzQy3rCS3mDz4JQJdEnq8lrr30rNL2ZZIFX+9rcWlylb0Tkq3IJvh3VyagHY2XuU90GFBdgL2vgumhhDz6d9RF35/fv9iFK0GL3tEoU3pt8PT58T/ms73Lto7JZM6som3BR37/u7VfkRF2uh/cDvr8aDAu0lW8FKgX3cuQCSPQmysdZIkAcqZpj4LJF5V9tlQzOifv3JPOsgY0Z2a4ZxwTyH3QNptiFbnBnLA==
  • Authentication-results-original: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=arm.com;
  • Cc: nd <nd@xxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 21 May 2020 14:09:21 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHWL3WDUmd01IMEAk+BB7+L4xV/vqiyk2QA
  • Thread-topic: Query regarding booting XEN on Banana Pi-M1 board.

Hi,

> On 21 May 2020, at 14:40, siddhartha v <siddhuvgowda.18695@xxxxxxxxx> wrote:
> 
> Hi Bertrand sir,
> 
> 
>   As i am not able to give target machine=bananapim1 i tbought of giving 
> cubeiboard2 as it also uses the allwinner a20 soc. 
> 
> But every time I do bitbake @82% the gcc-sanitizers-8.3.0-r0 do_compile task 
> starts but at that time whole system hangs and i dont have any option other 
> than doing direct power off of the system. I waited at this stage for about 
> 4-5 hrs 3 times.
> 
> May i know what is wrong here please.
> 
> This happened when i tried to build for RPI3 also. 

Sorry but it sounds like you must figure out how to have you board supported on 
Yocto without Xen before I can help you on that.

You should look for a layer adding support for your board for Yocto, it sounds 
for [1] that meta-mediatek might help you with that.

Regards
Bertrand

[1]: 
http://forum.banana-pi.org/t/yocto-openembedded-layer-available-for-mt7623/4898

> 
> On Mon, 4 May, 2020, 4:31 PM Bertrand Marquis, <Bertrand.Marquis@xxxxxxx> 
> wrote:
> Hi Siddhartha,
> 
> There are several errors here and the main one is there is not support for 
> your board in Yocto.
> 
> Meta-arm-autonomy provides a way to use xen but does not provide the bsp for 
> your board.
> To use it you will first need to have a BSP for your board in Yocto.
> You might need to search for a layer supporting your board and once found add 
> it to your project.
> 
> Regards
> Bertrand
> 
>> On 4 May 2020, at 11:56, siddhartha v <siddhuvgowda.18695@xxxxxxxxx> wrote:
>> 
>> Hello @Bertrand Marquis sir, 
>> 
>> I referref the docs and trying to build the Xen for Banana-Pi M1. 
>> 
>> my BBfile.conf is:
>> # POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
>> # changes incompatibly
>> POKY_BBLAYERS_CONF_VERSION = "2"
>> 
>> BBPATH = "${TOPDIR}"
>> BBFILES ?= ""
>> 
>> BBLAYERS ?= " \
>>   /home/siddhu/Documents/yocto/sources/zeus/poky-zeus/meta \
>>   /home/siddhu/Documents/yocto/sources/zeus/poky-zeus/meta-poky \
>>   /home/siddhu/Documents/yocto/sources/zeus/poky-zeus/meta-yocto-bsp \
>>   /home/siddhu/Documents/yocto/sources/zeus/meta-openembedded/meta-oe \
>>   
>> /home/siddhu/Documents/yocto/sources/zeus/meta-openembedded/meta-multimedia \
>>   /home/siddhu/Documents/yocto/sources/zeus/meta-openembedded/meta-python \
>>   
>> /home/siddhu/Documents/yocto/sources/zeus/meta-openembedded/meta-networking \
>>   
>> /home/siddhu/Documents/yocto/sources/zeus/meta-openembedded/meta-filesystems 
>> \
>>   /home/siddhu/Documents/yocto/sources/zeus/meta-virtualization \
>>   /home/siddhu/Documents/yocto/sources/zeus/meta-arm/meta-arm-autonomy \
>>   "
>> 
>> and changes local.conf
>> MACHINE ??= "bpi-m1 " (Here I have tried multiple names for banana Pim1)
>> DISTRO_FEATURES += "arm-autonomy-host"
>> 
>> But the bitbake is not happening below I am attaching the errors may I know 
>> what wrong I am doing here please:
>> for 
>> MACHINE ??= "bpi-m1 " (Here I have tried multiple names for banana Pim1)
>> DISTRO_FEATURES += "arm-autonomy-host"
>> 
>> "
>> siddhu@siddhu:~/Documents/yocto/zeus/build$ bitbake 
>> arm-autonomy-host-image-minimal
>> ERROR: Unable to start bitbake server (None)
>> ERROR: Server log for this session 
>> (/home/siddhu/Documents/yocto/zeus/build/bitbake-cookerdaemon.log):
>> --- Starting bitbake server pid 9217 at 2020-05-04 16:20:46.735269 ---
>> ERROR: ParseError in conf/machine/bpi-m1: not a BitBake file
>> 
>> apart from this:
>> bitbake arm-autonomy-host-image-minimal
>> ERROR: Layer 'virtualization-layer' depends on layer 'filesystems-layer', 
>> but this layer is not enabled in your configuration
>> 
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>> siddhu@siddhu:~/Documents/yocto/zeus/build$ clear
>> 
>> siddhu@siddhu:~/Documents/yocto/zeus/build$ bitbake 
>> arm-autonomy-host-image-minimal
>> ERROR:  OE-core's config sanity checker detected a potential 
>> misconfiguration.
>>     Either fix the cause of this error or at your own risk disable the 
>> checker (see sanity.conf).
>>     Following is the list of potential problems / advisories:
>> 
>>     MACHINE=BananaPiM1 is invalid. Please set a valid MACHINE in your 
>> local.conf, environment or other configuration file.
>> 
>> 
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>> siddhu@siddhu:~/Documents/yocto/zeus/build$ bitbake 
>> arm-autonomy-host-image-minimal
>> ERROR:  OE-core's config sanity checker detected a potential 
>> misconfiguration.
>>     Either fix the cause of this error or at your own risk disable the 
>> checker (see sanity.conf).
>>     Following is the list of potential problems / advisories:
>> 
>>     MACHINE=Bananapim1 is invalid. Please set a valid MACHINE in your 
>> local.conf, environment or other configuration file.
>> 
>> 
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>> siddhu@siddhu:~/Documents/yocto/zeus/build$ bitbake 
>> arm-autonomy-host-image-minimal
>> ERROR:  OE-core's config sanity checker detected a potential 
>> misconfiguration.
>>     Either fix the cause of this error or at your own risk disable the 
>> checker (see sanity.conf).
>>     Following is the list of potential problems / advisories:
>> 
>>     MACHINE=bananapim1 is invalid. Please set a valid MACHINE in your 
>> local.conf, environment or other configuration file.
>> 
>> 
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>> siddhu@siddhu:~/Documents/yocto/zeus/build$ bitbake 
>> arm-autonomy-host-image-minimal
>> ERROR:  OE-core's config sanity checker detected a potential 
>> misconfiguration.
>>     Either fix the cause of this error or at your own risk disable the 
>> checker (see sanity.conf).
>>     Following is the list of potential problems / advisories:
>> 
>>     MACHINE=BananaPim1 is invalid. Please set a valid MACHINE in your 
>> local.conf, environment or other configuration file.
>> 
>> 
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>> siddhu@siddhu:~/Documents/yocto/zeus/build$ bitbake 
>> arm-autonomy-host-image-minimal
>> ERROR:  OE-core's config sanity checker detected a potential 
>> misconfiguration.
>>     Either fix the cause of this error or at your own risk disable the 
>> checker (see sanity.conf).
>>     Following is the list of potential problems / advisories:
>> 
>>     MACHINE=BananaPi is invalid. Please set a valid MACHINE in your 
>> local.conf, environment or other configuration file.
>> 
>> 
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>> siddhu@siddhu:~/Documents/yocto/zeus/build$ bitbake 
>> arm-autonomy-host-image-minimal
>> ERROR:  OE-core's config sanity checker detected a potential 
>> misconfiguration.
>>     Either fix the cause of this error or at your own risk disable the 
>> checker (see sanity.conf).
>>     Following is the list of potential problems / advisories:
>> 
>>     MACHINE=Bananapi is invalid. Please set a valid MACHINE in your 
>> local.conf, environment or other configuration file.
>> 
>> 
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>> siddhu@siddhu:~/Documents/yocto/zeus/build$ 
>> 
>> bitbake arm-autonomy-host-image-minimal
>> ERROR: Unable to start bitbake server (None)
>> ERROR: Server log for this session 
>> (/home/siddhu/Documents/yocto/zeus/build/bitbake-cookerdaemon.log):
>> --- Starting bitbake server pid 9217 at 2020-05-04 16:20:46.7
>> 
>> 
>> 
>> 
>> Thanks and Regards,
>> Siddhartha V
>> 9972583616
>> 
>> 
>> 
>> On Wed, Apr 29, 2020 at 1:33 PM Bertrand Marquis <Bertrand.Marquis@xxxxxxx> 
>> wrote:
>> 
>> 
>> > On 29 Apr 2020, at 06:31, siddhartha v <siddhuvgowda.18695@xxxxxxxxx> 
>> > wrote:
>> > 
>> > Hello Sir,
>> >    Sorry for the late response I was bit busy yesterday. 
>> > 
>> >    I tried to look into it. But I am getting the "
>> > This git.yoctoproject.org page can’t be found" error. 
>> > 
>> > 
>> 
>> It seems that their certificate expired. This should be solved shortly (I 
>> hope).
>> 
>> An other solution is to directly do a git clone of the layer 
>> git://git.yoctoproject.org/meta-arm
>> 
>> Bertrand
>> 
>> > May I know what should I do now.
>> > 
>> > On Tue, Apr 28, 2020 at 1:59 PM Bertrand Marquis 
>> > <Bertrand.Marquis@xxxxxxx> wrote:
>> > Hi Siddharha,
>> > 
>> >> On 28 Apr 2020, at 06:20, siddhartha v <siddhuvgowda.18695@xxxxxxxxx> 
>> >> wrote:
>> >> 
>> >> The scope of my work is to port the Xen on Banana Pi- M1 board(Allwinner 
>> >> A20 dual-core SoC) with two domains. Here our target domain is 
>> >> automotive. 
>> >> 
>> >> I am trying to build the Xen using the yocto build. I am actually trying 
>> >> the xen for the first time. So i wanted to know if I am on right path. 
>> >> 
>> >> Do we get get any info or manual how the guest OS can be booted and 
>> >> maintained please,
>> >> 
>> >> Any suggestion help me a lot. Thanks in advance.
>> > 
>> > Arm published a collection yocto layers named meta-arm 
>> > (https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/)
>> > 
>> > There you will find the meta-arm-autonomy layer which is designed to help 
>> > design automotive systems based on Xen on Arm.
>> > Please check the meta-arm-autonomy/documentation folder for more 
>> > information and contact me if you need help using it.
>> > 
>> > Regards
>> > Bertrand
>> > 
>> > 
>> > 
>> > -- 
>> > Thanks and Regards.
>> > Siddhartha V.
>> >  
>> 
>> 
>> 
>> -- 
>> Thanks and Regards.
>> Siddhartha V.
>>  
> 


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.