summaryrefslogtreecommitdiff
path: root/meta-aspeed/wic
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2020-07-08 21:47:10 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-07-17 23:22:05 +0300
commit8d6b91c51d315883c446d4d11f538baeacb0bed7 (patch)
treeea17fc11ee0e52a48cfdf474aefdf02d2433cbd6 /meta-aspeed/wic
parente477865c81b6f0eb9886c5368bbda73082d8bd9f (diff)
downloadopenbmc-8d6b91c51d315883c446d4d11f538baeacb0bed7.tar.xz
u-boot-aspeed: Generate default env for eMMC
Generate a default environment to boot an eMMC based on a txt file. Populate the generated environment image into the eMMC. (From meta-aspeed rev: fdc603c73b2dc8851ce2d1684e9c71a5ce51a5b8) Change-Id: I93944b183b7907202b02854e931593d62603ae77 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-aspeed/wic')
-rw-r--r--meta-aspeed/wic/emmc-aspeed.wks.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-aspeed/wic/emmc-aspeed.wks.in b/meta-aspeed/wic/emmc-aspeed.wks.in
index 816352176..ace5f47af 100644
--- a/meta-aspeed/wic/emmc-aspeed.wks.in
+++ b/meta-aspeed/wic/emmc-aspeed.wks.in
@@ -21,7 +21,7 @@
bootloader --ptable gpt
-part --align 4 --fixed-size 1M --label u-boot-env
+part --align 4 --fixed-size 1M --source rawcopy --sourceparams="file=${DEPLOY_DIR_IMAGE}/u-boot-env.bin"
part --fstype=ext4 --fixed-size 64M --source bootimg-partition --label boot-a
part --fstype=ext4 --fixed-size 64M --source bootimg-partition --label boot-b
part --fstype=ext4 --fixed-size 1G --source rootfs --label rofs-a