Skip to content

Commit

Permalink
Merge pull request #5 from igoropaniuk/emmc_dev_env
Browse files Browse the repository at this point in the history
builder: provide emmc dev value from env
  • Loading branch information
shawnguo2 authored May 12, 2020
2 parents 4ec5164 + 4e1d145 commit f42fa59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poplar_recovery_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ IN_ADDR=0x08000000 # Buffer address for compressed data in from USB (hex)
OUT_ADDR=0x18000000 # Buffer address for uncompressed data for MMC (hex)
SUB_ADDR=0x07800000 # Buffer address for sub-installer scripts

EMMC_DEV=/dev/mmcblk0 # Linux path to main eMMC device on target
EMMC_DEV="${EMMC_DEV:-/dev/mmcblk0}" # Linux path to main eMMC device on target

# Recommended alignment (in sectors) for partitions other than 1 and 4
PART_ALIGNMENT=2048 # Align at 1MB (512-byte sectors)
Expand Down

0 comments on commit f42fa59

Please sign in to comment.