Re: [yocto] thud, beaglebone-yocto.conf: SERIAL_CONSOLES setting

2018-10-31 Thread Kevin Hao
On Wed, Oct 31, 2018 at 02:23:00PM +0100, Heiko Schocher wrote:
> Hello all,
> 
> just builded core-image-minimal with current head of thud branch for
> the beaglebone-yocto machine, with linux 4.14.x LTS "Linux version 4.14.78",
> installed the resulting sd card image and boot it, and get:
> 
> INIT: Id "O0" respawning too fast: disabled for
> 5 minutes
> 
> Reason seems to be:
> 
> meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
> 
> SERIAL_CONSOLES = "115200;ttyO0"
> 
> shouldn't this be
> 
> SERIAL_CONSOLES = "115200;ttyS0"
> 
> With this fix, sd card image boot fine ... may I oversee seomthing
> obvious ?

No, it should be 'ttyO0'. It is set by the omap serial driver. You can
refer the following in platform_data/serial-omap.h:
  #define OMAP_SERIAL_NAME"ttyO"

Thanks,
Kevin

> 
> bye,
> Heiko
> -- 
> DENX Software Engineering GmbH,  Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: h...@denx.de
> -- 
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


signature.asc
Description: PGP signature
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] 2.6 migration guide

2018-10-31 Thread Scott Rifenbark
Got it, thanks.

On Wed, Oct 31, 2018 at 9:02 AM Bas Mevissen  wrote:

> On 2018-10-31 16:50, Scott Rifenbark wrote:
>
> > Can you tell me why "123456" is also not removed?  That string contains
> > instances of "123" and "456"
>
>
> Because it removes all occurrences of the list value "123" and not of
> value "123456" or any part of it. Otherwise, it would be impossible to
> use this function to only remove, say, "1" from a long list of numbers.
> (here 'value' is not limited to a number).
>
> -- Bas.
>
> >
> > Thanks,
> > Scott
> >
> > On Wed, Oct 31, 2018 at 12:15 AM Robert Berger
> >  wrote:
> >
> >> Hi Scott,
> >>
> >> On 31.10.18 00:06, Scott Rifenbark wrote:
> >>>
> >>> I have an initial section at
> >>>
> https://yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#moving-to-the-yocto-project-2.6-release
> ,
> >>> which is based on Richard's input.  I am sure there are more items.
> >>
> >> You might want to add a link to the bitbake manual or some example
> >> from
> >> there for the new functionality of _remove operator:
> >>
> >>
> http://git.openembedded.org/bitbake/tree/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml?id=c0a23dd9155c50a6b7df796980bc7b612cac7994#n334
> >>
> >> FOO = "123 456 789 123456 123 456 123 456"
> >> FOO_remove = "123"
> >> FOO_remove = "456"
> >>
> >> FOO is now: "  789 123456" instead of "789 123456"
> >>
> >>>
> >>> Thanks,
> >>> Scott
> >>
> >> Regards,
> >>
> >> Robert
>
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] 2.6 migration guide

2018-10-31 Thread Bas Mevissen

On 2018-10-31 16:50, Scott Rifenbark wrote:

Can you tell me why "123456" is also not removed?  That string contains 
instances of "123" and "456"



Because it removes all occurrences of the list value "123" and not of 
value "123456" or any part of it. Otherwise, it would be impossible to 
use this function to only remove, say, "1" from a long list of numbers. 
(here 'value' is not limited to a number).


-- Bas.



Thanks,
Scott

On Wed, Oct 31, 2018 at 12:15 AM Robert Berger 
 wrote:



Hi Scott,

On 31.10.18 00:06, Scott Rifenbark wrote:


I have an initial section at
https://yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#moving-to-the-yocto-project-2.6-release,
which is based on Richard's input.  I am sure there are more items.


You might want to add a link to the bitbake manual or some example 
from

there for the new functionality of _remove operator:

http://git.openembedded.org/bitbake/tree/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml?id=c0a23dd9155c50a6b7df796980bc7b612cac7994#n334

