Basic setup for Raspberry Pi Zero W
Setup Raspberry Pi Zero W
SSH via USB and serial console
Download the raspbian image and flash to the SD card. Mount the SD card on the host computer. You should see two partitions "boot" and "rootfs".
Edit the file "/boot/config.txt" and add the following line to the end of the text:
- Edit the file "/boot/cmdline.txt", add "modules-load=dwc2,g_ether" after rootwait. It's a one-line text file and be careful about the format. After the change, it should look something like:
- Create a new file named "ssh" without any suffix to enable ssh.
- USB network configuration. Edit "rootfs/etc/network/interfaces" and add the following lines:
- Now you can plug the SD card back to rpi0W and boot the board. If the host computer fails to get an IP address for the USB connection with rpi, you need to manually assign one:
Patch kernel with Xenomai 3
Before pactching Xenomai 3, ther kernel shipped with "2018-06-27-raspbian-stretch-lite.img" is "4.14.50+". Afterwards the kernel is "4.14.37-ipipe+".