Demon000 fab0daa3bd
sm6250-common: Define partition rules
Partition sizes can be found by query-ing sysfs.
For example, for super partition.

> ls -la /dev/block/by-name/super
lrwxrwxrwx 1 root root   16 1970-03-23 06:51 super -> /dev/block/sda17
> cat /proc/partitions | grep sda17
 259        1    8388608 sda17

The size needs to be multiplied by the block size used by
/proc/partitions, which is 1024 bytes.

Logical partitions found inside the physical super partition
can be found by looking for entries with the logical flag in the
fstab inside boot ramdisk.

Change-Id: Ic65df8e093a601e3f603c40174b116b20072ee27
2021-09-09 18:45:56 +02:00
2021-09-09 18:45:51 +02:00

Common device tree for Xiaomi SM6250 devices

#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
Description
No description provided
Readme 20 MiB
Languages
C++ 83.4%
Makefile 10.6%
Shell 4%
C 1%
Forth 0.5%
Other 0.5%