[U-Boot-Users] [PATCH] Add option -p to mkimage to align an image to word boundary

Amnon Cohen amnon.uboot at gmail.com
Fri Mar 2 15:20:09 CET 2007


Would anybody be bothered if mkimage _always_ aligned images?
That way we could loose the third argument of copy_file, as well
as the new -p flag.
- Amnon

On 3/2/07, Jean-Paul Saman <jean-paul.saman at nxp.com> wrote:
>
> CHANGELOG:
> * Add option -p to mkimage for always alligning an image to word boundary.
>
> This patch adds a feature to tools/mkimage.c by making it possible to
> always align a filesystem image to word boundary. Images created with this
>
> option are always aligned on word boundary and will always correctly be
> loaded with the ARM RVDS when using raw mode (Raw data one word per word
> of memory). Images created without this option will not boot with u-boot
> and abort with "Data CRC error". This situation has been reported several
> times on this maillinglist.
>
> It is tested against todays git repository.
>
> Signed-off-by: Jean-Paul Saman < jean-paul.saman at nxp.com>
>
>
>
> Kind greetings,
>
> Jean-Paul Saman
>
> NXP Semiconductors CTO/RTG DesignIP
> Philips HighTech Campus, building WDA 3.29
> Professor van den Holstlaan 4
> 5655 AA Eindhoven
> tel: +31 (0)40 27 45131
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070302/035d390b/attachment.htm 


More information about the U-Boot mailing list