Skip to content
Snippets Groups Projects
  1. Aug 08, 2010
  2. Jun 06, 2008
  3. Jun 04, 2008
  4. Oct 28, 2007
  5. Feb 10, 2007
  6. Feb 09, 2007
  7. Dec 08, 2006
    • Rod Whitby's avatar
      [MTD] Support combined RedBoot FIS directory and configuration area · f33665d9
      Rod Whitby authored
      RedBoot supports storing the FIS directory and the RedBoot
      configuration area in the same block of flash memory.  This is
      not the most common RedBoot configuration, but it is used on
      commercially available boards supported by the kernel.
      
      A recent patch to mtd/redboot.c (http://lkml.org/lkml/2006/3/20/410
      
      )
      which corrected the skipping of deleted table entries has exposed the
      latent problem of the kernel redboot parser running off the end of the
      FIS directory and interpreting the RedBoot configuration information
      as table entries.
      
      This patch terminates the table parsing when the first truly empty
      entry is found (table entry deletion only clears the first byte of the
      name, so two cleared bytes in a row indicates the end of the table),
      thereby supporting the combined redboot FIS directory and RedBoot
      configuration information flash layout scenario.
      
      Signed-off-by: default avatarRod Whitby <rod@whitby.id.au>
      Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
      f33665d9
  8. Dec 01, 2006
  9. Nov 28, 2006
  10. May 16, 2006
  11. Mar 31, 2006
  12. Mar 02, 2006
  13. Feb 28, 2006
    • John Bowler's avatar
      [PATCH] drivers/mtd/redboot.c: recognise a foreign byte sex partition table · 9cff3372
      John Bowler authored
      
      The RedBoot boot loader writes flash partition tables containing native
      byte sex 32 bit values.  When booting an opposite byte sex kernel (e.g.  an
      LE kernel from BE RedBoot) the current MTD driver fails to handle the
      partition table and therefore is unable to generate the correct partition
      map for the flash.
      
      So far as I am aware this problem is ARM specific, because only ARM
      supports software change of the CPU (memory system) byte sex, however the
      partition table parsing is in generic MTD code.  The patch below has been
      tested on NSLU2 (an IXP4XX based system) with a patch,
      10-ixp4xx-copy-from.patch (submitted to linux-arm-kernel - it's ARM
      specific) required to make the maps/ixp4xx.c driver work with an LE kernel.
      
      Builds of the patched system are in the 'unstable' release of OpenSlug and
      UcSlugC available from www.nslu2-linux.org.  These builds are BE, the
      archives at www.nslu2-linux.org and www.handhelds.org (see
      monotone.vanille.de) can be built LE (currently DISTRO targets
      nslu-ltu.conf for LE thumb uclibc (32 bit kernel) and nslu2-lau.conf,
      nslu2-lag.conf for LE arm uclibc/glibc) and this patch has been tested
      extensively will both BE and LE systems on the NSLU2 (including swapping
      between BE and LE by reflashing from both RedBoot and Linux).
      
      The patch recognises that the FIS directory (the partition table) is
      byte-reversed by examining the partition table size, which is known to be
      one erase block (this is an assumption made elsewhere in redboot.c).  If
      the size matches the erase block after byte swapping the value then
      byte-reversal is assumed, if not no further action is taken.  The patched
      code is fail safe; should redboot.c be changed to support a partition table
      with a modified size field the test will fail and the partition table will
      be assumed to have the host byte sex.
      
      If byte-reversal is detected the patch byte swaps the remainder of the 32
      bit fields in the copy of the table; this copy is then used to set up the
      MTD partition map.
      
      Signed-off-by: default avatarJohn Bowler <jbowler@acm.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Martin Michlmayr <tbm@cyrius.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      9cff3372
  14. Nov 07, 2005
  15. Apr 16, 2005
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
Loading