On Fri, Mar 15, 2013 at 1:52 AM, Chen Gang gang.c...@asianux.com wrote:
于 2013年03月15日 07:43, Russell King - ARM Linux 写道:
So our wonderful toolchain has decided to start producing NULL warnings
for every mcr p15, 0, rX, c7, c10, 4 instruction? I'd just ignore
them and hope that the
pointer type [enabled by default]
linux/drivers/power/collie_battery.c:372:2: warning: (near initialization for
'collie_bat_driver.suspend') [enabled by default]
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
drivers/power/collie_battery.c| 1 +
drivers/video/logo
On Sun, Feb 17, 2013 at 12:00 AM, Anton Vorontsov an...@enomsg.org wrote:
Hi Andrea,
On Sat, Feb 16, 2013 at 07:16:00PM +0100, Andrea Adami wrote:
Initial try to fix compilation error
Things are a bit more complex...
linux/include/linux/mfd/mcp.h:22:16: error: field 'attached_device' has
* Since 3.3 gpio wakeup is broken on pxa25x (tested on corgi and poodle).
* Use gpio_set_wake like done for pxa27x with commit id
* b95ace54a23e2f8ebb032744cebb17c9f43bf651
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
arch/arm/mach-pxa/pxa25x.c |5 +
1 files changed, 5
* fix failure seen on Zaurus corgi:
* sa1100-rtc sa1100-rtc: failed to find rtc clock source
* sa1100-rtc: probe of sa1100-rtc failed with error -2
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
arch/arm/mach-pxa/pxa25x.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff
* Using pxa27x you could now build both RTC_DRV_PXA and RTC_DRV_SA1100.
* Make sure you don't use both together: link /dev/rtc0 or /dev/rtc1
* to /dev/rtc according to your requirement.
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
arch/arm/mach-pxa/pxa27x.c |1 +
1 files changed, 1
On Mon, Jul 22, 2013 at 1:03 PM, Mark Brown broo...@kernel.org wrote:
On Sun, Jul 21, 2013 at 01:07:48AM +0200, Andrea Adami wrote:
The ADS7846 driver _requires_ the use of a voltage regulator
or if not present, CONFIG_REGULATOR_DUMMY should be used for proper
operation.
This was made
in the initial identity mapping
-- Forwarded message --
From: Andrea Adami andrea.ad...@gmail.com
Date: Sun, Jul 21, 2013 at 1:07 AM
Subject: [PATCH] pxa: sharpsl_param: fix invalid memory access in
sharpsl_save_param()
To: linux-arm-ker...@lists.infradead.org
Cc: Russell King li
is mounted READ ONLY
(as from factory, with a RO cramfs).
Further debugging of cfi detection and vpp is needed.
Andrea
On Sun, Jul 21, 2013 at 1:07 AM, Andrea Adami andrea.ad...@gmail.com wrote:
Zaurus 5500 contains 2 LH28F640BFHE-PTTL90 (64M 4Mx16) and
the LH28F640BFHE-PTTL90.pdf datasheet available
(SA1100) is unaffected (function is called in init_machine).
Signed-off-by: Marko Katic drom...@gmail.com
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
arch/arm/common/sharpsl_param.c | 17 ++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/arch/arm/common
Somehow this is unsatisfactory because the flash is mounted READ ONLY
(as from factory, with a RO cramfs)
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
arch/arm/mach-sa1100/collie.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm
On Wed, Sep 18, 2013 at 12:27 PM, Waldemar Brodkorb w...@openadk.org wrote:
Hi Kernel hackers,
I am trying to run Linux on Qemu/arm emulator with machine type
spitz. In the past this worked fine.
Now with Linux version 3.9.11 it does not boot anymore.
(blank screen, no kernel messages)
I
Hello,
as one of the developers of kexecboot, a kexec-based
linux-as-bootloader, I'm following with interest this thread.
FWIW since the beginning we are compiling kexec-tools statically
against klibc for size constraints.
We have 2.02 and 2.0.4 almost finished (some issue with purgatory in
this
(SA1100) is unaffected (function is called in init_machine).
Signed-off-by: Marko Katic drom...@gmail.com
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
arch/arm/common/sharpsl_param.c | 17 ++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/arch/arm/common
(SA1100) is unaffected (function is called in init_machine).
The code was making assumptions and for PXA the virtual address
should have been used before.
Signed-off-by: Marko Katic drom...@gmail.com
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
arch/arm/common/sharpsl_param.c | 5
-by: Andrea Adami andrea.ad...@gmail.com
---
arch/arm/mach-sa1100/collie.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c
index 612a456..7fb96eb 100644
--- a/arch/arm/mach-sa1100/collie.c
+++ b/arch/arm/mach-sa1100
address that is no longer * accessible. Fix
his by converting the physical address into a virtual one.
Signed-off-by: Marko Katic drom...@gmail.com
[andrea.ad...@gmail.com: checkpatch.pl dislikes void * param_start]
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
arch/arm/common/sharpsl_param.c
Since 9d08d5d77a355510c2f5657c86b0a4b25acfe72c, irq_to_gpio() is no
longer available but still in use by collie_battery.c. As it's just
for a debug message, just get rid of this call.
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
drivers/power/tosa_battery.c | 2 +-
1 file changed, 1
-by: Andrea Adami andrea.ad...@gmail.com
---
drivers/mtd/chips/jedec_probe.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
index c443f52..7c0b27d 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b
...@gmail.com: checkpatch.pl dislikes lines over 80 chars]
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
drivers/mmc/host/pxamci.c | 40 +++-
1 file changed, 27 insertions(+), 13 deletions(-)
diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c
index
Fix
linux/include/linux/mfd/mcp.h:22:16: error: field 'attached_device' has
incomplete type
linux/include/linux/mfd/mcp.h:48:23: error: field 'drv' has incomplete type
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
include/linux/mfd/mcp.h | 2 ++
1 file changed, 2 insertions(+)
diff
/mfd?id=cf4abfcc0df2985ff6061f74e63b8353f2a1d0bc
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
drivers/power/collie_battery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/collie_battery.c b/drivers/power/collie_battery.c
index c58d0e3..d02ae02 100644
Fix
linux/include/linux/mfd/ucb1x00.h:137:17: error: field 'dev' has incomplete type
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
include/linux/mfd/ucb1x00.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/mfd/ucb1x00.h b/include/linux/mfd/ucb1x00.h
index 28af417
From: Andrea Adami andrea.ad...@gmail.com
This family of chips was long ago supported by the pre-cfi driver.
CFI code tested on several Zaurus SL-5500 (Collie) 2x16 on 32 bit bus.
Function is_LH28F640BF() mimics is_m29ew() from cmdset_0002.c
Buffer write fixes as seen in 2007 patch c/o
Anti
From: Andrea Adami andrea.ad...@gmail.com
This family of chips was long ago supported by the pre-cfi driver.
CFI code tested on several Zaurus SL-5500 (Collie) 2x16 on 32 bit bus.
Function is_LH28F640BF() mimics is_m29ew() from cmdset_0002.c
Buffer write fixes as seen in 2007 patch c/o
Anti
in the Diagnostic Menu.
Andrea Adami (2):
arm: sa1100: collie: revert back to cfi_probe
arm: sa1100: collie: add top boot mtd partition
arch/arm/mach-sa1100/collie.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
--
1.9.1
--
To unsubscribe from this list: send the line unsubscribe linux
delays on erase-suspend/resume cycles.
Tested personally on 3 different units and with feedback of two other users.
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
arch/arm/mach-sa1100/collie.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-sa1100/collie.c b
The CFI mapping is now perfect so we can expose the top block, read only.
There isn't much to read, though, just the sharpsl_params values.
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
arch/arm/mach-sa1100/collie.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/mach
On Fri, Jul 25, 2014 at 7:32 AM, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
On Fri, Jul 25, 2014 at 01:10:54AM +0800, chiau.ee.c...@intel.com wrote:
From: Chew, Chiau Ee chiau.ee.c...@intel.com
SPI PXA2XX core layer has dependency on common clock framework
to obtain information on
On Tue, Jul 29, 2014 at 8:55 PM, Mark Brown broo...@kernel.org wrote:
On Tue, Jul 29, 2014 at 06:13:06PM +0200, Andrea Adami wrote:
note that a previous version of the patch breaks spi on pxa machines:
tested on pxa250 poodle and pxa255 corgi.
The patch is included in linux-Yocto since 3.14
with kernel 3.17.
Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com
Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
drivers/mtd/chips/cfi_cmdset_0001.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c
b/drivers/mtd/chips/cfi_cmdset_0001.c
Brian,
thanks for the review.
On Tue, Oct 28, 2014 at 11:25 PM, Brian Norris
computersforpe...@gmail.com wrote:
On Thu, Oct 23, 2014 at 01:23:01AM +0200, Andrea Adami wrote:
After '#echo mem /sys/power/state' some devices can not be properly
resumed
because apparently the MTD Partition
These platform drivers are lacking MODULE_ALIAS so module autoloading
doesn't work. Tested on corgi and poodle with kernel 4.4.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
sound/soc/pxa/brownstone.c | 1 +
sound/soc/pxa/mioa701_wm9713.c | 1 +
sound/soc/pxa/mmp-pcm.c
of the code was taken.
The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/Kconfig | 8 ++
drivers/mtd/Makefile | 2 +
drivers/mtd/sharpsl_ftl.c
This patchset introduces a simple partition parser for the Sharp SL
Series PXA handhelds. More details in the commit text.
I have set in cc the ARM PXA maintainers because this is the MTD part of
a planned wider patchset cleaning the Zaurus board files.
Andrea Adami (3):
mtd: sharpsl: add
This is the specific parser for Sharp SL Series (Zaurus).
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/nand/sharpsl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c
index 064ca17..2
This is the specific parser for Sharp SL Series (Zaurus)
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/nand/tmio_nand.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c
index fc5e773..f
of the code was taken.
The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/Kconfig | 8 ++
drivers/mtd/Makefile | 2 +
drivers/mtd/sharpsl_ftl.c
This is the specific parser for Sharp SL Series (Zaurus).
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/nand/sharpsl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c
index 064ca17..2
This is the specific parser for Sharp SL Series (Zaurus)
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/nand/tmio_nand.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c
index fc5e773..f
sources [1]
v2 refactor applying many suggested fixes [2]
[1] https://github.com/LinuxPDA/Sharp_FTL_2.4.20
[2] https://github.com/LinuxPDA/linux/commits/sharpslpart_v2
Andrea Adami (3):
mtd: sharpsl: add sharpslpart MTD partition parser
mtd: nand: sharpsl.c: prefer sharpslpart MTD partition parser
On Sun, Apr 16, 2017 at 6:07 PM, Marek Vasut <marek.va...@gmail.com> wrote:
> On 04/15/2017 10:11 PM, Andrea Adami wrote:
>> The Sharp SL Series (Zaurus) PXA handhelds have 16/64/128M of NAND flash
>> and share the same layout of the first 7M partition, managed by Sharp F
PXA Sharp Zaurus SL series.
For the records, these are the GPL 2.4 sources
https://github.com/LinuxPDA/Sharp_FTL_2.4.20
>
> On Sun, 16 Apr 2017 18:07:47 +0200
> Marek Vasut <marek.va...@gmail.com> wrote:
>
>> On 04/15/2017 10:11 PM, Andrea Adami wrote:
>> > The Sha
On Tue, Apr 18, 2017 at 11:35 AM, Boris Brezillon
<boris.brezil...@free-electrons.com> wrote:
> Hi Andrea,
>
> On Tue, 18 Apr 2017 10:58:02 +0200
> Andrea Adami <andrea.ad...@gmail.com> wrote:
>
>> Boris,
>> thanks for having read it.
>>
>&g
now these parsers.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/nand/sharpsl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c
index 064ca17..9859546 100644
--- a/drivers/mtd/nand/sharpsl.c
of the code was taken.
The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/parsers/Kconfig | 8 +
drivers/mtd/parsers/Makefile | 1 +
drivers/mtd/parsers/sharpslpart.c
-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/corgi.c | 31 ---
1 file changed, 8 insertions(+), 23 deletions(-)
diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c
index 7270f0d..9546452 100644
--- a/arch/arm/mach-pxa/corgi.c
+++ b/ar
now these parsers.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/nand/tmio_nand.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c
index fc5e773..47f439f 100644
--- a/drivers/mt
, we need to extend sharpsl_nand_platform_data to consider the partition
parsers.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
include/linux/mtd/sharpsl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h
index 6
, we need to extend tmio_nand_data to consider the partition parsers.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
include/linux/mfd/tmio.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index 26e8f8c..357b6cfd
-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/tosa.c | 28
1 file changed, 8 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c
index 13de660..b90560b 100644
--- a/arch/arm/mach-pxa/tosa.c
+++ b/arch/arm/ma
-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/poodle.c | 28
1 file changed, 8 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c
index 62a1191..fd01d6b 100644
--- a/arch/arm/mach-pxa/poodle.c
+++ b/ar
-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/spitz.c | 34 +-
1 file changed, 9 insertions(+), 25 deletions(-)
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c
index 67d66c7..defefa3 100644
--- a/arch/arm/mach-pxa/spitz.c
+++ b/ar
://support.ezaurus.com/developer/source/source_dl.asp
Andrea Adami (9):
mtd: sharpslpart: Add sharpslpart partition parser
mtd: nand: sharpsl: Add partition parsers platform data
mfd: tmio: Add partition parsers platform data
mtd: nand: sharpsl: Register partitions using the parsers
mtd: nand: tmio
On Sun, Aug 13, 2017 at 9:40 AM, Boris Brezillon
<boris.brezil...@free-electrons.com> wrote:
> Le Wed, 28 Jun 2017 22:30:29 +0200,
> Andrea Adami <andrea.ad...@gmail.com> a écrit :
>
> Please add a commit message explaining why you're doing that.
>
Sure, I have added a
ros...).
I'll comment briefly but substantially I agree with your observations.
> On Wed, Jun 28, 2017 at 10:30:28PM +0200, Andrea Adami wrote:
>> The Sharp SL Series (Zaurus) PXA handhelds have 16/64/128M of NAND flash
>> and share the same layout of the first 7M partition, managed by Sharp
On Mon, Jul 3, 2017 at 2:03 PM, Andrea Adami <andrea.ad...@gmail.com> wrote:
> On Mon, Jul 3, 2017 at 1:26 PM, Lee Jones <lee.jo...@linaro.org> wrote:
>> Please use the $SUBJECT line expected by the subsystem.
>>
>> `git log --oneline -- $SUBSYSTEM` can help with t
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/nand/tmio_nand.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c
index fc5e773..6a53582 100644
--- a/drivers/mtd/nand/tmio_nand.c
+++ b/d
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/nand/sharpsl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c
index 064ca17..87c6fc2 100644
--- a/drivers/mtd/nand/sharpsl.c
+++ b/drivers/mt
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/tosa.c | 28
1 file changed, 8 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c
index 13de660..3074aae 100644
--- a/arch/arm/mach-pxa/
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/corgi.c | 31 ---
1 file changed, 8 insertions(+), 23 deletions(-)
diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c
index 7270f0d..2412add 100644
--- a/arch/arm/ma
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/poodle.c | 28
1 file changed, 8 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c
index 62a1191..4881a43 100644
--- a/arch/arm/ma
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
include/linux/mtd/sharpsl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h
index 65e91d0..c0e0be2 100644
--- a/include/linux/mtd/sharpsl.h
+++ b/include/linux/mtd/sha
of the code was taken.
The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/Kconfig | 8 +
drivers/mtd/Makefile | 1 +
drivers/mtd/sharpslpart.c | 391 +++
/commits/sharpslpart_v2
[3] https://github.com/LinuxPDA/linux/commits/sharpslpart_v3
[4] https://github.com/LinuxPDA/linux/commits/sharpslpart_v4
Andrea Adami (9):
mtd: sharpslpart: add sharpslpart MTD partition parser
mtd: nand: sharpsl.h: support partition parser types
mfd: tmio.h: support
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/spitz.c | 34 +-
1 file changed, 9 insertions(+), 25 deletions(-)
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c
index 67d66c7..21a2e42 100644
--- a/arch/arm/ma
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
include/linux/mfd/tmio.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index a1520d8..23bb069 100644
--- a/include/linux/mfd/tmio.h
+++ b/include/linux/mfd/tmio.h
@@ -139,6
ct and add a little text in these patches touching headers.
I am awaiting for a new review of the big piece of the patch, the
ftl/parser, then I'll send a fixed v5.
>> Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
>> ---
>> include/linux/mfd/tmio.h | 1 +
>> 1 f
On Fri, Jun 9, 2017 at 3:42 AM, Brian Norris
<computersforpe...@gmail.com> wrote:
> Oh, one more thing:
>
> On Thu, Jun 01, 2017 at 12:40:50AM +0200, Andrea Adami wrote:
>> diff --git a/drivers/mtd/sharpslpart.c b/drivers/mtd/sharpslpart.c
>> new file mode 10064
rpe...@gmail.com> wrote:
> Hi,
>
> On Thu, Jun 01, 2017 at 12:40:50AM +0200, Andrea Adami wrote:
>> The Sharp SL Series (Zaurus) PXA handhelds have 16/64/128M of NAND flash
>> and share the same layout of the first 7M partition, managed by Sharp FTL.
>>
>> The purpose
On Sat, Apr 22, 2017 at 1:20 PM, Andrea Adami <andrea.ad...@gmail.com> wrote:
> This patchset introduces a simple partition parser for the Sharp SL
> Series PXA handhelds. More details in the commit text.
>
> I have set in cc the ARM PXA maintainers because this is the MTD p
On Thu, May 25, 2017 at 9:25 PM, Brian Norris
<computersforpe...@gmail.com> wrote:
> On Sat, Apr 22, 2017 at 01:20:13PM +0200, Andrea Adami wrote:
>> This is the specific parser for Sharp SL Series (Zaurus)
>>
>> Signed-off-by: Andrea Adami <andrea.ad...@gmail.co
On Thu, May 25, 2017 at 11:10 PM, Brian Norris
<computersforpe...@gmail.com> wrote:
> On Thu, May 25, 2017 at 10:47:37PM +0200, Andrea Adami wrote:
>> On Thu, May 25, 2017 at 9:25 PM, Brian Norris
>> <computersforpe...@gmail.com> wrote:
>> > On Sat, Apr 22, 20
On Thu, Jun 1, 2017 at 4:35 PM, Lee Jones <lee.jo...@linaro.org> wrote:
> On Thu, 01 Jun 2017, Andrea Adami wrote:
>
>> Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
>> ---
>> include/linux/mfd/tmio.h | 1 +
>> 1 file changed, 1 insertion(+)
>
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/corgi.c | 31 ---
1 file changed, 8 insertions(+), 23 deletions(-)
diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c
index 7270f0d..2412add 100644
--- a/arch/arm/ma
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/nand/tmio_nand.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c
index fc5e773..bea05bb 100644
--- a/drivers/mtd/nand/tmio_nand.c
+++ b/d
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
include/linux/mtd/sharpsl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h
index 65e91d0..c0e0be2 100644
--- a/include/linux/mtd/sharpsl.h
+++ b/include/linux/mtd/sha
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/nand/sharpsl.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c
index 064ca17..1a76779 100644
--- a/drivers/mtd/nand/sharpsl.c
+++ b/drive
of the code was taken.
The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/Kconfig | 8 ++
drivers/mtd/Makefile | 2 +
drivers/mtd/sharpsl_ftl.c
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/spitz.c | 34 +-
1 file changed, 9 insertions(+), 25 deletions(-)
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c
index 67d66c7..21a2e42 100644
--- a/arch/arm/ma
change).
Changelog:
v1 initial import of 2.4 sources [1]
v2 refactor applying many suggested fixes [2]
v3 put the partition parser types in the platform data
[1] https://github.com/LinuxPDA/Sharp_FTL_2.4.20
[2] https://github.com/LinuxPDA/linux/commits/sharpslpart_v2
Andrea Adami (9):
mtd
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/tosa.c | 28
1 file changed, 8 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c
index 13de660..3074aae 100644
--- a/arch/arm/mach-pxa/
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
include/linux/mfd/tmio.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index a1520d8..23bb069 100644
--- a/include/linux/mfd/tmio.h
+++ b/include/linux/mfd/tmio.h
@@ -139,6
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/poodle.c | 28
1 file changed, 8 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c
index 62a1191..4881a43 100644
--- a/arch/arm/ma
On Tue, Oct 3, 2017 at 1:44 PM, Rafael J. Wysocki wrote:
> On Tuesday, October 3, 2017 10:09:21 AM CEST Ulf Hansson wrote:
>> On 26 September 2017 at 22:45, Rafael J. Wysocki wrote:
>> > From: Rafael J. Wysocki
>> >
>> > None
On Thu, Aug 24, 2017 at 12:04 PM, Boris Brezillon
<boris.brezil...@free-electrons.com> wrote:
> On Thu, 24 Aug 2017 11:19:56 +0200
> Andrea Adami <andrea.ad...@gmail.com> wrote:
>
>> >> +/**
>> >> + * struct sharpsl_ftl - Sharp FTL Logical Table
>>
of the code was taken.
The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/parsers/Kconfig | 7 +
drivers/mtd/parsers/Makefile | 1 +
drivers/mtd/parsers/sharpslpart.c
On Fri, Aug 25, 2017 at 11:48 PM, Boris Brezillon
<boris.brezil...@free-electrons.com> wrote:
> On Fri, 25 Aug 2017 19:50:25 +0200
> Andrea Adami <andrea.ad...@gmail.com> wrote:
>
>> On Fri, Aug 25, 2017 at 6:53 AM, Brian Norris
>> <computersforpe...@gmail.c
-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
drivers/mtd/parsers/Kconfig | 8 +
drivers/mtd/parsers/Makefile | 1 +
drivers/mtd/parsers/sharpslpart.c | 399 ++
3 files changed, 408 insertions(+)
create mode 100644 drivers/mtd/p
On Tue, Aug 29, 2017 at 12:45 AM, Boris Brezillon
<boris.brezil...@free-electrons.com> wrote:
> On Tue, 29 Aug 2017 00:20:32 +0200
> Andrea Adami <andrea.ad...@gmail.com> wrote:
>
>> The Sharp SL Series (Zaurus) PXA handhelds have 16/64/128M of NAND flash
>> and s
tables are
now in the same eraseblock.
For the purpose of the MTD parser only the read part of the code was taken.
The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezi
eling: some blocks are remapped and one layer of translation
>> (logical to physical) is necessary.
>>
>> There isn't much documentation about this FTL in the 2.4 sources, just the
>> MTD methods for reading and writing using logical addresses and the block
>> managem
On Wed, Aug 23, 2017 at 9:33 PM, Robert Jarzmik <robert.jarz...@free.fr> wrote:
> Boris Brezillon <boris.brezil...@free-electrons.com> writes:
>
>> Le Mon, 14 Aug 2017 22:48:31 +0200,
>>> Andrea Adami (9):
>>> mtd: sharpslpart: Add sharpslpart part
On Fri, Aug 25, 2017 at 6:53 AM, Brian Norris
<computersforpe...@gmail.com> wrote:
> On Thu, Aug 24, 2017 at 01:27:10PM +0200, Boris Brezillon wrote:
>> On Thu, 24 Aug 2017 12:30:02 +0200
>> Andrea Adami <andrea.ad...@gmail.com> wrote:
>>
>> > On Thu,
tables are
now in the same eraseblock.
For the purpose of the MTD parser only the read part of the code was taken.
The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezi
On Thu, Nov 23, 2017 at 12:06 AM, Pavel Machek <pa...@ucw.cz> wrote:
> On Tue 2017-11-21 22:43:50, Andrea Adami wrote:
>> With the introduction of sharpslpart partition parser we can now read the
>> offsets from NAND: we specify the list of the parsers as platform data
_info *mtd,
> return -EINVAL;
>
> block_num = ftl->log2phy[log_num];
> - block_adr = block_num * mtd->erasesize;
> + block_adr = (loff_t)block_num * mtd->erasesize;
> block_ofs = mtd_mod_by_eb((u32)from, mtd);
>
> err = mtd_read(mtd, block_adr + block_ofs, len, , buf);
> --
> 2.14.1
>
Thanks for spotting this,
Acked-by: Andrea Adami <andrea.ad...@gmail.com>
qemu will need to pass the mtdparts in the cmdline.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/spitz.c | 34 +-
1 file changed, 9 insertions(+), 25 deletions(-)
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c
qemu will need to pass the mtdparts in the cmdline.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/corgi.c | 31 ---
1 file changed, 8 insertions(+), 23 deletions(-)
diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c
qemu will need to pass the mtdparts in the cmdline.
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com>
---
arch/arm/mach-pxa/poodle.c | 28
1 file changed, 8 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c
1 - 100 of 204 matches
Mail list logo