Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

cmd_part.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Stephen Warren's avatar
      5cf41dcc
      cmd_part: add partition-related command · 5cf41dcc
      Stephen Warren authored
      
      This implements the following:
      
      part uuid mmc 0:1
        -> print partition UUID
      part uuid mmc 0:1 uuid
        -> set environment variable to partition UUID
      part list mmc 0
        -> list the partitions on the specified device
      
      "part uuid" can be useful when writing a bootcmd which searches all
      known devices for something bootable, and then wants the kernel to
      use the same partition as the root device, e.g.:
      
      part uuid ${devtype} ${devnum}:${rootpart} uuid
      setenv bootargs root=PARTUUID=${uuid} ...
      
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      5cf41dcc
      History
      cmd_part: add partition-related command
      Stephen Warren authored
      
      This implements the following:
      
      part uuid mmc 0:1
        -> print partition UUID
      part uuid mmc 0:1 uuid
        -> set environment variable to partition UUID
      part list mmc 0
        -> list the partitions on the specified device
      
      "part uuid" can be useful when writing a bootcmd which searches all
      known devices for something bootable, and then wants the kernel to
      use the same partition as the root device, e.g.:
      
      part uuid ${devtype} ${devnum}:${rootpart} uuid
      setenv bootargs root=PARTUUID=${uuid} ...
      
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>