Re: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto

2019-02-22 Thread Hongxu Jia

On 2019/2/23 上午4:49, Manjukumar Harthikote Matha wrote:

Hi Hongxu,


-Original Message-
From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org]
On Behalf Of Stephen Lawrence
Sent: Friday, February 22, 2019 8:52 AM
To: Hongxu Jia ; richard.pur...@linuxfoundation.org;
mhalst...@linuxfoundation.org; ross.bur...@intel.com; raj.k...@gmail.com;
paul.eggle...@linux.intel.com; yocto@yoctoproject.org
Cc: lpd-cdc-core-...@windriver.com; zhangle.y...@windriver.com
Subject: Re: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto

Hi Hongxu,


-Original Message-
From: yocto-boun...@yoctoproject.org 
On Behalf Of Hongxu Jia
Sent: 21 February 2019 11:37
To: richard.pur...@linuxfoundation.org; mhalst...@linuxfoundation.org;
ross.bur...@intel.com; raj.k...@gmail.com;
paul.eggle...@linux.intel.com; yocto@yoctoproject.org
Cc: lpd-cdc-core-...@windriver.com; zhangle.y...@windriver.com
Subject: [yocto] Review request 0/13: Contribute meta-tensorflow to
Yocto

Hi RP and Yocto folks,

Currently AI on IoT edge becomes more and more popular, but there is
no machine learning framework in Yocto/OE. With the support of Eric
, Robert  and
Randy , after two months effort, I've
integrated TensorFlow to Yocto.

Good work.

You might be interested in the yocto layers for tensorflow, tensorflow-lite and
caffe2 on github here [1]. I'm not part of the team that developed that work 
but I
forwarded your announcement to them. Perhaps there is the opportunity for some
collaboration on the platform independent parts. The maintainer details are in 
the
readme.


Thanks for the layer Hongxu. I agree with Steve, it would be good if you could 
collaborate with meta-renesas-ai and introduce the layer as meta-ai under 
meta-openembedded.


Agree, I will add it to my TODO list, more AI, more machine learning

framework should be integrated to Yocto.


//Hongxu



Thanks,
Manju


[1] https://github.com/renesas-rz/meta-renesas-ai

The layers were developed for the industrial focused Renesas RZ/G1 platforms.

Regards

Steve
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to Install Third party rpm packages

2019-02-22 Thread Burton, Ross
On Fri, 22 Feb 2019 at 22:16, chaitanya cherukuri
 wrote:
> Do I need to write a recipe where I fetch this package?

Yes, write a recipe that has SRC_URI as the original RPM, then you can
write a do_install() to put the files in the right place, package it
correctly, and so on.

Just using the RPM as-is most likely won't work because the chances
are your Yocto distribution isn't binary-compatible at the packaging
level with whatever distribution the RPM was built for.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to Install Third party rpm packages

2019-02-22 Thread chaitanya cherukuri
Hi Stephen,

Thank you for pointing the documentation.
In custom image recipe I will add IMAGE_INSTALL += "custom-package.rpm" but
how do I add this "custom-package.rpm" to my YOCTO build system.
Do I need to write a recipe where I fetch this package?

I apologize for the dumb questions.

Thanks,
Chaitanya


On Fri, Feb 22, 2019 at 10:47 AM Stephen Lawrence <
stephen.lawre...@renesas.com> wrote:

> Hi,
>
>
>
> Take a look at the section 3.2 “Customizing Images” in the Development
> Tasks Manual. You can find it and the other manuals here:
>
> https://www.yoctoproject.org/docs/
>
>
>
> If you are building the package in Yocto as well the simplest is to add it
> to the image with IMAGE_INSTALL, but the manual also discusses other
> methods such as runtime package management.
>
>
>
> Select Yocto Project 2.5.x from the drop down at the top of the page to
> get the manuals for that version.
>
>
>
> Regards
>
>
>
> Steve
>
>
>
> *From:* yocto-boun...@yoctoproject.org  *On
> Behalf Of *chaitanya cherukuri
> *Sent:* 22 February 2019 15:17
> *To:* yocto@yoctoproject.org
> *Subject:* [yocto] How to Install Third party rpm packages
>
>
>
> Hello All,
>
>
>
> I 'm new to YOCTO. I am using YOCTO version 2.5.
>
> I would like to install third party rpm package to my image. Currently I'm
> installing rpm package on my target machine using rpm command
>
>   rpm -ivh --prefix=/opt/ example.rpm
>
>
>
> Is there any way that I can do this in a recipe, so that my final image
> has the rpm installed.
>
>
>
> Any help would be appreciated.
>
>
>
> Thank you,
>
> Chaithu
>
>
>
>
>


-- 
--
Chaitanya
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to Install Third party rpm packages

2019-02-22 Thread Stephen Lawrence
Hi,

Take a look at the section 3.2 “Customizing Images” in the Development Tasks 
Manual. You can find it and the other manuals here:
https://www.yoctoproject.org/docs/

If you are building the package in Yocto as well the simplest is to add it to 
the image with IMAGE_INSTALL, but the manual also discusses other methods such 
as runtime package management.

Select Yocto Project 2.5.x from the drop down at the top of the page to get the 
manuals for that version.

Regards

Steve

From: yocto-boun...@yoctoproject.org  On Behalf 
Of chaitanya cherukuri
Sent: 22 February 2019 15:17
To: yocto@yoctoproject.org
Subject: [yocto] How to Install Third party rpm packages

Hello All,

