All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
To: Gabriel Dobato <dobatog@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	"mt >> linux-mtd@lists.infradead.org"
	<linux-mtd@lists.infradead.org>
Cc: Jean-Francois Moine <moinejf@free.fr>,
	ezequiel.garcia@free-electrons.com,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: Re: Fwd: Ask for help: ARM: mvebu: add NAND support for dove
Date: Sun, 29 Mar 2015 20:34:21 -0300	[thread overview]
Message-ID: <55188BFD.5070908@vanguardiasur.com.ar> (raw)
In-Reply-To: <551714F8.2050401@gmail.com>



On 03/28/2015 05:54 PM, Gabriel Dobato wrote:
[..]
> However, if I try to read/write into the mtd partitions, I can not,
> there are errors:
> 
> root@debug:~# nandwrite -p /dev/mtd0 /uImage
> Writing at 0x00000000
> pxa3xx-nand f10c0000.nand: Wait time out!!!
> 
> root@debug:~# flash_erase /dev/mtd0 0 0
> Erasing 128 Kibyte @ 0 --  0 % complete pxa3xx-nand f10c0000.nand: Wait
> time out!!!
> 
> root@debug:~# cat /dev/mtd0
> pxa3xx-nand f10c0000.nand: Wait time out!!!
> 

Maybe a silly question, but does your bootloader initializes the
controller? Are you able to read/write/erase using it?

The current pxa3xx-nand driver relies on that for Armada370/XP, as
timing setup is not properly handled.

-- 
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar

WARNING: multiple messages have this Message-ID (diff)
From: ezequiel@vanguardiasur.com.ar (Ezequiel Garcia)
To: linux-arm-kernel@lists.infradead.org
Subject: Fwd: Ask for help: ARM: mvebu: add NAND support for dove
Date: Sun, 29 Mar 2015 20:34:21 -0300	[thread overview]
Message-ID: <55188BFD.5070908@vanguardiasur.com.ar> (raw)
In-Reply-To: <551714F8.2050401@gmail.com>



On 03/28/2015 05:54 PM, Gabriel Dobato wrote:
[..]
> However, if I try to read/write into the mtd partitions, I can not,
> there are errors:
> 
> root at debug:~# nandwrite -p /dev/mtd0 /uImage
> Writing at 0x00000000
> pxa3xx-nand f10c0000.nand: Wait time out!!!
> 
> root at debug:~# flash_erase /dev/mtd0 0 0
> Erasing 128 Kibyte @ 0 --  0 % complete pxa3xx-nand f10c0000.nand: Wait
> time out!!!
> 
> root at debug:~# cat /dev/mtd0
> pxa3xx-nand f10c0000.nand: Wait time out!!!
> 

Maybe a silly question, but does your bootloader initializes the
controller? Are you able to read/write/erase using it?

The current pxa3xx-nand driver relies on that for Armada370/XP, as
timing setup is not properly handled.

-- 
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar

  parent reply	other threads:[~2015-03-29 23:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <551713D8.3060809@gmail.com>
     [not found] ` <551714F8.2050401@gmail.com>
2015-03-29 10:20   ` Fwd: Ask for help: ARM: mvebu: add NAND support for dove Sebastian Hesselbarth
2015-03-29 10:20     ` Sebastian Hesselbarth
2015-03-29 23:34   ` Ezequiel Garcia [this message]
2015-03-29 23:34     ` Ezequiel Garcia
2015-03-30  7:01     ` Gabriel Dobato
2015-03-30  7:01       ` Gabriel Dobato

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55188BFD.5070908@vanguardiasur.com.ar \
    --to=ezequiel@vanguardiasur.com.ar \
    --cc=dobatog@gmail.com \
    --cc=ezequiel.garcia@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=moinejf@free.fr \
    --cc=sebastian.hesselbarth@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.