summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>2020-08-19 13:11:39 +0000
committerKhem Raj <raj.khem@gmail.com>2020-08-19 10:14:54 -0700
commit2c74b246689c820a34e7f1e5678e67ace54e38d5 (patch)
tree1f96b0890155b248b9c7a0c2eab250da5038d87b
parent2e7a3c264986b301bf358223c086ed6baa6bc8ac (diff)
downloadmeta-altera-2c74b246689c820a34e7f1e5678e67ace54e38d5.tar.gz
wic: resolve boot issue when using wic images
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
-rw-r--r--wic/sdimage-arria10.wks6
-rw-r--r--wic/sdimage-cyclone5-arria5.wks6
2 files changed, 6 insertions, 6 deletions
diff --git a/wic/sdimage-arria10.wks b/wic/sdimage-arria10.wks
index 6ab3284..6087dad 100644
--- a/wic/sdimage-arria10.wks
+++ b/wic/sdimage-arria10.wks
@@ -3,6 +3,6 @@
3# Boot files are located in the first vfat partition and u-Boot is located in 3# Boot files are located in the first vfat partition and u-Boot is located in
4# the third partition. 4# the third partition.
5 5
6part --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 50M 6part --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 1024 --size 50M
7part --source rawcopy --sourceparams="file=u-boot-with-spl.sfp" --ondisk mmcblk --system-id=a2 --align 4 --fixed-size 10M 7part --source rawcopy --sourceparams="file=u-boot-with-spl.sfp" --ondisk mmcblk --system-id=a2 --align 1024 --fixed-size 10M
8part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 8part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 1024
diff --git a/wic/sdimage-cyclone5-arria5.wks b/wic/sdimage-cyclone5-arria5.wks
index 774192f..c55187d 100644
--- a/wic/sdimage-cyclone5-arria5.wks
+++ b/wic/sdimage-cyclone5-arria5.wks
@@ -3,6 +3,6 @@
3# Boot files are located in the first vfat partition and u-Boot is located in 3# Boot files are located in the first vfat partition and u-Boot is located in
4# the third partition. 4# the third partition.
5 5
6part --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16 6part --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 1024 --size 16
7part --source rawcopy --sourceparams="file=u-boot-with-spl.sfp" --ondisk mmcblk --system-id=a2 --align 4 --fixed-size 1M 7part --source rawcopy --sourceparams="file=u-boot-with-spl.sfp" --ondisk mmcblk --system-id=a2 --align 1024 --fixed-size 1M
8part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 8part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 1024