FOO = "123 456 789 123456 123 456 123 456"
FOO_remove = "123"
FOO_remove = "456"

FOO is now: "  789 123456" instead of "789 123456"



Thanks,
Scott


Regards,

Robert



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


Re: [yocto] 2.6 migration guide

2018-10-31 Thread Scott Rifenbark
Can you tell me why "123456" is also not removed?  That string contains
instances of "123" and "456"

Thanks,
Scott

On Wed, Oct 31, 2018 at 12:15 AM Robert Berger <
yocto.user.mailingl...@gmail.com> wrote:

> Hi Scott,
>
> On 31.10.18 00:06, Scott Rifenbark wrote:
> >
> > I have an initial section at
> >
> https://yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#moving-to-the-yocto-project-2.6-release,
>
> > which is based on Richard's input.  I am sure there are more items.
>
> You might want to add a link to the bitbake manual or some example from
> there for the new functionality of _remove operator:
>
>
> http://git.openembedded.org/bitbake/tree/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml?id=c0a23dd9155c50a6b7df796980bc7b612cac7994#n334
>
> FOO = "123 456 789 123456 123 456 123 456"
> FOO_remove = "123"
> FOO_remove = "456"
>
> FOO is now: "  789 123456" instead of "789 123456"
>
> >
> > Thanks,
> > Scott
>
> Regards,
>
> Robert
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] 2.6 migration guide

2018-10-31 Thread Scott Rifenbark
Thanks Robert...  I will do that.

Scott

On Wed, Oct 31, 2018 at 12:15 AM Robert Berger <
yocto.user.mailingl...@gmail.com> wrote:

> Hi Scott,
>
> On 31.10.18 00:06, Scott Rifenbark wrote:
> >
> > I have an initial section at
> >
> https://yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#moving-to-the-yocto-project-2.6-release,
>
> > which is based on Richard's input.  I am sure there are more items.
>
> You might want to add a link to the bitbake manual or some example from
> there for the new functionality of _remove operator:
>
>
> http://git.openembedded.org/bitbake/tree/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml?id=c0a23dd9155c50a6b7df796980bc7b612cac7994#n334
>
> FOO = "123 456 789 123456 123 456 123 456"
> FOO_remove = "123"
> FOO_remove = "456"
>
> FOO is now: "  789 123456" instead of "789 123456"
>
> >
> > Thanks,
> > Scott
>
> Regards,
>
> Robert
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fetcher failure on mpfr 4.0.1

2018-10-31 Thread Burton, Ross
The usual process is the autobuilder populates the source mirror as it
runs.  I pinged Richard earlier about this, basically it's fallout
from the autobuilder migration and should be looked at next week.

Ross
On Tue, 30 Oct 2018 at 15:52, Gunnar Andersson  wrote:
>
> I'm right now seeing a fetcher failure on mpfr-4.0.1.tar.xz
>
> As far as mirrors I believe we rely on this through the inclusion of
> poky.conf?
>
> http://downloads.yoctoproject.org/mirror/sources/
>
> but we also add our own (PRE)MIRRORS in the conf files.  Regardless of the
> project, it's not enough to rely on an external source.  But unfortunately I
> found our own mirror was out-of-date and not updated and I have to look into
> what's needed to fix.  (Our build agents generally cache the sources locally
>  on disk as well, so that's why the network mirror is rarely hit.)
>
> Now, looking at yoctoproject downloads above, the mpfr-4.0.1 tarball seems
> missing there too.  This led me to two questions:
>
> 1.  First, is there a point to posting fetcher failures to this list or is
> that just noise?
>
> 2. Nonetheless it led me ask what the normal situation is for updating the
> yoctoproject.org mirror?  Maybe it's deliberately not done for the latest
> master, only for released versions?  (Although thud branch now exists...)
>
> Just for reference, looks like the mpfr recipe was updated on poky
> master/thud at:
>
> 470327eb1f5 (Khem Raj 2018-08-15)
>
> Best Regards
> - Gunnar
>
>
> --
> ___
> 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] thud, beaglebone-yocto.conf: SERIAL_CONSOLES setting

