Skip to contentSkip to conversation

StorCenter Help?

DISCUSSION Jon Loeliger 2 participants 4 messages Jan 11, 2008

lore
Share & tools
lore
#0 lore raw

Folks,

Anyone out there with an 8241 board such as
the IoMega StorCenter who would be willing to
help me debug my arch/powerpc cuImage problems?

I feel like I am missing something very basic in
my port... like, "Did you map this memory right?"
or "Did you set _this_ magic bit?"

I have posted the 3 patches that provide the basic port and cuImage support as well. The U-Boot that I have is still legacy, so I'd like to get linux working first via the cuImage, and then work on U-Boot.

The problem is that as soon as U-Boot uncompresses the cuImage and loads it, I get no further console output.

The failing log follows.

And I don't have a BDI-2000 or JTAG thing I can use here. Which is sort of why I'm tossing this out for general help.

Thanks,
jdl

CPU:   MPC8241 Revision 1.4 at 199.999 MHz: 16 kB I-Cache 16 kB D-Cache
Board: StorCenter
PICR1 is now 00141b98
PICR2 is now 00040605
AMBOR is now c1
DRAM:  64 MB
FLASH:  8 MB
In:    serial
Out:   serial
Err:   serial
Net:   PCI device RTL8169#0: unknown chip version, assuming RTL-8169
PCI device: TxConfig = 0x0

RTL8169#0
Hit any key to stop autoboot: 0
IOMEGA=>
IOMEGA=>
IOMEGA=>
IOMEGA=>
IOMEGA=> setenv serverip 192.168.0.10
IOMEGA=> setenv ipaddr 192.168.0.25
IOMEGA=> tftp 100000 cuImage.824x
TFTP from server 192.168.0.10; our IP address is 192.168.0.25 Filename 'cuImage.824x'.
Load address: 0x100000
Loading: #################################################################

         #################################################################
         #################################################################
         #################################################################
         ##

done
Bytes transferred = 1337749 (146995 hex)
IOMEGA=> bootm 100000
## Booting image at 00100000 ...

   Image Name:   Linux-2.6.24-rc6-g550234b0-dirty
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1337685 Bytes =  1.3 MB

Load Address: 00400000
Entry Point: 00400544
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Loading kernel ......

#1 lore raw
Quoted 15 lines · Jon Loeliger

Folks,

Anyone out there with an 8241 board such as
the IoMega StorCenter who would be willing to help me debug my arch/powerpc cuImage problems?

I feel like I am missing something very basic in my port... like, "Did you map this memory right?" or "Did you set _this_ magic bit?"

I have posted the 3 patches that provide the basic port and cuImage support as well. The U-Boot that I have is still legacy, so I'd like to get linux working first via the cuImage, and then work on U-Boot.

Quoted 7 lines

The problem is that as soon as U-Boot uncompresses the cuImage and loads it, I get no further console output.

The failing log follows.

And I don't have a BDI-2000 or JTAG thing I can use here. Which is sort of why I'm tossing this out for general help.

Since you're getting absolutely no output after uncompression it probably means that you're failing in the boot wrapper... which means mmu is off, and the serial port is already set up by u-boot.

You should be able to add direct writes to the uart fifo register from within the bootwrapper code to see how far you get in the progress.

Cheers,
g.

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
#2 lore raw

So, like, the other day "Grant Likely" mumbled:

Quoted 3 lines

Since you're getting absolutely no output after uncompression it probably means that you're failing in the boot wrapper...

Or not getting to the boot wrapper...

Quoted 4 lines

which means mmu is off, and the serial port is already set up by u-boot.

You should be able to add direct writes to the uart fifo register from within the bootwrapper code to see how far you get in the progress.

Tried that. Didn't work at all.

I think I have some variant of BAT setup failure or so.

jdl

#3 lore raw
Quoted 6 lines · Jon Loeliger

So, like, the other day "Grant Likely" mumbled:

Quoted 3 lines

Since you're getting absolutely no output after uncompression it probably means that you're failing in the boot wrapper...

Or not getting to the boot wrapper...

Hmm, yet it boots a regular uImage?

Quoted 8 lines
Quoted 4 lines

which means mmu is off, and the serial port is already set up by u-boot.

You should be able to add direct writes to the uart fifo register from within the bootwrapper code to see how far you get in the progress.

Tried that. Didn't work at all.

I think I have some variant of BAT setup failure or so.

weird... Can you get *any* custom code to run *at all*? Even if it's just a loop that writes a char to the serial port?

Quoted 3 lines

jdl

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.