Bug 67811
Summary: | Kernel 3.13-rc5 doesn't boot with a PA6T cpu | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | Christian Zigotzky (chzigotzky) |
Component: | PPC-64 | Assignee: | Anton Blanchard (anton) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | chzigotzky, olof |
Priority: | P1 | ||
Hardware: | PPC-64 | ||
OS: | Linux | ||
Kernel Version: | 3.13-rc5 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
Kernel 3.13-rc3 config
Kernel 3.13-rc5 config Nemo patch nemo_3.13-2.patch Picture of the kernel boot |
Description
Christian Zigotzky
2013-12-27 18:43:00 UTC
3.13-rc5 with pasemi_defconfig works just fine here on an eval board. They never sent me an X1000 as promised so I could support the mainline kernel on it, so I'm sorry but you're mostly on your own here. Do you have a serial port available for console? If so, what's the last output you get there? Hi Olof, Thank you for your answer. Unfortunately I don't have a serial port. The last output are the RAM addresses. I don't see that the CPU started. By the way there are new Nemo boards available. Link: http://www.a-eon.com/?news=21-11-2013 And we're looking for Linux beta testers for our new PowerPC board. The new board, codenamed Cyrus Plus, will be an replacement for the Nemo board. The revision 2.0 prototype contains a Freescale P5020 CPU which is a 2 GHz, 64-bit dual-core PowerPC SoC. The Cyrus Plus board will also accept the new P5040 when it becomes commercially available in greater volume. This is a 64-bit quad-core PowerPC Freescale CPU which operates up to 2.4 GHz. As with Nemo, the Cyrus Plus motherboard has been custom designed to run the latest version of AmigaOS 4 and will support multiple PowerPC Linux distributions. The deadline for applications is at the end of December. OK, back to the topic. It's very strange, that the kernel 3.12.5 works very well but 3.13-rc5 have boot problems. All the best, Christian Created attachment 119761 [details]
Kernel 3.13-rc3 config
Created attachment 119771 [details]
Kernel 3.13-rc5 config
Created attachment 119781 [details]
Nemo patch
... but 3.13-rc5 has boot problems. Sorry, my English isn't very well. I hope you know what I mean. I've compiled the kernel 3.14-rc4 as framebuffer kernel. But it hasn't solved the boot problem yet. It hangs before starting cpu. I've tried to compile the kernel with another firmware package. But it also hasn't solved the issue. It seems, that it isn't a problem with the graphics card. 2.2kUSD for a 5-year old motherboard? Thanks but no thanks. :-) And based on previous experience with "beta programs", I have no interest in "participating". But thanks for the info. Anyway, I've been able to reproduce with ppc64_defconfig. I've been able to bisect it down to the little endian fixup code, but I can't yet explain why it's failing there. I think I'll take this to the mailing list for discussion. Hi Olof, Thanks a lot for your effort. I have added the SB600 chipset and the Radeon graphics parts to the pasemi_defconfig. Then I have tried to compile the kernel 3.13-rc5 with the modified pasemi_defconfig. But it didn't compile. It seems the pasemi_defconfig isn't complete enough to build the kernel. How do you compile the kernel with the pasemi_defconfig? You told me you have an eval board. Is it the Electra board? At this time the kernel 3.12 series is the last for the Nemo board. But it would be very nice to have new kernels for the Nemo board in the future. All the best and thank you for your help, Christian I have several eval boards, but the one I have hooked up and easily bootable is a Chitra -- it's essentially an Electra without CF/IDE and with a PCI bridge on-board with a USB host controller (and onboard MV SATA). Hi Olof, I read your posts on the mailing list. I was curious and I've tried your fix. And you're right it doesn't work. I have before I was compile the kernel, created a patch file for the Nemo board (PASEMI_SB600) with your fix. You find it as attachment. Have a nice weekend and thanks for your effort, Christian Sorry I meant ... I have before I have compiled the kernel, created a patch file for the Nemo board (PASEMI_SB600) with your fix. ... Sorry for my English. Created attachment 120061 [details]
nemo_3.13-2.patch
Today, I have compiled the RC 6. But it also doesn't boot. You find a picture of the kernel boot as attachment. Created attachment 120481 [details]
Picture of the kernel boot
Hi Olof, Thank you very much for your work. :-) I've compilied the RC 6 of kernel 3.13 with your fixes. And the kernel boots and works. But there are a problem with the Radeon driver. I could see just lines all over the screen. The reason is that the Radeon Dynamic Power Management doesn't work. I have to add the argument and the value "radeon.dpm=0" to the bootargs. For example: setenv bootargs "root=/dev/sda4 radeon.dpm=0" Rgds, Christian I'm pretty sure the radeon issue is unrelated; it might even be non-ppc-specific. I completely lack radeon hardware, so you should bug report that separately for those driver guys. This can be marked fixed. I don't seem to have permissions to do so. Olof, Thanks a lot for your effort. :-) I'm very happy that you have solved this issue. Download Kernel 3.13-rc6: http://www.xenosoft.de/vmlinux-3.13-rc6-AmigaOneX1000.tar.bz2 All the best, Christian |