[PATCH 2/2] ARM: dts: imx6ull-dhcor: Add Marantec maveo box
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Thu Apr 6 09:36:53 PDT 2023
On 05/04/2023 20:24, Christoph Niedermaier wrote:
> From: Marek Vasut [mailto:marex at denx.de]
> Sent: Wednesday, April 5, 2023 6:25 PM
>> On 4/5/23 18:02, Christoph Niedermaier wrote:
>>
>> [...]
>>
>>> +/ {
>>> + model = "DH electronics i.MX6ULL DHCOR on maveo box";
>>> + compatible = "dh,imx6ull-dhcor-maveo-box", "dh,imx6ull-dhcor-som",
>>> + "fsl,imx6ull";
>>> +
>>> + aliases {
>>> + /delete-property/ mmc0; /* Avoid double definitions */
>>> + /delete-property/ mmc1;
>>> + mmc2 = &usdhc2; /* eMMC should be mmc2 */
>>
>> Why not mmc0 ?
>>
>> Use root=PARTUUID= when booting to avoid any dependency on
>> root=/dev/mmcblk2pN enumeration.
>
> This is due to software interchangeability with the DHCOM
> i.MX6ULL, where the eMMC is always mmc2.
That's not the reason to have aliases. The number should match numbering
in your datasheet/schematics/user-guide, not what your software wants.
Use PARTUUID for SW dependencies.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list