On Mon, May 28, 2018 at 8:51 AM, Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote: > On Sat, May 26, 2018 at 01:44:50PM -0700, Andrey Smirnov wrote: >> From: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> >> >> Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> >> Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> >> --- >> diff --git a/Documentation/boards/imx.rst b/Documentation/boards/imx.rst >> index 196513520..9ceb68bef 100644 >> --- a/Documentation/boards/imx.rst >> +++ b/Documentation/boards/imx.rst >> @@ -38,12 +38,19 @@ SD card:: >> # otherwise: >> cat barebox-flash-image > /dev/sdd >> >> +NOTE: Commands above will not work on i.MX8 >> + >> The above will overwrite the MBR (and consequently the partition table) >> on the destination SD card. To preserve the MBR while writing the rest >> of the image to the card, use:: >> >> dd if=images/barebox-freescale-imx51-babbage.img of=/dev/sdd bs=1024 skip=1 seek=1 >> >> +NOTE: MaskROM on i.MX8 expects image to start at +33KiB mark, so the >> +following command has to be used instead: >> + >> + dd if=images/barebox-nxp-imx8mq-evk.img of=/dev/sdd bs=1024 skip=1 seek=33 > > Why don't you use my version of imx-image which already adds the > necessary offset to the image? I just wasn't aware it existed. I'd love to switch. Where can I find it? Thanks, Andrey Smirnov _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox