-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.txt
55 lines (45 loc) · 1.89 KB
/
config.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Default Nerves RPi0 config.txt
#
# It's possible to override this file by using a custom fwup.conf
# configuration to pull in a replacement.
#
# Useful links:
# https://www.raspberrypi.org/documentation/configuration/config-txt/README.md
# https://www.raspberrypi.org/documentation/configuration/device-tree.md
# https://github.com/raspberrypi/documentation/blob/master/configuration/device-tree.md
# https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README
kernel=zImage
# Disable the boot rainbow
disable_splash=1
# This, along with the Raspberry Pi "x" firmware is needed for the camera
# to work. The Raspberry Pi "x" firmware is selected via the Buildroot
# configuration. See Target packages->Hardware handling->Firmware.
gpu_mem=192
# Enable I2C, SPI, and audio
dtparam=i2c_arm=on
dtparam=spi=on
dtparam=audio=on
# Comment this in or modify to enable OneWire
# NOTE: check that the overlay that you specify is in the boot partition or
# this won't work.
#dtoverlay=w1-gpio-pullup,gpiopin=4
dtoverlay=dwc2
# The ramoops overlay works with the pstore driver to preserve crash
# information across reboots in DRAM
dtoverlay=ramoops
# Enable the UART (/dev/ttyAMA0) on the RPi0.
enable_uart=1
dtoverlay=miniuart-bt
# Set the GPU frequency so that the MiniUART (/dev/ttyS0) can be used for
# Bluetooth. This has a small performance impact. See
# https://www.raspberrypi.org/documentation/computers/config_txt.html#overclocking.
core_freq=250
# The active LED is active low instead of active high like other Raspberry Pis
dtparam=act_led_activelow=on
# The default is to blink the LED on MicroSD card accesses, but this isn't
# that useful since Nerves has very few accesses. Switch it to a heartbeat
# so that it's easy to see if the processor hangs.
dtparam=act_led_trigger=heartbeat
# To turn the LED completely off comment out the previous line and uncomment
# the next.
#dtparam=act_led_trigger=none