All of lore.kernel.org
 help / color / mirror / Atom feed
* core-image-* (minimal) networking
@ 2018-12-13 14:57 Peter Balazovic
  2018-12-14 16:32 ` Burton, Ross
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Peter Balazovic @ 2018-12-13 14:57 UTC (permalink / raw)
  To: Yocto list discussion

[-- Attachment #1: Type: text/plain, Size: 616 bytes --]

I've built bitbake core-image-minimal and it runs but unfortunately I have
no connectivity (networking) available.

> ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2720 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2720 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:206720 (201.8 KiB)  TX bytes:206720 (201.8 KiB)

What's need to be included within local.conf to enable networking?

[-- Attachment #2: Type: text/html, Size: 968 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: core-image-* (minimal) networking
  2018-12-13 14:57 core-image-* (minimal) networking Peter Balazovic
@ 2018-12-14 16:32 ` Burton, Ross
  2018-12-17  4:19 ` Alankar Dhobale
  2018-12-17  4:29 ` Khem Raj
  2 siblings, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2018-12-14 16:32 UTC (permalink / raw)
  To: Peter Balazovic; +Cc: Yocto-mailing-list

Install something to do networking. Minimal means minimal.  I tend to
prefer connman as that means you get ethernet hotplug working without
any further work, and you can easily setup wifi too.

Ross
On Fri, 14 Dec 2018 at 16:22, Peter Balazovic <balazovic.peter@gmail.com> wrote:
>
> I've built bitbake core-image-minimal and it runs but unfortunately I have no connectivity (networking) available.
>
> > ifconfig
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:65536  Metric:1
>           RX packets:2720 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:2720 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1
>           RX bytes:206720 (201.8 KiB)  TX bytes:206720 (201.8 KiB)
>
> What's need to be included within local.conf to enable networking?
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: core-image-* (minimal) networking
  2018-12-13 14:57 core-image-* (minimal) networking Peter Balazovic
  2018-12-14 16:32 ` Burton, Ross
@ 2018-12-17  4:19 ` Alankar Dhobale
  2018-12-17  4:29 ` Khem Raj
  2 siblings, 0 replies; 5+ messages in thread
From: Alankar Dhobale @ 2018-12-17  4:19 UTC (permalink / raw)
  To: 'Peter Balazovic', 'Yocto list discussion'

[-- Attachment #1: Type: text/plain, Size: 1259 bytes --]

Which platform you are working? As you don’t even see the eth in ifconfig, it seems your PHY is not detected, please check your dtb if the required PHY details are added.

Also check your kernel boot log if the PHY is being detected…

 

I believe there is nothing to be added for networking in local.conf. you need to add interface in dtb…

 

Regards

Alankar

 

 

From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Peter Balazovic
Sent: 13/12/2018 8:28 PM
To: Yocto list discussion
Subject: [yocto] core-image-* (minimal) networking

 

I've built bitbake core-image-minimal and it runs but unfortunately I have no connectivity (networking) available. 

 

> ifconfig

lo        Link encap:Local Loopback  

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:65536  Metric:1

          RX packets:2720 errors:0 dropped:0 overruns:0 frame:0

          TX packets:2720 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1 

          RX bytes:206720 (201.8 KiB)  TX bytes:206720 (201.8 KiB)

 

What's need to be included within local.conf to enable networking?


[-- Attachment #2: Type: text/html, Size: 5016 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: core-image-* (minimal) networking
  2018-12-13 14:57 core-image-* (minimal) networking Peter Balazovic
  2018-12-14 16:32 ` Burton, Ross
  2018-12-17  4:19 ` Alankar Dhobale
@ 2018-12-17  4:29 ` Khem Raj
  2018-12-17  7:51   ` Peter Balazovic
  2 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2018-12-17  4:29 UTC (permalink / raw)
  To: Peter Balazovic; +Cc: Yocto list discussion

On Fri, Dec 14, 2018 at 8:23 AM Peter Balazovic
<balazovic.peter@gmail.com> wrote:
>
> I've built bitbake core-image-minimal and it runs but unfortunately I have no connectivity (networking) available.
>
> > ifconfig
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:65536  Metric:1
>           RX packets:2720 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:2720 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1
>           RX bytes:206720 (201.8 KiB)  TX bytes:206720 (201.8 KiB)
>
> What's need to be included within local.conf to enable networking?

its possible that some modules are missing. Try using core-image-base
and see if that is any better. then we can see what the difference is

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: core-image-* (minimal) networking
  2018-12-17  4:29 ` Khem Raj
@ 2018-12-17  7:51   ` Peter Balazovic
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Balazovic @ 2018-12-17  7:51 UTC (permalink / raw)
  To: Yocto list discussion

[-- Attachment #1: Type: text/plain, Size: 1331 bytes --]

> ifconfig eth0 up

> udhcpc -ieth0

Now is up ... and identified and now trying to figure out how to make it
permanent since after reboot I need to do over again.




On Mon, Dec 17, 2018 at 5:30 AM Khem Raj <raj.khem@gmail.com> wrote:

> On Fri, Dec 14, 2018 at 8:23 AM Peter Balazovic
> <balazovic.peter@gmail.com> wrote:
> >
> > I've built bitbake core-image-minimal and it runs but unfortunately I
> have no connectivity (networking) available.
> >
> > > ifconfig
> > lo        Link encap:Local Loopback
> >           inet addr:127.0.0.1  Mask:255.0.0.0
> >           inet6 addr: ::1/128 Scope:Host
> >           UP LOOPBACK RUNNING  MTU:65536  Metric:1
> >           RX packets:2720 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:2720 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:1
> >           RX bytes:206720 (201.8 KiB)  TX bytes:206720 (201.8 KiB)
> >
> > What's need to be included within local.conf to enable networking?
>
> its possible that some modules are missing. Try using core-image-base
> and see if that is any better. then we can see what the difference is
>
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 3751 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-12-17  7:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-13 14:57 core-image-* (minimal) networking Peter Balazovic
2018-12-14 16:32 ` Burton, Ross
2018-12-17  4:19 ` Alankar Dhobale
2018-12-17  4:29 ` Khem Raj
2018-12-17  7:51   ` Peter Balazovic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.