kexec powerpc booke
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Maxim Uvarov
Sebastian,
Maxim,
Quoted 1 line
I saw you did a lot of work for powerpc booke boards. What is the current status of your patches?
They worked the last time I checked on v31. Userland is useable however you have to tweak the dtb file. Recently I hacked kexec-tools so they can suck the dtb from /proc/device-tree while I've been traveling but I had no time to test it. Ah and initrd support as well.
Quoted 1 line
Will they be included to main line?
I hope so. I fixed what Kumar did not like in the last version. As far as I know, he had no time review it.
Quoted 4 lines
As I understand 8572 board has to work with your kernel:
http://git.breakpoint.cc/cgi-bin/gitweb.cgi?p=bigeasy/linux.git;a=shortlog;h=refs/heads/kexec_booke
Not really. 8572 is SMP and SMP is not supported at the moment. The plan for SMP was
- pin userland to the boot cpu
- halt the other cpu in kernel during kexec
- the what we do right now
- use the ipic to reset the cpu and bring it back to virgin state.
That was only the plan I made. Halt the CPU means spin I think so you should respect the "reserved region" in dtb.
Quoted 1 line
I tried this kernel and result is hang after "Bye!". Which kexec-tools is suitable for your kernel? Can you please throw them to me?
[0] is what I used last time I checked and Simon merged it. So it should work. I try to rebase the kernel to v33 and see if it got broken somehow. Maybe I should merge console support so it is easier to debug. The plan here was to set the uart type & address into the purgatory code from what we know from the dtb. However I have no idea how to set the MMU mapping for it.
Quoted 2 lines
I posted the patch, which make 83xx classic powerpc work (not booke). Both kexec and kdump. Now I want to do booke boards workable. That's why I need to know how things are now. What is already done and what is needed.
I'm supprised that the UP part is not working. I look at it. I post the proc/dtb-suck-in patches once they are tested. I could push it to my pubic git tree if you want to look at them. SMP support is missing and I haven't looked at kdump at all.
[0] http://git.breakpoint.cc/cgi-bin/gitweb.cgi?p=bigeasy/kexec-tools.git;a=shortlog;h=refs/heads/ppc32
Sebastian
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Quoted 7 lines · * Sebastian Andrzej Siewior | 2010-05-14 10:14:55 [+0200]:
Quoted 1 line · Maxim Uvarov
Sebastian,
Maxim,
Quoted 3 lines
I tried this kernel and result is hang after "Bye!". Which kexec-tools is suitable for your kernel? Can you please throw them to me?
Please look into branch kexec_v6_v33-rc7 or kexec_v6 at [0] gitweb [1]. The problem with v5 was that it never hit the mailing list as it was my internal testing which did not work as expected. v6 got published as v4 on the mailing list. Sorry for that.
Quoted 5 lines
Quoted 5 lines
I posted the patch, which make 83xx classic powerpc work (not booke). Both kexec and kdump. Now I want to do booke boards workable.
That's why I need to know how things are now. What is already done and what is needed.
I had a brief look at it. It looks like you pulled the dtb scanning tree from ppc64. Could that be?
At [2] in ppc32 branch is my current statenincluding ramdisk support. ppc32_hacking has dtb suckin code from /proc with libfdt support. The whole think basically works however later during the init of the serial line the box hangs. I haven't figured what is going wrong, maybe the order is important. The interrupt numbers mach on the other hand :)
I pulled in libfdt because I gives nicer dtb handling than what ppc64 has. I did not have much more time I could spent on it so the auto-dtb code is not complete.
[0] git://git.breakpoint.cc/bigeasy/linux.git
[1] http://git.breakpoint.cc/cgi-bin/gitweb.cgi?p=bigeasy/linux.git;a=shortlog;h=refs/heads/kexec_v6
[2] http://git.breakpoint.cc/cgi-bin/gitweb.cgi?p=bigeasy/kexec-tools.git
Sebastian
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec