| Summary: | bootstrap stuck and no login prompt | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | cjdc <cristovao.cordeiro> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED INVALID | ||
| Severity: | major | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2020.02.1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
cjdc
2020-04-23 10:29:59 UTC
- you switched the init system to systemd, needs a change of the kernel commandline (otherwise your get two gettys running on the serial console and none on the HDMI console): diff -u cmdline.txt_orig cmdline.txt --- cmdline.txt_orig +++ cmdline.txt @@ -1 +1 @@ -root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200 +root=/dev/mmcblk0p2 rootwait console=ttyAMA0,115200 console=tty1 - the default /etc/ssh/sshd_config contains the following lines: #PermitRootLogin prohibit-password #PermitEmptyPasswords no your have to change it too PermitRootLogin yes PermitEmptyPasswords yes to enable ssh root access without a password (make sure your rpi is only reachable via a private network)... Thanks. I naively assumed such changed would be done automatically. It worked for the cmdline.txt. For the openssh however, I assume that is a change that can only be done with post-scripts? > Thanks. I naively assumed such changed would be done automatically. No..., buildroot is not about automatically customizing every possible selection of features..., just a starting point for your own project (see below and [1] for customize support)... > It worked for the cmdline.txt. Good news... > For the openssh however, I assume that is a change that can only be done with post-scripts? Yes, one of the many possibilities to customize your project, see [1] for alternatives... Closing the bug (as it is not a bug, but a feature ;-)), feel free to turn to the mailing list for further questions/support... [1] https://buildroot.org/downloads/manual/manual.html#rootfs-custom |