Flashing custom image to WP7607

#1

Hi there ,
I was trying to compile/build custom (disabling some services) yocto image for wp7607 . After build i flashed the image with swiflash by generating an image (.spk) using swicwe but unfortunately after flashing the image the kernel is panic and i am able to see only one ttyUSB instead of 3 and i have the following logs from the booting scripts .

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!

It would be great if somebody helps me in overcoming this issue .

Thanks & Regards

  • Akshay Kulkarni
#2

You will need to post your changes to the Yocto build before anybody will be able to help.

What services did you disable?
How did you disable them?

#3

I just disabled SPI using menuconfig , I had plans to disable some more after confirmation of this change . so only SPI was disabled .