Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Mobile
User Name
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site:


  Search this Thread
Old 05-31-2012, 08:55 AM   #1
LQ Newbie
Registered: Oct 2009
Posts: 25

Rep: Reputation: 0
Kernel crashes

Hi Guys,

I am trying to flash ROM memory with Linux Kernel with busy box I have following hw and requirements

1/ Using intel's Atom E660T process which only can go upto 32bit no more.
2/ On board 8MB of ROM eMM connected to SPI0 bus and like to store a kernel into it so the entire board could boot from it

3/ After successful build of Kernel an OS image file found in the linux-

4/ Which normally converted to binary using following command
./mkimage -c "console=ttyS0,115200n8 rootwait root=/dev/mmcblk0p2 init=/sbin/init loglevel=7 position_fix=1 pcie_aspm=off lpj=1499875" -i ramdisk.cpio bzImage plk.bin
5/ Finally I get plk.bin file which is roughly around 3.1MB in size

6/ Normally there are two partition on the eMM (NAND ROM) i.e
p1 and p2
7/ The p2 is created for the busybox utilities and p1 for actual kernel image i.e plk.bin to be store for regular use.

8/ After sending command
dd if=/plk.bin  of=/dev/mmcblk0p1  conv=fsync
The image get flashed into the ROM but boot process beigins
following stage it crashes the kernel and boot does NOT successfully
reach to bash prompt.
I wonder what I am missing? File, or any other resource I could not figure out whats gone wrong. If some please shed light on this remedy.
L*0d58 *ɣkH,K*9f9 6.-} ..43-,)6ʥK*ṳd
[    2.928575] Write protecting the kernel text: 3728k
[    2.933567] Write protecting the kernel read-only data: 1684k
console ready
execve() failed: no such file or directory
[    2.947582] Kernel panic - not syncing: Attempted to kill init!
[    2.953623] Pid: 1, comm: init Not tainted #9
[    2.958866] Call Trace:
[    2.961380]  [<c139fed2>] ? printk+0xf/0x11
[    2.965652]  [<c139fdd9>] panic+0x5b/0x145
[    2.969838]  [<c103120e>] do_exit+0x92/0x5c5
[    2.974201]  [<c11bdb42>] ? tty_write+0x1e5/0x1e5
[    2.979003]  [<c10318de>] sys_exit+0x13/0x13
[    2.983364]  [<c13a2621>] syscall_call+0x7/0xb
Thank you in advance, guys I am really upto my last thread.
Old 05-31-2012, 06:11 PM   #2
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,798

Rep: Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749
Make sure your flash is correct:
cmp plk.bin /dev/mmcblk0p1
Any way you can run plk.bin in a VM environment? That would tell you if it is built ok.
Old 05-31-2012, 11:59 PM   #3
LQ Newbie
Registered: Oct 2009
Posts: 25

Original Poster
Rep: Reputation: 0
Angry Procedure ....please


To all my working environment are native Linux, and I do not know how to test or create VM environment for this test. If you have procedure please could you outline. I might give a go.

Thank you,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless crashes Kernel I think Nemesissparadise Linux - Networking 11 02-16-2011 10:00 PM
Ubuntu Kernel crashes altella Ubuntu 2 11-04-2009 03:14 PM
Browser and/or kernel crashes???? nstiesi Linux - General 2 09-29-2006 11:16 PM
updated kernel crashes boaojatista Fedora 14 05-27-2006 09:51 AM
2.6.7 kernel random crashes chakkerz Linux - General 4 06-28-2004 07:05 PM > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration