# Generating image using SWICWE

**URL:** https://forum.legato.io/t/generating-image-using-swicwe/6365
**Category:** Legato Linux distribution (Yocto project)
**Created:** [December 2, 2022, 1:12pm UTC](https://forum.legato.io/t/generating-image-using-swicwe/6365 "2022-12-02T13:12:41Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Pankaj](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/pankaj/32/1317_2.png) [@Pankaj](https://forum.legato.io/u/Pankaj)
#### Post date: [December 2, 2022, 1:30pm UTC](https://forum.legato.io/t/generating-image-using-swicwe/6365/2 "2022-12-02T13:30:45Z")

</div>

When testing with yoctocwetool.sh from V6 document from [Secure Boot -Generating cwe file - Legato Forum](https://forum.legato.io/t/secure-boot-generating-cwe-file/5615/4) getting the error for incorrect image type:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/0/06dac39f4f7d2262f78d7868c36c77398e39eddc.png)

---

_[View the full topic](https://forum.legato.io/t/generating-image-using-swicwe/6365)._
