I am use p1010 cpu and SDK version is 1.5. Now i test kexec feature on this platform with below command:
kexec --load --initrd=/tmp/initrd --
after commands execute finish, the console just print info:
Starting new kernel
and then the cpu system looks like freeze,and console don't
have any information output.
I further debug source code and found "kexec --exec" final call
, execute below codes
/* now call it */
62 rnk = (relocate_new_kernel_t) reboot_code_buffer;
63 (*rnk)(page_list, reboot_code_buffer_phys, image-
and then cpu looks like freeze.
I don't know how to debug it and please help confirm it
whether this situation is SDK bug.
/tmp/initrd is initrd file
/tmp/kernel is elf vmlinux file
in uboot mode i can use initrd and kernre file can bootup cpu
system, so the two file is correct.
I'm referring to the code that is already in the kernel. What I'm saying is that somebody worked on it in the past, but I don't think it is currently expected to work.
I test kexec feature on 3.9.6 Kernel and found it works. But 3.9.6 kernel is not my favorite kernel version. I can merge some codes form 3.9.6 to 3.8.13 for 3.8.13 can support kexec feature but i don't know how to start it. Whether you can help me to achieve it?