08-02-2021, 11:44 AM
it is worth clarifying that in addition to 1 partition named uboot, the bootloader is looking for an EFI partition
creating partitions:
Code:
Device Start End Sectors Size Type
/dev/mmcblk0p1 16384 49151 32768 16M Microsoft basic data
/dev/mmcblk0p2 49152 573439 524288 256M EFI System
/dev/mmcblk0p3 573440 10557406 9983967 4.8G Linux filesystem
Code:
Device Start End Sectors Type-UUID UUID Name Attrs
/dev/mmcblk0p1 16384 49151 32768 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 925E253E-2941-EA43-A7B9-050C9065846B uboot
/dev/mmcblk0p2 49152 573439 524288 C12A7328-F81F-11D2-BA4B-00A0C93EC93B C375ECD8-92DC-0D42-ABCA-8046B74A3DC2
/dev/mmcblk0p3 573440 10557406 9983967 0FC63DAF-8483-4772-8E79-3D69D8477DE4 C9EAC18A-C5FD-9E45-BB11-9CBB6A12F588
creating partitions:
Code:
echo -e "\ng\nn\n1\n16384\n+16M\nt\n11\nn\n2\n\n+256M\nt\n2\n1\nn\n\n\n\nw" | fdisk /dev/mmcblk0
echo -e "\nx\nn\n1\nuboot\nr\nw" | fdisk /dev/mmcblk0