-
Notifications
You must be signed in to change notification settings - Fork 9
config.txt
Frank Bauernöppel edited this page Oct 29, 2017
·
4 revisions
config.txt is a config file on the boot partition, which is read during the boot process.
A convenient way to view/edit this file on a running RasPi is to mount the boot partition like this:
root@raspberrypi3:~# mount /dev/mmcblk0p1 /boot
root@raspberrypi3:~# vi /boot/config.txt
We use the following command to display the file content in a normalized (alphabetically sorted lines) way:
root@raspberrypi3:~# cat /boot/config.txt | sort
Only the last few non-comment (#
) and non-blank lines are important:
disable_overscan=1
dtparam=act_led_trigger=heartbeat
dtparam=i2c1=on
dtparam=i2c_arm=on
dtparam=spi=on
dtparam=uart0=on
dtparam=watchdog=on
enable_uart=1
gpu_mem=128
start_x=1
After changing it, a reboot is necessary. Most changes can already be done before bitbake by editing local.conf.