Hi, Mauro, On Mon, Nov 2, 2020 at 8:02 AM Mauro Condarelli <mc5686@xxxxxxxxx> wrote: > > Can someone confirm (or disconfirm, of course) kexec is supposed to work on MIPS32R2? > My attempts to use it on a MT7628-based board result in a silent hang (watchdog cuts in) > right after: > > [ 201.309836] kexec_core: Starting new kernel > [ 201.318239] Will call new kernel at 004f0000 > [ 201.322581] Bye ... > > Apparently old kernel jumps to `do_kexec()` and just dies; new kernel does not give a peep. > This can be completely my fault, of course, but I would like a confirm this is supposed to work. > > Thanks in advance I think every CPU should add some specific code in arch/mips/kernel/relocate_kernel.S Huacai > Mauro Condarelli