19 votes

What does "dtoverlay=dwc2" REALLY do?

The answer to your question title has been hard to word better than gregeric explained: dwc_otg is the driver that has been heavily patched to squeeze most performance & function in host mode on ...
jdonald's user avatar
  • 2,904
10 votes
Accepted

Enabling ARMv8 on Raspberry Pi 3 B

I think others here have done a good job answering: Is it even worth switching from ARMv7 to ARMv8 Various software cited to require ARMv8 includes CockroachDB, MongoDB (if accessing >2 GB), the ...
jdonald's user avatar
  • 2,904
9 votes
Accepted

is dtoverlay a general linux concept or RPi specific?

dtoverlay and /boot/config.txt is a very nice method to quickly tell the kernel that you've got new device tree information. Worth making explicit that config.txt is not accessed by the kernel at all,...
goldilocks's user avatar
  • 58.9k
8 votes

over_voltage possible values

The permitted over voltage values are given in https://www.raspberrypi.org/documentation/configuration/config-txt/README.md CPU/GPU core voltage adjustment. [-16,8] equates to [0.8V,1.4V] with 0....
joan's user avatar
  • 71.1k
8 votes

Enabling ARMv8 on Raspberry Pi 3 B

Is it even worth switching from ARMv7 to ARMv8? Not unless you are running a kernel and OS userland compiled for ARMv8; there are at least a few such things for the Pi 3 around, including Fedora. ...
goldilocks's user avatar
  • 58.9k
8 votes

is dtoverlay a general linux concept or RPi specific?

Device Tree is a data structure for describing hardware. Rather than hard coding every detail of a device into an operating system, many aspects of the hardware can be described in a data structure ...
Milliways's user avatar
  • 60k
7 votes

config.txt : Hostname

It is not possible to set the device hostname through config.txt. A full list of commands can be found on the Raspberry Pi Foundation's website. An Alternative: You mention that you're creating a ...
Jacobm001's user avatar
  • 11.9k
7 votes

Raspberry Pi 4 B GPIO boot and shutdown button(s)

I see two separate questions re use and configuration of "power buttons" to halt and boot an RPi 4: Question 1: Is the shutdown initiated with connecting the GPIO3 pin and the GND pin ...
Seamus's user avatar
  • 22k
6 votes

Does hdmi_cvt need the '=' in config.txt?

I've just tested this on my Pi3 with 5 inch touchscreen - both work - with and without the '='. hdmi_group=2 hdmi_mode=87 hdmi_cvt=800 480 60 6 0 0 0 Worked hdmi_group=2 hdmi_mode=87 hdmi_cvt 800 ...
CoderMike's user avatar
  • 6,982
5 votes
Accepted

Restoring OTP bit after using MSD boot feature

