diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/boards/stm32mp.rst | 19 | ||||
-rw-r--r-- | Documentation/user/booting-linux.rst | 6 |
2 files changed, 18 insertions, 7 deletions
diff --git a/Documentation/boards/stm32mp.rst b/Documentation/boards/stm32mp.rst index 6d97b0d6d4..de793ab3c9 100644 --- a/Documentation/boards/stm32mp.rst +++ b/Documentation/boards/stm32mp.rst @@ -35,7 +35,7 @@ The resulting images will be placed under ``images/``: Flashing barebox ---------------- -An appropriate image for the boot media can be generated with following +An appropriate image for a SD-Card can be generated with following ``genimage(1)`` config:: image @STM32MP_BOARD@.img { @@ -61,7 +61,22 @@ An appropriate image for the boot media can be generated with following } } -Image can then be flashed on e.g. a SD-Card. +For eMMC, the boot partitions are used as the FSBL partitions and so the user +partitions may look like this: + + image @STM32MP_BOARD@.img { + partition ssbl { + image = "barebox-@STM32MP_BOARD@.img" + size = 1M + } + partition barebox-environment { + image = "/dev/null" + size = 1M + } + } + +The fsbl1 and fsbl2 can be flashed by writing to barebox ``/dev/mmcX.boot0`` and +``/dev/mmcX.boot1`` respectively or from a booted operating system. Boot source selection --------------------- diff --git a/Documentation/user/booting-linux.rst b/Documentation/user/booting-linux.rst index 12cd505e71..983b56deef 100644 --- a/Documentation/user/booting-linux.rst +++ b/Documentation/user/booting-linux.rst @@ -158,7 +158,7 @@ Bootloader Spec barebox supports booting according to the bootloader spec: -http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/ +https://systemd.io/BOOT_LOADER_SPECIFICATION/ It follows another philosophy than the :ref:`boot_entries`. With Boot Entries booting is completely configured in the bootloader. Bootloader Spec Entries @@ -232,10 +232,6 @@ device where the entry is found on. This makes it possible to use the same rootf image on different devices without having to specify a different root= option each time. -Additionally to the options defined in the original spec, Barebox has the -``devicetree-overlay`` option. This is a string value that refer to overlays -that will be applied to the device tree before passing it to Linux. - Network boot ------------ |