linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* lite5200b kernel not booting
@ 2009-09-24 14:41 Asier Llano Palacios
  2009-09-25 12:15 ` Jon Smirl
  0 siblings, 1 reply; 3+ messages in thread
From: Asier Llano Palacios @ 2009-09-24 14:41 UTC (permalink / raw)
  To: grant.likely; +Cc: linuxppc-dev, Aitor Arzuaga

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: lite5200b kernel not booting
  2009-09-24 14:41 lite5200b kernel not booting Asier Llano Palacios
@ 2009-09-25 12:15 ` Jon Smirl
  2009-09-27 12:22   ` Albrecht Dreß
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Smirl @ 2009-09-25 12:15 UTC (permalink / raw)
  To: Asier Llano Palacios; +Cc: linuxppc-dev, Aitor Arzuaga

On Thu, Sep 24, 2009 at 10:41 AM, Asier Llano Palacios
<asierllano@gmail.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: lite5200b kernel not booting
  2009-09-25 12:15 ` Jon Smirl
@ 2009-09-27 12:22   ` Albrecht Dreß
  0 siblings, 0 replies; 3+ messages in thread
From: Albrecht Dreß @ 2009-09-27 12:22 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1298 bytes --]

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.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-27 12:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-24 14:41 lite5200b kernel not booting Asier Llano Palacios
2009-09-25 12:15 ` Jon Smirl
2009-09-27 12:22   ` Albrecht Dreß

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).