<p>powerpc 8541 ,kernel 2.6.21.7<br> <br> <br> <br>In misc_32.s, when executed "rif " instruction , the kernel went wrong because of the <br>invalid instruction address.<br> <br>So , I changed r4 into virtual address(not physical address), this programm can go on , <br>
however , there seemed to be some <br> <br>kernel overflow oops in page copying process in misc_32.s, causing kernel 's termination.<br> <br> <br> <br> <br>here are my steps,(r4 is physical address)<br> <br># kexec -l uImage --devtree=your.fdt.dtb --devtree_addr=0x800000<br>
Image Name: Linux-2.6.21.7<br> Image Type: PowerPC Linux Kernel Image (gzip compressed)<br> Data Size: 1190265 Bytes = Load Address: 00000000<br> Entry Point: 00000000</p>
<p># kexec -e<br>Starting new kernel<br>virtual address: cfc09000<br>physical address: fc09000<br>calling function: reboot_code(page_list=0xfc08002, reboot_code_buffer_phys=0xfc09000, image<br>->start=0x0,image->segment[1].mem=0x800000)<br>
<br>Unable to handle kernel paging request for instruction fetch<br>Faulting instruction address: 0x0fc09028<br> <br> <br> </p>
<p>Please help. thank you very much.<br> <br> <br>regards,</p>