I understand this is an old question, but happens that I knew how this is working trying to fix a similar problem (more on this later on). Yes you can boot again from the sdcard, even with the (...
dentex's user avatar
  • 174
5 votes
Accepted

How to edit config.txt

/boot mounted as read-only Issue a mount | grep /boot if the the output is /dev/mmcblk0p1 on /boot type vfat (ro,relatime, ... ,errors=remount-ro) it is mounted read-only (see the ro). You can ...
MadMike's user avatar
  • 593
5 votes

Unable to set GPU memory split on Raspberry Pi Zero W

Thanks to the forums over on raspberrypi.org I was able to find out the answer to this, so I am sharing it here for future reference... ANSWER: The 128M of GPU RAM is still being reserved because I ...
MrChips's user avatar
  • 993
5 votes

Raspberry Pi 4 B GPIO boot and shutdown button(s)

The operation is explained in /boot/overlays/README It is quite safe, I have it on all my Pi in case I need to shutdown a headless Pi (or one without keyboard attached), although my Pi are rarely ...
Milliways's user avatar
  • 60k
4 votes

How to set the video resolution over composite?

I read at https://discourse.osmc.tv/t/composite-sd-resolution-of-osmc-skin-video-output/5445/3) that Composite is fixed resolution (720x480@60i for NTSC, 720x576@50i for PAL). So you cannot change ...
Frank Breitling's user avatar
4 votes
Accepted

`arm_freq` in config.txt on Raspberry Pi 3 model B

The Raspberry Pi 3 Model B starts at 1.2Ghz regardless of what /boot/config.txt says. Here are the results of my clock speed files on my Pi 3 with config.txt not edited from a fresh card: sudo cat /...
Patrick Cook's user avatar
  • 6,365
3 votes
Accepted

Raspberry Pi B+ Overclocking

Setting the governor to "performance" should mean the processor runs at the maximum frequency set in config.txt, or the default if there isn't one. Note that this is generally pointless except in ...
goldilocks's user avatar
  • 58.9k
3 votes

config.txt : Hostname

Okay, from your comments on the other answer, it looks like you want to change the hostname of Raspberry Pi image without actually booting it. This should be trivial. We want to modify the /etc/...
Karthik Karyamapudi's user avatar
3 votes

How do I increase the terminal font size?

7 years later, I was having the same issue, and the solution that worked for me was "Method 2" from https://www.raspberrypi-spy.co.uk/2014/04/how-to-change-the-command-line-font-size/. In short, I ...
Eric Woodward's user avatar
3 votes
Accepted

"chmod u+w config.txt" results in "Operation not permitted."

You probably need to use sudo: sudo chmod a+w config.txt Explanation: You don't say much about the file (who owns it?) or which user you're running the command as, but I guess you're probably logged ...
Mark Smith's user avatar
  • 1,293
3 votes

Enabling ARMv8 on Raspberry Pi 3 B

As of today, it seems Fedora and Archlinux are well supported. If you go the Arch way, this will help you build the image (for me on linux / rpi3 it was make linux) and this will help you start wifi....
Pierre-Alexis Ciavaldini's user avatar
3 votes
Accepted

Import settings from other file into config.txt

This is not possible. Dokumentation of config.txt says: This (rem.: config.txt) is read by the GPU before the ARM CPU and Linux are initialised. It must therefore be located on the first (boot) ...
Ingo's user avatar
  • 42.1k
3 votes
Accepted

Setting up multiple I2C buses using dtoverlay

Looks like you're using the physical pin numbers. All RPF documentation, settings and software (such as dtoverlay, gpiozero, etc) work with the BCM numbers. You can find these at pinout and elsewhere....
Dirk's user avatar
  • 3,551
3 votes
Accepted

How do I regain access to either the filesystem or terminal on a raspberry pi that has all networking services disabled and no terminal?

Your SD card (or whatever media you boot from) has two partitions - one is ext4 filesystem (/); the other is FAT32 filesystem (/boot). You may remove the SD card, then mount and edit anything in /boot ...
Seamus's user avatar
  • 22k
3 votes

How do I regain access to either the filesystem or terminal on a raspberry pi that has all networking services disabled and no terminal?

Try adding rw init=/bin/bash to the cmdline.txt: that should unconditionally boot your system into a root terminal, which allows you to edit the configuration files you have messed up (re-enabling the ...
Dmitry Grigoryev's user avatar
2 votes

config.txt : Hostname

In the 'modern' Raspberry Pi Imager using the cog wheel in the first screen allows you to set some presets including the hostname but also wifi configuration, default user name, whether SSH is enabled ...
MichielB's user avatar
  • 131
2 votes

config.txt : Hostname

Why not create a service? [Unit] Description=Change hostname from sd ConditionPathExists=/boot/hostname Before=dhcpcd.service [Service] Type=oneshot ExecStartPre=/bin/bash -c 'CURRENT_HOSTNAME=$(/...
user981836's user avatar
2 votes
Accepted

How to Create shortcut that appends text to /boot/config.txt

You should use one of kdesu, kdesudo or gtksudo (depending on your desktop environment) to run the script as root. It will give you a gui prompt for your password rather than just sudo which wants an ...
Michael Daffin's user avatar
2 votes

Video Composite android tv raspberry pi

The Android builds are using the open source graphics driver, which doesn't yet have support for video out other than HDMI and DPI. Composite support is tracked at https://github.com/anholt/linux/...
Emma Anholt's user avatar
2 votes

Windows 10 IoT Core, Pi 3 Config.txt

The last time I checked, it was in C:\EFIESP Full path: C:\EFIESP\config.txt
Aloha's user avatar
  • 7,156
2 votes
Accepted

Is 'dwc2' limited to USB direct connections?

I use those settings on all my SD cards and swap those cards merrily between Pi Zero, Pi B+ and Pi 2 with no side effects.
KennetRunner's user avatar
  • 1,050

Only top scored, non community-wiki answers of a minimum length are eligible