path: root/Documentation
diff options
authorSascha Hauer <>2019-03-07 14:23:37 +0100
committerSascha Hauer <>2019-03-07 14:23:37 +0100
commit8f397a4b163f6ee149837f0ab0dfd4081a720010 (patch)
treedd8f34d7eb3dace62842e575b7b3a306f9b204b8 /Documentation
parentce9cbae133c84c147bc6823f07c0b55bf4012837 (diff)
parent9fd32f5a4e8d25fb8985fec86bc03f3743820f0e (diff)
Merge branch 'for-next/rpi'
Diffstat (limited to 'Documentation')
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/boards/bcm2835.rst b/Documentation/boards/bcm2835.rst
index ea80d58..e9ad1d4 100644
--- a/Documentation/boards/bcm2835.rst
+++ b/Documentation/boards/bcm2835.rst
@@ -30,5 +30,15 @@ Raspberry Pi
6. Turn board's power on.
+VideoCore firmware creates a device tree based on the entries in ``config.txt``. This file is available to the Barebox environment in the file ``/vc.dtb``. For example, to boot a kernel shipped with Raspbian::
+ bootm -o /vc.dtb /boot/kernel7.img
+VideoCore device tree also contains the kernel command-line that is constructed from ``cmdline.txt`` and other parameters internally determined by the VideoCore firmware. Normally in Barebox this command-line gets overwritten on boot by the Linux bootargs (see :ref:`booting_linux`).
+The original command-line from VideoCore device tree is available to the Barebox environment in the ``vc.bootargs`` global variable. For example, to append it to the Linux bootargs::
+ global"$"
.. _Raspberry Pi firmware:
.. _documentation for config.txt: