diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-07 14:23:37 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-07 14:23:37 +0100 |
commit | 8f397a4b163f6ee149837f0ab0dfd4081a720010 (patch) | |
tree | dd8f34d7eb3dace62842e575b7b3a306f9b204b8 /Documentation/boards | |
parent | ce9cbae133c84c147bc6823f07c0b55bf4012837 (diff) | |
parent | 9fd32f5a4e8d25fb8985fec86bc03f3743820f0e (diff) | |
download | barebox-8f397a4b163f6ee149837f0ab0dfd4081a720010.tar.gz barebox-8f397a4b163f6ee149837f0ab0dfd4081a720010.tar.xz |
Merge branch 'for-next/rpi'
Diffstat (limited to 'Documentation/boards')
-rw-r--r-- | Documentation/boards/bcm2835.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/boards/bcm2835.rst b/Documentation/boards/bcm2835.rst index ea80d58348..e9ad1d4d57 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 linux.bootargs.vc="$global.vc.bootargs" + .. _Raspberry Pi firmware: https://codeload.github.com/raspberrypi/firmware/zip/80e1fbeb78f9df06701d28c0ed3a3060a3f557ef .. _documentation for config.txt: https://www.raspberrypi.org/documentation/configuration/config-txt/ |