Hi Steffen, On Tue, Apr 16 2019 at 14:53 +0200, Steffen Kothe <steffen.kothe.gc1...@googlemail.com> wrote: > I try to update the U-Boot Loader on two different partitions. > > /dev/mmcblk3boot0 > /dev/mmcblk3boot1 > > A restriction on our i.Mx6 platform is location of the u-boot entry on > the partition. > > Offset: 1024 Byte Address: 0x400 > > So a raw copy would start at address 0x00, but we have to start 0x400 > for the entry point. > > Does rauc provides any options to customize the startaddress for a raw > copy/install of a binary file (u-boot binary)? > > I have took a look into the source code, but found out, that there is > no option to customize the default offset address for a write on a > partition. > > > Could you provide some help in this case?
take a look at hooks, especially the subsubsection "Install Hook": https://rauc.readthedocs.io/en/latest/using.html#slot-hooks . Best regards Ulrich -- Pengutronix e.K. | Ulrich Ölmann | 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 | _______________________________________________ RAUC mailing list