Skip to content

Commit

Permalink
RK356x: Remove 'env' partition.
Browse files Browse the repository at this point in the history
Reduces image size from 32MB to 16MB. Issues #59, #67.
  • Loading branch information
jaredmcneill committed May 25, 2024
1 parent 37d9861 commit 3f17505
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ uefi:
.PHONY: sdcard
sdcard: uefi
rm -f sdcard.img
fallocate -l 33M sdcard.img
fallocate -l 16M sdcard.img
parted -s sdcard.img mklabel gpt
parted -s sdcard.img unit s mkpart loader 64 8MiB
parted -s sdcard.img unit s mkpart uboot 8MiB 16MiB
parted -s sdcard.img unit s mkpart env 16MiB 32MiB
parted -s sdcard.img unit s mkpart loader 64s 20479s
parted -s sdcard.img unit s mkpart uboot 20480s 15MiB

for board in $(BOARDS); do \
cp sdcard.img $${board}_EFI.img; \
Expand Down

0 comments on commit 3f17505

Please sign in to comment.