mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Belisko Marek <marek.belisko@gmail.com>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org
Subject: Re: storing barebox to flash /dev/nand0
Date: Fri, 10 Sep 2010 13:07:27 +0200	[thread overview]
Message-ID: <AANLkTi=E8TMms+q91nA3t8HPUAxBjwHLfDBAdM7YdyF+@mail.gmail.com> (raw)
In-Reply-To: <20100910110130.GS9112@game.jcrosoft.org>

On Fri, Sep 10, 2010 at 1:01 PM, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> wrote:
>> >
>> > Okay, 256 kiB
>> >
>> >> crw-------          0 nand0.barebox.bb
>> >
>> > Again, 0?
>> >
>> > For the environment it looks different:
>> >
>> >> crw-------     131072 env_raw
>> >> crw-------     131072 env0
>> >> crw-------     131072 nand0.bareboxenv
>> >> crw-------     131072 nand0.bareboxenv.bb
>> >
>> > All are 128 kiB.
>> OK maybee there is mix from mtd_parts in env config with vital partitions.
>> I keep just vital partitions in code but result is the same:
>> cr-------- 4294967295 zero
>> crw-------       2973 defaultenv
>> crw------- 4294967295 mem
>> crw-------  268435456 nand0
>> cr--------    8388608 nand_oob0
>> crw-------          0 ram0
>> crw-------         32 phy0
>> crw-------     262144 self_raw
>> crw-------          0 self0
>> crw-------     131072 env_raw
>> crw-------     131072 env0
>>
>> self0 should be bb for self_raw where to store barebox. But why it has size 0?
>> Don't understand? Am I doing something wrong? For env it works fine.
> If I understand correctly your log you have a bad block on it
You're right. I erase NAND again and then bad block for 0x00000000 is gone. I
can load barebox to flash. Sorry for spamming.
>
> Best Regards,
> J.
>



-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2010-09-10 11:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-10  9:01 Belisko Marek
2010-09-10  9:19 ` Abdoulaye Walsimou Gaye
2010-09-10 10:01   ` Belisko Marek
2010-09-10 12:31     ` Abdoulaye Walsimou Gaye
2010-09-10 16:01     ` Robert Schwebel
2010-09-11 11:02       ` Belisko Marek
2010-09-10  9:27 ` Juergen Beisert
2010-09-10  9:53   ` Belisko Marek
2010-09-10 10:30     ` Juergen Beisert
2010-09-10 10:46       ` Belisko Marek
2010-09-10 11:01         ` Jean-Christophe PLAGNIOL-VILLARD
2010-09-10 11:07           ` Belisko Marek [this message]
2010-09-10  9:27 ` Jean-Christophe PLAGNIOL-VILLARD

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='AANLkTi=E8TMms+q91nA3t8HPUAxBjwHLfDBAdM7YdyF+@mail.gmail.com' \
    --to=marek.belisko@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=plagnioj@jcrosoft.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox