lite5200b kernel not booting
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
Quoted 19 lines · Asier Llano Palacios
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_cachesofarch/powerpc/kernel/cpu_setup_6xx.S. If I skip enabling the DCACHE it continues properly until the MMU is enabled.
Quoted 5 lines
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
Quoted 9 lines
Kind regards and thank you for the help,
Asier_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev
Signature · 2 lines
Jon Smirl [email protected]
Am 25.09.09 14:15 schrieb(en) Jon Smirl:
Quoted 1 line
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).
Quoted 1 line
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.
Quoted 1 line
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.