History log of /rk3399_rockchip-uboot/include/part.h (Results 1 – 25 of 117)
Revision Date Author Comments
# d8db5367 08-Feb-2022 Joseph Chen <chenjh@rock-chips.com>

disk: Add ENV partition table support

Support partition table from env variable "blkdevparts" or "mtdparts".

Example:
blkdevparts=mmcblk0:4M@8M(uboot),1M(misc),32M(boot),512M(rootfs),512M(oem),1G

disk: Add ENV partition table support

Support partition table from env variable "blkdevparts" or "mtdparts".

Example:
blkdevparts=mmcblk0:4M@8M(uboot),1M(misc),32M(boot),512M(rootfs),512M(oem),1G(userdata),-(media)
mtdparts=....

Search priority: mtdparts > blkdevparts.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ie06d6fa8a53e3c0921855f475d61f2b241db17f8

show more ...


# 46695f43 10-May-2021 Joseph Chen <chenjh@rock-chips.com>

disk: part: add part_get_info_by_name_strict()

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ib9ea544d5eaabb4c0340ba4212cdea3d4018c6a0


# 18ed0023 05-Jul-2021 Joseph Chen <chenjh@rock-chips.com>

disk: Add ram partition table support

Partitions info is from rockchip atags.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I8c2613e96f93bd2da8cbee4b970123ef212c987c


# 83ea92e1 18-Jul-2019 Jason Zhu <jason.zhu@rock-chips.com>

disk: part: support get part info in spl

Change-Id: I79be3609f0a4f9a24cb82c5cb8090bde0eafaf85
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>


# df202761 29-Nov-2018 Joseph Chen <chenjh@rock-chips.com>

disk: part: add interface to get partition type

Change-Id: I69894f5e4ce03909a8290e941d8808593d027080
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 19f6a169 07-Aug-2018 Joseph Chen <chenjh@rock-chips.com>

part: rkparm: add RKPARAM_ENTRY_NUMBERS definition

rkparam shouldn't depends on GPT partition.

Change-Id: Ifc235c4166facadfc2fe0eb6b08ce7fd8850738b
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# b3800056 09-Sep-2017 Rob Clark <robdclark@gmail.com>

UPSTREAM: fs: add fs_readdir()

Needed to support efi file protocol. The fallback.efi loader wants
to be able to read the contents of the /EFI directory to find an OS
to boot.

Modelled after POSIX

UPSTREAM: fs: add fs_readdir()

Needed to support efi file protocol. The fallback.efi loader wants
to be able to read the contents of the /EFI directory to find an OS
to boot.

Modelled after POSIX opendir()/readdir()/closedir(). Unlike the other
fs APIs, this is stateful (ie. state is held in the FS_DIR "directory
stream"), to avoid re-traversing of the directory structure at each
step. The directory stream must be released with closedir() when it
is no longer needed.

Change-Id: I5a977a73024ff4646fc3c4f7c49993de0b5b6256
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Łukasz Majewski <lukma@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 4bbcc965f995564870ca02606137e60e873e0a1f)

show more ...


# e561b4d4 13-Sep-2017 Rob Clark <robdclark@gmail.com>

UPSTREAM: part: move efi_guid_t

Prep work for next patch.

Change-Id: Ic5e74b6843749af6cbd2de6141606019c34f716b
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Heinrich Schuchardt <xypro

UPSTREAM: part: move efi_guid_t

Prep work for next patch.

Change-Id: Ic5e74b6843749af6cbd2de6141606019c34f716b
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 0d6ab32e3712fe7bc2e3aaf3d93e0d5910264df3)

show more ...


# 82198b5c 06-Dec-2017 Kever Yang <kever.yang@rock-chips.com>

disk: part_rockchip: add new partition type for rockchip parameter

Rockchip parameter parameter is a partition type like cmdline partition,
widely used in rockchip legacy system.

Change-Id: I107748

disk: part_rockchip: add new partition type for rockchip parameter

