LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 05-13-2011, 03:11 AM   #1
blink182
LQ Newbie
 
Registered: Oct 2010
Posts: 29

Rep: Reputation: 0
Kernel image corrupted : Wrong Image Format for bootm command ERROR: can't get kernel


Whenever I try to reboot my linux system I get the error message
Code:
Wrong Image Format for bootm command 
ERROR: can't get kernel
and fall back to the uboot prompt. I suspect the filesystem overwrote my kernel's partition coz everything works fine if I mount the root filesystem as read-only .

My uboot environment :
Code:
U-Boot> printenv
bootdelay=3
baudrate=115200
boot_addr=0x21500000
bootcmd=run boot
ker=nand read 21500000 200000 160000
boot=run ker; bootm 21500000
bootargs=mem=64M console=ttySAC0,115200 noinitrd root=/dev/mtdblock1 ro rootfstype=jffs2
My rcS script :
Code:
#!/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
runlevel=S
prevlevel=N
umask 022
export PATH runlevel prelevel

# mount proc
mount proc /proc -t proc
#remount filesystem as read-write
mount /dev/root / -o remount,rw

# insmod sdio.ko
if [ -f /usr/modules/unifi_sdio.ko ]; then
        insmod /usr/modules/unifi_sdio.ko
else
        echo -e "unifi_sdio.ko not exits !!!!"
fi
I would appreciate your help.
 
  


Reply



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
Kernel Image Corrupted? Kat Skella Linux - Kernel 1 08-05-2009 12:38 AM
Looking for kernel-image-2.6.11-1-686 in all the wrong places conn-fused Debian 1 01-13-2006 09:23 AM
"error processing kernel image" - what went wrong? beebelo Ubuntu 7 11-16-2005 06:58 AM
wrong to install kernel-image, kde and gnome Mathsniper Linux - Newbie 2 02-22-2005 08:32 AM
Corrupted Kernel Image? håkon Linux - General 2 12-23-2003 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:51 AM.

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