Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
sw_setup [2019/10/03 11:29] – created nikolal | sw_setup [2022/09/19 11:34] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | * Unordered List ItemRun | + | ===== micro SD card setup ===== |
- | * Add these lines to the end of «/ | + | * Download Raspian Lite from: [[https:// |
+ | * Flash image to micro SD card, for example using: [[https:// | ||
+ | * Add empty text file named '' | ||
+ | |||
+ | ===== Basic Raspian setup ===== | ||
+ | * Insert the micro SD card to the Raspberry Pi and power it on. Use an ethernet cable to connect. | ||
+ | * Access ssh on the Raspberry. Default username is '' | ||
+ | * Run '' | ||
+ | |||
+ | ===== CAN setup for StratoPi CAN ===== | ||
+ | |||
+ | * Run '' | ||
+ | * Add these lines to the end of '' | ||
dtoverlay=mcp2515-can0, | dtoverlay=mcp2515-can0, | ||
dtoverlay=spi-bcm2835-overlay | dtoverlay=spi-bcm2835-overlay | ||
+ | |||
+ | * Add these lines to the end of '' | ||
+ | |||
+ | auto can0 | ||
+ | iface can0 inet manual | ||
+ | pre-up /sbin/ip link set can0 type can bitrate 125000 | ||
+ | up / | ||
+ | down / | ||
* Reboot | * Reboot | ||
+ | ===== Non-root access to serial ports ===== | ||
+ | * Add user to '' | ||
+ | '' | ||
+ | * May also need to add user to '' | ||
+ | '' | ||
+ | |||
+ | ===== Useful links ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ |