Hello Heiko, Am Donnerstag, den 25.02.2021, 14:46 +0100 schrieb Heiko Schocher: > Hello Peng, Teresa, > > I am just trying to get linux-stable 5.10.y kernel with current > mainline > U-Boot on the pyhcore imx8mp board up and running, and fail detecting > sd > card on usdhc2 in linux. > > With U-Boot 2021.01 *same* kernel image/dts detects fine the sd card > on > usdhc2. So I have no idea, why kernel is here dependent on U-Boot > setup! > Which is also a bug I think ... > > @Peng: Now started a small git bisect in U-Boot tree and your commit > > cf8842bc29 - arm: dts: imx8mp: sync dts from Linux Kernel > > poped up... with the commit before: > > 374866a724 - imx8m: clock: add type of set_clk_eqos > > the phycore imx8mp board boots fine linux kernel and kernel detects > sd card... > > Attention: The phytec board support came later into u-boot tree with > commit: > > c661c511e9 - board: phytec: imx8mp: Add PHYTEC phyCORE-i.MX8MP > support > > So the board support patch was pending on the list and not tested > with > your patches I think...
yes, there where not. > > Any ideas, what could be the problem? So far I was able to narrow it down to the changes done in the clock-controller@30380000 node of arch/arm/dts/imx8mp.dtsi: --- a/arch/arm/dts/imx8mp.dtsi +++ b/arch/arm/dts/imx8mp.dtsi @@ -383,6 +383,22 @@ <&clk IMX8MP_CLK_IPG_AUDIO_ROOT>, <&clk IMX8MP_AUDIO_PLL1>, <&clk IMX8MP_AUDIO_PLL2>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>, + <&clk IMX8MP_ARM_PLL_OUT>, + <&clk IMX8MP_SYS_PLL2_1000M>, + <&clk IMX8MP_SYS_PLL1_800M>, + <&clk IMX8MP_SYS_PLL2_500M>, + <&clk IMX8MP_SYS_PLL1_800M>, + <&clk IMX8MP_SYS_PLL1_800M>; + assigned-clock-rates = <0>, <0>, + <1000000000>, + <800000000>, + <500000000>, + <400000000>, + <800000000>, + <400000000>, + <393216000>, + <361267200>; If I remove this part again it is booting. Regards, Teresa > > Thanks! > > bye, > Heiko