Closed rsglobal closed 4 years ago
Host message:
Writing 'bootloader' FAILED (remote: 'cannot find partition') fastboot: error: Command failed
Workaround: reboot the board and run script one more time.
Possible reason: U-boot thinks that active partition table is MBR, and can't find GPT partition.
=> mmc dev 1 switch to partitions #0, OK mmc1(part 0) is current device => mmc part Partition Map for MMC device 1 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 1 524287 00000000-01 ee # After updating partition list: => part list mmc 1 Partition Map for MMC device 1 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00000100 0x00000fff "bootloader" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 048c6e5c-5001-444a-bbd0-655f6413ffd9 2 0x00001000 0x000011ff "uboot-env" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 8cab7add-9aaa-4094-b2c8-64cba5e86bbd 3 0x00001800 0x0000d7ff "recovery_boot" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 5a6cdcc2-8534-4b05-bb06-39f0cc33ca9b => mmc part # now partitions appeared correctly an we can continue to use fastboot Partition Map for MMC device 1 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00000100 0x00000fff "bootloader" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 048c6e5c-5001-444a-bbd0-655f6413ffd9 2 0x00001000 0x000011ff "uboot-env" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 8cab7add-9aaa-4094-b2c8-64cba5e86bbd 3 0x00001800 0x0000d7ff "recovery_boot" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 5a6cdcc2-8534-4b05-bb06-39f0cc33ca9b
Fixed in uboot-next branch.
Host message:
Workaround: reboot the board and run script one more time.
Possible reason: U-boot thinks that active partition table is MBR, and can't find GPT partition.