Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Minnowboard set up problem
@ 2020-10-22 18:53 Facu Ramallo
  2020-10-22 19:53 ` Peter Seiderer
  0 siblings, 1 reply; 3+ messages in thread
From: Facu Ramallo @ 2020-10-22 18:53 UTC (permalink / raw)
  To: buildroot

Hi guys!

I'm brandly new with buildroot. I'm trying to build a system for my
minnowboard. After a little research, I found out that the basic steps to
start are:

   - *make minnowboard_max_defconfig*
   - *make*
   - *dd if=sdcard.img of=my_sdcard bs=1M*

And I could finally start my linux distribution on my minnowboard. But,
then I used

   - *make menuconfig*

In order to enable the packages for openssh, I want to send some code
through  scp. But, after enable those packages, run

   - *make*
   - *dd if=sdcard.img of=my_sdcard bs=1M*

And the problem is that after my system boots, I don't read the
messages "*Wellcome
to Buildroot*" and "*buildroot login:*" anymore.

Can you tell me please, if I did something wrong?

Regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20201022/14a5b84c/attachment.html>

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

* [Buildroot] Minnowboard set up problem
  2020-10-22 18:53 [Buildroot] Minnowboard set up problem Facu Ramallo
@ 2020-10-22 19:53 ` Peter Seiderer
       [not found]   ` <CALbLrU3i4W9=EhobCX5+g_1ZCKQCzYFPzatz+E-MwxU9OX8tkg@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Seiderer @ 2020-10-22 19:53 UTC (permalink / raw)
  To: buildroot

Hello Facu Ramallo,

On Thu, 22 Oct 2020 15:53:00 -0300, Facu Ramallo <facku24@gmail.com> wrote:

> Hi guys!
>
> I'm brandly new with buildroot. I'm trying to build a system for my
> minnowboard. After a little research, I found out that the basic steps to
> start are:
>
>    - *make minnowboard_max_defconfig*
>    - *make*
>    - *dd if=sdcard.img of=my_sdcard bs=1M*
>
> And I could finally start my linux distribution on my minnowboard. But,
> then I used
>
>    - *make menuconfig*
>
> In order to enable the packages for openssh, I want to send some code
> through  scp. But, after enable those packages, run
>
>    - *make*
>    - *dd if=sdcard.img of=my_sdcard bs=1M*
>
> And the problem is that after my system boots, I don't read the
> messages "*Wellcome
> to Buildroot*" and "*buildroot login:*" anymore.
>
> Can you tell me please, if I did something wrong?

Would suspect a long startup time of the sshd daemon because of lack
of enough random data (search for 'ssh random booting' for details)...

Try to wait longer...

Regards,
Peter

>
> Regards!

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

* [Buildroot] Minnowboard set up problem
       [not found]   ` <CALbLrU3i4W9=EhobCX5+g_1ZCKQCzYFPzatz+E-MwxU9OX8tkg@mail.gmail.com>
@ 2020-10-22 21:21     ` Peter Seiderer
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Seiderer @ 2020-10-22 21:21 UTC (permalink / raw)
  To: buildroot

Hello Facu,

please keep buildroot at busybox.net in CC...

On Thu, 22 Oct 2020 17:38:45 -0300, Facu Ramallo <facku24@gmail.com> wrote:

> Hi Peter!
> 
> Thanks for the response.
> 
> I'm not quite sure about a problem with sshd daemon, because my connection
> is established by a *ttyS0*.

Which comes after /etc/init.d/S50sshd (see target/etc/inittab and
target/etc/init.d/rcS)...

> 
> Starting syslogd: OK
> Starting klogd: OK
> Running sysctl: OK
> Saving random seed: random: dd: uninitialized urandom read (512 bytes read)
> OK
> Starting network: Generic PHY r8169-200:00: attached PHY driver [Generic
> PHY] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)
> IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
> udhcpc: started, v1.32.0
> random: mktemp: uninitialized urandom read (6 bytes read)
> [drm] Cannot find any crtc or sizes
> udhcpc: sending discover
> [drm] Cannot find any crtc or sizes
> udhcpc: sending discover
> udhcpc: sending discover
> udhcpc: no lease, failing
> FAIL
> 
> After reaching this point, nothing else happens and I'm not able to see if
> ssh was correctly deployed in /bin.

Take a look at the start scripts at /etc/init.d/ (or target/etc/init.d/ in your
build directory)...., see what comes after S40network..., try to add some
more debug output/printf (still suspecting S50sshd)...

Regards,
Peter

> 
> I waited for 6 minutes, and still stuck there.
> 
> With a clean version of my buildroot, with just only *make
> minnowboard_max_defconfig; make*, I'm able to login:
> 
> Saving random seed: random: dd: uninitialized urandom read (512 bytes read)
> OK
> Starting network: Generic PHY r8169-200:00: attached PHY driver [Generic
> PHY] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)
> IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
> udhcpc: started, v1.32.0
> random: mktemp: uninitialized urandom read (6 bytes read)
> [drm] Cannot find any crtc or sizes
> udhcpc: sending discover
> [drm] Cannot find any crtc or sizes
> udhcpc: sending discover
> udhcpc: sending discover
> udhcpc: no lease, failing
> FAIL
> 
> 
> *Welcome to Buildrootbuildroot login: *
> 
> Do you know where I can take a peak?
> 
> Regards!
> 
> El jue., 22 de oct. de 2020 a la(s) 16:53, Peter Seiderer (ps.report at gmx.net)
> escribi?:
> 
> > Hello Facu Ramallo,
> >
> > On Thu, 22 Oct 2020 15:53:00 -0300, Facu Ramallo <facku24@gmail.com>
> > wrote:
> >  
> > > Hi guys!
> > >
> > > I'm brandly new with buildroot. I'm trying to build a system for my
> > > minnowboard. After a little research, I found out that the basic steps to
> > > start are:
> > >
> > >    - *make minnowboard_max_defconfig*
> > >    - *make*
> > >    - *dd if=sdcard.img of=my_sdcard bs=1M*
> > >
> > > And I could finally start my linux distribution on my minnowboard. But,
> > > then I used
> > >
> > >    - *make menuconfig*
> > >
> > > In order to enable the packages for openssh, I want to send some code
> > > through  scp. But, after enable those packages, run
> > >
> > >    - *make*
> > >    - *dd if=sdcard.img of=my_sdcard bs=1M*
> > >
> > > And the problem is that after my system boots, I don't read the
> > > messages "*Wellcome
> > > to Buildroot*" and "*buildroot login:*" anymore.
> > >
> > > Can you tell me please, if I did something wrong?  
> >
> > Would suspect a long startup time of the sshd daemon because of lack
> > of enough random data (search for 'ssh random booting' for details)...
> >
> > Try to wait longer...
> >
> > Regards,
> > Peter
> >  
> > >
> > > Regards!  
> >
> >  

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

end of thread, other threads:[~2020-10-22 21:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-22 18:53 [Buildroot] Minnowboard set up problem Facu Ramallo
2020-10-22 19:53 ` Peter Seiderer
     [not found]   ` <CALbLrU3i4W9=EhobCX5+g_1ZCKQCzYFPzatz+E-MwxU9OX8tkg@mail.gmail.com>
2020-10-22 21:21     ` Peter Seiderer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox