Home
last modified time | relevance | path

Searched refs:mbr (Results 1 – 11 of 11) sorted by relevance

/u-boot/doc/usage/
A Dmbr.rst3 mbr command
11 mbr verify [interface] [device no] [partition list]
12 mbr write [interface] [device no] [partition list]
50 => mbr write mmc 0
58 => mbr verify mmc 0
64 => if mbr verify mmc 0; then
77 To use the mbr command you must specify CONFIG_CMD_MBR=y.
85 | 0 | mbr write was succesful |
87 | 1 | mbr write failed |
89 | 0 | mbr verify was succesful |
[all …]
A Dindex.rst32 mbr
A Ddfu.rst160 mbr write ...
/u-boot/disk/
A Dpart_efi.c55 static int is_pmbr_valid(legacy_mbr * mbr);
904 static int is_pmbr_valid(legacy_mbr * mbr) in is_pmbr_valid() argument
908 if (!mbr || le16_to_cpu(mbr->signature) != MSDOS_MBR_SIGNATURE) in is_pmbr_valid()
912 if (pmbr_part_valid(&mbr->partition_record[i])) { in is_pmbr_valid()
938 ALLOC_CACHE_ALIGN_BUFFER_PAD(legacy_mbr, mbr, 1, dev_desc->blksz); in is_gpt_valid()
941 if (blk_dread(dev_desc, 0, 1, (ulong *)mbr) != 1) { in is_gpt_valid()
967 } else if (mbr->unique_mbr_signature != 0) { in is_gpt_valid()
969 dev_desc->mbr_sig = mbr->unique_mbr_signature; in is_gpt_valid()
A Dpart_dos.c106 ALLOC_CACHE_ALIGN_BUFFER(legacy_mbr, mbr, in part_test_dos()
109 if (blk_dread(dev_desc, 0, 1, (ulong *)mbr) != 1) in part_test_dos()
112 if (test_block_type((unsigned char *)mbr) != DOS_MBR) in part_test_dos()
116 mbr->unique_mbr_signature != 0) { in part_test_dos()
118 dev_desc->mbr_sig = mbr->unique_mbr_signature; in part_test_dos()
/u-boot/cmd/
A Dmbr.c305 U_BOOT_CMD(mbr, CONFIG_SYS_MAXARGS, 1, do_mbr,
A DMakefile183 obj-$(CONFIG_CMD_MBR) += mbr.o
A DKconfig1057 Enable the 'mbr' command to ready and write MBR (Master Boot Record)
/u-boot/drivers/fastboot/
A DKconfig186 default "mbr"
191 defined here. The default target name for updating MBR is "mbr".
/u-boot/doc/android/
A Dfastboot.rst168 "gpt" or "mbr". These names can be customized by defining the following
/u-boot/doc/
A DREADME.gpt256 "mbr" = LEGACY_MBR_PARTITION_GUID

Completed in 14 milliseconds