imx8mn eMMC boot partition

Hi,
Does anyone have an idea where to find the definition of the offset used when booting from eMMCs boot partition?
I tried to write the flash.bin image to offset 32k (page 0x40) into the boot partition of the eMMC and seledted the bootpartition with "mmc partconfig 2 0 1 0". The board did not start. After writing the flash.bin to offset 0 the board starts.
When writing to microSD the offset 32k is ok.
I' using an NXP imx8mn evk board.

Hi
On Wed, Aug 3, 2022 at 2:19 PM Heiko Thiery heiko.thiery@gmail.com wrote:
Hi,
Does anyone have an idea where to find the definition of the offset used when booting from eMMCs boot partition?
I tried to write the flash.bin image to offset 32k (page 0x40) into the boot partition of the eMMC and seledted the bootpartition with "mmc partconfig 2 0 1 0". The board did not start. After writing the flash.bin to offset 0 the board starts.
When writing to microSD the offset 32k is ok.
I' using an NXP imx8mn evk board.
Yes I'm flashing bootpartion 0 and boot partition 1 at offset 0x00
Michael
-- Heiko

Hi Michael,
Am Mi., 3. Aug. 2022 um 14:40 Uhr schrieb Michael Nazzareno Trimarchi michael@amarulasolutions.com:
Hi
On Wed, Aug 3, 2022 at 2:19 PM Heiko Thiery heiko.thiery@gmail.com wrote:
Hi,
Does anyone have an idea where to find the definition of the offset used when booting from eMMCs boot partition?
I tried to write the flash.bin image to offset 32k (page 0x40) into the boot partition of the eMMC and seledted the bootpartition with "mmc partconfig 2 0 1 0". The board did not start. After writing the flash.bin to offset 0 the board starts.
When writing to microSD the offset 32k is ok.
I' using an NXP imx8mn evk board.
Yes I'm flashing bootpartion 0 and boot partition 1 at offset 0x00
Thanks for the confirmation. I was pretty sure it was different on an imx8mq board. I thought I used the same offset there as on the microSD.
-- Heiko

Hi Heiko
On Wed, Aug 3, 2022 at 2:51 PM Heiko Thiery heiko.thiery@gmail.com wrote:
Hi Michael,
Am Mi., 3. Aug. 2022 um 14:40 Uhr schrieb Michael Nazzareno Trimarchi michael@amarulasolutions.com:
Hi
On Wed, Aug 3, 2022 at 2:19 PM Heiko Thiery heiko.thiery@gmail.com wrote:
Hi,What is not clear to be if 0x40 can be used as
Does anyone have an idea where to find the definition of the offset used when booting from eMMCs boot partition?
I tried to write the flash.bin image to offset 32k (page 0x40) into the boot partition of the eMMC and seledted the bootpartition with "mmc partconfig 2 0 1 0". The board did not start. After writing the flash.bin to offset 0 the board starts.
When writing to microSD the offset 32k is ok.
I' using an NXP imx8mn evk board.
Yes I'm flashing bootpartion 0 and boot partition 1 at offset 0x00
Thanks for the confirmation. I was pretty sure it was different on an imx8mq board. I thought I used the same offset there as on the microSD.
-- Heiko
6.1.6.3 Primary image offset and IVT offset
emmc: 0, if the image is in boot partition and 32K if it is in user partition
Michael

HI Michael,
Am Mi., 3. Aug. 2022 um 15:02 Uhr schrieb Michael Nazzareno Trimarchi michael@amarulasolutions.com:
Hi Heiko
On Wed, Aug 3, 2022 at 2:51 PM Heiko Thiery heiko.thiery@gmail.com wrote:
Hi Michael,
Am Mi., 3. Aug. 2022 um 14:40 Uhr schrieb Michael Nazzareno Trimarchi michael@amarulasolutions.com:
Hi
On Wed, Aug 3, 2022 at 2:19 PM Heiko Thiery heiko.thiery@gmail.com wrote:
Hi,What is not clear to be if 0x40 can be used as
Does anyone have an idea where to find the definition of the offset used when booting from eMMCs boot partition?
I tried to write the flash.bin image to offset 32k (page 0x40) into the boot partition of the eMMC and seledted the bootpartition with "mmc partconfig 2 0 1 0". The board did not start. After writing the flash.bin to offset 0 the board starts.
When writing to microSD the offset 32k is ok.
I' using an NXP imx8mn evk board.
Yes I'm flashing bootpartion 0 and boot partition 1 at offset 0x00
Thanks for the confirmation. I was pretty sure it was different on an imx8mq board. I thought I used the same offset there as on the microSD.
-- Heiko
6.1.6.3 Primary image offset and IVT offset
emmc: 0, if the image is in boot partition and 32K if it is in user partition
Thanks a lot!
Michael
participants (2)
-
Heiko Thiery
-
Michael Nazzareno Trimarchi