diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2022-12-01 07:45:09 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-04-07 17:50:36 -0700 |
| commit | 22f136de562a3b9549621d31571bed37f775d2e9 (patch) | |
| tree | b55ff2db578af425104caca66aee969171667e72 /meta-xilinx-core/wic/xilinx-default-sd.wks | |
| parent | d7d306fe663c7afbd0fb743c87f9549aa806b413 (diff) | |
| download | meta-xilinx-22f136de562a3b9549621d31571bed37f775d2e9.tar.gz | |
xilinx-default-sd.wks: Enable a new rootfs based sd/mmc image
Switch the machine files to use the new 'xilinx-default-sd.wks' file.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/wic/xilinx-default-sd.wks')
| -rw-r--r-- | meta-xilinx-core/wic/xilinx-default-sd.wks | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-xilinx-core/wic/xilinx-default-sd.wks b/meta-xilinx-core/wic/xilinx-default-sd.wks new file mode 100644 index 00000000..8129f01c --- /dev/null +++ b/meta-xilinx-core/wic/xilinx-default-sd.wks | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | # Description: Creates a partitioned SD card image. Boot files | ||
| 2 | # are located in the first vfat partition. Rootfs will be in second ext4 partition. | ||
| 3 | |||
| 4 | # This wks uses a fixed-size /boot parition. 512MiB was selected as it should be large enough | ||
| 5 | # for most reference systems and their included bitstreams, while allowing additional space | ||
| 6 | # for user data or on-target upgrades. To adjust the size of the /boot parition change the | ||
| 7 | # value of --fixed-size below. See the Yocto Project WIC documentation for more information. | ||
| 8 | part /boot --source rootfs --change-directory=boot --fixed-size=512M --fstype=vfat --use-label --label boot --active --align 4 | ||
| 9 | part / --source rootfs --exclude-path=boot/ --fstype=ext4 --use-label --label root --align 4 | ||
