AnsweredAssumed Answered

P1010 platform kexec feature support

Question asked by Qingshan Li on Aug 5, 2015
Latest reply on Aug 9, 2015 by Qingshan Li


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 --

append="console=ttyS0,115200" /tmp/kernel

umount -ar

kexec --exec


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

function default_machine_kexec


, 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.