Welcome! Log In Create A New Profile

Advanced

Wrong Image Format for bootm command

Posted by b1ackdeath 
Wrong Image Format for bootm command
August 11, 2012 08:34PM
I seem to have messed up my uboot settings.
So i'm suck at a serial prompt with Marvell>>

here is my printenv
http://pastebin.com/s8JZc7Ah

What I really want to know is how i can get debain back up and running.
I was trying to get Fedora running, any help would be greatly appreciated
Once i find out how i can recover from this I can work on trying to get fedora to boot

Here is what it does when i say bootMarvell>> boot
(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... 2 Storage Device(s) found
reading uImage-kirkwood

** Unable to read "uImage-kirkwood" from usb 1:1 **
reading uInitrd-kirkwood

** Unable to read "uInitrd-kirkwood" from usb 1:1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Re: Wrong Image Format for bootm command
August 11, 2012 08:43PM
i got it working again with doing some searching
https://github.com/doozan/uBoot/blob/master/environment/uboot.environment.txt
Now to make fedora boot some how
Re: Wrong Image Format for bootm command
August 12, 2012 11:11PM
well i got it

set bootargs 'console=ttyS0,115200 root=/dev/sda2 rootwait'
set loadInitrd 'fatload usb 0:1 0x7400000 uInitrd-kirkwood'
set loadImage 'fatload usb 0:1 0x6400000 uImage-kirkwood'
set bootcmd 'usb start; ${loadImage}; ${loadInitrd} ; bootm 0x6400000 0x7400000'

Will let you boot fedora

http://fedoraproject.org/wiki/Architectures/ARM/Kirkwood

https://www.youtube.com/watch?v=yMJyFdY7O68&feature=player_embedded
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: