From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Dr. Patrick Langfeld" <patrick.langfeld@optimeas.de>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: Installing barebox for karo-tx53 in nand-flash
Date: Fri, 10 May 2013 12:53:50 +0200 [thread overview]
Message-ID: <20130510105350.GM32299@pengutronix.de> (raw)
In-Reply-To: <em6083fb6c-e073-40f9-aa90-2878d59c3517@plh001-think>
On Fri, May 10, 2013 at 09:20:50AM +0000, Dr. Patrick Langfeld wrote:
> Thanks Sascha,
> building barebox results in two .bin files: barebox.bin and
> zbarebox.bin.
> Is zbarebox.bin a compressed version of barebox.bin?
> Which one should I use for flashing the tx53 nand-flash?
If it exists then zbarebox.bin please. There is a convenience link
(barebox-flash-image) which always points to the correct binary.
>
> My boot sources are nand-flash (thats where u-boot is at the moment)
> (and SD-card for testing).
>
> I tried to flash zbarebox.bin to nand-flash. It started but with error
> nand: NAND type unknown, ec,f1
> nand: No NAND device found (-19)!
Hm, strange. This should be a Samsung 128MiB NAND flash. The id is in
the database. I currently have no good idea why this isa unknown.
> imx_nand imx_nand0: probe failed: No such device or address
> malloc space: 0x85f00000 -> 0x87efffff (size 32 MiB)
> Using environment in NAND
> Open /dev/env0 No such file or directory
> ..
For testing I would recommend the SD card. You can simply write the
binary to the card:
cat barebox-flash-image > /dev/sdx
>
> Does barebox already support the FirmwareConfigurationBlock? I heard
> from Mathias Fend that he manually had to add a FCB blob before the
> barebox binary when writing barebox to flash in an older barebox
> version.
The FCB is not part of the image. However, when you start from SD card
you should be able to use barebox_update to flash to the nand, given
that it works of course...
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-05-10 10:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-07 12:33 Installing barebox for karo-tx53 Dr. Patrick Langfeld
2013-05-07 17:55 ` Sascha Hauer
2013-05-10 9:20 ` Re[2]: Installing barebox for karo-tx53 in nand-flash Dr. Patrick Langfeld
2013-05-10 10:53 ` Sascha Hauer [this message]
2013-05-10 12:35 ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-10 12:53 ` Eric Bénard
2013-05-14 17:15 ` Christoph Fritz
2013-05-14 18:19 ` Eric Bénard
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=20130510105350.GM32299@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=patrick.langfeld@optimeas.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