Lines Matching refs:partition
76 On each development board, you need to partition the memory to store the preceding images. When the…
78 - Initializes hardware such as the ROM and RAM, and loads the partition table information.
79 - Loads the `boot.img` file based on the partition table and parses and loads the `ramdisk.img` fil…
80 - Prepares the partition table information and ramdisk address and enters the kernel, so that the k…
149 …phase of the boot process, a soft link will be created for the required partition device based on …
154 …A `required` partition is one that is essential for system boot. It must be mounted before level-2…
156 …he init process obtains required partition information in two ways. The init process first reads t…
181 …partition mounting information required for system boot. It should be the same as that in the `fst…
187 …partition as the required partition on the Hi3516D V300 platform to illustrate the boot process. D…
193 1. Obtain the `required` partition device information.
213 For the `system` partition, the key information read from devices is as follows:
240 …variable `bootDevice` and will be matched with the path of the `system` partition device when a so…
242 4. Process the **uevent** message of the `required` partition device.
260 …partition device. If the value matches that of the `/dev/block/platform/fe310000.sdhci/by-name/sys…
262 5. Create the `required` partition device node and the corresponding soft link.
291 For the `system` partition device, the path is as follows:
300 …*uevent** message. Up to now, the creation of a device node for the `system` partition is complete.
302 6. Mount the `required` partition.
304 … After a device node is created, mount it to the corresponding partition. The code is as follows:
315 …Therefore, when "Mount required partitions" is displayed, the `required` partition device is ready…
333 - Mounting of `vendor` partition
335 …partition. The initialization scripts related to the chip or development board is named in the for…
355 …| src | Address of the partition or path of the device mounted to the file syste…
378 suid/nosuid Allows a partition to have the suid attribute or not.
397 … During the booting process, the system partition to load is determined based on the slot of the a…
401 …otslots` is set to **1**, partition A/B booting is not supported and the system can boot only from…
403 …partition A/B booting is supported. If yes, the system continues to determine the system partition…
413 …eter `ohos.boot.bootslots` to check whether the current system supports partition A/B booting. The…
420 …em partition, for example, partition A or partition B. The value is a number. For example, **1** i…
422 …partition A/B booting based on `bootslots`. If the system does not support partition A/B booting, …
443 …n the `currentslot` value to determine whether partition A or partition B is the current system pa…
444 …ct new partition mounting configuration based on the original fstab file, and add the suffix `_a` …
445 … partition added with the corresponding suffix and enter the second phase of startup. This phase o…
447 The API for constructing new partition mounting configuration is as follows:
456 BEGET_INFO_CHECK(slot > 1, return, "default partition doesn't need to add suffix");
458 return, "Failed to format partition name suffix, use default partition name");
461 BEGET_LOGI("partition name with slot suffix: %s", item->deviceName);
467 …tform as an example to illustrate how to change from default partition booting to partition A/B bo…
469 1. Burn the original image, and view the device information of each partition.
471 
473 … image to construct images of the partitions used for partition A/B booting, and test the partitio…
475 … - Add the `system_b` and `vendor_b` partitions to the partition table in the `parameter.txt` file.
477 2. Burn the images of the partitions used for partition A/B booting.
479 …- Import the partition configuration to the rk3568 burning tool, and select the `parameter.txt` fi…
480 …- Select images (including `system_b` and `vendor_b` images) based on the new partition table conf…
484 …e` command. If the command output contains `bootslot=2`, the system supports partition A/B booting.
489 …nd output contains `system_b` and `vendor_b`, device nodes are successfully created in partition B.
497 …partition `mmcblk0p6` is mounted to the root file system (represented by a slash), and partition `…
499 Next, let's try booting from partition B.
501 …setactive 2` command to set the slot of the active partition to **2**, that is, the slot of partit…
509 If `current slot` is 2, the slot of the active partition is successfully set to **2**.
513 …According to the command output, partition `mmcblk0p11` is mounted to the root file system, and pa…
521 …nd mmcblk0p12 corresponds to vendor_b. That is, the system is successfully booted from partition B.