1. 30 Sep, 2006 2 commits
    • Lennert Buytenhek's avatar
      [ARM] 3809/3: get rid of 4 megabyte kernel image size limit · 2552fc27
      Lennert Buytenhek authored
      We currently have a hardcoded 4 megabyte uncompressed kernel image
      size limit, which is easily exceeded by, for example, enabling some of
      the various kernel debugging options.
      
      When setting up the initial page tables (which is where this 4M limit
      is hardcoded), it's actually relatively easy to find out the true size
      of the uncompressed kernel image and create enough page table entries
      for things to fit, so this patch makes it so.
      
      In the decompressor, we also need to know the size of the uncompressed
      kernel image, to figure out whether there is any chance that uncompressing
      the kernel might overwrite the compressed kernel image stored elsewhere
      in memory. We don't have that info at this boot stage, though, so we
      approximate the size of the uncompressed kernel by taking the compressed
      kernel image size and allowing for a maximum 4x expansion.
      Signed-off-by: default avatarLennert Buytenhek <buytenh@wantstofly.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      2552fc27
    • Russell King's avatar
      [ARM] Fix XIP_KERNEL build error in arch/arm/mm/mmu.c · 6ae5a6ef
      Russell King authored
      XIP kernels need to know the start/end of text, but we were
      missing the declaration of _etext in mmu.c.  Add it.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      6ae5a6ef
  2. 29 Sep, 2006 1 commit
  3. 28 Sep, 2006 37 commits