• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Wrong Image Format for bootm command  (Read 4831 times)
ppmt
Full Member
***

Karma: 1
Posts: 129


View Profile
« on: April 22, 2011, 06:28:41 PM »

Hi,

My guruplug was working perfectly well but tonight I decided to reboot it and got the following :
Code:
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0
88E1121 Initialized on egiga1
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 4 USB Device(s) found
       scanning bus for storage devices... Device NOT ready
   Request Sense returned 02 3A 00
Device NOT ready
   Request Sense returned 02 3A 00
3 Storage Device(s) found
Loading file "/uImage" from usb device 2:1 (usbdc1)
1433640 bytes read
Loading file "/uInitrd" from usb device 2:1 (usbdc1)
5678260 bytes read
Wrong Image Format for bootm command
ERROR: can't get kernel image!
GuruPlug>>

This plug is booting entirely off a USB drive and I must say I was able to reboot it several time in the past and it worked

Tonight tough it won't. I have extracted the USB and did an fsck on it and all is good.

What image format is it complaining about?

Does anyone know what it can be?

Here is my printenv but it hasn't change in weeks

Code:
GuruPlug>> printenv
baudrate=115200
bootargs=console=ttyS0,115200 root=/dev/sdc2 rootdelay=10
bootcmd=run x_bootcmd
bootdelay=3
eth1addr=00:50:43:01:83:91
ethact=egiga0
ethaddr=00:50:43:01:83:90
filesize=56A4B4
stderr=serial
stdin=serial
stdout=serial
x_bootargs=console=ttyS0,115200
x_bootargs_root=root=/dev/sdc2 rootdelay=10
x_bootcmd=${x_bootcmd_usb}; ${x_bootcmd_uImage}; ${x_bootcmd_uInitrd}; setenv bootargs ${x_bootargs} ${x_bootargs_root};bootm 0x6400000 0x1100000;
x_bootcmd_uImage=ext2load usb 2:1 0x0640000 /uImage
x_bootcmd_uInitrd=ext2load usb 2:1 0x1100000 /uInitrd
x_bootcmd_usb=usb start

I will try to reboot on the internal nand
Logged

ppmt
Full Member
***

Karma: 1
Posts: 129


View Profile
« Reply #1 on: April 22, 2011, 07:11:57 PM »

ok forget about it!

I must have been high on something when I thought I rebooted that plug several time as is!!

there is now way that it could have worked!!!

I load with:
x_bootcmd_uImage=ext2load usb 2:1 0x0640000 /uImage

and then I boot with:
bootm 0x6400000 0x1100000;

Yes Philippe it sure must have worked!!!!

I fixed my error and all is good now!

Sorry about the message...Now if I could just remember what is was I was high on Smiley
Sorry about that m
Logged

Pages: [1]
Print
Jump to: