1. 06 1月, 2011 1 次提交
  2. 09 8月, 2010 1 次提交
  3. 25 2月, 2010 1 次提交
  4. 01 1月, 2010 1 次提交
  5. 30 11月, 2009 5 次提交
  6. 21 3月, 2009 2 次提交
  7. 10 12月, 2008 1 次提交
    • A
      [MTD] update internal API to support 64-bit device size · 69423d99
      Adrian Hunter 提交于
      MTD internal API presently uses 32-bit values to represent
      device size.  This patch updates them to 64-bits but leaves
      the external API unchanged.  Extending the external API
      is a separate issue for several reasons.  First, no one
      needs it at the moment.  Secondly, whether the implementation
      is done with IOCTLs, sysfs or both is still debated.  Thirdly
      external API changes require the internal API to be accepted
      first.
      
      Note that although the MTD API will be able to support 64-bit
      device sizes, existing drivers do not and are not required
      to do so, although NAND base has been updated.
      
      In general, changing from 32-bit to 64-bit values cause little
      or no changes to the majority of the code with the following
      exceptions:
          	- printk message formats
          	- division and modulus of 64-bit values
          	- NAND base support
      	- 32-bit local variables used by mtdpart and mtdconcat
      	- naughtily assuming one structure maps to another
      	in MEMERASE ioctl
      Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com>
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      69423d99
  8. 18 10月, 2008 3 次提交
  9. 22 4月, 2008 1 次提交
  10. 07 2月, 2008 2 次提交
  11. 03 2月, 2008 4 次提交
  12. 03 12月, 2007 1 次提交
  13. 22 8月, 2007 1 次提交
  14. 11 7月, 2007 1 次提交
  15. 29 6月, 2007 1 次提交
    • R
      [MTD] oops and panic message logging to MTD device · 4b23aff0
      Richard Purdie 提交于
      Kernel oops and panic messages are invaluable when debugging crashes.
      These messages often don't make it to flash based logging methods (say a
      syslog on jffs2) due to the overheads involved in writing to flash.
      
      This patch allows you to turn an MTD partition into a circular log
      buffer where kernel oops and panic messages are written to. The messages
      are obtained by registering a console driver and checking
      oops_in_progress. Erases are performed in advance to maximise the
      chances of a saving messages.
      
      To activate it, add console=ttyMTDx to the kernel commandline (where x
      is the mtd device number to use).
      Signed-off-by: NRichard Purdie <rpurdie@openedhand.com>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      4b23aff0