Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
28f16b6
Bump nokogiri from 1.13.6 to 1.13.7
dependabot[bot] Jul 18, 2022
aff865a
Update your_first_binary.adoc
Jul 19, 2022
d258f0c
Document the upcoming sha256 setting
pelwell Jul 21, 2022
aeb7d3e
Clarify what files ares
pelwell Jul 21, 2022
97cf1c2
Merge pull request #2597 from pelwell/patch-22
Jul 21, 2022
0051997
Merge pull request #2589 from raspberrypi/dependabot/bundler/develop/…
Jul 22, 2022
4f93aac
Bump nokogiri from 1.13.7 to 1.13.8
dependabot[bot] Jul 25, 2022
3596739
Bump tzinfo from 2.0.4 to 2.0.5
dependabot[bot] Jul 25, 2022
a270a64
Merge pull request #2600 from raspberrypi/dependabot/bundler/develop/…
Jul 26, 2022
461dcad
Merge pull request #2599 from raspberrypi/dependabot/bundler/develop/…
Jul 26, 2022
16aec52
Update headless.adoc
ngreatorex Jul 26, 2022
4b2199d
Merge pull request #2601 from ngreatorex/patch-1
Jul 27, 2022
59ad955
typo
lurch Jul 28, 2022
2b724e5
Merge pull request #2602 from raspberrypi/lurch-patch-1
Jul 28, 2022
b47a4fc
Bump tzinfo-data from 1.2022.1 to 1.2022.2
dependabot[bot] Aug 15, 2022
3d2984f
Merge pull request #2606 from raspberrypi/dependabot/bundler/develop/…
Aug 16, 2022
b57fab2
Update README.md
Aug 19, 2022
3119da7
Update README.md
Aug 19, 2022
30ee753
Update README.md
Aug 19, 2022
5dbe2cf
Update README.md
Aug 19, 2022
83acc49
Bump tzinfo-data from 1.2022.2 to 1.2022.3
dependabot[bot] Aug 22, 2022
b66e8ce
Errant full stop
LizUpton Aug 23, 2022
35de603
Merge pull request #2612 from LizUpton/patch-2
Aug 23, 2022
e885f1e
Merge pull request #2611 from raspberrypi/dependabot/bundler/develop/…
Aug 23, 2022
7466840
Correct the git repository where we fetch libcamera
davidplowman Sep 2, 2022
e09c136
Merge pull request #2613 from davidplowman/develop
Sep 4, 2022
46caf72
Revert "Warning about Windows"
lurch Sep 7, 2022
932fcb9
Grammar fix
lurch Sep 8, 2022
b2c62e0
Added backlog to exempt list
Sep 9, 2022
180b306
Fix typo in vcgencmd measure_clock h264 parameter
hailfinger Sep 11, 2022
5c86e4b
Update about_pico.adoc
Sep 12, 2022
121f41a
Merge pull request #2616 from raspberrypi/revert_warning
Sep 12, 2022
5342ae4
Merge pull request #2618 from raspberrypi/lurch-patch-1
Sep 12, 2022
8ca1632
Merge pull request #2619 from hailfinger/patch-1
Sep 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
stale-issue-label: 'stale issue'
stale-pr-label: 'stale pull request'
exempt-issue-labels: 'ready to merge,ready for copy-edit,paused,in progress,linked pull request'
exempt-pr-labels: 'ready to merge,ready for copy-edit,paused,in progress'
exempt-issue-labels: 'ready to merge,ready for copy-edit,paused,in progress,linked pull request,backlog'
exempt-pr-labels: 'ready to merge,ready for copy-edit,paused,in progress,backlog'
days-before-stale: 60
days-before-close: 7
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ GEM
public_suffix (>= 2.0.2, < 5.0)
asciidoctor (2.0.15)
colorator (1.1.0)
concurrent-ruby (1.1.9)
concurrent-ruby (1.1.10)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
Expand Down Expand Up @@ -55,7 +55,7 @@ GEM
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
nokogiri (1.13.6)
nokogiri (1.13.8)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
pathutil (0.16.2)
Expand All @@ -72,9 +72,9 @@ GEM
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
tzinfo (2.0.4)
tzinfo (2.0.5)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2022.1)
tzinfo-data (1.2022.3)
tzinfo (>= 1.0.0)
unicode-display_width (1.8.0)
wdm (0.1.1)
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export PATH="$PATH:$GEM_HOME/bin"

