Wiki/raspberrypi/nixos-on-raspberrypi.md
2017-11-26 17:40:08 +01:00

1.1 KiB

Nixos on Raspberry Pi

Download sd-image-aarch64-linux.img

  • sha1sum: aa228ac4ddf7c76b69f66f805d42587fb893bb2b

  • Flash image:

    sudo dd if=/home/jakob/Downloads/sd-image-aarch64-linux.img of=/dev/mmcblk0 sync

Serial connection

QinHeng Electronics HL-340 USB-Serial adapter

  • 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter

Raspberry PI - USB to TTL

Doesn't work.

FT232 Serial (UART) IC (rip-off probably)

  • Future Technology Devices International, Ltd FT232 Serial (UART) IC
GND         - 3rd in top row, black cable
GPIO 14 TXD - 4th in top row, white cable
GPIO 15 RXD - 5th in top row, green cable
  • Connect:

    nix-shell -p python36Packages.pyserial --run "miniterm.py /dev/ttyUSB0 115200"

It works!