# Create custom spk image file from your own legato bundle

**URL:** <https://forum.legato.io/t/create-custom-spk-image-file-from-your-own-legato-bundle/6282>\
**Category:** Legato Application Framework\
**Created:** [September 5, 2022, 9:10am UTC](https://forum.legato.io/t/create-custom-spk-image-file-from-your-own-legato-bundle/6282 "2022-09-05T09:10:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilawal.latif](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@bilawal.latif](https://forum.legato.io/u/bilawal.latif)\
**Post date:** [September 5, 2022, 9:10am UTC](https://forum.legato.io/t/create-custom-spk-image-file-from-your-own-legato-bundle/6282/1 "2022-09-05T09:10:56Z")

</div>

Hi  
I want to create custom image and store it in sd card. Using fwupdate\_Download() I want to download this image from SD Card.  
Is there any suggestion I can get.  
@jyijyi

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [September 5, 2022, 9:26am UTC](https://forum.legato.io/t/create-custom-spk-image-file-from-your-own-legato-bundle/6282/2 "2022-09-05T09:26:57Z")

</div>

to mount SD card, you can do the following:

```auto
mkdir -p /tmp/sdcard
/bin/mount -t auto -o sync /dev/mmcblk0p1 "/tmp/sdcard"

```

After that you can copy your image to /tmp folder to update the FW.

---

<div class="post-metadata">

**Author:** ![bilawal.latif](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@bilawal.latif](https://forum.legato.io/u/bilawal.latif)\
**Post date:** [September 5, 2022, 9:28am UTC](https://forum.legato.io/t/create-custom-spk-image-file-from-your-own-legato-bundle/6282/3 "2022-09-05T09:28:02Z")

</div>

I there any help to create a custom .spk file form my legato bundle.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [September 5, 2022, 9:32am UTC](https://forum.legato.io/t/create-custom-spk-image-file-from-your-own-legato-bundle/6282/4 "2022-09-05T09:32:50Z")

</div>

you can use swicwe tool:

[https://source.sierrawireless.com/resources/airprime/software/swicwe/#sthash.nMgx409W.dpbs](https://source.sierrawireless.com/resources/airprime/software/swicwe/#sthash.nMgx409W.dpbs)