and close and relaunch your Terminal window to have these new variables activated. Finally, run
```
$ gem install bundler
$ gem install bundler -v 2.2.15
```
to install the latest version of the Ruby `bundle` command.

Expand All @@ -52,6 +52,7 @@ Then you need to install Ruby,

```
$ brew install ruby@2.7
$ gem install bundler -v 2.2.15
```

**NOTE:** Homebrew defaults to Ruby 3.0 which is incompatible with Asciidoctor.
Expand Down Expand Up @@ -96,6 +97,7 @@ Go ahead and `brew install` the other dependencies,
$ brew install python@3
$ brew install ninja
$ brew install gumbo-parser
$ pip3 install pyyaml
```

### Install Scripting Dependencies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ In the `meson` commands below we have enabled the _gstreamer_ plugin. If you _do
sudo apt install -y libglib2.0-dev libgstreamer-plugins-base1.0-dev
----

Now we can check out and build `libcamera` itself.
Now we can check out and build `libcamera` itself. We check out Raspberry Pi's fork of libcamera which tracks the official repository but lets us control exactly when we pick up new features.

----
cd
git clone git://linuxtv.org/libcamera.git
git clone https://github.com/raspberrypi/libcamera.git
cd libcamera
----

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Raspberry Pi's `libcamera-apps` are not only command line applications that make

`libcamera` is an open source Linux community project. More information is available at the https://libcamera.org[`libcamera` website].

The `libcamera` source code can be found and checked out from the https://git.linuxtv.org/libcamera.git/[official libcamera repository].
The `libcamera` source code can be found and checked out from the https://git.linuxtv.org/libcamera.git/[official libcamera repository], although we work from a https://github.com/raspberrypi/libcamera.git[fork] that lets us control when we get _libcamera_ updates.

Underneath the `libcamera` core, Raspberry Pi provides a custom _pipeline handler_, which is the layer that `libcamera` uses to drive the sensor and ISP (Image Signal Processor) on the Raspberry Pi itself. Also part of this is a collection of well-known _control algorithms_, or _IPAs_ (Image Processing Algorithms) in `libcamera` parlance, such as AEC/AGC (Auto Exposure/Gain Control), AWB (Auto White Balance), ALSC (Auto Lens Shading Correction) and so on.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ We can now check out the code and build _libcamera_ as follows. Note that if you

[,bash]
----
git clone git://linuxtv.org/libcamera.git
git clone https://github.com/raspberrypi/libcamera.git
cd libcamera
meson build
cd build
Expand Down
5 changes: 5 additions & 0 deletions documentation/asciidoc/computers/config_txt/boot.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ Specifies a subdirectory/prefix from which to load overlays - defaults to `overl

NOTE: Unless `+${os_prefix}${overlay_prefix}README+` exists, overlays are shared with the main OS (i.e. `os_prefix` is ignored).

[[sha256]]
=== `sha256`

If set to non-zero, enables the logging of SHA256 hashes for loaded files (the kernel, initramfs, Device Tree .dtb file and overlays), as generated by the `sha256sum` utility. The logging output goes to the UART if enabled, and is also accessible via `sudo vcdbg log msg`. This option may be useful when debugging booting problems, but at the cost of potentially adding _many_ seconds to the boot time. Defaults to 0 on all platforms.

=== `uart_2ndstage`

