# Flashing custom image to WP7607

**URL:** <https://forum.legato.io/t/flashing-custom-image-to-wp7607/4208>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [March 20, 2019, 1:04pm UTC](https://forum.legato.io/t/flashing-custom-image-to-wp7607/4208 "2019-03-20T13:04:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshaykulkarniak](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@akshaykulkarniak](https://forum.legato.io/u/akshaykulkarniak)\
**Post date:** [March 20, 2019, 1:04pm UTC](https://forum.legato.io/t/flashing-custom-image-to-wp7607/4208/1 "2019-03-20T13:04:50Z")

</div>

Hi There ,  
I customised the linux for wp7607 by disabling few services and compiled or built the yocto image and after flashing the new image i am getting following log in my wp7607

**UBI device number 0, total 120 LEBs (30474240 bytes, 29.1 MiB), available 6 LEBs (1523712 bytes, 1.5 MiB), LEB size 253952 bytes (248.0 KiB)**  
**rootfs: dev ‘/dev/ubi0\_0’ ‘ubifs’**  
**[1.585553] UBIFS error (ubi0:0 pid 182): mount\_ubifs: cannot mount read-write - read-only media**  
**[1.594350] UBIFS error (ubi0:0 pid 182): ubifs\_leb\_read: reading 4096 bytes from LEB 0:0 failed, error -22**  
**rootfs: mount failed**  
**It is not dual system logic**  
**System error!**  
**[1.621076] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100**  
\*\*[1.621076] \*\*  
**[1.629212] CPU: 0 PID: 1 Comm: init Not tainted 3.18.44 #2**  
**[1.634754] [] (unwind\_backtrace) from [] (show\_stack+0x10/0x14)**  
**[1.642463] [] (show\_stack) from [] (panic+0x90/0x1f4)**  
**[1.649322] [] (panic) from [] (do\_exit+0x40c/0x8ac)**  
**[1.656000] [] (do\_exit) from [] (SyS\_exit\_group+0x0/0x10)**  
**[1.663203] [] (SyS\_exit\_group) from [\<00000004\>] (0x4)**  
**[2.673122] cpr\_panic\_callback: apc\_corner: [corner:7, fuse\_corner:3] = 1225000 uV**

**ima: setting up IMA subsystem…**  
**ima: feature not supported**  
**The proc node does not exist**  
**mount root fs from partition (rootfs|system)**  
**Non-secure.**  
**UBI device number 0, total 120 LEBs (30474240 bytes, 29.1 MiB), available 6 LEBs (1523712 bytes, 1.5 MiB), LEB size 253952 bytes (248.0 KiB)**  
**rootfs: dev ‘/dev/ubi0\_0’ ‘ubifs’**  
**[1.923076] UBIFS error (ubi0:0 pid 182): mount\_ubifs: cannot mount read-write - read-only media**  
**[1.941039] UBIFS error (ubi0:0 pid 182): ubifs\_leb\_read: reading 4096 bytes from LEB 0:0 failed, error -22**  
**rootfs: mount failed**  
**It is not dual system logic**  
**System error!**  
**[1.980221] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100**  
\*\*[1.980221] \*\*  
**[1.988362] CPU: 0 PID: 1 Comm: init Not tainted 3.18.44 #2**  
**[1.993901] [] (unwind\_backtrace) from [] (show\_stack+0x10/0x14)**  
**[2.001607] [] (show\_stack) from [] (panic+0x90/0x1f4)**  
**[2.008465] [] (panic) from [] (do\_exit+0x40c/0x8ac)**  
**[2.015148] [] (do\_exit) from [] (SyS\_exit\_group+0x0/0x10)**  
**[2.022354] [] (SyS\_exit\_group) from [\<00000004\>] (0x4)**  
**[3.034377] cpr\_panic\_callback: apc\_corner: [corner:7, fuse\_corner:3] = 1225000 uV**  
**[3.041029] Rebooting in 5 seconds…**  
**[8.073978] Going down for restart now**  
**[8.077490] reboot: trigger wdog bite**  
**[8.080507] Causing a watchdog bite!**  
Also it says kernel panic . on the other end if i try to recover the image i have following error  
\*\*swiflash -m wp76xx -i WP76xx\_Release10.1\_GENERIC\ (1).spk \*\*  
**Detecting USB of the target**  
**No device connected**  
I am able to see only one **ttyUSB** instead of three and with **lsusb** i have this  
**Bus 002 Device 064: ID 1199:68c0 Sierra Wireless, Inc.**

It will be great if somebody helps me in recovering the image back to generic .

Thanks & Regards

- Akshay Kulkarni

---

<div class="post-metadata">

**Author:** ![muralinagraj](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@muralinagraj](https://forum.legato.io/u/muralinagraj)\
**Post date:** [April 5, 2019, 11:09am UTC](https://forum.legato.io/t/flashing-custom-image-to-wp7607/4208/2 "2019-04-05T11:09:48Z")

</div>

Hello @akshaykulkarniak,

If you see the Sierra deivce(Bus 002 Device 064: ID 1199:68c0 Sierra Wireless, Inc.) using the lsusb command, Then **swiflash -m wp76xx -i WP76xx\_Release10.1\_GENERIC.spk** should work. Not sure why it is not working.

Please try using the below command which resets the device and check whether it works,  
**swiflash -m wp76xx -r**

Still if it is not working, Please try with windows **fdt** tool to recover your WP7607.  
In the below link you can find the details on fdt tool download and usage.  
[https://source.sierrawireless.com/resources/airprime/software/fdt/](https://source.sierrawireless.com/resources/airprime/software/fdt/)

Regards,  
Muralidhara N.
