{{Article summary text|Raspberry Pi is a minimalist computer built for the [[Wikipedia:ARMv6|ARMv6 architecture]]. [http://www.raspberrypi.org/ More information about this project] and [http://uk.farnell.com/raspberry-pi technical specification].}}

+

{{Article summary text|Raspberry Pi (RPi) is a minimalist computer built for the [[Wikipedia:ARMv6|ARMv6 architecture]]. [http://www.raspberrypi.org/ More information about this project] and [http://uk.farnell.com/raspberry-pi technical specification].}}

{{Article summary heading|Related}}

{{Article summary heading|Related}}

−

{{Article summary wiki|Beginners%27_Guide}} - This article is not meant to be an exhaustive setup guide and assumes that the reader has setup an Arch system before. Arch newbies are encouraged to read the Beginners'_Guide if unsure how to preform standard tasks such as creating users, managing the system, etc.

{{Note|Support for the ARM architecture is provided on http://archlinuxarm.org/ }}

+

== Article Preface ==

−

Posts to the official Arch Linux Forum related to ARM specific issues will be promptly closed.

+

This article is not meant to be an exhaustive setup guide and assumes that the reader has setup an Arch system before. Arch newbies are encouraged to read the [[Beginners' Guide]] if unsure how to preform standard tasks such as creating users, managing the system, etc.

+

+

{{Note|Support for the ARM architecture is provided on http://archlinuxarm.org not through posts to the official Arch Linux Forum. Any posts related to ARM specific issues will be promptly closed per the [https://wiki.archlinux.org/index.php/Forum_Etiquette#Arch_Linux_Distribution_Support_ONLY Arch Linux Distribution Support ONLY] policy.}}

== Installing Arch Linux ARM ==

== Installing Arch Linux ARM ==

Line 22:

Line 30:

Select an audio source for output:

Select an audio source for output:

−

cset numid=3 x

+

amixer cset numid=3 x

Where 'x' corresponds to:

Where 'x' corresponds to:

*0 for Auto

*0 for Auto

−

*1 for Headphones

+

*1 for Analog out

*3 for HDMI

*3 for HDMI

−

=== Caveats for HDMI ===

+

=== Caveats for HDMI Audio ===

Some applications require a setting in {{ic|/boot/config.txt}} to force audio over HDMI:

Some applications require a setting in {{ic|/boot/config.txt}} to force audio over HDMI:

hdmi_drive=2

hdmi_drive=2

−

== Video ==

+

== Onboard Hardware Sensors ==

−

pacman -S xf86-video-fbdev

+

=== Temperature ===

+

Temperatures sensors for the board itself are including as part of the '''raspberrypi-firmware-tools''' package. The RPi offers a sensor on the BCM2835 SoC (CPU/GPU):

+

+

/opt/vc/bin/vcgencmd measure_temp

+

temp=49.8'C

+

+

Alternatively, simply read from the filesystem:

+

% cat /sys/class/thermal/thermal_zone0/temp

+

49768

+

+

=== Voltage ===

+

Four different voltages can be monitored via {{ic|/opt/vc/bin/vcgencmd}} as well:

−

Adjustments are likely required to correct proper overscan/underscan and are easily achieved in {{ic/boot/config.txt}} in which many tweaks are set. To fix, simply uncomment the corresponding lines and setup per the commented instructions:

+

% /opt/vc/bin/vcgencmd measure_volts <id>

−

# uncomment the following to adjust overscan. Use positive numbers if console

+

*core for core voltage

−

# goes off screen, and negative if there is too much border

+

*sdram_c for sdram Core voltage

−

#overscan_left=16

+

*sdram_i for sdram I/O voltage

−

overscan_right=8

+

*sdram_p for sdram PHY voltage

−

overscan_top=-16

−

overscan_bottom=-16

−

A reboot is needed for new settings to take effect.

+

=== Lightweight Monitoring Suite ===

+

{{AUR|Monitorix}} has specific support for the RPi since v3.2.0. Screenshots available [[http://www.monitorix.org/screenshots.html here]].

−

== Overclocking ==

+

== Overclocking/Underclocking ==

−

The Raspberry Pi can be overclocked by editing {{ic|/boot/config.txt}}, for example:

+

The RPi can be overclocked by editing {{ic|/boot/config.txt}}, for example:

−

# Modest

arm_freq=800

arm_freq=800

+

arm_freq_min=100

core_freq=300

core_freq=300

+

core_freq_min=75

sdram_freq=400

sdram_freq=400

over_voltage=0

over_voltage=0

+

+

The optional xxx_min lines define the min usage of their respective settings. When the system is not under load, the values will drop down to those specified. Consult the [http://elinux.org/RPiconfig#Overclocking Overclocking] article on elinux for additional options and examples.

Referenced from these [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=53&t=19186] posts [https://bbs.archlinux.org/viewtopic.php?id=144847]

+

== Video ==

+

pacman -S xf86-video-fbdev

+

+

Adjustments are likely required to correct proper overscan/underscan and are easily achieved in {{ic|boot/config.txt}} in which many tweaks are set. To fix, simply uncomment the corresponding lines and setup per the commented instructions:

+

+

# uncomment the following to adjust overscan. Use positive numbers if console

+

# goes off screen, and negative if there is too much border

+

#overscan_left=16

+

overscan_right=8

+

overscan_top=-16

+

overscan_bottom=-16

+

+

Users wishing to use the analog video out should consult [https://raw.github.com/Evilpaul/RPi-config/master/config.txt this] config file which contains options for non-NTSC outputs.

Article Preface

This article is not meant to be an exhaustive setup guide and assumes that the reader has setup an Arch system before. Arch newbies are encouraged to read the Beginners' Guide if unsure how to preform standard tasks such as creating users, managing the system, etc.

Overclocking/Underclocking

The optional xxx_min lines define the min usage of their respective settings. When the system is not under load, the values will drop down to those specified. Consult the Overclocking article on elinux for additional options and examples.

A reboot is needed for new settings to take effect.

Note: The overclocked setting for CPU clock applies only when the governor throttles up the CPU, i.e. under load.

Video

pacman -S xf86-video-fbdev

Adjustments are likely required to correct proper overscan/underscan and are easily achieved in boot/config.txt in which many tweaks are set. To fix, simply uncomment the corresponding lines and setup per the commented instructions:

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
overscan_right=8
overscan_top=-16
overscan_bottom=-16

Users wishing to use the analog video out should consult this config file which contains options for non-NTSC outputs.