Rockchip parameter parameter is a partition type like cmdline partition,
widely used in rockchip legacy system.

Change-Id: I107748733c4cfed22f3a2ef8716033211eafdf7c
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...


# 47d7ee47 23-Aug-2017 Maxime Ripard <maxime.ripard@free-electrons.com>

part: efi: make gpt_fill_pte take the device descriptor

The gpt_fill_pte will need to access the device block size. Let's pass the
device descriptor as an argument.

Signed-off-by: Maxime Ripard <ma

part: efi: make gpt_fill_pte take the device descriptor

The gpt_fill_pte will need to access the device block size. Let's pass the
device descriptor as an argument.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Tom Rini <trini@konsulko.com>

show more ...


# 09a49930 04-Jul-2017 Alison Chaiken <alison@peloton-tech.com>

GPT: read partition table from device into a data structure

Make the partition table available for modification by reading it from
the user-specified device into a linked list. Provide an accessor

GPT: read partition table from device into a data structure

Make the partition table available for modification by reading it from
the user-specified device into a linked list. Provide an accessor
function for command-line testing.

Signed-off-by: Alison Chaiken <alison@peloton-tech.com>
[trini: Make this depend on CMD_GPT_RENAME, as it is the user of this
code]
Signed-off-by: Tom Rini <trini@konsulko.com>

show more ...


# 73d6d18b 25-Jun-2017 Alison Chaiken <alison@peloton-tech.com>

GPT: add accessor function for disk GUID

In order to read the GPT, modify the partition name strings, and then
write out a new GPT, the disk GUID is needed. While there is an
existing accessor for

GPT: add accessor function for disk GUID

In order to read the GPT, modify the partition name strings, and then
write out a new GPT, the disk GUID is needed. While there is an
existing accessor for the partition UUIDs, there is none yet for the
disk GUID.

Changes since v6: none.

Signed-off-by: Alison Chaiken <alison@peloton-tech.com>

show more ...


# e6faf21f 25-Jun-2017 Alison Chaiken <alison@peloton-tech.com>

partitions: increase MAX_SEARCH_PARTITIONS and move to part.h

Move MAX_SEARCH_PARTITIONS to part.h so that functions in cmd
directory can find it. At the same time, increase the value to
64 since s

partitions: increase MAX_SEARCH_PARTITIONS and move to part.h

Move MAX_SEARCH_PARTITIONS to part.h so that functions in cmd
directory can find it. At the same time, increase the value to
64 since some operating systems use many, and the resources
consumed by a larger value are minimal.

Changes since v6: none.

Signed-off-by: Alison Chaiken <alison@peloton-tech.com>

show more ...


# 92856b48 25-Jun-2017 Alison Chaiken <alison@peloton-tech.com>

disk_partition: introduce macros for description string lengths

Changes since v6: none.

Signed-off-by: Alison Chaiken <alison@peloton-tech.com>


# db9b6200 25-Jun-2017 Alison Chaiken <alison@peloton-tech.com>

EFI: replace number with UUID_STR_LEN macro

Changes since v6: none.

Signed-off-by: Alison Chaiken <alison@peloton-tech.com>


# 88b6329c 02-Apr-2017 Alex Deymo <deymo@google.com>

disk: Return the partition number in part_get_info_by_name()

Similar to what blk_get_device_part_str() does, this patch makes
part_get_info_by_name() return the partition number in case of a match.

disk: Return the partition number in part_get_info_by_name()

Similar to what blk_get_device_part_str() does, this patch makes
part_get_info_by_name() return the partition number in case of a match.
This is useful when the partition number is needed and not just the
descriptor.

Signed-off-by: Alex Deymo <deymo@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

show more ...


# f0fb4fa7 11-Feb-2017 Dalon Westergreen <dwesterg@gmail.com>

SPL: add support to boot from a partition type

the socfpga bootrom supports mmc booting from either a raw image
starting at 0x0, or from a partition of type 0xa2. This patch
adds support for locati

