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

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


  • To: siddhartha v <siddhuvgowda.18695@xxxxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Mon, 4 May 2020 11:00:54 +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=5MKUHzyXk5aKc26SCtiNtJF1WhD7+0ddVnF36f/z0o8=; b=Wn7T/QaiuG/ajOMjWY9zhnyqGmhcjc1ZShazDh1jzQMm/5fQO5KVWD/io9e9qqzAqbTPhhtk3+8FdtQtXHeFv21iw3XUzKRCzQRBcbCov/vdJ/0SENkWKdoWnHUYuEkN6KXlsaJ5RvmEr3TfqQglEUynofkwSxontgo0VkuLjQA0/bQ/ZnVm9oV96s+4g44Dd/MoIEnvyVTPL5AwRKwUDxLwTysOTtFKgl0oZm8EVZWJv2Erl1N5FT6PMpP8JUGUlXoZIbAkLa0Yf34e5VTHF4gc+w7k5cvsTP3I55LtMgEi2vujQP6ui5HGOF2jsjbUqoLbOB3klJazed3aBi2Rmw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WvlCjOmqzFJOcOsVN/B3NyCqVHFyOyeUS/Gc2kUpctipEofJM4AnEHtiVZtDc6IMDV2gtnGARSPX9kN7RNzyAVQ981MkGwbrUOD9M6IU+WXPsFJPHk8SfmtwaDpv5nU2K7qRP8welysih8ctlmx3VbwKjV3lcVRx2UdfUSnvSFblWiICXa8v3oCAS4ctx6IavhUCpN75bb59QYlQDVhDWap49lnr9Uwf/sZw7GnrlvbqwEMUQ3D2sVs5UasgQhB077VrtNLMWEL4u3Ha+zarm9kJz9dXJBLlwL/cu7NS0J4h8F+QfF3Dn9WM4Ut2DjEznGCwDK6AdvGBDRby2dIx6Q==
  • Authentication-results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.xenproject.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.xenproject.org; dmarc=bestguesspass action=none header.from=arm.com;
  • 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: Mon, 04 May 2020 11:01:20 +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: AQHWHRzUSrTIa0irGEupZ9xRSmev66iONAqAgAFghQCAACqKgIAIC/8AgAABPgA=
  • Thread-topic: Query regarding booting XEN on Banana Pi-M1 noard.

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®.