Re: [PATCH 2/2] ARM: i.MX: Add support for ZII RDU1 board

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

 



>> +	imx51_bbu_internal_spi_i2c_register_handler("spi",
>> +						    "/dev/dataflash0.barebox",
>> +						    BBU_HANDLER_FLAG_DEFAULT);
> 
> Did you test that this works? The Barebox partition has an offset and
> according the RM the BootROM looks at a specific location for the image
> header, so I think the Barebox image needs to be truncated for this to
> work.

Yes, this works, together with this patch:

https://github.com/CogentEmbedded/barebox-zodiac/commit/9b523e459e198960b94594b7185baa0dd2649feb

I've copied this code from earlier version developed by Andrey Gusakov [CCed].

I did not try to change anything there, to ensure board stays bootable ;).

Nikita

_______________________________________________
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