Setting `uart_2ndstage=1` causes the second-stage loader (`bootcode.bin` on devices prior to the Raspberry Pi 4, or the boot code in the EEPROM for Raspberry Pi 4 devices) and the main firmware (`start*.elf`) to output diagnostic information to UART0.
Expand Down
2 changes: 1 addition & 1 deletion documentation/asciidoc/computers/config_txt/memory.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ This value will be clamped between a minimum of 128MB, and a maximum of the tota

=== `disable_l2cache`

Setting this to `1` disables the CPUs access to the GPUs L2 cache and requires a corresponding L2 disabled kernel. Default value on BCM2835 is `0`. On BCM2836, BCM2837, and BCM2711, the ARMs have their own L2 cache and therefore the default is `1`. The standard Raspberry Pi `kernel.img` and `kernel7.img` builds reflect this difference in cache setting.
Setting this to `1` disables the CPU's access to the GPU's L2 cache and requires a corresponding L2 disabled kernel. Default value on BCM2835 is `0`. On BCM2836, BCM2837, and BCM2711, the ARMs have their own L2 cache and therefore the default is `1`. The standard Raspberry Pi `kernel.img` and `kernel7.img` builds reflect this difference in cache setting.
5 changes: 2 additions & 3 deletions documentation/asciidoc/computers/configuration/headless.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ This file should contain a single line of text, consisting of `username:password
To generate the encrypted password, the easiest way is to use OpenSSL on a Raspberry Pi that is already running – open a terminal window and enter:

----
echo 'mypassword' | openssl passwd -6 -stdin
openssl passwd -6
----

This will produce what looks like a string of random characters, which is actually an encrypted version of the supplied password.
This will prompt you to enter your password, and verify it. It will then produce what looks like a string of random characters, which is actually an encrypted version of the supplied password.

WARNING: If you are creating this file on Microsoft Windows you should ensure that you do no add a newline to the end of the file. In Windows, lines end with both the line feed and carriage return ASCII characters, but Unix uses only a line feed and treats the additional carriage return character as part of the password hash.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ This returns the current frequency of the specified clock. The options are:
| core
| GPU core

| H264
| h264
| H.264 block

| isp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

=== Blink an LED

The first program anyone writes when using a new microcontroller is to blink an LED on and off. The Raspberry Pi Pico comes with a single LED on-board. The LED is connected to `GP25` on the board's Raspberry RP2040 for Pico, and `WL_GPIO0` on the Infineon 43439 wireless chip for Pico W.
The first program anyone writes when using a new microcontroller is to blink an LED on and off. The Raspberry Pi Pico comes with a single LED on-board. The LED is connected to `GP25` on the board's Raspberry Pi RP2040 for Pico, and `WL_GPIO0` on the Infineon 43439 wireless chip for Pico W.

image:images/Blink-an-LED-640x360-v2.gif[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ https://datasheets.raspberrypi.com/rp2040/hardware-design-with-rp2040.pdf[Hardwa

=== Raspberry Pi Pico

https://datasheets.raspberrypi.com/pico/pico-datasheet.pdf[Raspberry Pi Pico Datasheet]:: An RP2040-based microcontroller board.
https://datasheets.raspberrypi.com/pico/pico-datasheet.pdf[Raspberry Pi Pico Datasheet]:: An RP2040-based microcontroller board

https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf[Getting started with Raspberry Pi Pico]:: C/{cpp} development with Raspberry Pi Pico and other RP2040-based microcontroller boards

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ For best wireless performance, the antenna should be in free space. For instance
antenna can reduce its performance both in terms of gain and bandwidth. Adding grounded metal to the sides of the
antenna can improve the antenna’s bandwidth.

NOTE: The CYW43439 wireless chip is connected via SPI to the RP2040. While the CYW43439 supports both 802.11 wireless and Bluetooth, initially Pico W does not have Bluetooth support. Support may be added later, and will use the same SPI interface. If support is added existing hardware may require a firmware update to support Bluetooth, but there will be no hardware modifications needed.

=== Pinout and design files

image::images/picow-pinout.svg[]
Expand Down