2018-10-31 Thread Bruce Ashfield

On 10/31/18 9:23 AM, Heiko Schocher wrote:

Hello all,

just builded core-image-minimal with current head of thud branch for
the beaglebone-yocto machine, with linux 4.14.x LTS "Linux version 
4.14.78",

installed the resulting sd card image and boot it, and get:

INIT: Id "O0" respawning too fast: disabled for
5 minutes

Reason seems to be:

meta-yocto-bsp/conf/machine/beaglebone-yocto.conf

SERIAL_CONSOLES = "115200;ttyO0"

shouldn't this be

SERIAL_CONSOLES = "115200;ttyS0"

With this fix, sd card image boot fine ... may I oversee seomthing
obvious ?


Doesn't look like it.

I'd suggest sending a patch to the yocto mailing list, that
way folks can comment directly and it can be pulled into
point releases, etc.

Bruce



bye,
Heiko


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


Re: [yocto] [avahi] add service into rocko

2018-10-31 Thread Jairo
Wow thank you.
with:
IMAGE_INSTALL_append = "avahi-daemon"
it seems to work, it's a bit confusing but I think I got it, hehehe,
thanks Bruce and Dimitris


El mié, 31-10-2018 a las 08:57 -0400, Bruce Ashfield escribió:
> On 10/31/18 7:03 AM, Jairo wrote:
> > Hi all,
> > 
> > I need to install an avahi service on rocko for (a node of) node-
> > red.
> > 
> > OK, I have an avahi_0.6.32.bb recipe at 'sources/poky/meta/recipes-
> > connectivity/avahi/' which path is added at bblayers.conf file.
> > 
> > but if I add the package at local.conf file like this:
> > 
> > IMAGE_INSTALL_append = " avahi"
> > 
> > when I try to make an image, bitbake can't find avahi
> > 
> > Collected errors:
> >  * opkg_prepare_url_for_install: Couldn't find anything to
> > satisfy
> > 'avahi'.
> > 
> > What I'm doing wrong?
> 
> The recipe name and the packages that you install are not (always)
> the same thing.
> 
> i.e. in the recipe:
> 
> PACKAGES =+ "libavahi-gobject avahi-daemon libavahi-common libavahi-
> core 
> libavahi-client avahi-dnsconfd libavahi-glib avahi-autoipd avahi-
> utils"
> 
> 
> So depending on the functionality that you want, you'd be installing
> one or more of those packages to your image. (I'm betting you just
> want avahi-daemon).
> 
> Bruce
> 
> > 
> > Thanks,
> > Jairo
> > 
> > 
> 
> 


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


[yocto] thud, beaglebone-yocto.conf: SERIAL_CONSOLES setting

2018-10-31 Thread Heiko Schocher

Hello all,

just builded core-image-minimal with current head of thud branch for
the beaglebone-yocto machine, with linux 4.14.x LTS "Linux version 4.14.78",
installed the resulting sd card image and boot it, and get:

INIT: Id "O0" respawning too fast: disabled for
5 minutes

Reason seems to be:

meta-yocto-bsp/conf/machine/beaglebone-yocto.conf

SERIAL_CONSOLES = "115200;ttyO0"

shouldn't this be

SERIAL_CONSOLES = "115200;ttyS0"

With this fix, sd card image boot fine ... may I oversee seomthing
obvious ?

bye,
Heiko
--
DENX Software Engineering GmbH,  Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: h...@denx.de
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [avahi] add service into rocko

2018-10-31 Thread Bruce Ashfield

On 10/31/18 7:03 AM, Jairo wrote:

Hi all,

I need to install an avahi service on rocko for (a node of) node-red.

OK, I have an avahi_0.6.32.bb recipe at 'sources/poky/meta/recipes-
connectivity/avahi/' which path is added at bblayers.conf file.

but if I add the package at local.conf file like this:

IMAGE_INSTALL_append = " avahi"

