lite5200b kernel not booting

3 messages, 3 authors, 2009-09-27 · open the first message on its own page

lite5200b kernel not booting

From: Asier Llano Palacios <hidden>
Date: 2009-09-24 14:41:03

Hi Grant,

We've been working with a lite5200b for a while, we have been working
with the ppc platform in linux 2.6.x for 5 years and it worked properly
until 2.6.25 included. We want to switch to the powerpc platform but it
doesn't seem to work.

After the bootloader (tested with the uboot 1.2.0 and 2009.08) starts
the cuImage.lite5200 it doesn't show anything in the console.

I'd like to know if the lite5200b is still supported and which version
is known to work with it and what is the default configuration. I want
to test it like the developers do, until I configure it myself.

I've managed to do some debugging in assembler, to know that it works
properly until DCACHE is enabled in setup_common_caches of
arch/powerpc/kernel/cpu_setup_6xx.S. If I skip enabling the DCACHE it
continues properly until the MMU is enabled.

I'm only debugging it writing to the serial port registers in assembler,
so I'm not very sure if it continues properly or if I am not able to
debug it after the DCACHE is enabled or the MMU is enabled. I want to
debug it with a JTAG debugger, but I still don't have one (do you
recommend me anyone?).

Kind regards and thank you for the help,
Asier

Re: lite5200b kernel not booting

From: Jon Smirl <hidden>
Date: 2009-09-25 12:16:00

On Thu, Sep 24, 2009 at 10:41 AM, Asier Llano Palacios
[off-list ref] wrote:
Hi Grant,

We've been working with a lite5200b for a while, we have been working
with the ppc platform in linux 2.6.x for 5 years and it worked properly
until 2.6.25 included. We want to switch to the powerpc platform but it
doesn't seem to work.

After the bootloader (tested with the uboot 1.2.0 and 2009.08) starts
the cuImage.lite5200 it doesn't show anything in the console.

I'd like to know if the lite5200b is still supported and which version
is known to work with it and what is the default configuration. I want
to test it like the developers do, until I configure it myself.

I've managed to do some debugging in assembler, to know that it works
properly until DCACHE is enabled in setup_common_caches of
arch/powerpc/kernel/cpu_setup_6xx.S. If I skip enabling the DCACHE it
continues properly until the MMU is enabled.

I'm only debugging it writing to the serial port registers in assembler,
so I'm not very sure if it continues properly or if I am not able to
debug it after the DCACHE is enabled or the MMU is enabled. I want to
debug it with a JTAG debugger, but I still don't have one (do you
recommend me anyone?).
No one has tried the Macraigor USB wiggler on the mpc5200 and reported
back if it works.

Chart says it is supported...
http://www.macraigor.com/cpus.htm

It's a $250 device so it would good to know if it works.
http://www.macraigor.com/usbWiggler.htm

uboot 1.2 is very old. That may be the cause of your problems. For
example old u-boots don't initialize the PCI hardware correctly on
systems that don't have PCI implemented.

In general the current powerpc kernel works fine on the mpc5200b. We
are running it on four different CPU boards but I don't have a
lite5200b.

We use the Phytec dev boards. We've never had any trouble with them.
http://www.phytec.de/de/produkte/rapid-development-kits/linux-kits/produktdetails.html?tx_ttproducts_pi1[backPID]=270&tx_ttproducts_pi1[product]=62&cHash=6fbc8dcdb2

http://www.phytec.com/products/rdk/PowerPC/phyCORE-MPC5200B-tinyRDK.html


Kind regards and thank you for the help,
Asier

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


-- 
Jon Smirl
jonsmirl@gmail.com

Re: lite5200b kernel not booting

From: Albrecht Dreß <hidden>
Date: 2009-09-27 12:22:59

Am 25.09.09 14:15 schrieb(en) Jon Smirl:
No one has tried the Macraigor USB wiggler on the mpc5200 and  
reported back if it works.
I'm working on a self-designed, roughly Lite5200B based board, and  
first thought about buying this device.  However, I tried to contact  
their support several times (as to get a confirmation that it will work  
with our flash and board-specific design), but never got a reply.  So  
we ended up with the Abatron BDI3000, which is rather expensive, but  
works really flawlessly, and Abatron's (and their German distributor's)  
support is just *excellent* (fast and professional).
uboot 1.2 is very old. That may be the cause of your problems. For  
example old u-boots don't initialize the PCI hardware correctly on  
systems that don't have PCI implemented.
U-Boot 2009.03 together with ELDK 4.2 work flawlessly on both the  
Lite5200B and on our design.
In general the current powerpc kernel works fine on the mpc5200b. We  
are running it on four different CPU boards but I don't have a  
lite5200b.
I can only confirm that the stock (from kernel.org) kernels run  
flawlessly on our boards (the latest I tried was 2.6.30.3, though, but  
I don't expect any issues with 2.6.31.1).

Hope this helps,
Albrecht.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help