mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Dr. Patrick Langfeld" <patrick.langfeld@optimeas.de>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re[2]: Installing barebox for karo-tx53 in nand-flash
Date: Fri, 10 May 2013 09:20:50 +0000	[thread overview]
Message-ID: <em6083fb6c-e073-40f9-aa90-2878d59c3517@plh001-think> (raw)
In-Reply-To: <20130507175549.GR32299@pengutronix.de>

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?

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)!
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
..

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.

Best regards
  Patrick




------ Originalnachricht ------
Von: "Sascha Hauer" <s.hauer@pengutronix.de>
An: "Dr. Patrick Langfeld" <patrick.langfeld@optimeas.de>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Gesendet: 07.05.2013 19:55:49
Betreff: Re: Installing barebox for karo-tx53
>On Tue, May 07, 2013 at 12:33:03PM +0000, Dr. Patrick Langfeld wrote:
>>  Hi,
>>  I want to install barebox on a Karo TX53 module as a primary 
>>bootloader.
>>  Now I have a few questions:
>>
>>  a)
>>  With wich version should I start. I found the branch karo-tx53 at
>>  git://github.com/gchiii/barebox-tx53.git
>>  Is this the right one (as it seems to be quit old with latest commit
>>  9 month ago)
>
>I don't know this branch.
>
>>
>>  Or should I start with the master branch at
>>  git://git.pengutronix.de/git/barebox.git ?
>
>Yes, this one is the right one.
>
>>
>>  b)
>>  Is there even a simpler way as I am using ptxdist?
>
>barebox is integrated into ptxdist, so you can just select it in 
>ptxdist
>platformconfig. There are also ways to compile a barebox from a git
>repository using ptxdist.
>
>>
>>  c) How can I flash barebox over u-boot, which is my current 
>>bootloader?
>
>Yes, you can. What boot sources does your board have? I think it has
>Nand, that's where U-Boot is. Are there other possibilities?
>
>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

  reply	other threads:[~2013-05-10  9:32 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   ` Dr. Patrick Langfeld [this message]
2013-05-10 10:53     ` Installing barebox for karo-tx53 in nand-flash Sascha Hauer
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=em6083fb6c-e073-40f9-aa90-2878d59c3517@plh001-think \
    --to=patrick.langfeld@optimeas.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.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