SPL: add support to boot from a partition type

the socfpga bootrom supports mmc booting from either a raw image
starting at 0x0, or from a partition of type 0xa2. This patch
adds support for locating the boot image in the first type 0xa2
partition found.

Assigned a partition number of -1 will cause a search for a
partition of type CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_TYPE
and use it to find the u-boot image

Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>

show more ...


# b331cd62 27-Jan-2017 Patrick Delaunay <patrick.delaunay@st.com>

cmd, disk: convert CONFIG_PARTITION_UUIDS, CMD_PART and CMD_GPT

We convert CONFIG_PARTITION_UUIDS to Kconfig first. But in order to cleanly
update all of the config files we must also update CMD_PA

cmd, disk: convert CONFIG_PARTITION_UUIDS, CMD_PART and CMD_GPT

We convert CONFIG_PARTITION_UUIDS to Kconfig first. But in order to cleanly
update all of the config files we must also update CMD_PART and CMD_GPT to also
be in Kconfig in order to avoid complex logic elsewhere to update all of the
config files.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>

show more ...


# bd42a942 27-Jan-2017 Patrick Delaunay <patrick.delaunay@st.com>

disk: convert CONFIG_EFI_PARTITION to Kconfig

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>


# b0cf7339 27-Jan-2017 Patrick Delaunay <patrick.delaunay@st.com>

disk: convert CONFIG_DOS_PARTITION to Kconfig

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>


# da2ee24d 09-Sep-2016 Petr Kulhavy <brain@jikos.cz>

disk: part: refactor generic name creation for DOS and ISO

In both DOS and ISO partition tables the same code to create partition name
like "hda1" was repeated.

Code moved to into a new function pa

disk: part: refactor generic name creation for DOS and ISO

In both DOS and ISO partition tables the same code to create partition name
like "hda1" was repeated.

Code moved to into a new function part_set_generic_name() in part.c and optimized.
Added recognition of MMC and SD types, name is like "mmcsda1".

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Steve Rae <steve.rae@raedomain.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

show more ...


# b6dd69a4 09-Sep-2016 Petr Kulhavy <brain@jikos.cz>

fastboot: add support for writing MBR

Add special target "mbr" (otherwise configurable via CONFIG_FASTBOOT_MBR_NAME)
to write MBR partition table.
Partitions are now searched using the generic funct

fastboot: add support for writing MBR

Add special target "mbr" (otherwise configurable via CONFIG_FASTBOOT_MBR_NAME)
to write MBR partition table.
Partitions are now searched using the generic function which finds any
partiiton by name. For MBR the partition names hda1, sda1, etc. are used.

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Steve Rae <steve.rae@raedomain.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

show more ...


# 87b8530f 09-Sep-2016 Petr Kulhavy <brain@jikos.cz>

disk: part: implement generic function part_get_info_by_name()

So far partition search by name has been supported only on the EFI partition
table. This patch extends the search to all partition tabl

disk: part: implement generic function part_get_info_by_name()

So far partition search by name has been supported only on the EFI partition
table. This patch extends the search to all partition tables.

Rename part_get_info_efi_by_name() to part_get_info_by_name(), move it from
part_efi.c into part.c and make it a generic function which traverses all part
drivers and searches all partitions (in the order given by the linked list).

For this a new variable struct part_driver.max_entries is added, which limits
the number of partitions searched. For EFI this was GPT_ENTRY_NUMBERS.
Similarly the limit is defined for DOS, ISO, MAC and AMIGA partition tables.

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Steve Rae <steve.rae@raedomain.com>

show more ...


# 08ca213a 24-May-2016 Stefano Babic <sbabic@denx.de>

Merge branch 'master' of git://git.denx.de/u-boot


# 4b6e1fda 17-May-2016 Tom Rini <trini@konsulko.com>

Merge git://git.denx.de/u-boot-dm


12345