Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
36

It seems that the only concern is that your power supply, if it's not a decent, reliable supply capable of 2A+ of clean output power, might not be able to power the Pi sufficiently, resulting in crashes or frequent rainbows. See, specifically: All that max_usb_current=1 does is to set GPIO38 high, which in turn turns on a FET, which connects a second 39K ...


28

There was a change in the firmware/kernel recently, that enabled kernel CPU frequency scaling. Now, you don't set static CPU frequency in config.txt, you set maximum frequency. If your system is on load, it will change CPU frequency to higher value (it is called turbo mode, you can see the max setting in your log line) but if your system is idle, it will ...


13

I have this problem, too, when I'm using my huge TV. Try this: setfont /usr/share/consolefonts/Lat15-TerminusBold20x10.psf.gz To see a list of available fonts: ls /usr/share/consolefonts/ The numbers at the end indicate width and height (though not always that exact!) No idea why config.txt is missing. However, you can use this: https://raw.github.com/...


12

From http://www.raspberrypi-spy.co.uk/2012/06/overclocking-benchmarking-the-raspberry-pi/, I learned that the /boot directory actually resides in a specific partition that is readable directly from Windows (and probably many other OSes...). So I just have to insert the card in my laptop, edit the file, et voilà...


7

The raspi-config tool, at least in recent Raspbian releases (September 19th, 2012), allows you to hold the Shift key during boot to return to a non-overclocked state. This worked for me when my device didn't finish booting at 1000MHz. You can now choose from one of five overclock presets in raspi-config, the highest of which runs the ARM at 1GHz. The ...


7

I used the following to calibrate my display https://github.com/ukscone/set_overscan I found this on http://www.raspberrypi.org/forums/viewtopic.php?p=305797&sid=4fe5fc284854fe3723841f79ea2c6546#p305797


6

CMA dynamically allocates memory to the GPU as required. When the amount of free memory available to the GPU falls below the 'low water mark' (cma_lwm), CMA will attempt to re-allocate some of the memory currently available to the ARM to be instead reserved for the GPU. You can think of this as 'minimum free memory' for the GPU. If the GPU later frees up ...


6

This is a classic line-endings problem. Text files created on DOS/Windows machines have different line endings than files created on Unix/Linux. DOS uses carriage return and line feed ("\r\n") as a line ending, which Unix uses just line feed ("\n"). You need to be careful about transferring files between Windows machines and Unix machines to make sure ...


6

I think others here have done a good job answering: Is it even worth switching from ARMv7 to ARMv8 One thing to add coming up lately is that Firefox 57 Quantum only works as arm64. Another: Recently the /r/raspberry_pi subreddit highlighted significant speedups specific to elliptic curve cryptography. However, likewise you'll lose out on other features ...


5

I had the same problem. Everyone owns an HDMI TV except me (well, I do now). I found the following information only after a long long search. No one seems to be talking about it, so the wider community is not aware. Display Mode Selection: By default, NOOBS will output over HDMI at your display's preferred resolution, even if no HDMI display is connected. ...


5

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 custom image. In this case, I believe the best practice would be to write the assigned hostname to /etc/hostname during the card creation process. It does require ...


5

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. For some hints about why there still isn't a special version of Raspbian, see here: Raspbian moving to 64-bit mode Otherwise, I think the only relevance is in ...


4

Add force_turbo=1 in your config.txt.


4

You can use setfont from a terminal to set the current console font to one of the fonts found in /usr/share/consolefonts/. You don't need to specify the full path or the .psf.gz suffix. Just something like: setfont Lat15-Fixed18 will do the trick. You can play around until you find a font you like, and then to make it systemwide and default, you can ...


3

What finally helped was the following: I dumped the EDID-file with tvservice -d edid_dump.bin I edited this file with LIGHTWARE-EDID-editor (part of a demo suite). What I actually needed to change was little: In the CEA part of the file, I needed to specify that the device was HDMI-compliant (HDMI/HDMI options), and under CEA/Audio data, I needed to add ...


3

Did you run the setup properly at the first boot?Also you can run it again using the command $sudo raspi-config To manually add the file, just add a new file config.txt to the /boot folder.You can find the options from the elinux website. I think changes are made to the firmware so it was still there after reflashing the sd card. Hope it helps.


3

For me to set raspberry_pi raspbian(jessie) video resolution as 1280x1024, from 655x500(some very large and disturbing display resolution) I have made following changes in my /boot/config.txt file. PS : These are the only values in my /boot/config.txt disable_overscan=1 hdmi_ignore_edid=0xa50000080 hdmi_force_hotplug=1 config_hdmi_boost=4 hdmi_group=2 ...


3

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 in as a normal user and the file is owned by someone else (root?). Hence you don't have permission to change the permissions. Using sudo runs the command as ...


3

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 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq 1200000 When not under load: sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq 600000 When ...


3

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.025V steps; in other words, specifying -16 will give 0.8V as the GPU/core voltage, and specifying 8 will give 1.4V. The default value is 0 (1.2V). Values ...


3

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 unusual contexts, since when required gearing up to a higher frequency happens much faster than is humanly perceivable. I have read that using a raspberry pi B+ ...


3

Locked SD-Card Check if your SD-card (or SD-card adapter) has been set to "lock" by accident. /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 remount it with the following command: sudo mount -o remount,rw /...


3

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 the Pi: the fiq stuff etc. So heavily patched that, despite the name, it only does host mode & not OTG. dwc2 is an upstream driver which can do the ...


2

There is "safe mode" boot option in raspberry Pi firmware for some time now. To enable it, you have to use a jumper to do short between pins 5 and 6 on P1 header. This makes bootloader code to almost ignore content of config.txt (except from avoid_safe_mode option) using default values and try to boot with kernel_emergency.img (or kernel.img if it's not ...


2

OK, it looks like a line-ending issue. You have to change the line endings, and the easiest way to do this is with Vim: vim config.txt :set ff=unix :wq


2

Here's the simplest solution: When you log in to Linux (or Unix) a file named .profile is executed by the shell. I recently got a 7" LCD, 1024x600 monitor. For the last 2 years I've communicated with my Rpi through ssh, but now I needed a system with a small monitor. So I edited the .profile file and added the following line at the end: setfont /usr/share/...


2

for me it was the scaling governor which prevented the overclocking. just read the correct answer on this question here: How to change the default governor? now my raspberry runs on 1150MHz


2

Try to add the following 2 lines to your config.txt: hdmi_group=1 hdmi_mode=4 This sets the used resolution to CEA (hdmi_group=1) and 1280x720p (hdmi_mode=4). Add this to your config.txt and reboot. No idea if this will work but it selects a resolution permanently (you can of course change it by editing your config.txt again).


2

In my case, the SD card, when connected to the computer, had a noob.config file. I replaced display_mode=0 (default to HDMI, I suppose) by display_mode=3 and it worked fine.


2

You could automate the action suggested above with a script. if /opt/vc/bin/tvservice -s | grep 'NTSC\|PAL'; then echo $(hostname) is running Composite else echo $(hostname) is running hdmi fi Replace the echo lines with the desired adjustments


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