blob: 542be4b25a0a23846a3e78e61349d1e8c77346a1 [file] [log] [blame]
Tien Fong Cheefc5ca3a2018-07-06 16:27:35 +08001* File system firmware loader
2
3Required properties:
4--------------------
5
6- compatible: should contain "u-boot,fs-loader"
7- phandlepart: which block storage device and partition the image loading from,
8 this property is required for mmc, usb and sata. This is unsigned
9 32-bit array. For example phandlepart=<&mmc_0 1>, meaning use
10 that MMC0 node pointer, partition 1.
11- mdtpart: which partition of ubi the image loading from, this property is
12 required for ubi and mounting.
13- ubivol: which volume of ubi the image loading from, this property is required
14 for ubi and mounting.
15
16Example of storage device and partition search set for mmc, usb, sata and
17ubi in device tree source as shown in below:
18
19 Example of storage type and device partition search set for mmc, usb,
20 sata and ubi as shown in below:
21 Example for mmc:
22 fs_loader0: fs-loader@0 {
Simon Glassc8ef3ee2023-02-13 08:56:35 -070023 bootph-all;
Tien Fong Cheefc5ca3a2018-07-06 16:27:35 +080024 compatible = "u-boot,fs-loader";
25 phandlepart = <&mmc_0 1>;
26 };
27
28 Example for usb:
29 fs_loader1: fs-loader@1 {
Simon Glassc8ef3ee2023-02-13 08:56:35 -070030 bootph-all;
Tien Fong Cheefc5ca3a2018-07-06 16:27:35 +080031 compatible = "u-boot,fs-loader";
32 phandlepart = <&usb0 1>;
33 };
34
35 Example for sata:
36 fs_loader2: fs-loader@2 {
Simon Glassc8ef3ee2023-02-13 08:56:35 -070037 bootph-all;
Tien Fong Cheefc5ca3a2018-07-06 16:27:35 +080038 compatible = "u-boot,fs-loader";
39 phandlepart = <&sata0 1>;
40 };
41
42 Example for ubi:
43 fs_loader3: fs-loader@3 {
Simon Glassc8ef3ee2023-02-13 08:56:35 -070044 bootph-all;
Tien Fong Cheefc5ca3a2018-07-06 16:27:35 +080045 compatible = "u-boot,fs-loader";
46 mtdpart = "UBI",
47 ubivol = "ubi0";
48 };