All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: David Schaefer <david.tillmann.schaefer@gmail.com>
To: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Richard Weinberger <richard@nod.at>,
	linux-mtd <linux-mtd@lists.infradead.org>
Subject: Re: WD MyCloud Ex, Armada-370, pxa3xx-nand, marvell-nfc
Date: Tue, 15 Dec 2020 22:20:31 +0100	[thread overview]
Message-ID: <CAK+FTGhaXiS-jYbqYD1b-hAG7M4qbbQGQVGnSYeE6CqMOw4fLA@mail.gmail.com> (raw)
In-Reply-To: <20201215174621.0a9d1c3f@xps13>

Hi Miquèl

> Maybe I should ask you why you are using mtdblock and using dd on top
> of it? If you want to tackle a NAND issue, you should probably  address
> the mtd device directly and use the tools provided by the mtd-utils
> userspace test suite (nandpagetest seems a good fit).
What I am trying to accomplish is running a debian with a kernel more
than 4.15 on a WD MyCloud Ex2. I follow a written down approach that
has been led to success by others. It involves
dd if=/dev/zero of=/dev/mtdblock1
dd if=uImage of=/dev/mtdblock1
dd if=/dev/zero of=/dev/mtdblock2
dd if=uRamdisk of=/dev/mtdblock2

I could use more appropriate ways to deal with these devices if I knew of any.

> You might want to try a much more recent kernel then. Probably that
> using a 5.9 or 5.10 is a good target for now.
I am compiling 5.10 right now and am looking forward to the results. I
have had 5.4 running already with no mtdblock devices showing up.

> I really don't think using -X theirs blindly is wise, you should
> definitely try to understand the conflict and merge it by hand.
I tried but didn't feel to be in the position to make the call.
Anyhow, since I have seen the commits are all part of kernels 4.17,
4.20, 5.0, and 5.10 this will not be an issue now when I run 5.10.

> > - marvell-nfc f10d0000.nand: Timeout waiting for RB signal
> This one is a real error but got fixed by another commit.
> > - print_req_error: I/O error, dev mtdblock6, sector 0
> > print_req_error: I/O error, dev mtdblock6, sector 0
> > print_req_error: I/O error, dev mtdblock6, sector 0
> > print_req_error: I/O error, dev mtdblock5, sector 0
> > print_req_error: I/O error, dev mtdblock5, sector 0
> > print_req_error: I/O error, dev mtdblock5, sector 0
> > print_req_error: I/O error, dev mtdblock4, sector 0
> > print_req_error: I/O error, dev mtdblock4, sector 0
> > print_req_error: I/O error, dev mtdblock4, sector 0
> > print_req_error: I/O error, dev mtdblock3, sector 0
> This one seem related but I don't know from where it comes.
> > dd: writing '/dev/mtdblock1': Input/output error
I will check if I see these issues with 5.10 when it's built.

> > Please advise me if I did
> > anything wrong or you need any more information.
> Good luck :)
Thanks :)

Kind regards
David

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2020-12-15 21:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-14  8:03 WD MyCloud Ex, Armada-370, pxa3xx-nand, marvell-nfc David Schaefer
2020-12-14 13:36 ` Richard Weinberger
2020-12-14 14:58   ` David Schaefer
2020-12-14 15:20     ` Richard Weinberger
2020-12-14 17:16       ` David Schaefer
2020-12-14 21:24         ` Richard Weinberger
2020-12-14 23:03           ` Miquel Raynal
2020-12-15 10:14             ` David Schaefer
2020-12-15 15:50         ` David Schaefer
2020-12-15 15:56           ` Miquel Raynal
2020-12-15 16:34             ` David Schaefer
2020-12-15 16:46               ` Miquel Raynal
2020-12-15 21:20                 ` David Schaefer [this message]
2020-12-15 22:04                   ` David Schaefer
2020-12-16  7:51                     ` Miquel Raynal
2020-12-17 20:15                       ` David Schaefer

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=CAK+FTGhaXiS-jYbqYD1b-hAG7M4qbbQGQVGnSYeE6CqMOw4fLA@mail.gmail.com \
    --to=david.tillmann.schaefer@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=richard@nod.at \
    /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.