storing barebox to flash /dev/nand0

Belisko Marek marek.belisko at gmail.com
Fri Sep 10 06:01:40 EDT 2010


Hi,

On Fri, Sep 10, 2010 at 11:19 AM, Abdoulaye Walsimou Gaye
<awg at embtoolkit.org> wrote:
> On 09/10/2010 11:01 AM, Belisko Marek wrote:
>> Hi,
>>
>> I'm porting barebox to mini2440 board.
>
> Good news, I have this board and use a fork of u-boot from
> http://repo.or.cz/w/u-boot-openmoko/mini2440.git
> which is not maintained any more and it is not in mainline u-boot.
Better news ;)
I have a fork of barebox with basic support :
http://repo.or.cz/w/barebox-mini2440.git

I have some patches locally which are not in repo. I plan to push
mini2440 to mainline.
>
>> I can boot barebox from SDRAM
>> by loading to TEXT_BASE address.
>> I would like to test also booting from NAND flash but I can't find a
>> way how to store barebox loaded in RAM
>> to flash.
>>
>> I try tftp barebox.bin /dev/nand0 but if failed with:
>>
>> TFTP from server 10.146.1.21 ('barebox.bin' -> '/dev/nand0')
>>         offset 0x00000200 not page aligned
>> write: Invalid argument
>>
>> tftp failed: error -22
>>
>> How can I properly store to flash?
>>
>>
>
> I am not familiar with barebox (I discovered it recently), but you seem
> to wrongly
> create your nand  image (think page size,  eraze block size, etc...)
>
>> Thank's in advance,
>>
>> Marek
>>
>>
>
> Best regards,
> AWG
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>

good luck,

Marek

-- 
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



More information about the barebox mailing list