u-boot bootcmd question

  • Hello,

    totally confused how LibreElec decides what bootcmd to use in u-boot.

    Can anyone shed some light on it?

    How is it decided what board what interface/device shall use for boot?

    I don't fully understand how is it decided whether SPI, NAND, RKNAND, MMC will be used to find the DOS partition.

    Or am I misunderstanding something completely? Is there a guide/doc on this?

    Thanks,