From: patwardhan on
Hi,
I am trying to boot linux-2.6.25 on mpc837x board using u-boot.
but linux hangs with following message. Please help..

bootm 0xfc100000
* kernel: cmdline image address = 0xfc100000
## Booting kernel from Legacy Image at fc100000 ...
Image Name: linux-2.6
Image Type: PowerPC Linux Multi-File Image (gzip compressed)
Data Size: 2857358 Bytes = 2.7 MB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 1595336 Bytes = 1.5 MB
Image 1: 1262010 Bytes = 1.2 MB
Verifying Checksum ... OK
kernel data at 0xfc10004c, len = 0x001857c8 (1595336)
Uncompressing Multi-File Image ... OK
kernel loaded at 0x00000000, end = 0x0031f9c0
## Current stack ends at 0x0ff41c70
## Flattened Device Tree from multi component Image at FC100000
## No Flattened Device Tree
## cmdline at 0x007fff00 ... 0x007fff00
## kernel board info at 0x007ffeb0
bd address = 0x0FF41FBC
memstart = 0x00000000
memsize = 0x10000000
flashstart = 0xFC000000
flashsize = 0x04000000
flashoffset = 0x00032000
sramstart = 0x00000000
sramsize = 0x00000000
bootflags = 0x00000001
intfreq = 533.333 MHz
busfreq = 266.666 MHz
ethaddr = 00:00:00:00:00:00
eth1addr = 00:04:9F:EF:04:02
IP addr = 10.0.0.2
baudrate = 115200 bps
## Loading init Ramdisk from multi component Legacy Image at fc100000 ...
ramdisk start = 0xfc285814, ramdisk end = 0xfc3b99ce
## initrd_high = 0xffffffff, copy_to_ram = 1
Loading Ramdisk to 0fe0d000, end 0ff411ba ... OK
ramdisk load start = 0x0fe0d000, ramdisk load end = 0x0ff411ba
## Transferring control to Linux (at address 00000000) ...








---------------------------------------
Posted through http://www.EmbeddedRelated.com
From: Tim Wescott on
On 06/22/2010 04:16 AM, patwardhan wrote:
> Hi,
> I am trying to boot linux-2.6.25 on mpc837x board using u-boot.
> but linux hangs with following message. Please help..
>
> bootm 0xfc100000
> * kernel: cmdline image address = 0xfc100000
> ## Booting kernel from Legacy Image at fc100000 ...
> Image Name: linux-2.6
> Image Type: PowerPC Linux Multi-File Image (gzip compressed)
> Data Size: 2857358 Bytes = 2.7 MB
> Load Address: 00000000
> Entry Point: 00000000
> Contents:
> Image 0: 1595336 Bytes = 1.5 MB
> Image 1: 1262010 Bytes = 1.2 MB
> Verifying Checksum ... OK
> kernel data at 0xfc10004c, len = 0x001857c8 (1595336)
> Uncompressing Multi-File Image ... OK
> kernel loaded at 0x00000000, end = 0x0031f9c0
> ## Current stack ends at 0x0ff41c70
> ## Flattened Device Tree from multi component Image at FC100000
> ## No Flattened Device Tree
> ## cmdline at 0x007fff00 ... 0x007fff00
> ## kernel board info at 0x007ffeb0
> bd address = 0x0FF41FBC
> memstart = 0x00000000
> memsize = 0x10000000
> flashstart = 0xFC000000
> flashsize = 0x04000000
> flashoffset = 0x00032000
> sramstart = 0x00000000
> sramsize = 0x00000000
> bootflags = 0x00000001
> intfreq = 533.333 MHz
> busfreq = 266.666 MHz
> ethaddr = 00:00:00:00:00:00
> eth1addr = 00:04:9F:EF:04:02
> IP addr = 10.0.0.2
> baudrate = 115200 bps
> ## Loading init Ramdisk from multi component Legacy Image at fc100000 ...
> ramdisk start = 0xfc285814, ramdisk end = 0xfc3b99ce
> ## initrd_high = 0xffffffff, copy_to_ram = 1
> Loading Ramdisk to 0fe0d000, end 0ff411ba ... OK
> ramdisk load start = 0x0fe0d000, ramdisk load end = 0x0ff411ba
> ## Transferring control to Linux (at address 00000000) ...

Disclaimer: I'm no embedded Linux expert...

That last message looks like the boot loader is signing off, and is
about to jump to the Linux image. Either your Linux kernel is hosed --
early, before it gets a chance to say anything -- or there's something
wrong with your setup.

Keeping in mind that I know nothing, is the Linux kernel _really_
supposed to start up at address 0x00000000? The bottom mumble-mumble
kilobytes of memory in a PowerPC is exception-handler-land. Unless the
image is designed to run from flash without a loader (0x00000000 is the
reset exception handler address) that's not a good place for it to be.

Do you have _any_ embedded Linux system that works? Comparing it's boot
process with this one would be informative, particularly if it's also a
PowerPC.

--
Tim Wescott
Control system and signal processing consulting
www.wescottdesign.com
From: Juergen Beisert on
patwardhan wrote:
> I am trying to boot linux-2.6.25 on mpc837x board using u-boot.
> but linux hangs with following message. Please help..
>
> bootm 0xfc100000
> * kernel: cmdline image address = 0xfc100000
> ## Booting kernel from Legacy Image at fc100000 ...
> Image Name: linux-2.6
> Image Type: PowerPC Linux Multi-File Image (gzip compressed)
> Data Size: 2857358 Bytes = 2.7 MB
> Load Address: 00000000
> Entry Point: 00000000
> Contents:
> Image 0: 1595336 Bytes = 1.5 MB
> Image 1: 1262010 Bytes = 1.2 MB
> Verifying Checksum ... OK
> kernel data at 0xfc10004c, len = 0x001857c8 (1595336)
> Uncompressing Multi-File Image ... OK
> kernel loaded at 0x00000000, end = 0x0031f9c0
> ## Current stack ends at 0x0ff41c70
> ## Flattened Device Tree from multi component Image at FC100000
> ## No Flattened Device Tree
^^^^^^^^^^^^^^^^^^^^^^^^
Does your kernel uses arch 'powerpc' or 'ppc'? If 'powerpc' you will need a
device tree. Without it the kernel has no clue about the system it is
running on.

jbe