Skip to content

Commit

Permalink
gpt: fixed GPT for emmc
Browse files Browse the repository at this point in the history
- reset to mtk-version
- resize rf-partition (rf overlaps kernel)
  sgdisk -d 3 -n 3:7168:8191 -c 3:rf -u 3:8142c1b2-1697-41d9-b1bf-a88d76c7213f /dev/mmcblk0
- resize kernel-part and change to FAT
  sgdisk -d 4 -n 4:8192:212991 -c 4:kernel -u 4:971F7556-EF1A-44CD-8B28-0CF8100B9C7E -t 4:0700 /dev/mmcblk0
- add root-partition with gdisk
- extracted from emmc
  npart=5;sudo dd if=/dev/mmcblk0 of=bpi-r64_headless.gpt bs=1 skip=512 count=$(( $npart*128 +1024 ))
  • Loading branch information
frank-w committed Nov 21, 2020
1 parent ea7585a commit 7a41afb
Showing 1 changed file with 0 additions and 0 deletions.
Binary file modified bpi-r64_headless.gpt
Binary file not shown.

0 comments on commit 7a41afb

Please # to comment.