Re[2]: Installing barebox for karo-tx53 in nand-flash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
An: "Dr. Patrick Langfeld" <patrick.langfeld@xxxxxxxxxxx>
Cc: "barebox@xxxxxxxxxxxxxxxxxxx" <barebox@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux