[PATCH] UBUNTU: [arm] Fix kexec on ARM by properly calling the relocation function

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Jan 28 14:30:55 UTC 2009


On Wed, Jan 28, 2009 at 02:17:28PM +0000, Daniel Silverstone wrote:
> On Mon, 2009-01-26 at 11:40 -0500, Michael Casadevall wrote:
> > >> Forwarding a patch to fix kexec on ARM. Comments sought.
> > > This patch can't work - with how it is, you'll be booting a kernel with
> > > the CPU MMU enabled.  Kernels must be booted with the CPU MMU disabled
> > > as per the 'booting.txt' documentation, which can be found in the kernel
> > > source and on my website.
> > I was unaware of this document when I created the patch, I'll make sure to
> > refer to it when I take another stab at resolving this issue.
> 
> Also you should take a read of:
> 
> http://www.simtec.co.uk/products/SWLINUX/files/booting_article.html
> 
> Since that details register entry requirements etc. Specifically, check
> out section 10 of the document.

And my version doesn't?

- CPU register settings
  r0 = 0,
  r1 = machine type number discovered in (3) above.
  r2 = physical address of tagged list in system RAM.





More information about the kernel-team mailing list