Re: kexec on mips failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 28 August 2009 11:09:51 am Florian Fainelli wrote:
> Hi,

Hi,

> > However, whether I changed kexec_start_address to 0x802b0000 or
> > 0x2b0000 , the  'j  s1'  seemed taking no effect?
> 
> Should not you add a nop right after the j s1 in order to fill in the branch 
> delay slot with an instruction which does nothing ?

This should not be needed since  have no ".set noreorder" in the file,
so the  assembler should add a nop  in the delay slot,  after "jr s1".

I have this  on an objdumped relocate_kernel.o, so  the assembler does
add the nop:

[...]
000000a4 <done>:
  a4:	02200008 	jr	s1
  a8:	00000000 	nop
[...]

Regards,

-- 
Nicolas Schichan


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux