]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
doc: board: samsung: exynos-mobile: remove requirement of stub device tree
authorKaustabh Chakraborty <kauschluss@disroot.org>
Tue, 3 Feb 2026 13:08:49 +0000 (18:38 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 23 Feb 2026 06:35:33 +0000 (15:35 +0900)
Flashing U-Boot for Exynos 7870 requires creating a stub device tree,
where certain properties and nodes are defined which are populated by
the previous bootloader in the phones.

Since these properties are now available in the U-Boot device tree, it's
now possible to use the same blob generated by U-Boot in place of the
stub, when creating boot images. Update the build documentation to
reflect the same.

Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
doc/board/samsung/exynos-mobile/exynos7870.rst

index 37562e272b46291cd5ce29a0a9c9e7864edeb811..702b21244ebe4933fdb93342f45b0cccc8eeea59 100644 (file)
@@ -6,47 +6,13 @@ Samsung Exynos 7870 Boards
 
 Preparation
 -----------
-Create the following device tree (named ``stub.dts``)
 
-.. code-block:: devicetree
-
-       /dts-v1/;
-
-       / {
-               compatible = "samsung,exynos7870";
-               #address-cells = <2>;
-               #size-cells = <1>;
-
-               model_info-chip = <7870>;
-               model_info-hw_rev = <0>;
-               model_info-hw_rev_end = <255>;
-
-               chosen {
-               };
-
-               memory@80000000 {
-                       device_type = "memory";
-                       reg = <0x0 0x80000000 0x0>;
-               };
-
-               memory@100000000 {
-                       device_type = "memory";
-                       reg = <0x1 0x00000000 0x0>;
-               };
-       };
-
-The chosen node and memory ranges are populated by S-BOOT. A certain device
-model may have multiple variants, with differing amounts of RAM and storage. The
-RAM capacity information is graciously provided by S-BOOT's device tree
-overlays.
-
-Compile it to a device tree blob, then pack it in the QCDT format [1]_ using
-``dtbTool-exynos`` [2]_ by issuing the following commands:
+Pack the device tree blob in the QCDT format [1]_ using ``dtbTool-exynos`` [2]_
+by issuing the following commands:
 
 .. prompt:: bash $
 
-       dtc -I dts -O dtb -o stub.dtb stub.dts
-       dtbTool-exynos -o stub-dt.img stub.dtb
+       dtbTool-exynos -o stub-dt.img .output/u-boot.dtb
 
 Finally, use ``mkbootimg`` by osm0sis [3]_ to generate the boot image: