View Single Post
solca's Avatar
Posts: 109 | Thanked: 196 times | Joined on Sep 2008 @ Guatemala
#31
Originally Posted by fanoush View Post
I think it was already -l but don't remember for sure. I used two patches for kernel 2.6.22, one adding atags support and second one exporting it in two files in /proc/atags directory. Then I used kexec-tools 1.101 maybe with some additional patches.

Now I have tried it with userspace kexec-nit tool from http://guug.org/nit/kexec/ and found it expects /proc/atags to be a file which is how it is done in recent kernels. I combined previous patches with https://dev.openwrt.org/browser/trun...atch?rev=13613 and now the userspace tool compiled by solca loads the kernel fine and when trying to execute it from fully booted Diablo system (not good idea) it turns screen black and hangs. So I guess it tries to run it but hopefully new kernel just doesn't like current state of hardware. I'll try to run it from initfs so less hardware gets initialized.
Did you try putting your NIT in R&D mode _and_ enable the serial-console flag? It only works this way but it is not ideal, if we could find the cause why it hangs without it...
__________________
NITdroid