Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 9196] New: raspberry pi 3 default build seem broken
@ 2016-08-25 23:28 bugzilla at busybox.net
  2016-08-26 14:42 ` [Buildroot] [Bug 9196] " bugzilla at busybox.net
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-08-25 23:28 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9196

            Bug ID: 9196
           Summary: raspberry pi 3 default build seem broken
           Product: buildroot
           Version: 2016.05
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: mikhail_tchernychev at yahoo.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Created attachment 6626
  --> https://bugs.busybox.net/attachment.cgi?id=6626&action=edit
config file

Hi,

I was able to compile build root for RPi 3 default configuration and it
apparently boots but when I enter login "root" and blank password id does
allow me to login. So far whatever I did I was not able to login, even 
I specified "root" password in the configuration.   My .config file is
attached.

Also I tried to compile systemd for RPi3 but I even did not get login screen
(I had to disable post-build script because it was not finding inittab)

I am willing to troubleshoot, but don't know how :(

thank you

Mikhail

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 9196] raspberry pi 3 default build seem broken
  2016-08-25 23:28 [Buildroot] [Bug 9196] New: raspberry pi 3 default build seem broken bugzilla at busybox.net
@ 2016-08-26 14:42 ` bugzilla at busybox.net
  2016-08-26 16:01 ` bugzilla at busybox.net
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-08-26 14:42 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9196

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org> ---
I presume you mean does NOT allow you to login? On what interface are you
trying to login on? HDMI/keyboard or serial?

Thanks for the post-build report. I have now fixed it to work correctly when
systemd/no-init is used:

https://git.buildroot.net/buildroot/commit/?id=720b9095a6a9fb23c7a2d7d3e4dabbe6b5299b12

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 9196] raspberry pi 3 default build seem broken
  2016-08-25 23:28 [Buildroot] [Bug 9196] New: raspberry pi 3 default build seem broken bugzilla at busybox.net
  2016-08-26 14:42 ` [Buildroot] [Bug 9196] " bugzilla at busybox.net
@ 2016-08-26 16:01 ` bugzilla at busybox.net
  2016-08-27  3:58 ` bugzilla at busybox.net
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-08-26 16:01 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9196

--- Comment #2 from Mikhail <mikhail_tchernychev@yahoo.com> ---
Yes sorry I could not log with HDMI/keyboard. However I learn that
for RP3 to use serial line blue tooth needs to be disabled; I used
debian stock image and at first could not login via serial, showed
garbage characters along with some valid ones. After I disabled 
BT in config.txt stock image worked on serial line.

The same trick with buildroot image did not work.

Regarding systemd I build it just by removing the script. It boots 
but getty gets time out 1 m 30 sec, no login prompt is shown.

It is similar to issue described here:

http://buildroot-busybox.2317881.n4.nabble.com/systemd-not-working-properly-td82549.html

But on HDMI/keyboard.

I will reproduce it tonight and send a better report.

Thank you!

Mikhail

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 9196] raspberry pi 3 default build seem broken
  2016-08-25 23:28 [Buildroot] [Bug 9196] New: raspberry pi 3 default build seem broken bugzilla at busybox.net
  2016-08-26 14:42 ` [Buildroot] [Bug 9196] " bugzilla at busybox.net
  2016-08-26 16:01 ` bugzilla at busybox.net
@ 2016-08-27  3:58 ` bugzilla at busybox.net
  2016-08-27  3:59 ` bugzilla at busybox.net
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-08-27  3:58 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9196

--- Comment #3 from Mikhail <mikhail_tchernychev@yahoo.com> ---
Created attachment 6631
  --> https://bugs.busybox.net/attachment.cgi?id=6631&action=edit
latest config file, default RPi3 configuration

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 9196] raspberry pi 3 default build seem broken
  2016-08-25 23:28 [Buildroot] [Bug 9196] New: raspberry pi 3 default build seem broken bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2016-08-27  3:58 ` bugzilla at busybox.net
@ 2016-08-27  3:59 ` bugzilla at busybox.net
  2016-08-30  3:34 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-08-27  3:59 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9196

--- Comment #4 from Mikhail <mikhail_tchernychev@yahoo.com> ---
Here is better report (I think)

This is what I did (latest version)

git pull 

make clean

make xconfig raspberrypi3_defconfig

For some reason, it does not show RPi scripts
So I exit (saving) and do it again:

make xconfig

Now RPi scripts in place.

make

OK. write to SD card.

Use RPi3 with display and keyboard attached.

Boots fine.

Welcome to Buildroot

buildroot login:

type: root

Password:

Just press enter.

Shows again:

Password:

press enter

Login timeout after 60 seconds.

No way it let me log in.

I attached latest . config 

I hope it helps

I am going to make changes in config to use systemd and submit
another comment.

Best Regards
Mikhail

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 9196] raspberry pi 3 default build seem broken
  2016-08-25 23:28 [Buildroot] [Bug 9196] New: raspberry pi 3 default build seem broken bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2016-08-27  3:59 ` bugzilla at busybox.net
@ 2016-08-30  3:34 ` bugzilla at busybox.net
  2016-09-20 20:47 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-08-30  3:34 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9196

--- Comment #5 from Mikhail <mikhail_tchernychev@yahoo.com> ---
If buildroot is compiled for systemd, on HDMI console shown

[TIME] Timed out for device dev-console.device
[DEPEND] Dependency failed for Serial Getty on console

There is no login prompt.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 9196] raspberry pi 3 default build seem broken
  2016-08-25 23:28 [Buildroot] [Bug 9196] New: raspberry pi 3 default build seem broken bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2016-08-30  3:34 ` bugzilla at busybox.net
@ 2016-09-20 20:47 ` bugzilla at busybox.net
  2016-09-20 21:44 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-09-20 20:47 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9196

--- Comment #6 from Peter Seiderer <ps.report@gmx.net> ---
Tested with buildroot git d4db4277ffbd1fae478ba748c626eddc7c220e67 (including
[1]).

With bare raspberrypi3_defconfig login via serial and login via
hdmi/usb-keyboard
is possible.

With raspberrypi3_defconfig with change to glibc/systemd serial login works out
of the box.

For hdmi/usb-keyboard (tty1) login the following link was necessary (as advised
in [2]):

ln -sf /usr/lib/systemd/system/getty at .service
/etc/systemd/system/getty.target.wants/getty at tty1.service

Additional he file /etc/systemd/system/getty at .service.d/nodisallocate.conf to
avoid clearing the console.

[1]
https://git.buildroot.net/buildroot/commit/?id=1e03cc2290f98fc7434254d2abd9afd504de8360

[2] https://wiki.archlinux.org/index.php/Systemd_FAQ

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 9196] raspberry pi 3 default build seem broken
  2016-08-25 23:28 [Buildroot] [Bug 9196] New: raspberry pi 3 default build seem broken bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2016-09-20 20:47 ` bugzilla at busybox.net
@ 2016-09-20 21:44 ` bugzilla at busybox.net
  2016-10-08  5:27 ` bugzilla at busybox.net
  2016-10-15 15:50 ` bugzilla at busybox.net
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-09-20 21:44 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9196

--- Comment #7 from Floris Bos <bos@je-eigen-domein.nl> ---
>With raspberrypi3_defconfig with change to glibc/systemd serial login works out of 
>the box.

That could be thanks to systemd's behavior of auto-magically spawning getty's
on serial consoles though.

https://www.freedesktop.org/software/systemd/man/systemd-getty-generator.html

Rather than the symlink buildroot created working correctly.


>For hdmi/usb-keyboard (tty1) login the following link was necessary (as advised in 
>[2]):
>
>ln -sf /usr/lib/systemd/system/getty at .service  >/etc/systemd/system/getty.target.wants/getty at tty1.service

Alternative fix: https://patchwork.ozlabs.org/patch/668134/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 9196] raspberry pi 3 default build seem broken
  2016-08-25 23:28 [Buildroot] [Bug 9196] New: raspberry pi 3 default build seem broken bugzilla at busybox.net
                   ` (6 preceding siblings ...)
  2016-09-20 21:44 ` bugzilla at busybox.net
@ 2016-10-08  5:27 ` bugzilla at busybox.net
  2016-10-15 15:50 ` bugzilla at busybox.net
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-10-08  5:27 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9196

--- Comment #8 from Mikhail <mikhail_tchernychev@yahoo.com> ---
Hi,

I did not try systemd, but default build for rpi3 now does not have these
problems, as well compiled with eudev.  I used development buildroot.

Thank you for fixing,

Best Regards
Mikhail

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 9196] raspberry pi 3 default build seem broken
  2016-08-25 23:28 [Buildroot] [Bug 9196] New: raspberry pi 3 default build seem broken bugzilla at busybox.net
                   ` (7 preceding siblings ...)
  2016-10-08  5:27 ` bugzilla at busybox.net
@ 2016-10-15 15:50 ` bugzilla at busybox.net
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-10-15 15:50 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9196

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Bug reporter says the problem is fixed. Thanks everyone!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2016-10-15 15:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-25 23:28 [Buildroot] [Bug 9196] New: raspberry pi 3 default build seem broken bugzilla at busybox.net
2016-08-26 14:42 ` [Buildroot] [Bug 9196] " bugzilla at busybox.net
2016-08-26 16:01 ` bugzilla at busybox.net
2016-08-27  3:58 ` bugzilla at busybox.net
2016-08-27  3:59 ` bugzilla at busybox.net
2016-08-30  3:34 ` bugzilla at busybox.net
2016-09-20 20:47 ` bugzilla at busybox.net
2016-09-20 21:44 ` bugzilla at busybox.net
2016-10-08  5:27 ` bugzilla at busybox.net
2016-10-15 15:50 ` bugzilla at busybox.net

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