Skip to content

Commit

Permalink
build-boot-meson: Don't overwrite disk identifier
Browse files Browse the repository at this point in the history
Fixes #115.
  • Loading branch information
johang committed Feb 22, 2024
1 parent 4a681cb commit 32e4172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build-boot-meson
Original file line number Diff line number Diff line change
@@ -54,5 +54,5 @@ mkdir ../amlogic-boot-fip-output
cd ..

# Copy U-Boot but don't overwrite the partition table
dd if=amlogic-boot-fip-output/u-boot.bin.sd.bin of=tmp.img conv=notrunc bs=1 count=446
dd if=amlogic-boot-fip-output/u-boot.bin.sd.bin of=tmp.img conv=notrunc bs=512 skip=1 seek=1
dd if=amlogic-boot-fip-output/u-boot.bin.sd.bin of=tmp.img conv=fsync,notrunc bs=512 skip=1 seek=1
dd if=amlogic-boot-fip-output/u-boot.bin.sd.bin of=tmp.img conv=fsync,notrunc bs=1 count=440

0 comments on commit 32e4172

Please sign in to comment.