summaryrefslogtreecommitdiffstats
path: root/wic
diff options
context:
space:
mode:
authorDalon Westergreen <dwesterg@gmail.com>2019-05-22 12:16:38 -0700
committerKhem Raj <raj.khem@gmail.com>2019-06-10 10:09:43 -0700
commitabc72faf316e6153d6e4ea3513d9cf49816dad9d (patch)
tree2d97eacba78dda04f6b0782ebf2c636fdeb9c697 /wic
parent097f807adc5a6debdc98c0f8360fb467328c7426 (diff)
downloadmeta-altera-abc72faf316e6153d6e4ea3513d9cf49816dad9d.tar.gz
arria10: Add support for wic and u-boot 2019.07
Mainline uboot for arria10 supports creating the boot header required for spl using mkimage. With this update, it is now possible to build the sdcard image without external tools. Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
Diffstat (limited to 'wic')
-rw-r--r--wic/sdimage-arria10.wks8
1 files changed, 8 insertions, 0 deletions
diff --git a/wic/sdimage-arria10.wks b/wic/sdimage-arria10.wks
new file mode 100644
index 0000000..6ab3284
--- /dev/null
+++ b/wic/sdimage-arria10.wks
@@ -0,0 +1,8 @@
1# short-description: Create an SD card image for the Arria 10 SoC.
2# long-description: Create an SD card image for the Arria 10 SoC.
3# Boot files are located in the first vfat partition and u-Boot is located in
4# the third partition.
5
6part --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 50M
7part --source rawcopy --sourceparams="file=u-boot-with-spl.sfp" --ondisk mmcblk --system-id=a2 --align 4 --fixed-size 10M
8part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4