when I try to make an image, bitbake can't find avahi

Collected errors:
 * opkg_prepare_url_for_install: Couldn't find anything to satisfy
'avahi'.

What I'm doing wrong?


The recipe name and the packages that you install are not (always)
the same thing.

i.e. in the recipe:

PACKAGES =+ "libavahi-gobject avahi-daemon libavahi-common libavahi-core 
libavahi-client avahi-dnsconfd libavahi-glib avahi-autoipd avahi-utils"



So depending on the functionality that you want, you'd be installing
one or more of those packages to your image. (I'm betting you just
want avahi-daemon).

Bruce



Thanks,
Jairo




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


[linux-yocto] Adding SPI Flash in dtsi file.

2018-10-31 Thread Pierre Lessard
Hi,
I need to add the S25FL256SAGMFIR01 SPI Flash device to my recipe.
This is a 256MBit flash device.

I have a hard time figuring out what definition to add.

{
fsl,spi-num-chipselects = <1>;
cs-gpios = < 29 0>; /* Native CS */
pinctrl-names = "default";
pinctrl-0 = <_ecspi2_1 _ecspi2_cs_1>;
status = "okay";

my_flash: m25p256@0 {
compatible = "spansion,s25fl256s0";
spi-max-frequency = <1000>;
reg = <0>;
mode = <0>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "FPGA";
reg = <0x0 0x00A0>;
};
partition@0x00A0{
label = "filesystem";
reg = <0x00A0 0x0160>;
};
};
};

Thanks,

--
*Pierre LESSARD*
Directeur du logiciel / Director of Software Engineering

*PRAGMA |**Instrumental to your success*
2925, avenue Kepler

Ville de Québec, Québec

Canada -


G1X
3V4

Tél: +1-418-260-9088 x22 <(418)%20260-9088>4
+1-855-PRAGMA1 (USA+Canada)
Fax: +1-418-266-1666 <(418)%20266-1666>

*NOTICE DE CONFIDENTIALITÉ :*  Ce courriel et tous ses pièces jointes
contiennent de l’information privée et confidentielle appartenant à PRAGMA
à l’intention du destinataire seulement.  Toute lecture, copie ou
distribution de ce courriel à d’autres tiers non-reliés est formellement
interdite.  Si vous n’êtes pas le destinataire visé, prière de supprimer ce
courriel et de prévenir l’expéditeur.

*CONFIDENTIALITY WARNING :  This email and any attachments included contain
PRAGMA private and confidential information intended for the recipient
only. Any review, copying, or distribution of this email to other parties
not involved is strictly prohibited. If you are not the intended recipient,
please delete immediately and contact the sender.*
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[yocto] [avahi] add service into rocko

2018-10-31 Thread Jairo
Hi all,

I need to install an avahi service on rocko for (a node of) node-red.

OK, I have an avahi_0.6.32.bb recipe at 'sources/poky/meta/recipes-
connectivity/avahi/' which path is added at bblayers.conf file.

but if I add the package at local.conf file like this:

IMAGE_INSTALL_append = " avahi"

when I try to make an image, bitbake can't find avahi

   Collected errors:
* opkg_prepare_url_for_install: Couldn't find anything to satisfy
'avahi'.

What I'm doing wrong?

Thanks,
Jairo


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


Re: [yocto] 2.6 migration guide

2018-10-31 Thread Robert Berger

Hi Scott,

On 31.10.18 00:06, Scott Rifenbark wrote:


I have an initial section at 
https://yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#moving-to-the-yocto-project-2.6-release, 
which is based on Richard's input.  I am sure there are more items.


You might want to add a link to the bitbake manual or some example from 
there for the new functionality of _remove operator:


http://git.openembedded.org/bitbake/tree/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml?id=c0a23dd9155c50a6b7df796980bc7b612cac7994#n334

FOO = "123 456 789 123456 123 456 123 456"
FOO_remove = "123"
FOO_remove = "456"

FOO is now: "  789 123456" instead of "789 123456"



Thanks,
Scott


Regards,

Robert

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