And tell buildroot in make menuconfig System Configuration user tables where to find your user table file. The above sample content would create an additional user foo with password bar (login is activated). This user can login via ssh right away, since he's not root. Option B: Permit Root Login. Previous message: Buildroot PATCH package/autossh: do not look for the host's ssh command. Buildroot is a tool that simplifies and automates the process ofbuilding a complete Linux system for an embedded system, usingcross-compilation. In order to achieve this, Buildroot is able to generate across-compilation toolchain, a root filesystem, a Linux kernel imageand a bootloader for your target. Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. Can handle everything Cross-compilation toolchain, root filesystem generation, kernel image compilation and bootloader compilation. Ssh X forwarding on a minimal Buildroot server with read-only root filesystem. Ask Question Asked 1 year, 8 months ago. Active 1 year, 8 months ago. Viewed 208 times 2. I'm trying to get ssh X forwarding working with a very unusual setup. Server: Custom Buildroot OS on Raspberry Pi 0 W.
Lately I was reading about embedded linux and came to know about two such custom embedded linux system build sytem the Yocto project and Buildroot.I wanted to make my own custom linux for raspberyy pi zero W i had in my *ahem* attic.
Requirements:
- Raspberry pi zero w (ofcourse)
- A PC (with ubuntu 18.04 or higher)
- microSD card
- microSD card reader
Step 1: Preparing and downloading BUILDROOT
Open Ubuntu terminal (Ctrl+ALT+T) and type the below
Building
Buildroot is now ready for initial configuration. There are few commands that can help:
output:
REAL FUN STARTS!
Type inside terminal
If there was no errors then continue editing the image to add wifi, bash , ssh, and whatever you need for your project.
A small GUI pops up (should be in maximized terminal window), go through each sections . Use Y key to enable N to remove , press escape twice to go back or use exit option near the select option .
- Target options –> leave it default
- Build options –> select enable compiler cache
- Toolchain –> Enable wchar support
- System config -> change system hostname, system banner, root password , enable install timezone info
- Hardware Handling
6. Network applications
7. Target Packages -> Shell and utilities
Also under System configuration -> under root password change shell to bash, also run getty login prompt after boot.

Finally
type the below code (fingers crossed!) Nvidia geforce gt 330m driver for mac.
once you get no error in output , output image files will be under
sdcardimage.img will be your image to burn to sdcard for Raspberry pi zero w.
Enabling Wi-Fi

In this subsection, we enable the Wi-Fi interface of the Raspberry Pi Zero W, so it will be able connect to any Wi-Fi networks.
wpa_supplicant
Create a file, named interfaces in buildroot/board/raspberrypi/ (all the other raspberrypi* are symlinks to this folder). The auto wlan0 will make sure that wlan0 is started when ifup -a is run, wich is done by the init scripts.
Create another file, named wpa_supplicant.conf with wpa_passphrase in buildroot/board/raspberrypi/ (all the other raspberrypi* are symlinks to this folder). It should look like something like this:

ALSO
post-build.sh
The hotplug helper must be set as mdev and write /etc/mdev.conf file. The mdev package itself has some helper script for this and can be used directly. Also the above created files must be copied, so add the following lines to buildroot/board/raspberrypi/post-build.sh:

sshd config file
open/mount your sdimage.img file previously generated and copy /etc/ssh/sshd_config to buildroot/board/raspberrypi/ and add
One last ride
finally do
you should have a fully working raspberry pi zero w linux custom image with ssh and wifi also you can add anything to this base build like wiringpi, gpio library, python etc even qt and xorg , keyboard support , mouse etc can be added.
Buildroot Ssh Login Password

Buildroot Ssh 2
CREDITS:
