public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] UBIFS fails on SheevaPlug
Date: Mon, 29 Oct 2012 10:43:29 +0100	[thread overview]
Message-ID: <508E4FC1.7020004@gmail.com> (raw)
In-Reply-To: <CAF9kqNEGtXjQT6b-wBM-mGLOtqm_EFsDkjcD3Jtabwapr8mAmg@mail.gmail.com>

Dear Dimax,

On 29.10.2012 10:27, Dimax wrote:
> On Mon, Oct 29, 2012 at 11:11 AM, Andreas Bie?mann
> <andreas.devel at googlemail.com <mailto:andreas.devel@googlemail.com>> wrote:
> 
>     Dear Dimax,
> 
>     please do not TOFU.
> 
> 
> Sorry don't know what you mean?

you did it right ;) http://en.wikipedia.org/wiki/Top-posting#Top-posting

>     On 29.10.2012 09:50, Dimax wrote:
>     > Hi,
>     > What if I compile a new u-boot but to try it I will load and flash new
>     > created image after original u-boot and will run it from withing
>     > original reboot manually just pointing a new image address? Can it
>     work?
> 
> 
> I'm not going to run new-u-boot from RAM. I will flash it. Can I ask
> original u-boot to JMP to a flash address and run a new-u-boot from where?

well, NAND is no XIP media, you need to move the stuff _always_ from
NAND to RAM to use it.

> I once debricked SheevaPlug with USB stick. Have to recall how it was
> done. But as far as I remember I've found it in the internet so it
> should be still where. I understand that I first have to make sure I can
> debrick my board before I start playing with u-boot.

Ok.

> I also want to look back at my original problem of non-recovered UBIFS.
> Want to make sure my effort will not be useless.
> Let's say I've increased the memory allocation size. But are you sure
> u-boot implementation of ubifs really can recover partitions just like
> original Linux driver does? Is it implemented at all?
> If yes I have another doubt. In one forum I've read that u-boot treats
> UBIFS partition as read only (while it actually is rw for Linux). And
> thus u-boot does not even try to take any action that required writes.
> What you think?

In fact the u-boot port is copied from linux kernel. It may lack some
newest fixes but in general it has the same features as the linux kernel
has.
The link I posted in my first mail did mention that the error message
for ubifs_get_sb() in ubifs_mount() is useless cause we may have
different root causes here. If your error message had displayed ENOMEM
(or -12) you may have got the root cause by yourself.
However, it may be another reason on your side, looking forward to see
your solution.

Best regards

Andreas Bie?mann

  reply	other threads:[~2012-10-29  9:43 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-28 14:48 [U-Boot] UBIFS fails on SheevaPlug Dimax
2012-10-28 22:54 ` Marek Vasut
2012-10-29  5:25   ` Dimax
2012-10-29  6:38     ` Dimax
2012-10-29  6:48       ` Andreas Bießmann
2012-10-29  6:55         ` Dimax
2012-10-29  8:38           ` Andreas Bießmann
2012-10-29  8:50             ` Dimax
2012-10-29  9:11               ` Andreas Bießmann
2012-10-29  9:27                 ` Dimax
2012-10-29  9:43                   ` Andreas Bießmann [this message]
2012-10-29 10:19                     ` Marek Vasut
2012-10-29 10:34                       ` Andreas Bießmann
2012-10-29 16:02                   ` Vikram Narayanan
2012-10-29 12:15                 ` Prafulla Wadaskar
2012-10-29 17:25                   ` Dimax
2012-10-29 18:53                     ` Vikram Narayanan
2012-10-29 19:05                       ` Dimax
2012-10-29 23:55                         ` Andreas Bießmann
2012-10-29 23:02                       ` Andreas Bießmann
2012-10-31 16:27                         ` Vikram Narayanan
2012-10-31 16:50                           ` Andreas Bießmann
2012-10-31 16:55                             ` Vikram Narayanan
2012-10-31 17:23                               ` Dimax
2012-10-31 17:56                                 ` Andreas Bießmann
2012-10-31 20:45                                   ` [U-Boot] How to enable debug information in u-boot Paulo Louro
2012-11-06  7:51                                   ` [U-Boot] UBIFS fails on SheevaPlug Dimax
2012-11-06  9:12                                     ` Andreas Bießmann
2012-11-12  5:33                                       ` Dimax
2012-11-12  8:33                                         ` Andreas Bießmann
2012-11-12 16:55                                           ` Dimax
2012-11-12 17:15                                             ` Vikram Narayanan
2012-10-29  6:01 ` Prafulla Wadaskar

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=508E4FC1.7020004@gmail.com \
    --to=andreas.devel@googlemail.com \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox