Re: [PATCH] powerpc: Add support to access the flash on SLOF based systems

2009-01-14 Thread Adrian Reber
On Mon, Jan 12, 2009 at 09:51:23AM -0600, Milton Miller wrote: > Is SLOF just exposing the user image part of the flash device? Or is it > the raw flash device? SLOF is exposing the raw flash device. > I need to keep this quick, but am intrested in a few more details. My > first reaction is

Re: [PATCH] powerpc: Add support to access the flash on SLOF based systems

2009-01-12 Thread Arnd Bergmann
On Monday 12 January 2009, Martyn Welch wrote: > Adrian Reber wrote: > > The reason why I did not use mtd is that part of the flash is used by > > the firmware image and I do not know if that works with mtd, if only a > > part of the flash can be used. SLOF does also a "CRC" check over the > > firm

Re: [PATCH] powerpc: Add support to access the flash on SLOF based systems

2009-01-12 Thread Martyn Welch
Adrian Reber wrote: On Sat, Jan 10, 2009 at 11:52:56AM -0600, Milton Miller wrote: Normally such drivers are written and mtd drivers. If slof were not an of implementation I would just say put the right properties on the node in the device tree, but the kernel should adapt to real OF. It s

Re: [PATCH] powerpc: Add support to access the flash on SLOF based systems

2009-01-12 Thread Milton Miller
On Jan 10, 2009, at 1:50 PM, Adrian Reber wrote: On Sat, Jan 10, 2009 at 11:52:56AM -0600, Milton Miller wrote: On Sun Jan 11 at 02:31:22 EST in 2009, Adrian Reber wrote: This adds support for a simple character device to access the flash for SLOF based systems like the PowerStation, QS2x and

Re: [PATCH] powerpc: Add support to access the flash on SLOF based systems

2009-01-10 Thread Adrian Reber
On Sat, Jan 10, 2009 at 11:52:56AM -0600, Milton Miller wrote: > On Sun Jan 11 at 02:31:22 EST in 2009, Adrian Reber wrote: >> This adds support for a simple character device to access the >> flash for SLOF based systems like the PowerStation, QS2x and >> PXCAB. In the SLOF git there is a user spac

Re: [PATCH] powerpc: Add support to access the flash on SLOF based systems

2009-01-10 Thread Milton Miller
On Sun Jan 11 at 02:31:22 EST in 2009, Adrian Reber wrote: This adds support for a simple character device to access the flash for SLOF based systems like the PowerStation, QS2x and PXCAB. In the SLOF git there is a user space program with which the content of the flash for SLOF based systems ca

[PATCH] powerpc: Add support to access the flash on SLOF based systems

2009-01-10 Thread Adrian Reber
This adds support for a simple character device to access the flash for SLOF based systems like the PowerStation, QS2x and PXCAB. In the SLOF git there is a user space program with which the content of the flash for SLOF based systems can be displayed and modified. This can be used to add a Linux i