eMMC Variant: U-Boot stored in User partition?

  • Hello,


    i was just getting started with a new PicoCoreMX6ULL100 variant with eMMC storage, when I encountered a problem.

    I was writing the sysimg (emmc output image from Yocto build) to the user partition of the eMMC, like this:

    https://github.com/FSEmbedded/…/images/files/install.txt


    This writes the image into part 0, which I guess is the user partition of the eMMC.

    After the write was done, NBoot was unable to boot U-Boot. Recovery via serial download worked fine.


    I then did a little research and found that on PicoCoreMX6ULL platforms U-Boot is also placed in the user partition (also described in "F&S i.MX6-UltraLite Linux First Steps" chapter 3.4).


    Is this correct?

    If so, why is it not kept in the HW-Partitions boot1 and boot2, like on the PicoCoreMX8MM platform?


    Thank you and best regards,

    Stefan

  • Hello,


    yes, for fsimx6ul the U-boot is expected the User Partition. This has historical reasons, because early eMMC chips had smaller boot partitions, which may not be sufficient for future Bootloader sizes. It is more complicated to update the partition layout with the old fsimx6 Nboot than with fsimx8mm, so we stayed at this layout for fsimx6ul and are currently not planning to change it.


    When building for fsimx6ul the Uboot should be automatically put into the u-boot partition of the sysimage:


    https://github.com/FSEmbedded/…machine/fsimx6ul.conf#L27

    https://github.com/FSEmbedded/…fus-uboot-bootpart.wks.in


    So it should be no problem to update the sysimage if it was build with the correct machine config in>octo.


    Which release do you use?


    Your F&S Support Team

  • Hello,


    The U-Boot is placed in a fixed RAW partition, so Nboot does not care about the partition table.

    The fsim6ul U-Boot however needs the partition table to load Linux so you will have to make sure that GPT support is available here.


    We have not tested it so far though.


    Your F&S Support Team