I 'm new to YOCTO. I am using YOCTO version 2.5.
I would like to install third party rpm package to my image. Currently I'm 
installing rpm package on my target machine using rpm command
  rpm -ivh --prefix=/opt/ example.rpm

Is there any way that I can do this in a recipe, so that my final image has the 
rpm installed.

Any help would be appreciated.

Thank you,
Chaithu


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto

2019-02-22 Thread Stephen Lawrence
Hi Hongxu,

> -Original Message-
> From: yocto-boun...@yoctoproject.org  On 
> Behalf
> Of Hongxu Jia
> Sent: 21 February 2019 11:37
> To: richard.pur...@linuxfoundation.org; mhalst...@linuxfoundation.org;
> ross.bur...@intel.com; raj.k...@gmail.com; paul.eggle...@linux.intel.com;
> yocto@yoctoproject.org
> Cc: lpd-cdc-core-...@windriver.com; zhangle.y...@windriver.com
> Subject: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto
> 
> Hi RP and Yocto folks,
> 
> Currently AI on IoT edge becomes more and more popular, but there is no
> machine learning framework in Yocto/OE. With the support of Eric
> , Robert 
> and Randy , after two months effort, I've
> integrated TensorFlow to Yocto.

Good work.

You might be interested in the yocto layers for tensorflow, tensorflow-lite and 
caffe2 
on github here [1]. I'm not part of the team that developed that work but I 
forwarded 
your announcement to them. Perhaps there is the opportunity for some 
collaboration
on the platform independent parts. The maintainer details are in the readme.

[1] https://github.com/renesas-rz/meta-renesas-ai

The layers were developed for the industrial focused Renesas RZ/G1 platforms.

Regards

Steve
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto

2019-02-22 Thread Khem Raj
On Fri, Feb 22, 2019 at 8:51 AM Stephen Lawrence
 wrote:
>
> Hi Hongxu,
>
> > -Original Message-
> > From: yocto-boun...@yoctoproject.org  On 
> > Behalf
> > Of Hongxu Jia
> > Sent: 21 February 2019 11:37
> > To: richard.pur...@linuxfoundation.org; mhalst...@linuxfoundation.org;
> > ross.bur...@intel.com; raj.k...@gmail.com; paul.eggle...@linux.intel.com;
> > yocto@yoctoproject.org
> > Cc: lpd-cdc-core-...@windriver.com; zhangle.y...@windriver.com
> > Subject: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto
> >
> > Hi RP and Yocto folks,
> >
> > Currently AI on IoT edge becomes more and more popular, but there is no
> > machine learning framework in Yocto/OE. With the support of Eric
> > , Robert 
> > and Randy , after two months effort, I've
> > integrated TensorFlow to Yocto.
>
> Good work.
>
> You might be interested in the yocto layers for tensorflow, tensorflow-lite 
> and caffe2
> on github here [1]. I'm not part of the team that developed that work but I 
> forwarded
> your announcement to them. Perhaps there is the opportunity for some 
> collaboration
> on the platform independent parts. The maintainer details are in the readme.
>
> [1] https://github.com/renesas-rz/meta-renesas-ai
>
> The layers were developed for the industrial focused Renesas RZ/G1 platforms.
>

It would be great to cherry-pick goodies from these layers and
maintain a single layer
which can be sustained and support wide variety of platforms and distributions.

> Regards
>
> Steve
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto

2019-02-22 Thread Hongxu Jia

On 2019/2/23 上午12:51, Stephen Lawrence wrote:

Good work.

You might be interested in the yocto layers for tensorflow, tensorflow-lite and 
caffe2
on github here [1]. I'm not part of the team that developed that work but I 
forwarded
your announcement to them. Perhaps there is the opportunity for some 
collaboration
on the platform independent parts. The maintainer details are in the readme.


Yes, I know meta-renesas-ai, my first try of tensorflow build was based 
on it,


but failed, I am afraid its version is old and no maintenance. So I 
choose to


refer upstream arm compiler which `Build from source for the Raspberry Pi'

https://www.tensorflow.org/install/source_rpi


For tensorflow-lite, I am afraid it is not completed in meta-renesas-ai.

But tensorflow-lite is on my TODO list, Currently I am not sure what to 
build


(may be c/c++ framework) and how to use (use cases).


For caffe2, it is another story `pytorch', I am afraid I don't have 
resources(time)


to focus


//Hongxu



[1]https://github.com/renesas-rz/meta-renesas-ai

The layers were developed for the industrial focused Renesas RZ/G1 platforms.

Regards



--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] How to Install Third party rpm packages

2019-02-22 Thread chaitanya cherukuri
Hello All,

I 'm new to YOCTO. I am using YOCTO version 2.5.
I would like to install third party rpm package to my image. Currently I'm
installing rpm package on my target machine using rpm command
  rpm -ivh --prefix=/opt/ example.rpm

Is there any way that I can do this in a recipe, so that my final image has
the rpm installed.

Any help would be appreciated.

Thank you,
Chaithu
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Ifdef on devicetree

2019-02-22 Thread luciosantinell
Hi,

i'm trying to add some #ifdef on my device tree in order to separate two 
different imports.

#include "imx6q.dtsi"
#ifdef MMC_WRITE
#include "imx6qdl-sabre-mmc.dtsi"
#elif
#include "imx6qdl-sabre-sd.dtsi"
#endif

where can i add a macro to select what kind of device tree i must import?
in /arch/arm/boot i found a Makefile
and another one in /arch/arm/boot/dts
but i dont know how to define a macro for device-trees.

Thanks
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto