Antwort: Re: Antwort: Re: barebox image size
Sascha Hauer
s.hauer at pengutronix.de
Mon Jul 16 06:30:54 EDT 2012
On Mon, Jul 16, 2012 at 11:37:59AM +0200, christian.buettner at rafi.de wrote:
> here it is:
>
> struct imx_flash_header_v2 __flash_header_section flash_header =
> {
> .header.tag = IVT_HEADER_TAG,
> .header.length = cpu_to_be16(32),
> .header.version = IVT_VERSION,
>
> .entry = APP_DEST + 0x1000,
> .dcd_ptr = APP_DEST + 0x400 + offsetof(struct
> imx_flash_header_v2, dcd),
> .boot_data_ptr = APP_DEST + 0x400 + offsetof(struct
> imx_flash_header_v2, boot_data),
> .self = APP_DEST + 0x400,
>
> .boot_data.start = APP_DEST,
> .boot_data.size = 0x40000,
And here you have the magic 256k. Please use DCD_BAREBOX_SIZE instead.
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 |
More information about the barebox
mailing list